Skip to content

Instantly share code, notes, and snippets.

View namuol's full-sized avatar

Lou Acresti namuol

View GitHub Profile
namuol / e1m1.esc.txt
Created September 10, 2022 16:11
DOOM E1M1 ESC tune
# DOOM E1M1 ESC tune
# Compatible with
# Originally adapted by Rox Wolf:
# Enjoy!
# ESC1:
namuol /
Last active March 10, 2020 17:32
Petitions to Stop the Spread of Coronavirus in San Francisco

🌱 This is a living document - please comment, fork, or tweet at @louroboros to contribute.

Thank you!

Citizens of San Francisco have a right to know what our leaders are planning to do to slow/stop the spread of Coronavirus in our city.

We know now that community spread is already happening here in SF, which means it's only a matter of time before we need to take more drastic measures to encourage (or enforce) a higher degree of social distancing to "flatten the curve" and avoid a worst-case-scenario where our healthcare infrastructure is overwhelmed, all at once, like it is happening today (March 9th) in Italy ([1], [2], [3]).

Even if we assume the Mayor London Breed, SFUSD Superintendent Dr. Vincent Matthews, and other local community leaders have a plan to take dramatic action when the time is right, th

namuol /
Last active December 30, 2019 15:40
Principals of the American Cargo Cult


Principles of the American Cargo Cult

I wrote these principles after reflecting on the content of contemporary newspapers and broadcast media and why that content disquieted me. I saw that I was not disturbed so much by what was written or said as I was by what is not. The tacit assumptions underlying most popular content reflect a worldview that is orthogonal to reality in many ways. By reflecting this skewed weltanschauung, the media reinforces and propagates it.

I call this worldview the American Cargo Cult, after the real New Guinea cargo cults that arose after the second world war. There are four main points, each of which has several elaborating assumptions. I really think that most Americans believe these things at a deep level.

Ignorance is a virtue

mouseEnter -> hovered
mouseLeave -> default
mouseDown -> pressed
namuol / Dataloader.js
Last active September 20, 2017 02:00 — forked from acdlite/Dataloader.js
Idea for Dataloader component
// The `loader` argument is a Dataloader instance
const makeLoader = (loader) => {
class Dataloader extends React.Component {
state = {data: null, isLoaded: false};
componentWillMount() {
componentWillReceiveProps(nextProps) {
if ( !== {
namuol / .block
Last active September 6, 2016 06:32 — forked from monfera/.block
SVG heat shimmer
license: mit
border: no
height: 420
namuol / SimpleList.js
Last active September 1, 2015 23:35
React Styles
const styles = StyleSheet.create({
list: { /* etc */ },
hover: { /* etc */ },
export default class List extends React.Component {
static propTypes = {
var Style = require('react-free-style').create()
var BUTTON_STYLE = Style.registerStyle({
backgroundColor: 'red',
padding: 10
var ButtonComponent = Style.component(React.createClass({
// You must define `contextTypes` to access `freeStyle`.
namuol / example.coffeex
Last active August 29, 2015 14:08
CoffeeX Syntax Concept (JSX for CoffeeScript)
MySimpleComponent = React.createClass
render: -> <pre>{@props.mytext}</pre>
MyComponent = React.createClass
render: ->
<ul> (item) =>
<li><a href="#" onClick={@props.handleClick}>{item}</a></li>