Skip to content

Instantly share code, notes, and snippets.

View elizabethsiegle's full-sized avatar
👩‍💻

Lizzie Siegle elizabethsiegle

👩‍💻
View GitHub Profile
import random
possibleKings = ['king', 'queen', 'Elvis impersonator']
possibleVerbs = ['dead', 'sleeping', 'dying', 'singing']
king = random.choice(possibleKings)
dead = random.choice(possibleVerbs)
print 'The ' + king + ' is ' + dead + '. Long live the ' + king + '.'
@sunnygleason
sunnygleason / pubnub_clarifai_block.js
Last active November 22, 2016 05:43
PubNub Clarifai Image Analysis BLOCK
const xhr = require('xhr');
const query = require('codec/query_string');
const store = require('kvstore');
export default (request) => {
const clientId = 'YOUR_ID';
const clientSecret = 'YOUR_SECRET';
const apiUrl = 'https://api.clarifai.com/v1/tag';
const tokenUrl = 'https://api.clarifai.com/v1/token';
@shrutic
shrutic / iMessage_References
Last active March 2, 2017 19:41
iMessage talk links - Forward Swift
Apple links:
<https://support.apple.com/en-us/HT206906>
https://developer.apple.com/ios/human-interface-guidelines/extensions/messaging/
https://developer.apple.com/imessage/
Conversational UI:
https://chatbotsmagazine.com/interface-disruption-f36942984555#.521av4jp3
https://chatbotsmagazine.com/2017-in-messaging-ac111001ac17#.2bhx9gpo6
https://writings.blackops.nyc/imessage-and-the-future-of-apple-messaging-ce84328e44be#.bnbebla9s
@pblca
pblca / instantiate.html
Last active June 18, 2017 05:36
Getting Started Tutorial for Using PubNub with JavaScript
<!-- Include the PubNub Library -->
<script src="https://cdn.pubnub.com/pubnub.min.js"></script>
<!-- Instantiate PubNub -->
<script type="text/javascript">
var PUBNUB_demo = PUBNUB.init({
publish_key: 'Your Publish Key Here',
subscribe_key: 'Your Subscribe Key Here'
});
//
// RBResizer.swift
// Locker
//
// Created by Hampton Catlin on 6/20/14.
// Copyright (c) 2014 rarebit. All rights reserved.
//
import UIKit
import json
from twitter import *
# Twitter app credentials
token = "..."
token_secret = "..."
consumer_key = "..."
consumer_secret = "..."
# Twitter client
@Nikita-schetko
Nikita-schetko / replace-master
Created January 20, 2017 19:46
How to replace master branch in git, entirely, from another branch?
git checkout seotweaks
git merge -s ours master
git checkout master
git merge seotweaks
@stephenlb
stephenlb / animated-gif.md
Last active October 31, 2020 22:57
DIY How to make your own HD Animated GIF Generator

HD Animated GIF Generator

You can make your own HD animated GIF generator.
Follow along with these commands to get started.

HD Animated GIF Generator

git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
@kitten
kitten / reactiveconf-sc-cfp.md
Last active November 17, 2020 15:06
ReactiveConf 2017 Lightning Talk CFP: With styled-components into the future

styled-components Logo

With styled-components into the future

Preprocessing is dead, long live preprocessing!


This is a CFP for ReactiveConf 2017's open call for Lightning talks. If you'd like to see this talk become a reality, please ⭐ star this gist. #ReactiveConf

@eternalstorms
eternalstorms / Apple Evangelists.txt
Created June 12, 2013 09:07
Apple Evangelists (WWDC 2013)
UI- and App Frameworks Evangelist - Jake Behrens, behrens@apple.com, twitter: @Behrens
- What's new in Cocoa
- Accessibility in iOS
- Building User Interfaces for iOS 7
- Getting Started with UIKit Dynamics
- What's new in Cocoa Touch
- What's New With Multitasking
- Best Practices for Cocoa Animation
- Improving Power Efficiency with App Nap
- Introducing Text Kit