Skip to content

Instantly share code, notes, and snippets.

View TimRoenicke's full-sized avatar
👋
Hello

Tim Roenicke TimRoenicke

👋
Hello
View GitHub Profile
@TimRoenicke
TimRoenicke / herd-reverb-ssl.md
Created June 9, 2024 16:41 — forked from conradfuhrman/herd-reverb-ssl.md
Laravel Herd, SSL, and Reverb with Herd

The biggest issue with Herd Pro is that you cannot use Reverb out of the box with a site that has SSL enabled. Here is the workaround for it all to play nicely together.

First you will need to create two sites. The two I have here are as follows:

  • reverb-ssl - This is a new Laravel 11 project using Breeze for the ease of Inertia. This also follows the setup for Reverb line by line.
  • wss-reverb-ssl - This is an empty directory, we are going to use this only for editing a Nginx config and setting up a proxy to the reverb service.

Screenshot 2024-04-03 at 2 33 08 PM

Of note is that I'm using Herd Pro as well, so all additional services are being used directly though Herd Pro itself.

@TimRoenicke
TimRoenicke / app.js
Created January 16, 2023 01:06 — forked from sentiasa/app.js
Vite setup for Laravel, Inertia, Vue, Tailwind
import 'vite/dynamic-import-polyfill';
import '../css/app.css';
import { createApp, h } from 'vue'
import { App, plugin } from '@inertiajs/inertia-vue3'
let asyncViews = () => {
return import.meta.glob('./Pages/**/*.vue');
}
const app = createApp({
@TimRoenicke
TimRoenicke / Query Comments.sql
Last active March 10, 2022 17:12
Web Helpdesk Query
--SOLUTIONS TO COMMENTS
select * from tech_note tn
JOIN (select
max(tech_note_date) as max_date,
job_ticket_id
from
tech_note
group by
JOB_TICKET_ID) tc ON tc.job_ticket_id = tn.job_ticket_id and tc.max_date = tn.tech_note_date;
--ALL COMMENTS
@TimRoenicke
TimRoenicke / AuthorizedClients.vue
Created March 19, 2018 01:25
Laravel 5.4 OAuth2 token and client components ported to Vue.js 2 and Bulma with Axios
<style scoped>
.action-link {
cursor: pointer;
}
.m-b-none {
margin-bottom: 0;
}
</style>
@TimRoenicke
TimRoenicke / README.md
Last active August 29, 2015 14:18 — forked from rowanu/README.md

Dashing Hotness Widget

Are you dashing? Are you hot? Then you need the Dashing Hotness Widget!

See the blog post for more details.

About

This widget is similar to the basic Number widget, except that the entire widget changes colour based on the value displayed. It is designed to draw attention to