Skip to content

Instantly share code, notes, and snippets.

View elizabethsiegle's full-sized avatar
👩‍💻

Lizzie Siegle elizabethsiegle

👩‍💻
View GitHub Profile
@craigsdennis
craigsdennis / wordleSuggestions.js
Last active February 8, 2022 04:40
Wordle suggestion giver using Datamuse api
View wordleSuggestions.js
const axios = require("axios");
const WORD_LENGTH = 5;
// For testing, change these values
// You can make your own! https://mywordle.strivemath.com/?word=iclvp
const green = "?????";
const yellow = "eu";
const guesses = ["adieu"];
// End testing
@ekager
ekager / bad_place_notify.py
Last active October 28, 2022 08:18
Searches for specified search terms and sends emails if found
View bad_place_notify.py
"""
This script will search 4chan (need to specify a board unfortunately) and then
search all comments on Reddit for specific keywords. If found, it will then send
an email with the links to any matching posts.
Because 4chan posts are archived after ~48 hours I would recommend setting this up
to run on that cadence as well.
Sender email will need "Allow less secure apps" to ON or similar setting.
I followed these instructions for setting that up:
View poorbill.md

"POOR BILL"
2019-Nov-07

@teddyschleifer wrote:

"Bill Gates on a wealth tax:

'I've paid over $10 billion in taxes. I've paid more than anyone in taxes. If I had to pay $20 billion, it's fine.'

'But when you say I should pay $100 billion, then I'm starting to do a little math over what I have left over.'"

View twitterdiff.py
import json
from twitter import *
# Twitter app credentials
token = "..."
token_secret = "..."
consumer_key = "..."
consumer_secret = "..."
# Twitter client
@CodingDoug
CodingDoug / README.md
Last active December 17, 2022 10:23
Copying data from Firebase Realtime Database to a Google Sheet in real time via Cloud Functions
View README.md
@kitten
kitten / reactiveconf-sc-cfp.md
Last active November 17, 2020 15:06
ReactiveConf 2017 Lightning Talk CFP: With styled-components into the future
View reactiveconf-sc-cfp.md

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

@shrutic
shrutic / iMessage_References
Last active March 2, 2017 19:41
iMessage talk links - Forward Swift
View iMessage_References
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
@Nikita-schetko
Nikita-schetko / replace-master
Created January 20, 2017 19:46
How to replace master branch in git, entirely, from another branch?
View replace-master
git checkout seotweaks
git merge -s ours master
git checkout master
git merge seotweaks
@sunnygleason
sunnygleason / pubnub_clarifai_block.js
Last active November 22, 2016 05:43
PubNub Clarifai Image Analysis BLOCK
View pubnub_clarifai_block.js
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';
View github-print-bookmarklet
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f=e.jQuery)%7C%7Cg%3Ef.fn.jquery%7C%7Ch(f))%7Bc=a.createElement(%22script%22);c.type=%22text/javascript%22;c.src=%22http://ajax.googleapis.com/ajax/libs/jquery/%22+g+%22/jquery.min.js%22;c.onload=c.onreadystatechange=function()%7Bif(!b&&(!(d=this.readyState)%7C%7Cd==%22loaded%22%7C%7Cd==%22complete%22))%7Bh((f=e.jQuery).noConflict(1),b=1);f(c).remove()%7D%7D;a.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,%221.3.2%22,function($,L)%7B$('%23header,%20.pagehead,%20.breadcrumb,%20.commit,%20.meta,%20%23footer,%20%23footer-push,%20.wiki-actions,%20%23last-edit,%20.actions,%20.header,.site-footer,.repository-sidebar,.file-navigation,.gh-header-meta,.gh-header-actions,#wiki-rightbar,#wiki-footer,.commit-tease').remove();%20$('%23files,%20.file').css(%7B%22background%22:%22none%22,%20%22border%22:%22none%22%7D);%20$('link').removeAttr('media');%7D); var removeMe = document.getElementsByClassName("file-header")[0]; removeMe.parentNode.removeChild(r