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
"use strict"; | |
// usage: | |
// cat test.csv | node addresses.js > done.csv | |
const headings = `name,street address,street address,city,state,country,zip`; | |
process.stdout.write(headings + '\n'); | |
const deliminator = `"`; |
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 |
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
-- include hydra-grid (https://github.com/sdegutis/hydra-grid) | |
require "ext.grid.init" | |
-- | |
-- boilerplate hydra code | |
-- | |
-- autostart hydra | |
hydra.autolaunch.set(true) |
NewerOlder