This file contains hidden or 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
var fs = require('fs'); | |
var filePath = process.argv[2]; | |
console.log(filePath); | |
fs.readFile(filePath, function (err, data) { | |
if (err) { | |
return console.log(err); | |
} | |
var newFilePath = filePath.replace(/asc/g, 'csv'); |
This file contains hidden or 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
checking build system type... x86_64-apple-darwin13.1.0 | |
checking host system type... x86_64-apple-darwin13.1.0 | |
loading site script './config.site' | |
loading build-specific script './config.site' | |
checking for pwd... /bin/pwd | |
checking whether builddir is srcdir... yes | |
checking for working aclocal... found | |
checking for working autoconf... missing | |
checking for working automake... found | |
checking for working autoheader... missing |
This file contains hidden or 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
➜ ~ brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew.git | |
HEAD: cdec40e4cab0768084c92d9732295a7e337c39be | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: dual-core 64-bit penryn | |
OS X: 10.9.2-x86_64 | |
Xcode: 5.1.1 | |
CLT: 5.1.0.0.1.1396320587 |
This file contains hidden or 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 'httparty' | |
require 'json' | |
require 'nokogiri' | |
require 'open-uri' | |
# | |
# This is a shart script to get demo content to populate an inial set of 'science gists' | |
# We started by trying to call the elife api directly, but it sucked balls | |
# then we tried to use content negotiation, but that is also flakey |
This file contains hidden or 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
#titleBlock { | |
background-color: rgb(26, 188, 156); | |
width: 100%; | |
height: 250px; | |
padding: 15px; | |
} |
NewerOlder