Skip to content

Instantly share code, notes, and snippets.

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

fajar sp jhonoryza

🏠
Working from home
View GitHub Profile
@jhonoryza
jhonoryza / blade-component-tom-select-livewire.md
Last active November 13, 2021 03:34 — forked from mithicher/tom-select.blade.php
Tom Select Livewire Blade Component

disable firewall

sudo iptables -F. //flush all rule
sudo netfilter-persistent save //set permanent

set default security like this..

image

setup

  • setup password edit /etc/redis/redis.conf
  • uncomment
# requirepass foobared
  • adjust bind-address
bind-address 0.0.0.0

fake license

-- BEGIN LICENSE --
Generic Name
Unlimited User License
EA7E-81044230
0C0CD4A8 CAA317D9 CCABD1AC 434C984C
7E4A0B13 77893C3E DD0A5BA1 B2EB721C
4BAAB4C4 9B96437D 14EB743E 7DB55D9C
7CA26EE2 67C3B4EC 29B2C65A 88D90C59
<key>DeviceProperties</key>
<dict>
	<key>Add</key>
	<dict>
		<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
		<dict>
			<key>shikigva</key>
			<integer>80</integer>
		</dict>
@jhonoryza
jhonoryza / postman-alternative.md
Created January 10, 2023 04:46
postman alternative self hosted and running in browser

software

  1. paw (macos only supported)
  2. insomnia
  3. hoppscotch

install hoppscotch

docker run --rm --name hoppscotch -p 3000:3000 hoppscotch/hoppscotch:latest

@jhonoryza
jhonoryza / FilamentQuickStart.php
Created January 12, 2023 15:10 — forked from Z3d0X/FilamentQuickStart.php
Quickly install and configure filament in a new laravel project
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
class FilamentQuickStart extends Command
{
protected $signature = 'filament:quickstart';

diskpart

list disk
sel disk 1
detail disk

list vol
sel vol 1

list part
@jhonoryza
jhonoryza / Nsurlsessiond-taking-all-bandwith.md
Last active January 28, 2023 15:44
Nsurlsessiond BigSur issue

disable annoying service in macos bigsur

  1. vim disable.sh
#!/bin/sh

TODISABLE=( \
'com.apple.nsurlsessiond'
)