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
{ | |
"extends": "@parcel/config-default", | |
"transformers": { | |
"*.csv": [ | |
"@rbf/parcel-transformer-csv-to-json" | |
] | |
} | |
} |
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
# The MIT License (MIT) | |
# | |
# Copyright (c) 2017 https://gist.github.com/rbf | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
#!/bin/bash | |
# SOURCE: http://www.exteriores.gob.es/Portal/es/SalaDePrensa/Paginas/FichasPais.aspx | |
# Fail fast | |
set -eox pipefail | |
# Download PDFs | |
curl -sSL 'http://www.exteriores.gob.es/Portal/es/SalaDePrensa/Paginas/FichasPais.aspx' | tr '"' \\n | egrep http | egrep .pdf | sort -u | xargs -n1 -P4 curl -sLO --compressed | |
# Only print urls and last update date |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+j"], "command": "prettify_json" }, | |
{ "keys": ["super+shift+c"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["super+alt+shift+c"], "command": "toggle_comment", "args": { "block": true } }, | |
{ "keys": ["super+alt+p"], "command": "goto_open_file", "args": {"active_group": false}}, | |
{ "keys": ["super+k", "super+p"], "command": "prompt_select_project" }, | |
{ "keys": ["super+k", "super+o"], "command": "goto_open_file", "args": {"active_group": false}}, | |
{ "keys": ["super+k", "super+m"], "command": "toggle_minimap" }, | |
{ "keys": ["super+k", "super+t"], "command": "toggle_tabs" }, | |
{ "keys": ["super+k", "super+l"], "command": "toggle_setting", "args": {"setting": "line_numbers"}}, |
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
#!/bin/bash | |
# Download O'Reilly free programming ebooks | |
# SOURCE: https://pinboard.in/u:rbf/b:5ef50c7b00de | |
# SOURCE: https://www.reddit.com/r/programming/comments/6do7ih/free_programming_ebooks/di4ml1r/ | |
# Fail fast | |
set -eox pipefail | |
section=("data" "security" "business" "web-platform" "webops" "programming" "iot" "design") |
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
name | iso2 | iso3 | iso_numeric | |
---|---|---|---|---|
Afghanistan | AF | AFG | 004 | |
Åland Islands | AX | ALA | 248 | |
Albania | AL | ALB | 008 | |
Algeria | DZ | DZA | 012 | |
American Samoa | AS | ASM | 016 | |
Andorra | AD | AND | 020 | |
Angola | AO | AGO | 024 | |
Anguilla | AI | AIA | 660 | |
Antarctica | AQ | ATA | 010 |
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
# SOURCE: https://github.com/kaosf/ubuntu-setup/blob/9ddaed8033a182db85a0c0fcec3cbe37ba5047b2/tmux-setup.sh (via c9.io support) | |
# install: curl -LO https://gist.githubusercontent.com/rbf/5d4eface55197f21607f34b61f172a05/raw/tmux-install.sh | |
# NOTE: When installing a c9.io machine from scratch refer to http://rbf.li/c9config instead. | |
VERSION=2.3 | |
if [[ $1 = local ]]; then | |
echo 'Build "libevent-dev" and "libncurses-dev".' >&2 | |
else | |
sudo apt-get -y update |
I hereby claim:
- I am rbf on github.
- I am rbf (https://keybase.io/rbf) on keybase.
- I have a public key whose fingerprint is CE23 AAAE 64C3 7DB5 8174 5552 5A91 257F 04E1 DF63
To claim this, I am signing this object:
For reference, this is the way I managed to do it as of March 2016 starting with the link mentioned in this comment:
-
Added
HEROKU_API_LOGIN
(fromheroku auth:whoami
) andHEROKU_API_KEY
(fromheroku auth:token
) as protected ENV variables in the travis.org build settings. Alternatively, they can be added in the.travis.yml
with:travis encrypt HEROKU_API_LOGIN ="$(heroku auth:whoami)" --add travis encrypt HEROKU_API_KEY="$(heroku auth:token)" --add
-
Added following lines to the
.travis.yml
:
NewerOlder