Skip to content

Instantly share code, notes, and snippets.

Bill Mill llimllib

Block or report user

Report or block llimllib

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View setup_notes.md
  • preferences
    • key repeat rate to max, delay to shortest
      • Set key repeat rate faster than preferences pane allows:
      • defaults write -g KeyRepeat -int 1
    • disable natural scrolling
    • caps lock -> esc
    • scroll speed to max
    • disable notifications from 4:00AM to 3:59AM (there's no good way to kill them entirely)
    • minimize and autohide the dock
    • increase resolution
View pre-commit.sh
#!/bin/sh
# don't allow the commit if it contains any files that are not correctly
# formatted by prettier (https://github.com/jlongster/prettier/).
# Directly inspired by the gofmt precommit hook:
# https://golang.org/misc/git/pre-commit
#
# This code is BSD licensed.
#
# To use, store as .git/hooks/pre-commit inside your repository and make sure
# it has execute permissions. It will not handle files with spaces in their
View example.py
In [9]: df = pandas.DataFrame(np.random.randint(100, size=(10,1)), columns=['y'])
In [10]: df
Out[10]:
y
0 13
1 3
2 3
3 29
4 24
View keybase.md

Keybase proof

I hereby claim:

  • I am llimllib on github.
  • I am llimllib (https://keybase.io/llimllib) on keybase.
  • I have a public key whose fingerprint is D56E C5FA 913B 4AF6 EDB1 991F 2563 997E 879D 78DD

To claim this, I am signing this object:

@llimllib
llimllib / README.md
Last active Nov 6, 2015 — forked from mbostock/.block
Tree Layout Orientations
View README.md

playing with tree zoom

View limbo.conf
description "start limbo bot"
start on net-device-up
respawn
respawn limit 3 30
env SLACK_TOKEN=<slack_token>
env LIMBO_LOGLEVEL=INFO
env GITHUB_USER=<github_user>
@llimllib
llimllib / README.md
Created Oct 26, 2015 — forked from maartenzam/README.md
Fly over latitude parallel
View README.md

My first experiment with Mapbox GL is a mock up of what astronauts in the ISS could see out of their window.

This map let's you fly over the latitude parallel of your choice. You can change

  • the baselayer (hybrid, streest of satellite)
  • the parallel you are flying over (pan left or right)
  • the zoom (+ and - in upper right corner)
  • rotation of view (the compass in the upper right corner)
View Players selected by teams in the top 1k of Barclays Fantasy Premier League, Gameweek 25
------- starters ------
Hazard: 927
Agüero: 924
Kane: 900
Sánchez: 651
van Aanholt: 641
Terry: 479
Cazorla: 465
Silva: 428
Di María: 421
View fixup.py
from PIL import Image
from glob import glob
import os
# pip install imagehash
import imagehash
images = {}
for f in glob("images/*"):
@llimllib
llimllib / README.md
Created May 1, 2014
Boston Marathon Runners Chloropleth by Country 2001-2014
View README.md

This map attempts to summarize the countries of origin of Boston Marathon runners from 2001-2014. I was surprised by how global the race is, with runners from 103 different countries over the course of those 13 races.

You can’t perform that action at this time.