Skip to content

Instantly share code, notes, and snippets.

Avatar
🏖️
chillin

Jared Hirsch 6a68

🏖️
chillin
View GitHub Profile
@ekager
ekager / bad_place_notify.py
Last active Oct 2, 2020
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 Effective_Engineer.md

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@shane-tomlinson
shane-tomlinson / gist:5884391
Last active Dec 19, 2015
Creating an async navigator.id api with @6a68.
View gist:5884391
(function() {
var nav=navigator;
if (!nav.id && !nav.mozId) {
var api = ['get','getVerifiedEmail','logout','request','watch'],
funcName,
idq = [],
id = nav.id = {},
rdyState,
next,
pollCount = 0,
@jedp
jedp / b2g-test.html
Last active Dec 15, 2015
Test RP for b2g/picl
View b2g-test.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="pragma" content="no-cache">
<title>B2G Persona test</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
</head>
@jedp
jedp / server.js
Last active Dec 15, 2015
static file server
View server.js
/**
* Static file server
* Drop files in ./public
*/
var
Hapi = require('hapi'),
server = Hapi.createServer('localhost', process.env['STATIC_SERVER_PORT'] || 9000);
server.route({
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@endolith
endolith / Has weird right-to-left characters.txt
Last active Oct 23, 2020
Unicode kaomoji smileys emoticons emoji
View Has weird right-to-left characters.txt
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
You can’t perform that action at this time.