Skip to content

Instantly share code, notes, and snippets.

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

Halid Juki burnz

🏠
Working from home
View GitHub Profile
@burnz
burnz / AnyLivewireComponent.php
Created April 22, 2021 06:54 — forked from binaryweavers/AnyLivewireComponent.php
Fluent toaster(alerts) for laravel/livewire using alpinejs and tailwindcss
public function showToasters(){
// default info toaster with timeout
$this->toaster('your message');
// makes it persistent
$this->toaster('your message')->persistent();
// warning toaster with timeout
$this->toaster('your message')->warning();
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'
@burnz
burnz / .env
Created January 12, 2020 01:38 — forked from thebrubaker/.env
Laravel Passport: SPA Frontend Authentication
# Added to the bottom of my file
PROXY_OAUTH_CLIENT_ID=2
PROXY_OAUTH_CLIENT_SECRET=SECRET-GENERATED-KEY-HERE
PROXY_OAUTH_GRANT_TYPE=password
@burnz
burnz / Makefile
Created January 8, 2020 00:18 — forked from xenogenesi/Makefile
create self signed certificates
DOMAIN ?= mydomain.com
COUNTRY := IT
STATE := IT
COMPANY := Evil Corp.
# credits to: https://gist.github.com/fntlnz/cf14feb5a46b2eda428e000157447309
# usage:
@burnz
burnz / 2019-https-localhost.md
Created January 6, 2020 04:56 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@burnz
burnz / laravel_horizon.md
Created August 26, 2019 00:06 — forked from ankurk91/laravel_horizon.md
Laravel Horizon, redis-server, supervisord on Ubuntu server

Laravel Horizon, redis-server, supervisord on Ubuntu 16/18 server

Laravel 5.8, Horizon 3.x, Redis 5.x

Parepare application

  • Install and configure Laravel Horizon as instructed in docs
  • Make sure you can access the Horizon dashboard like - http://yourapp.com/horizon
  • For now it should show status as inactive on dashbaord

Install redis-server

@burnz
burnz / cracking.md
Created March 29, 2019 18:17 — forked from vertexclique/cracking.md
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

@burnz
burnz / cracking.md
Created March 29, 2019 17:10
Cracking guide for Sublime Text 3 Build 3200/3202 and Sublime Merge - Build 1109/1111 (Linux x86_64) - Updated #3 (20190327)

screen

Sublime Text 3 - Build 3200/3202 - Linux x64

For Build 3202:

Desciption Offset Original Patched

Keybase proof

I hereby claim:

  • I am burnz on github.
  • I am burnz (https://keybase.io/burnz) on keybase.
  • I have a public key ASDEXlx1LUkyx34Dw3gHbA6dPaJc4HMkpR85ZnowhME-UAo

To claim this, I am signing this object:

[{"name":"users","color":"Red","position":{"x":67,"y":98},"increment":true,"timestamp":true,"softdelete":true,"column":[{"name":"name","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c33","order":0},{"name":"email","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":true,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c41","order":1},{"name":"avatar","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c62","order":2}],"relation":[],"seeding":[]}]