Skip to content

Instantly share code, notes, and snippets.

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

Uriah Galang codeitlikemiley

🏠
Working from home
  • Philippines
  • 23:24 (UTC +08:00)
View GitHub Profile
#!/bin/sh
vidlist="
status bar https://www.youtube.com/watch?v=gKumet6b-WY
feh
st (terminal) https://www.youtube.com/watch?v=9H75enWM22k
i3 (window manager) https://www.youtube.com/watch?v=GKviflL9XeI
mutt (email) https://www.youtube.com/watch?v=2U3vRbF7v5A
ncmpcpp (music player) https://www.youtube.com/watch?v=sZIEdI9TS2U
newsboat (RSS reader) https://www.youtube.com/watch?v=dUFCRqs822w
ranger (file manager) https://www.youtube.com/watch?v=L6Vu7WPkoJo
#!/usr/bin/env bash
# Various options for the file browser script:
ROFI_FB_GENERIC_FO="xdg-open" # command used for opening the selection
ROFI_FB_PREV_LOC_FILE=~/.local/share/rofi/rofi_fb_prevloc
ROFI_FB_HISTORY_FILE=~/.local/share/rofi/rofi_fb_history
ROFI_FB_HISTORY_MAXCOUNT=5 # maximum number of history entries
# Comment the next variable to always start in the last visited directory,
# otherwise rofi_fb will start in the specified directory:
ROFI_FB_START_DIR=$HOME # starting directory
@codeitlikemiley
codeitlikemiley / ARCH install UEFI
Last active February 3, 2019 12:40
ARCH - BTRFS (CUSTOM GUIDE)
## Arch Linux
#### Misc Tweaks
###### Disable turbo boost:
`# echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo`
###### Disable systemd from handling lid close events:
Edit `/etc/systemd/logind.conf` and set `HandleLidSwitch` to `ignore`.
= Arch Linux step-by-step installation =
= http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html =
== Boot the installation CD ==
== Create partition ==
cfdisk /dev/sda
* Create a partition with code 8300 (Linux)
@codeitlikemiley
codeitlikemiley / nextcloud.conf
Created January 29, 2019 16:33 — forked from xxblx/nextcloud.conf
nextcloud nginx config
upstream php-handler {
server unix:/run/php-fpm/www.sock;
}
server {
#listen 443 ssl;
listen 80;
server_name 192.168.1.8;
#ssl_certificate /etc/ssl/nginx/cloud.example.com.crt;
@codeitlikemiley
codeitlikemiley / settings.json
Created January 25, 2019 13:06
My Workspace Settings For Laravel and Vue
// Place your settings in this file to overwrite the default settings
{
// change this every project
"sync.gist": "1338c1068ef5eabb715e1fe13373b121",
"emmet.triggerExpansionOnTab": false, // enable tab to expanse emmet tags
// <!-- html -->
"auto-close-tag.enableAutoCloseTag": true,
"auto-close-tag.excludedTags": [
"area",
"base",
@codeitlikemiley
codeitlikemiley / user.settings.json
Created January 25, 2019 02:17
My User Settings in VSCODE - Using Custom Patch Fonts Operator Mono Lig
{
//window
"window.zoomLevel": 1,
// explorer
"explorer.openEditors.visible": 0,
// editor default
"editor.fontWeight": "normal",
"editor.fontLigatures": true,
"editor.fontSize": 18,
"editor.fontFamily": "operator mono lig book",
@codeitlikemiley
codeitlikemiley / regexCheatsheet.js
Created January 15, 2019 15:09 — forked from sarthology/regexCheatsheet.js
A regex cheatsheet 👩🏻‍💻 (by Catherine)
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"
@codeitlikemiley
codeitlikemiley / cloudSettings
Last active December 10, 2019 02:05
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-12-10T02:04:58.566Z","extensionVersion":"v3.4.3"}
@codeitlikemiley
codeitlikemiley / config_0
Created August 20, 2018 11:17
tilda config
tilda_config_version="1.4.1"
# command=""
font="DejaVu Sans Mono 14"
key="<Primary>grave"
addtab_key="<Alt>t"
fullscreen_key="F11"
toggle_transparency_key="F12"
toggle_searchbar_key="<Shift><Control>f"
closetab_key="<Primary>w"
nexttab_key="<Control>Page_Down"