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
ul.nav-bar { | |
@include rounded($color8); | |
li, li.active, li.has-flyout, li:hover, li.active:hover, | |
li:last-child { | |
@include display-font; | |
background-color: transparent; | |
a, a:first-child { | |
font-size: 16px; | |
} | |
border: 0; |
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
import sys | |
import colorsys | |
from colorz import colorz | |
WALLPAPER = '/home/james/.wallpaper' | |
COLORS = '/home/james/.colors' | |
XRESOURCES = '/home/james/.Xresources' | |
cols = '' | |
xres = """ |
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/bash | |
ICONPATH=$HOME/.dzen | |
source ~/.colors | |
get_now_playing() { | |
local state | |
local updating | |
local update | |
local string |
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
// views.py | |
from django.shortcuts import render_to_response | |
from django.template import RequestContext | |
from django.shortcuts import render | |
from django.http import HttpResponseRedirect | |
from loisdesigns.forms import EnquiryForm | |
from django.http import Http404 | |
from django.core.mail import send_mail |
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
requirejs.config({ | |
shim: { | |
'foundation/jquery.foundation.topbar': { | |
deps: ['jquery'], | |
}, | |
'foundation/jquery.cookie': { | |
deps: ['jquery'] | |
}, | |
'foundation/jquery.event.move': { | |
deps: ['jquery'] |
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
--- Mimeo.py.old 2012-11-22 13:05:48.340854666 +0000 | |
+++ Mimeo.py 2012-11-22 13:06:13.363724740 +0000 | |
@@ -1219,6 +1219,10 @@ | |
try: | |
desktop.load() | |
+ # Skip this desktop if it has no Desktop Entry Group | |
+ if not DEG in desktop: | |
+ continue | |
+ |
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
Dec 28 10:24:43 jackson pulseaudio[12565]: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 | |
Dec 28 10:24:43 jackson pulseaudio[12565]: [pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: ""): initialization failed. | |
Dec 28 10:24:43 jackson dbus-daemon[289]: dbus[289]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' | |
Dec 28 10:24:43 jackson dbus-daemon[289]: dbus[289]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details. | |
Dec 28 10:24:43 jackson dbus[289]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' | |
Dec 28 10:24:43 jackson dbus[289]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit |
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
~/.config/mpd % systemctl start mpd.service --user | |
Failed to issue method call: Unit mpd.service failed to load: No such file or directory. See system logs and 'systemctl status mpd.service' for details. | |
~/.config/mpd % ls /usr/lib/systemd/system | grep mpd.service | |
mpd.service | |
snmpd.service |
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
# Apache | |
SSLEngine on | |
SSLProtocol -ALL +TLSv1.2 +TLSv1.1 +TLSv1 | |
SSLHonorCipherOrder On | |
SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-GCM-SHA384:RC4-SHA:!ADH:!MD5:!aNULL:!EDH | |
SSLCompression Off | |
# Nginx |
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/zsh | |
export DISPLAY=:0 | |
dbus-launch systemd --user |