Skip to content

Instantly share code, notes, and snippets.

View jacksontong's full-sized avatar
🏠
Working from home

Jackson Tong jacksontong

🏠
Working from home
  • Snapfrozen
  • Viet Nam
View GitHub Profile
@juno-w
juno-w / upgrade-alpine-v3.md
Created June 15, 2021 09:33
Update Livewire and Alpine.js V3 on Laravel Jetstream.

Step 1

Set to at least v3.0.6 and make sure Livewire is updated to v2.5.0

Run artisan vendor:publish --force --tag=livewire:assets --ansi to publish new assets.

Ignore if you have set auto publish at the composer's post-autoload-dump section.

Update the Alpine.js version.

@staltz
staltz / introrx.md
Last active September 16, 2024 07:18
The introduction to Reactive Programming you've been missing
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active September 19, 2024 05:58
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@barryvdh
barryvdh / _ide_helper.php
Last active August 5, 2024 20:45
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");