Skip to content

Instantly share code, notes, and snippets.

<html>
<a href="sms://+1111111111?body=interested">sms</a>
</html>
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--><!DOCTYPE html><html>
<head>
<title>calfresh-uproot</title>
</head>
<body>
<div class="mxgraph" style="position:relative;overflow:hidden;width:1639px;height:1840px;">
<div style="width:1px;height:1px;overflow:hidden;">7V1bd+JIkv41dXbmAY4Ag+1Hu7o83We3T9W2a7d2nvYISEBbQlLrYlzz6+eLS0qpC0b4Utiz5oFLSsqMjIiMW0YkHyYft/d/S/1k83u8NOGHsbe8/zD55cN4PJpMz/BBLT+kZTa7kIZ1Giz1pqrhNviH0UZPW4tgabLajXkch3mQ1BsXcRSZRV5rW8VhfYjEX9vuq4bbhR+2W78Fy3wjrRfjWdX+qwnWGzvMaHYpV7L8h+1jaVZ+EeYDbsI1urz1bV86q3vP9iC/f+hvez3xoxpE/4jjba0hNVmFKp1toGBpH/M4XZpUmqQlDKLvLtYmn0C5NI7xHH3b3n80IVHPEkY6utlztURWaqLayHsfUDTe+WGhoH8Yz0I8e71BZ7M1fbvFzMfeTepHiyBbxPj+0Q9vMN0Nvt6a9C5YGGrEmJjc2BvgQX+b4MlontHHX85G07/iwnR6MRh5HnXMQwCuapQW1XJzz3Dk2xANI3zNEn8RRGv8mla/vsYY4pcBJjq53m2C3NyinbrYgfvRFt+ZdBXGO7RsguXSgIo6losmxRzuxbBNemAlmXhr8vQH8YlcPbvQVaSLyPawq5h0Zllx4zCoXXy+Un1d9lyRCV+UUnuopv3WqNbAXrbxE/oabHmBXdPMAiyr//DnJvwSZ0EexMTQ8zjPiZHLG67CYE0XcsLrNT9+lSWyjgnH2uEvmzyn9X5FUI9vFsvobBhgxa+CCC
@lippytak
lippytak / twilio_media_destroyer.rb
Last active August 29, 2015 14:23
Destroy all media from a Twilio phone number
require 'twilio-ruby'
require 'pry'
# This deletes all of the media (not message content) from all messages to a Twilio phone #
# Need 3 env vars set: TWILIO_SID, TWILIO_AUTH, and TWILIO_NUMBER
def process_multipage_list(list, return_array)
list.each do |item|
return_array << item
end
@lippytak
lippytak / mbcw.rb
Created June 17, 2015 21:26
MBCW driver example
require 'selenium-webdriver'
require 'pry'
class MbcwDriver
def initialize
@driver = Selenium::WebDriver.for :firefox
end
def create_application(params)
### Params
@lippytak
lippytak / secrets.md
Last active August 29, 2015 14:23
Secrets from a creative writing project in 2007

Secrets

  • My father touched my breasts and then went to touch my vagina, but I rolled over, so he couldn't.
  • I was curiously sexual with girls when I was young. Looking back now it's strange and makes me feel uncomfortable being in this skin...like I don't know it.
  • I think that the person I love most in the world is the person I hate most. And I mean LOVE and HATE.
  • I feel like I'm lying every time I say "I love you" to anyone besides my sister.
  • im scared that im too selfish to ever love anyone but myself.
  • I haven't cried in quite a while. I am now, after reading what everyone has written. I wish someone was here to hold me.
  • I wish I had the moral apathy enough to be anorexic and addicted to cigarettes and coffee.
  • I have hidden cameras in my washroom. Sad thing is I live alone.
@lippytak
lippytak / typform-embed
Created April 17, 2015 05:06
typeform embed with get parameter passing
<!--Upload this file to your server-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!--Add the title of your typeform below-->
<title>CalFresh</title>
<!--CSS styles that ensure your typeform takes up all the available screen space (DO NOT EDIT!)-->
<style type="text/css">
@lippytak
lippytak / statuspage-incidents
Created February 3, 2015 05:49
Create StatusPage incidents from Pingometer events
<?php
// connection settings
define('PINGOMETER_USERNAME', $_ENV["PINGOMETER_USERNAME"]);
define('PINGOMETER_PASSWORD', $_ENV["PINGOMETER_PASSWORD"]);
define('PINGOMETER_BASE_URI', 'https://app.pingometer.com/api/v1.0');
define('STATUSPAGE_API_KEY', $_ENV["STATUSPAGE_API_KEY"]);
define('STATUSPAGE_PAGE_ID', $_ENV["STATUSPAGE_PAGE_ID"]);
@lippytak
lippytak / incident-messenger.php
Created January 19, 2015 01:28
Make Pingometer events trigger StatusPageIO incidents
<?php
// connection settings
// define('PINGOMETER_MONITOR_ID', '');
define('STATUSPAGE_API_KEY', $_ENV["STATUSPAGE_API_KEY"]);
define('STATUSPAGE_PAGE_ID', $_ENV["STATUSPAGE_PAGE_ID"]);
define('STATUSPAGE_BASE_URI', 'https://api.statuspage.io/v1');
define('STATUSPAGE_DEFAULT_INCIDENT_NAME', 'Unknown Issue');
define('STATUSPAGE_DEFAULT_INCIDENT_STATUS', 'investigating');
from twilio.rest import TwilioRestClient
import re
# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = 'hi'
auth_token = 'there'
client = TwilioRestClient(account_sid, auth_token)
bads = []
@lippytak
lippytak / poop.xml
Created April 4, 2014 01:11 — forked from daguar/poop.xml
<Response>
<Say>What's up dog.</Say>
</Response>