Skip to content

Instantly share code, notes, and snippets.

View ranmocy's full-sized avatar

Mocy ranmocy

View GitHub Profile
@ranmocy
ranmocy / private.xml
Created July 14, 2014 21:26
Karabiner(aka. KEYRemap4Macbook) private configuration.
<?xml version="1.0"?>
<root>
<item>
<name>Ranmocy Private</name>
<!-- Remap Left Control to Hyper -->
<item>
<name>Remap Left Control to Hyper</name>
<appendix>OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command.</appendix>
<identifier>ranmocy.left_control_to_hyper</identifier>
@ranmocy
ranmocy / change-color-tty.bash
Last active December 19, 2015 11:38
Change Color of TTY
# Change default colour codes
if [ "$TERM" = "linux" ]; then
echo -en "\E]P0222222" #black
echo -en "\E]P1D96D71" #darkred
echo -en "\E]P25AE54F" #darkgreen
echo -en "\E]P3FFBC35" #darkyellow
echo -en "\E]P400BDFA" #darkblue
echo -en "\E]P5FF655A" #darkmagenta
echo -en "\E]P68DD0E3" #darkcyan
echo -en "\E]P7F0F1F3" #lightgrey