Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
Juggling excel files

Marco Bettiolo bettiolo

👻
Juggling excel files
View GitHub Profile
View map-reduce group unique ids by property
db.bettiolo_map_reduce.drop();
db.bettiolo_map_reduce.insert( { id: 1, types : { a: 'foo', b: 'bar', c: 'baz' } } );
db.bettiolo_map_reduce.insert( { id: 1, types : { a: 'foo', b: 'bar', c: 'baz' } } ); // duplicates
db.bettiolo_map_reduce.insert( { id: 2, types : { a: 'foo' } } );
db.bettiolo_map_reduce.insert( { id: 3, types : { b: 'bar' } } );
db.bettiolo_map_reduce.insert( { id: 4 } );
db.bettiolo_map_reduce.insert( { id: 5, types: {} } );
var map = function () {
@bettiolo
bettiolo / gist:135f09f58c2552074166
Created Nov 23, 2015
Extend monitor multiple device
View gist:135f09f58c2552074166
http://synergy-project.org/ (Virtual keyboard and mouse across win/lin/mac)
http://www.duetdisplay.com/ (Virtual displays between (win/osx) - iOS)
http://spacedesk.ph/ (Win Server -> Win Client or Any client via web)
http://www.airsquirrels.com/airparrot/ (Looks very complete but does not support extending)
http://www.getidisplay.com/ (Does not support Windows 10... might now support El Capitan)
http://avatron.com/applications/air-display/
http://www.zoneos.com/zonescreen.htm
http://www.maxivista.com/
http://easynlight.com/twomonusb/
View gist:6d541a638c7473c341a4
# opening and closing windows and popovers
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
# smooth scrolling
defaults write -g NSScrollAnimationEnabled -bool false
# showing and hiding sheets, resizing preference windows, zooming windows
# float 0 doesn't work
defaults write -g NSWindowResizeTime -float 0.001
You can’t perform that action at this time.