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
#!/usr/bin/env python3 | |
import board | |
import digitalio | |
led = digitalio.DigitalInOut(board.D4) | |
led.direction = digitalio.Direction.OUTPUT | |
touch_sensor = digitalio.DigitalInOut(board.D5) | |
touch_sensor.direction = digitalio.Direction.INPUT |
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
owner @{HOME}/.homesick/repos/dotfiles/home/.config/redshift.conf r, |
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
opkg install lighttpd-mod-proxy | |
#See the http://192.168.1.1/myadmin/ for main "myadmin" page | |
mkdir -p /www3/myadmin/transmission-web | |
mkdir -p /www3/myadmin/luci | |
cp /etc/foris/foris-lighttpd-inc.conf /etc/foris/foris-lighttpd-inc.conf.orig | |
cp /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig | |
#Let foris "listen" only on 192.168.1.1 | |
#sed -i "s@\$HTTP\[\"url\"\] !~ \"\^/static\" {.*@\$HTTP\[\"host\"\] == \"192\\.168\\.1\\.1\" {@" /etc/foris/foris-lighttpd-inc.conf |
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
diff --git a/config.def.h b/config.def.h | |
index 2d23049..35c2985 100644 | |
--- a/config.def.h | |
+++ b/config.def.h | |
@@ -41,11 +41,14 @@ static Key keys[] = { | |
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } }, | |
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } }, | |
+ { MODKEY|ShiftMask, XK_Right, rotate, { .i = +1 } }, | |
+ { MODKEY|ShiftMask, XK_Left, rotate, { .i = -1 } }, |
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
diff --git a/config.def.h b/config.def.h | |
index 877afab..83aff45 100644 | |
--- a/config.def.h | |
+++ b/config.def.h | |
@@ -5,8 +5,8 @@ | |
* | |
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html | |
*/ | |
-char font[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; | |
-int borderpx = 2; |
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
#!/usr/bin/env python2 | |
import ldaptor.interfaces | |
import ldaptor.protocols.ldap.ldapserver | |
import ldaptor.protocols.ldap.ldaperrors | |
from ldaptor import inmemory | |
import twisted.python | |
import twisted.internet |
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
--git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme | |
index b039f0d..85143e6 100755 | |
--- a/powerlevel9k.zsh-theme | |
+++ b/powerlevel9k.zsh-theme | |
@@ -791,7 +791,7 @@ prompt_status() { | |
bg="red" | |
else | |
symbols+="%F{046}$(print_icon 'OK_ICON')%f" | |
- bg="black" | |
+ bg="234" |