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
on adding folder items to thisFolder after receiving added_items | |
mount volume "afp://user@host/share" | |
delay 1 | |
repeat with addedFile in added_items | |
tell application "Finder" | |
if (the name of the addedFile ends with "torrent" or "nzb") then | |
display notification "Queueing " & (name of addedFile) & "." | |
try | |
tell application "Finder" | |
move addedFile to "spool" with replacing |
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
// _ ______ _ __ __ ____ _ _ _ | |
// / |___ ( | ) | \/ | __ _ ___| __ ) ___ ___ | | __ / \ (_)_ __ | |
// | | |_ \V V | |\/| |/ _` |/ __| _ \ / _ \ / _ \| |/ / / _ \ | | '__| | |
// | |___) | | | | | (_| | (__| |_) | (_) | (_) | < / ___ \| | | | |
// |_|____/ |_| |_|\__,_|\___|____/ \___/ \___/|_|\_\ /_/ \_\_|_| | |
// _ _ _____ | |
// (_) ___ __ _ _ _ __ _| | _____|___ / | |
// | |/ _ \ / _` | | | |/ _` | |/ / _ \ |_ \ | |
// | | (_) | (_| | |_| | (_| | < __/___) | |
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
composite -tile pattern.gif -size 600x800 -monochrome xc:none lock-screen.png |
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
set index 0 | |
for file in (ls *gif) | |
set index (math $index + 1) | |
composite -tile $file -size 758x1024 -colorspace gray xc:none bg_medium_ss0$index.png | |
end | |
echo Copy the bg_medium_ss0#.png images into /usr/share/blanket/screensaver/ on your Kindle. |
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
# /etc/rsyslog.conf Configuration file for rsyslog. | |
# | |
# For more information see | |
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html | |
# | |
# Default logging rules can be found in /etc/rsyslog.d/50-default.conf | |
################# | |
#### MODULES #### |
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
grant@scribble ~/L/A/S/Packages> pwd | |
/Users/grant/Library/Application Support/Sublime Text 2/Packages | |
grant@scribble ~/L/A/S/Packages> ls -m | |
ASP, ActionScript, AppleScript, Batch File, C#, C++, CSS, CSSFormat, CSSTidy, CSV, Clojure, | |
Color Scheme - Default, D, Default, Diff, Dotfiles Syntax Highlighting, Erlang, Git, Go, Graphviz, Groovy, | |
HTML, Haskell, INI, Java, JavaScript, LaTeX, LaTeXTools, Language - English, Lisp, Lua, Makefile, Markdown, | |
Markdown Preview, Matlab, Minifier, OCaml, Objective-C, PHP, Package Control, Perl, Python, | |
Python PEP8 Autoformat, PythonTidy, QuickLook, R, Rails, Regular Expressions, RestructuredText, Ruby, SQL, | |
Scala, ShellScript, SublimeBlockCursor, SublimeCodeIntel, SublimeLinter, TCL, Tag, Text, Textile, | |
Theme - Aqua, Theme - Default, Theme - Soda, TidyHTML5, Tomorrow Color Schemes, User, Vintage, XML, YAML, |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Devops Wisdom</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | |
<script> | |
function GetLastTweet(UserName) { | |
url = 'http://api.twitter.com/1/statuses/user_timeline/' + UserName + '.json?callback=?'; | |
$.getJSON(url, function (tweet) { | |
$("#tweet").html(tweet[0].text); | |
}); |
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
## settings | |
set lag to 120 | |
set sites to {"http://nyan.cat", "http://grantstavely.com/files/borat.html"} | |
## functions | |
on tab_toggle(lag, sites) | |
set siteCount to count sites | |
tell application "System Events" | |
## lame hacks abound |
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
# https://github.com/keithw/mosh/issues/101 | |
# thanks FiXato! | |
perl -E ' print "\e[?1005h\e[?1002h" ' |
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
backend splunk{ | |
.host = "127.0.0.1"; | |
.port = "8000"; | |
} | |
backend archiveteam{ | |
.host = "127.0.0.1"; | |
.port = "8001"; | |
} |
OlderNewer