Skip to content

Instantly share code, notes, and snippets.

View veganstraightedge's full-sized avatar
🐢
Computers were a mistake.

Shane Becker veganstraightedge

🐢
Computers were a mistake.
View GitHub Profile
defaults write com.macromates.textmate OakDefaultLanguage E00B62AC-6B1C-11D9-9B1F-000D93589AF6
<!-- iPad Goodies -->
<link media="only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:landscape)" href="ipad-landscape.css" type="text/css" rel="stylesheet" />
<link media="only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait)" href="ipad-portrait.css" type="text/css" rel="stylesheet" />
<!-- End iPad -->
<!-- iPhone Goodies -->
<link media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation:landscape)" href="iphone-landscape.css" type="text/css" rel="stylesheet" />
/**
* # Post messages using Slack's Webhook
*
* Use this in combination with node-cron to Schedule messages.
* No need to have the hubot invited on the actual channel to post.
*
* ## Dependencies
*
* superagent
* lodash
require 'flickraw'
FlickRaw.api_key = ''
FlickRaw.shared_secret = ''
@flickr = FlickRaw::Flickr.new
@flickr.access_token = ''
@flickr.access_secret = ''
# Test if the access token is valid
<html>
<head>
<script>
function check_cc() {
var r = document.getElementById("results");
var elem = document.getElementById("ccnum");
r.innerHTML = "Checking CC: " + elem.value + "<br>";