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 python | |
"""Show slideshow for images in a given directory (recursively) in cycle. | |
If no directory is specified, it uses the current directory. | |
""" | |
import logging | |
import os | |
import platform | |
import sys | |
from collections import deque |
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
/* The MIT License (MIT) | |
Copyright (c) 2013 Zolmeister | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: |
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
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono); | |
.cm-s-zolmeister.CodeMirror { | |
background: #272822; color: #f8f8f2; | |
font-family:'Ubuntu Mono', monospace; | |
line-height: 1.2em; | |
} | |
.cm-s-zolmeister div.CodeMirror-selected {background: #49483E !important;} | |
.cm-s-zolmeister .CodeMirror-gutters {background: #272822; border: 1px solid rgba(0,0,0,.25);} | |
.cm-s-zolmeister .CodeMirror-gutter-text {color: #d0d0d0;} | |
.cm-s-zolmeister .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} |
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
// send network request timings to Google Analytics | |
(function() { | |
var nativeOpen = XMLHttpRequest.prototype.open | |
var nativeSend = XMLHttpRequest.prototype.send | |
var startTime = null | |
var pendingCount = 0 | |
XMLHttpRequest.prototype.open = function(_, url) { | |
this._url = url | |
return nativeOpen.apply(this, arguments) | |
} |
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
curl -s https://api.github.com/users/<USERNAME>/repos\?per_page\=200 | grep ssh_url | cut -d \" -f 4 | xargs -n 1 git clone |
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 bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
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
-- | |
-- xmonad example config file. | |
-- | |
-- A template showing all available configuration hooks, | |
-- and how to override the defaults in your own xmonad.hs conf file. | |
-- | |
-- Normally, you'd only override those defaults you care about. | |
-- | |
import XMonad |
OlderNewer