This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
//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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-12-10T02:04:58.566Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |