A curated list of arrrrrrrrr!
This file contains 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
# Luke's config for the Zoomer Shell | |
# Enable colors and change prompt: | |
autoload -U colors && colors | |
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " | |
# History in cache directory: | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
HISTFILE=~/.cache/zsh/history |
This file contains 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
This: Reddit | |
Trigger: Any new post in subreddit | |
That: Webhooks | |
Action: Make a web request | |
URL: (your Discord webhook URL, DO NOT SHARE) | |
Method: POST | |
Content Type: application/json | |
Body: | |
{ "embeds": |
This file contains 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
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
if( $found ){ | |
$remoteport = $matches[0]; | |
} else{ | |
echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
exit; | |
} |
_env_init() {
# init version manager without rehash on startup
local SHELL_NAME="zsh"
local init_args=(- --no-rehash zsh)
local zshrc="$HOME/.zshrc"
# For security on Linux
[[ -n $XDG_RUNTIME_DIR ]] && local TMPDIR="$XDG_RUNTIME_DIR"
This file contains 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
-- Mike Solomon @msol 2019 | |
local log = hs.logger.new('main', 'info') | |
DEVELOPING_THIS = false -- set to true to ease debugging | |
HYPER = {'ctrl', 'shift', 'alt', 'cmd'} | |
-- App bindings | |
function setUpAppBindings() | |
hyperFocusAll('w', 'React Native Debugger', 'Simulator', 'qemu-system-x86_64') |
This file contains 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
# Significant care is taken to be sh-compatible; if bash or zsh could be | |
# required, it could be made simpler or more generic. | |
# Known source'rs: | |
# ~/.profile | |
# ~/.zshrc | |
# ~/.xprofile | |
# ~/.xsessionrc | |
# ~/.bashrc | |
# ~/.config/plasma-workspace/env/*.sh |
This file contains 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
@charset 'UTF-8'; | |
/// | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// | |
/// CUSTOM FONTS | |
/// | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// | |
/// @description Import any third-party CSS & Sass resources that can be easily be referenced globally across your web-application(s). |
View details here: https://gist.github.com/xynova/87beae35688476efb2ee290d3926f5bb
References:
View details here: https://gist.github.com/xynova/87beae35688476efb2ee290d3926f5bb
From a Powershell session: