Skip to content

Instantly share code, notes, and snippets.

View idlegravity's full-sized avatar
💭
Feelin' fine.

idlegravity

💭
Feelin' fine.
View GitHub Profile
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@idlegravity
idlegravity / iterm2-solarized.md
Created March 24, 2020 01:18 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@idlegravity
idlegravity / wordpress.subdomain.conf
Created March 5, 2020 02:31
Nginx reverse proxy to Wordpress setup.
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name www.yourdomain.com; # Change this
include /config/nginx/ssl.conf;
client_max_body_size 0;
@idlegravity
idlegravity / MakerSelect_v2.1_Cura_15.04_Profile.ini
Created December 23, 2017 19:44
Cura 15.04.6 profile for the MakerSelect v2.1, extracted from G-code samples on the original SD card. For CuraEngine on OctoPrint and OctoPi!
[profile]
layer_height = 0.1
wall_thickness = 0.8
retraction_enable = True
solid_layer_thickness = 0.6
fill_density = 20
print_speed = 50
print_temperature = 195
print_temperature2 = 0
print_temperature3 = 0
@idlegravity
idlegravity / private.xml
Last active July 25, 2016 13:24
Pok3r Layer 1 map for Karabiner (Use any keyboard like a Pok3r).
<?xml version="1.0"?>
<root>
<item>
<name>F19 to CapsLock and Fn</name>
<appendix>Tap F19 for CapsLock, Hold F19 for Fn</appendix>
<appendix>Works well with using Seil to remap CapsLock to F19(code 80).</appendix>
<identifier>private.remap_f19_capslock_fn</identifier>
<autogen>
__KeyOverlaidModifier__ KeyCode::F19, KeyCode::FN, KeyCode::CAPSLOCK
</autogen>