This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind-key -n 'C-\' run-shell -b ${HOME}/.local/bin/tmux-toggle-term |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <napi.h> | |
class Foo : public Napi::ObjectWrap<Foo> { | |
public: | |
// ... | |
Napi::Value foo(const Napi::CallbackInfo& info) { | |
Napi::Env env = info.Env(); | |
Napi::Function consoleLog = env.Global().Get("console").As<Napi::Object>().Get("log").As<Napi::Function>(); | |
consoleLog.Call({ Napi::String::New(env, "Hello, World.") }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os: linux | |
node_js: '7' | |
sudo: required | |
env: DISPLAY=':99.0' | |
dist: trusty | |
addons: | |
apt: | |
sources: | |
- google-chrome | |
packages: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os: linux | |
node_js: '12' | |
sudo: required | |
env: DISPLAY=':99.0' | |
dist: trusty | |
addons: | |
apt: | |
update: true | |
sources: | |
- google-chrome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Base styles */ | |
body {} | |
p {} | |
/* .layout-{name} */ | |
.layout-sidebar {} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- gct: get chrome tabs | |
-- save FRONTMOST WINDOW of Chrome (or safari, but definitely not firefox) tabs into a file | |
-- optionally (by uncommenting) CLOSE the window | |
-- modified from http://www.leancrew.com/all-this/2012/10/saving-browser-tab-sets/ | |
-- ------------------------------------------------------------ | |
-- cce | |
-- 2012 nov- rev 0.2 | |
-- - why do i punish myself with applescript? | |
-- | |
-- ------------------------------------------------------------ |