Skip to content

Instantly share code, notes, and snippets.

@arlaneenalra
arlaneenalra / # python - 2019-10-09_07-10-55.txt
Created October 23, 2019 19:18
python on macOS 10.14.6 - Homebrew build logs
Homebrew build logs for python on macOS 10.14.6
Build date: 2019-10-09 07:10:55
@arlaneenalra
arlaneenalra / # python - 2019-10-22_08-18-39.txt
Created October 22, 2019 13:34
python on macOS 10.15 - Homebrew build logs
Homebrew build logs for python on macOS 10.15
Build date: 2019-10-22 08:18:39
@arlaneenalra
arlaneenalra / # python - 2019-10-22_08-18-39.txt
Created October 22, 2019 13:24
python on macOS 10.15 - Homebrew build logs
Homebrew build logs for python on macOS 10.15
Build date: 2019-10-22 08:18:39
@arlaneenalra
arlaneenalra / # python - 2019-10-22_08-18-39.txt
Created October 22, 2019 13:20
python on macOS 10.15 - Homebrew build logs
Homebrew build logs for python on macOS 10.15
Build date: 2019-10-22 08:18:39
@arlaneenalra
arlaneenalra / # python - 2019-10-09_07-10-55.txt
Created October 22, 2019 13:00
python on macOS 10.14.6 - Homebrew build logs
Homebrew build logs for python on macOS 10.14.6
Build date: 2019-10-09 07:10:55
@arlaneenalra
arlaneenalra / # python - 2019-10-09_07-10-55.txt
Created October 22, 2019 12:37
python on macOS 10.14.6 - Homebrew build logs
Homebrew build logs for python on macOS 10.14.6
Build date: 2019-10-09 07:10:55
@arlaneenalra
arlaneenalra / # python - 2019-10-09_07-10-55.txt
Created October 21, 2019 16:25
python on macOS 10.14.6 - Homebrew build logs
Homebrew build logs for python on macOS 10.14.6
Build date: 2019-10-09 07:10:55
-- HANDLE SCROLLING WITH MOUSE BUTTON PRESSED
local scrollMouseButton = 3
local deferred = false
overrideOtherMouseDown = hs.eventtap.new({ hs.eventtap.event.types.otherMouseDown }, function(e)
-- print("down")
local pressedMouseButton = e:getProperty(hs.eventtap.event.properties['mouseEventButtonNumber'])
-- print(pressedMouseButton)
if scrollMouseButton == pressedMouseButton
then
@arlaneenalra
arlaneenalra / A few interesting make targets
Created May 24, 2016 19:51
A few interesting make targets for phpcs ...
get-branch:
# make sure that origin pointers are up to date
@git fetch
$(eval BRANCH = "$(shell git rev-parse --abbrev-ref HEAD)")
$(eval MERGE_BASE = "$(shell git merge-base $(BRANCH) origin/develop)")
# all committed changes
$(eval FILES_COMMITTED = $(shell git diff --name-only $(MERGE_BASE)))
@arlaneenalra
arlaneenalra / gist:54e46a2e2ece9ecac6a9
Created January 19, 2015 15:28
Git lg alias with date order
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --color --date-order