Skip to content

Instantly share code, notes, and snippets.

😧
I’d like to speak to 2020’s manager

Florian Wendelborn FlorianWendelborn

😧
I’d like to speak to 2020’s manager
View GitHub Profile
View hexc.js
const WIDTH = 32
const fs = require('fs')
const chalk = require('chalk')
const hsl2rgb = require('pure-color/convert/hsl2rgb')
// const e = require('emoji.json')
const file = fs.readFileSync(process.argv[2])
file.forEach((char, index) => {
const rgb = hsl2rgb([char / 256 * 360, 100, 50]).map(i => Math.floor(i))
View reddit.sh
#!/bin/bash
set -e
rm -f text
vi text
rm -f text.asc
gpg --clearsign text
cat text.asc | sed -e 's/^/ /' | pbcopy
View gpg.sh
#!/bin/bash
set -e
rm -f text
vi text
rm -f text.asc
gpg --clearsign text
cat text.asc | pbcopy
View add.js
const add=(x,...r)=>x+(+r?r[0]:add(...r));
console.log(add(1,2,3,4,5,6));
View keybase.md

Keybase proof

I hereby claim:

  • I am dodekeract on github.
  • I am dodekeract (https://keybase.io/dodekeract) on keybase.
  • I have a public key whose fingerprint is A1E4 7ADC D550 DAE9 2337 7CF2 647E 95F1 6C71 B29F

To claim this, I am signing this object:

View mac-essentials.text
**** = Editor's Choice(tm)
1Password - Password Manager
(Adium) - IM Client
**** App Cleaner
Dash - Code Documentation
(Grammarly) - Natural Language Editor
HandBrake - Transcoder
Hex Fiend - Hex Editor
Hopper Disassembler - falls Du einen brauchst, auf jeden Fall der Beste für mac
@FlorianWendelborn
FlorianWendelborn / package.json
Last active Jun 16, 2016
🐛 WebPack Inconsistent Entry Path
View package.json
{
"scripts": {
"a": "mkdir a && touch a.js && webpack a bundle-a.js",
"b": "touch b.js && webpack b bundle-b.js"
},
"dependencies": {
"webpack": "^1.13.1"
}
}
View insert-dashes.js
insertDash=n=>{var r='',i;n+=r;for(i in n){r+=(n[i-1]%2&&n[i]%2?'-':'')+n[i]}return r}
@FlorianWendelborn
FlorianWendelborn / HWTemplate.tex
Created Oct 27, 2015 — forked from dcernst/HWTemplate.tex
LaTeX homework template for Weekly Homework assignments for Dana Ernst's courses.
View HWTemplate.tex
% --------------------------------------------------------------
% This is all preamble stuff that you don't have to worry about.
% Head down to where it says "Start here"
% --------------------------------------------------------------
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb}
You can’t perform that action at this time.