TODO: Write a project description
TODO: Describe the installation process
2/6/13 6:49:25.213 PM TextMate: *** Assertion failure in -[NSAutoresizingMaskLayoutConstraint _setSymbolicConstant:constant:], /SourceCache/AppKit/AppKit-1138.51/Layout.subproj/NSLayoutConstraint.m:596 | |
2/6/13 6:49:25.213 PM TextMate: Constant is not finite! That's illegal. constant:nan | |
2/6/13 6:49:25.228 PM TextMate: ( | |
0 CoreFoundation 0x00007fff8a6fcf56 __exceptionPreprocess + 198 | |
1 libobjc.A.dylib 0x00007fff92a51d5e objc_exception_throw + 43 | |
2 CoreFoundation 0x00007fff8a6fcd8a +[NSException raise:format:arguments:] + 106 | |
3 Foundation 0x00007fff86f9871f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169 | |
4 AppKit 0x00007fff896133b9 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 162 | |
5 AppKit 0x00007fff8960ef67 +[NSAutoresizingMaskLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:mul |
2/21/13 12:26:42.999 PM TextMate: *** Assertion failure in -[NSAutoresizingMaskLayoutConstraint _setSymbolicConstant:constant:], /SourceCache/AppKit/AppKit-1138.51/Layout.subproj/NSLayoutConstraint.m:596 | |
2/21/13 12:26:42.999 PM TextMate: Constant is not finite! That's illegal. constant:nan | |
2/21/13 12:26:43.019 PM TextMate: ( | |
0 CoreFoundation 0x00007fff85a4df56 __exceptionPreprocess + 198 | |
1 libobjc.A.dylib 0x00007fff8dda2d5e objc_exception_throw + 43 | |
2 CoreFoundation 0x00007fff85a4dd8a +[NSException raise:format:arguments:] + 106 | |
3 Foundation 0x00007fff822e971f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169 | |
4 AppKit 0x00007fff849643b9 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 162 | |
5 AppKit 0x00007fff8495ff67 +[NSAutoresizingMaskLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribu |
@mixin clearfix { | |
&:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
} | |
@mixin vertical-align { | |
position: relative; | |
top: 50%; |
$(document).ready(function() { | |
var initialOffset = -1; | |
var headerHeight = $("#global__header").outerHeight(); | |
$(window).scroll(function(event) { | |
var scrollOffset = $(this).scrollTop(); | |
scrollOffset > initialOffset && scrollOffset > headerHeight ? $("#global__header").addClass("hide-header") : initialOffset > scrollOffset && $("#global__header").removeClass("hide-header"), | |
initialOffset = scrollOffset | |
} | |
) | |
} |
/** | |
* Custom PatternLab Loader for Timber | |
* | |
* How to use: | |
* Place this somewhere in your functions.php, make sure Timber WordPress plugin is installed and activated. | |
* This code assumes Pattern Lab is installed in the same directory as your theme. | |
* Change $patternlabSource below if you want to use a different path to Pattern Lab. | |
* | |
* This code hooks into Timber when Timber initialises the Twig_Loader_Filesystem | |
* uses default Timber loader if Pattern Lab patterns aren't found. |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "insert" | |
}, | |
"to": { | |
"key_code": "home" | |
} | |
}, | |
{ |
opkg update && opkg install ca-bundle
if not already installed for https/opt/jotta-cli
jotta-cli
dirsource=/usr/share/jottad
to source="/opt/usr/share/jottad"
/in ./usr/share/jottad/install.sh
./usr/share/jottad/install.sh
and ./usr/share/jottad/install-path.sh
group=jottad
to group=tmusers
and add umask=0002
in /etc/init.d/jottad
jottad
data directory mkdir -p /opt/.jottad
jottad
with start-stop-daemon -b -x /opt/bin/jottad slow lowmem datadir /opt/.jottad -S
(add this to /etc/rc.local
to start automatically)jotta-cli login
; | |
; Netatalk 3.x configuration file | |
; | |
[Global] | |
; Global server settings | |
; Inspiration and background: | |
; http://blog.khubla.com/freebsd/time-machine-backups-using-freebsd-zfs | |
; | |
; create group tmusers, add users |
#!/bin/sh | |
# This script will fetch the Googlevideo ad domains and append them to the Pi-hole block list. | |
# Run this script daily with a cron job (don't forget to chmod +x) | |
# More info here: https://discourse.pi-hole.net/t/how-do-i-block-ads-on-youtube/253/136 | |
# File to store the YT ad domains | |
FILE=/etc/pihole/youtube.hosts | |
# Fetch the list of domains, remove the ip's and save them | |
curl 'https://api.hackertarget.com/hostsearch/?q=googlevideo.com' \ |