Skip to content

Instantly share code, notes, and snippets.

View ok200paul's full-sized avatar

Paul Grimes ok200paul

View GitHub Profile
@ok200paul
ok200paul / vite.config.js
Last active July 13, 2022 01:59
Laravel Vite config file that works when using Laravel Valet HTTPS (locally) and a CI runner (eg GitHub Actions)
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';
import fs from 'fs';
import { resolve } from 'path';
import { homedir } from 'os';
let homeDir = homedir()
@ok200paul
ok200paul / OrderDashboardController.php
Created December 7, 2020 00:30
Loading dates into controller URLs
<?php
/**
* Show the page for a given date (eg the URL would be /my-tasks/2020-12-07)
*/
public function showDashboardForGivenDate($date)
{
$startDate = Carbon::parse($date); // Carbon Object
$dateIsValid = $startDate->toDateString() === $date; // bool
This file has been truncated, but you can view the full file.
ndroid.providers.calendar.CalendarAlarmManager@bfc2262(com.android.providers.calendar.CalendarProvider2@6a0aff3)
2020-09-30 10:29:12.402 4622-4767/com.google.android.apps.docs W/DatabaseHelper: [Open database in background] Creating a new database at version 241 for /data/user/0/com.google.android.apps.docs/databases/DocList.db
2020-09-30 10:29:12.421 2659-3082/com.google.android.gms I/Icing: updateResources: need to parse acek{com.google.android.gms}
2020-09-30 10:29:12.422 2875-2892/com.google.android.inputmethod.latin I/putmethod.lati: Background young concurrent copying GC freed 8264(702KB) AllocSpace objects, 0(0B) LOS objects, 0% free, 6709KB/6709KB, paused 23us total 158.480ms
2020-09-30 10:29:12.459 2265-4093/com.google.android.gms.persistent W/GoogleHttpServiceClient: Timeout on service connection
java.lang.Throwable
at abum.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):4)
at abun.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):4)
at abue.