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
set smoothscroll | |
let scrollstep = 170 | |
let completionengines = ["google", "youtube"] | |
let searchalias g = "google" | |
let searchalias y = "youtube" | |
let defaultengine = "duckduckgo" | |
let blacklists = ['https://mail.google.com/*','*://mail.google.com/*','@https://mail.google.com/mail/*','*://localhost/*.ipynb*','http://localhost:8888/lab'] | |
site '*://trello.com/*/*/todo' { |
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
#!/usr/bin/env osascript | |
tell application "System Events" | |
tell process "Google Chrome" | |
set frontmost to true | |
perform action "AXRaise" of window 1 | |
keystroke "0" using {shift down, command down} | |
end tell | |
end tell |
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
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v2.json", | |
"data": { | |
"values": [ | |
{ | |
"date": "2018-05-01", | |
"value": 1 | |
}, | |
{ | |
"date": "2018-05-02", |
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
# install tmux from source because the ubuntu repo version is outdated | |
sudo apt install checkinstall automake libevent libevent-dev libncurses5-dev | |
git clone https://github.com/tmux/tmux.git | |
cd tmux | |
sh autogen.sh | |
./configure && make | |
sudo checkinstall # this might give you a version number format error and few other warnings, you can enter it as "2.7-rc1" or whatever the version is when you clone |
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
library(devtools) | |
install_github("mikeasilva/blsAPI") | |
install.packages("data.table") | |
install.packages("wbstats") | |
library(wbstats) |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
/*styling*/ | |
.barplot rect { | |
fill: steelblue; | |
} | |
.barplot text { |
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
req.pkg <- c("tidyverse", "ggmap") | |
install.diff <- req.pkg[!(req.pkg %in% installed.packages()[,"Package"])] | |
if(length(install.diff)) install.packages(install.diff) |
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
{ | |
"kse_rebinds": { | |
"edit": [], | |
"command": [ | |
{ | |
"to": ";", | |
"action_name": "jupyter-notebook:run-all-cells-above" | |
} | |
] | |
}, |
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
c = get_config() | |
# Show any variable that stands on its own line | |
c.InteractiveShell.ast_node_interactivity = "all" | |
# Inline matplotlib plotting please | |
c.InteractiveShellApp.matplotlib = "inline" | |
# Retina screen, so better resolution please | |
c.InlineBackend.figure_format = 'retina' |
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
.container { | |
width:100% !important; | |
} |
NewerOlder