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://www.movable-type.co.uk/scripts/sha1.html | |
// based off http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf | |
// minified size: 1320 bytes | |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
/* SHA-1 implementation in JavaScript | (c) Chris Veness 2002-2013 | www.movable-type.co.uk */ | |
/* - see http://csrc.nist.gov/groups/ST/toolkit/secure_hashing.html */ | |
/* http://csrc.nist.gov/groups/ST/toolkit/examples.html */ |
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
// SLATE CONFIG | |
var laptopMonitor = "1"; | |
var externalMonitor = "0"; | |
// | |
// Configs | |
// | |
slate.configAll({ | |
// 'windowHintsDuration': '5, |
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 node | |
fs = require 'fs' | |
dir = process.argv[2] | |
errorMsg = """ | |
Error: need a directory | |
Please append path as first argument | |
Ex) coffee files2folder.coffee /Users/hswolff/Downloads | |
""" |
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 ruby | |
path = '/Volumes/Downloads/Cleanup/' | |
Dir.foreach(path) do |item| | |
next if item == '.' or item == '..' | |
puts item | |
item_dir = path + item |
NewerOlder