Skip to content

Instantly share code, notes, and snippets.

View muziejus's full-sized avatar

Moacir P. de Sá Pereira muziejus

View GitHub Profile
@muziejus
muziejus / gist:7ea80941152cdbab818013ac50680598
Last active November 9, 2020 16:46
Tweetstorm on Theweleit
(tweeted in March 2016. Subsequently deleted)
"61. Fifth… I have no idea?
Here’s where I pull a Theweleit, throw up a picture of Tintin, and flee. https://t.co/QlYM3cAxLL"
60. Fourth, stop trying to explain Trumpism’s fascism by looking to the 1930s. That's too late. Fascism was born at Versailles (at least!).
59. Third, realize that rational or objective appeals to political economy or fretting over Kansas will accomplish nothing.
58. Second, see Trumpism as an extension of the male ego’s desire to dominate, meaning it’s undeniably racist and bigoted by design.
57. So, as Lenin would ask, “Что делать?” What is to be done? First, understand Trumpism as a real phenomenon featuring normal people.
56. For this strata-on-two-fronts, Trump is, as a Leader, “a man whom they themselves originally delegated heavenward” (II.409).
# First command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# This installs homebrew. Now we use homebrew to install gpg2:
brew install gpg2
# Now we use gpg to receive the keys.
@muziejus
muziejus / controllers.application.js
Last active June 26, 2019 16:49 — forked from poteto/controllers.application.js
ember-changeset-validations demo
import Ember from 'ember';
import {
validatePresence,
validateLength
} from 'ember-changeset-validations/validators';
const { get } = Ember;
export default Ember.Controller.extend({
props: ["name.firstName", "name.lastName", "job", "age"],
@muziejus
muziejus / application
Created June 24, 2019 20:58
changeset
import Ember from 'ember';
export default Ember.Route.extend({
});
Rank Name Type Smoothness Smudging Bleed-through Feel Looks Price/
100 Pilot Fineliner Felt-tip 1 3 3 3 2 $1.50
99 Pentel Arts Slicci 0.25mm. Extra Fine Gel 1 5 3 2 3 $2.25
98 Uni-ball Jetstream Ballpoint 4 3 3 3.5 1 $3.00
97 Pilot Metropolitan Fountain 1.5 3 4 3 3.5 $13.00
96 Pentel RSVP RT Ballpoint 3 5 4 2 1 $1.50
95 Koh-I-Noor Rapidograph Fountain 2 2 4.5 3 4 $25.00
94 Staedtler Pigment Liner Felt-tip 1 5 5 3 2 $1.67
93 Staedtler Lumocolor Permanent Felt-tip 2 5 1 4 4 $2.10
92 Pilot G2 Ultra Fine Gel 2 5 5 2 2 $1.08
Rank,Name,Type,Smoothness,Smudging,Bleed-through,Feel,Looks,Price/
100,Pilot Fineliner,Felt-tip,1,3,3,3,2,$1.50
99,Pentel Arts Slicci 0.25mm. Extra Fine,Gel,1,5,3,2,3,$2.25
98,Uni-ball Jetstream,Ballpoint,4,3,3,3.5,1,$3.00
97,Pilot Metropolitan,Fountain,1.5,3,4,3,3.5,$13.00
96,Pentel RSVP RT,Ballpoint,3,5,4,2,1,$1.50
95,Koh-I-Noor Rapidograph,Fountain,2,2,4.5,3,4,$25.00
94,Staedtler Pigment Liner,Felt-tip,1,5,5,3,2,$1.67
93,Staedtler Lumocolor Permanent,Felt-tip,2,5,1,4,4,$2.10
92,Pilot G2 Ultra Fine,Gel,2,5,5,2,2,$1.08
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@muziejus
muziejus / greetings.txt
Created May 23, 2018 02:22
Greetings from Postman!
Greetings from Postman!
@muziejus
muziejus / users.json
Last active May 23, 2018 05:45
User store for CMU-barchart
{"users":[{"email":"mds17@nyu.edu","password":"asdf","age":12},{"email":"moacir@uchicago.edu","password":"qwer","age":"23"},{"email":"taylorswift@taylorswift.com","password":"taytay","age":"29"},{"email":"Joe.biden@aol.com","password":"ishouldverun","age":"75"},{"email":"hi-im@29.years.old","password":"liketaylor","age":"29"},{"email":"a@baby.com","password":"justababy","age":"2"},{"email":"andrew@carnegie.com","password":"learnearngive","age":"182"}]}
@muziejus
muziejus / Rakefile
Last active May 1, 2018 23:15
Jekyll Rakefile to generate tag pages without plugins for use in gh-pages sites.
# This is a ruby port of Long Qian's:
#
# https://github.com/qian256/qian256.github.io/blob/master/tag_generator.py
#
# which is a python script that accompanies this useful webpage on creating
# tags for Jekyll without plugins:
#
# http://longqian.me/2017/02/09/github-jekyll-tag/
#
# This Rakefile uses Jekyll's internals to generate the list, as opposed to