Skip to content

Instantly share code, notes, and snippets.


0xADADA 0xadada

View GitHub Profile
0xadada / corpus.txt
Last active Nov 5, 2020
every sentence i've published
View corpus.txt
Before Trump takes office, I want to create a picture of the high-water mark, something I can point to and say “That was how it was” without the fog of time, or the distortions of propaganda and ideology.
I was inspired by Sarah Kendzior: Fellow Americans, I have a favor to ask you.
Today is November 18, 2016.
I want you to write about who you are, what you have experienced, and what you have endured.
Write down what you value; what standards you hold for yourself and for others.
Write about your dreams for the future and your hopes for your children.
Write about the struggle of your ancestors and how the hardship they overcame shaped the person you are today.
Write your biography, write down your memories.
Because if you do not do it now, you may forget.
Write a list of things you would never do.
View placeholder.html
<!DOCTYPE html>
<meta charset="utf-8">
<img data-size="150x300" alt="Asian" data-show-markup>
<img data-size="150x300" alt="Bengal">
<script src="placeholder.js"></script>
View talk-using-ember-fastboot-in-weird-ways.server.js
// LOL this is not production code, but "inspired" by production code
const FastBoot = require('fastboot');
const FastBootAppServer = require('fastboot-app-server');
const server = new FastBootAppServer({
gzip: true, // enable gzip compression
beforeMiddleware(app) {
app.use(async (request, response, next) => {
if (request.path === '/render') {
0xadada /
Last active Apr 8, 2019
pin homebrew readline to version 7.0.5, permanantly
#!/usr/bin/env bash
# Uninstall this incompatible version
brew uninstall --ignore-dependencies readline
# Go to the local clone of homebrew-core
pushd "$(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core"
# Move to the homebrew-core revision that had 7.0.5, last version before 8
# see:
0xadada /
Created Jan 24, 2018
Update FileVault password with user account password

Update FileVault password with user account password

sudo fdesetup remove -user username
sudo fdesetup add -usertoadd username
0xadada / old-fashioned.package.json
Last active Mar 15, 2018
The Old Fashioned Cocktail Recipe, as specified as an NPM package (yes, these are real NPM dependencies)
View old-fashioned.package.json
"name": "Old Fashioned",
"version": "1.0.0",
"description": "The Old Fashioned Cocktail",
"scripts": {
"build": "dissolve && mix && stir && pour && serve",
"dissolve": "cat muddler bitters sugar > mixer && muddle",
"mix": "cat bourbon > mixer",
"stir": "cycle spoon --time 30s",
"pour": "pour mixer > tumbler",
0xadada / await-async.js
Last active Dec 3, 2017
The Promise of await / async
View await-async.js
// async / await
* Resolve a truthy value, reject a falsy value.
* @param {any} value Any Javascript primative type.
* @param {Number} timeout Time n milliseconds before function returns.
* @returns {Promise} a Promise.
let isTruthy = function(value, timeout) {
return new Promise((resolve, reject) => {
0xadada / laughing-man.svg
Created Nov 8, 2017 — forked from johan/laughing-man.svg
The Laughing Man (Ghost in the Shell), 1000 byte SVG :-)
View laughing-man.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
0xadada / cloudSettings
Last active Oct 4, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
0xadada /
Created Oct 26, 2017 — forked from Chaser324/
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

You can’t perform that action at this time.