Skip to content

Instantly share code, notes, and snippets.

View codeitlikemiley's full-sized avatar
🎯
Focusing

Uriah Galang codeitlikemiley

🎯
Focusing
View GitHub Profile
@codeitlikemiley
codeitlikemiley / alias.sh
Last active August 7, 2023 19:33
Shell script function To Load different Neovim Configuration depending on your Project Language
# can you alias this to one letter alias ie. `v`
# alias v=nvims
nvims() {
# Set the default XDG_CONFIG_HOME if it's not already set
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
# Get the path argument or default to the current directory
target_path="${1:-.}"
C:\Windows
C:\Windows\System32
C:\Windows\System32\WindowsPowershell\v1.0\
C:\Windows\System32\OpenSSH
C:\ProgramData\chocolatey\bin
C:\ProgramData\scoop\shims
C:\Program Files\Powershell\7
C:\Program files (x86)\gnupg\bin
${PC.userDirectory}\scoop\shims
${PC.userDirectory}\.local\bin
PAYMONGO_EMAIL=
PAYMONGO_PASS=
PAYMONGO_LIVEMODE=
PAYMONGO_TOKEN=
SES_ACCESS_KEY=
SES_SECRET_KEY=
GOOGLE_SERVICE_ACCOUNT=
GOOGLE_SERVICE_ACCOUNT_EMAIL=
GOOGLE_SPREADSHEET_ID_FROM_URL=
GOOGLE_PRIVATE_KEY=
M01e55c4b-c05f-1e97-59fb-537fdb94de64&uaid=d6201353bf744c988cd9d9c72949c207
@codeitlikemiley
codeitlikemiley / arch_bootstrap.bash
Created December 24, 2019 06:42 — forked from rasschaert/arch_bootstrap.bash
Shell script that performs the installation of Arch Linux the way I like it.
#!/bin/bash
bootstrapper_dialog() {
DIALOG_RESULT=$(dialog --clear --stdout --backtitle "Arch bootstrapper" --no-shadow "$@" 2>/dev/null)
}
#################
#### Welcome ####
#################
bootstrapper_dialog --title "Welcome" --msgbox "Welcome to Kenny's Arch Linux bootstrapper.\n" 6 60

Single Partition or With Swap

Mount point Label FileSystem
/dev/sdx1 ROOT Btrfs
/dev/sdx2 SWAP Linux Swap
  • BTRFS Subvolumes (grub-install /dev/sdx)

| Label | File System |

@codeitlikemiley
codeitlikemiley / Bullet_Proof_Arch_Install.md
Last active December 13, 2019 15:44
Bulletproof Archlinux Install

This Guide is from ARCH WIKI Bullet_Proof_Arch_Install

DRIVE=/dev/DRIVEID

sgdisk --zap-all $DRIVE

sgdisk --clear \
       --new=1:0:+550MiB --typecode=1:ef00 --change-name=1:EFI \
@codeitlikemiley
codeitlikemiley / grapql.php
Created June 20, 2019 14:55
trait graphql
<?php
namespace Tests;
trait GraphQLAPI
{
/**
* @param string $query
* @return mixed
*/
@codeitlikemiley
codeitlikemiley / color-theme
Created June 17, 2019 11:41
vscode://schemas/color-theme
{
"$schema": "vscode://schemas/color-theme",
"type": "dark",
"colors": {
"activityBar.background": "#1f2330",
"activityBar.border": "#0f1320",
"activityBar.dropBackground": "#0f1320",
"activityBar.foreground": "#f6f0ff",
"activityBar.inactiveForeground": "#919cb9",
"activityBarBadge.background": "#ff4081",
@codeitlikemiley
codeitlikemiley / materialicons
Created June 12, 2019 07:10
material icons unicode
 3d_rotation; e84d
 ac_unit; eb3b
 access_alarm; e190
 access_alarms; e191
 access_time; e192
 accessibility; e84e
 accessible; e914
 account_balance; e84f
 account_balance_wallet; e850
 account_box; e851