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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
GET Exchange Rates does in fact require authentication | |
Ex: | |
curl https://api.coinbase.com/v2/exchange-rates -H 'CB-VERSION: 2015-09-27' | |
{"errors":[{"id":"invalid_token","message":"The access token is invalid"}]} | |
GET Currencies does in fact require authentication | |
Ex: | |
curl https://api.coinbase.com/v2/currencies -H 'CB-VERSION: 2015-09-27' | |
{"errors":[{"id":"invalid_token","message":"The access token is invalid"}]} |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>*|SUBJECT|*</title> | |
<style type="text/css"> | |
.headline{font-size: 21px;color: #505050;font-weight:500;padding: 13px 0px;} | |
/* /\/\/\/\/\/\/\/\/ CLIENT-SPECIFIC STYLES /\/\/\/\/\/\/\/\/ */ | |
#outlook a{padding:0;} /* Force Outlook to provide a "view in browser" message */ |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: OpenPGP.js v.1.20130228 | |
Comment: http://openpgpjs.org | |
xsFNBFG79Z8BD/9w+qHDt6CUzb/qnELez+miPac658+nq9KSJgbUHTnsGfkE | |
54ZL9yPikupEtUvIqkEKJFQjPLuz7ODXIomMuQbUjeDFWiKBnI5a4VGFZ8Ps | |
fbLO9FJfv407wVC4Xx8wBjzlQVO7nMoX7BNfSsNCXICeD8PWbgJzZbgWpm7t | |
z6XWMtYQrFHtk4C8BiY/M4cE6jE+URFADLXLcJQiQ0Rsgy+Y9fkeKrsRogWg | |
rNTlfAZxN+mBDba/c89QZQpwZxGHjQy/MYE25vZr1ErE6Dm94f3gCn+9fZNe | |
lSr3Q6v3CQGidaqKVjcUYFUzivViZXnpF0aAqcaPdNzVNa8Qae6X1Ns4F/yt |
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
Maid.rules do | |
## Functions ## | |
# Dupe detection thanks to bobthecow | |
def files(paths) | |
dir(paths).select { |f| File.file?(f) } | |
end | |
def size_of(path) | |
File.size(path) |
NewerOlder