Skip to content

Instantly share code, notes, and snippets.

View install
# many settings from https://raw.githubusercontent.com/mathiasbynens/dotfiles/master/.macos
# many settings from https://raw.githubusercontent.com/thoughtbot/laptop/master/mac
# my previous install notes at https://gist.github.com/llimllib/ee591266e05bd880629a4e7511a61bb3
fancy_echo() {
local fmt="$1"; shift
# shellcheck disable=SC2059
printf "\n$fmt\n" "$@"
}
@llimllib
llimllib / # qt - 2017-08-03_11-13-43.txt
Created Aug 3, 2017
qt on macOS 10.12.6 - Homebrew build logs
View # qt - 2017-08-03_11-13-43.txt
Homebrew build logs for qt on macOS 10.12.6
Build date: 2017-08-03 11:13:43
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
You can’t perform that action at this time.