Skip to content

Instantly share code, notes, and snippets.

Avatar

fajar sp jhonoryza

View GitHub Profile
@jhonoryza
jhonoryza / setup.md
Last active Jan 28, 2023
web dev setup
View setup.md

install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

install php

brew install php@8.2 \
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php \
View Nsurlsessiond-taking-all-bandwith.md

disable annoying service in macos bigsur

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

TODISABLE=( \
'com.apple.nsurlsessiond'
)
View windows-boot-common-problem.md

diskpart

list disk
sel disk 1
detail disk

list vol
sel vol 1

list part
@jhonoryza
jhonoryza / bash.rc.md
Last active Jan 28, 2023
bash linux common useful alias
View bash.rc.md
export PATH="$PATH:/Users/fajarsp/Library/Application Support/JetBrains/Toolbox/scripts"

export HOMEBREW_NO_AUTO_UPDATE=1

export PATH="$PATH:/Users/fajarsp/.composer/vendor/bin"
@jhonoryza
jhonoryza / FilamentQuickStart.php
Created Jan 12, 2023 — forked from Z3d0X/FilamentQuickStart.php
Quickly install and configure filament in a new laravel project
View FilamentQuickStart.php
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
class FilamentQuickStart extends Command
{
protected $signature = 'filament:quickstart';
@jhonoryza
jhonoryza / postman-alternative.md
Created Jan 10, 2023
postman alternative self hosted and running in browser
View postman-alternative.md

software

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

install hoppscotch

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

View intel-uhd-630-device-properties.md
<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 / free-resources.md
Last active Dec 21, 2022
kumpulan resource gratis tp ada batas / limit
View free-resources.md
@jhonoryza
jhonoryza / tools.md
Last active Jan 28, 2023
recommend list development tools di macos
View tools.md

Coding

  • git
  • sublime merge #git with gui
  • sublime text
  • vscode
  • table plus #database client
  • dbngin #database manager
  • jetbrain tools
  • paw / insomnia #desktop app to test api
  • warp #modern terminal
@jhonoryza
jhonoryza / setup-linux-server-ubuntu-focal.md
Created Dec 2, 2022
Setup VPS Linux Server Ubuntu 20.04 LTS
View setup-linux-server-ubuntu-focal.md

operating system

Ubuntu 20.04 LTS

server preparation

  1. install acl
  2. install nginx
  3. install php
  4. install composer
  5. install mysql server
  6. install git