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
HR Interface | |
Checking 8pm SSIS package has run | |
Checking that itrentlive-c-kronos-wim-in doesnt have HR file | |
Checking HR File Exists | |
file exists -> Checking HR File Is Less Than 24 hrs old | |
file missing -> Sending Failure Email | |
Checking HR File Is Less Than 24 hrs old | |
file young -> Checking HR Progress File Exists |
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
Crime Database Client* | |
App Start* | |
connected? -> Connected? | |
connectionless? -> Connectionless? | |
App Resume | |
Connectionless? | |
Welcome Unconnected* | |
Local Store Empty |
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
;;; | |
;;; Recursively list files in a given directory | |
;;; | |
;;; Author: daniel m german dmg at uvic dot ca | |
;;; Copyright: daniel m german | |
;;; License: Same as Emacs | |
;;; | |
(defun directory-files-recursive (directory match maxdepth ignore) | |
"List files in DIRECTORY and in its sub-directories. | |
Return files that match the regular expression MATCH but ignore |
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
# Installing anki on funtoo. | |
This is just a braindump. No promises. | |
# package.use | |
dev-python/PyQt4 webkit | |
# Dependencies | |
emerge PyQt4 mplayer lame portaudio sqlalchemy |
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
swapon /dev/sda3 | |
mkdir /mnt/funtoo | |
mount /dev/sda4 /mnt/funtoo | |
mkdir /mnt/funtoo/boot | |
mount /dev/sda1 /mnt/funtoo/boot | |
cd /mnt/funtoo | |
mount -t proc none proc | |
mount --rbind /sys sys | |
mount --rbind /dev dev |
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
# http://bundler.io/v1.3/man/gemfile.5.html | |
source 'https://rubygems.org' | |
ruby '1.9.2' | |
gem 'rake' | |
gem 'psych' | |
gem 'mechanize' | |
gem 'write_xlsx' |
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
class Scraper | |
def scrape!(&block) | |
instance_eval &block | |
b = block.binding | |
eval("p local_variables", b) | |
end | |
end | |
s = Scraper.new |
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
function Timestamp () { | |
var d, t, year, month, day, hour, minute, second, millisecond; | |
d = new Date(); | |
t = ''; | |
year = d.getFullYear(); | |
month = ('00' + (Number(d.getMonth()) + 1)).slice(-2); | |
day = ('00' + d.getDate()).slice(-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
require 'java' | |
list = java.util.ArrayList.new | |
os = java.lang.System.get_property 'os.name' | |
home = java.lang.System.get_property 'java.home' | |
mem = java.lang.Runtime.get_runtime.free_memory | |
list << os | |
list << home |