- El pueblito paisa https://goo.gl/maps/1PD5GZNhCFH2
- Parque Arví https://goo.gl/maps/ubUD3doaaYQ2
- Free walking tour http://www.realcitytours.com/ (la pagina tiene un problema con https)
- Museo de arte moderno https://goo.gl/maps/v4QK1KBy7962
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
struct Action { | |
_type: String, | |
amount: u32 | |
} | |
fn update_counter(state:u32, action: Action) { | |
let Action {_type, amount} = action; | |
return match _type.as_ref() { | |
"INCREMENT" => state + amount, | |
"DECREMENT" => state - amount, |
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
struct Action { | |
_type: String, | |
amount: u32 | |
} | |
fn update_counter(state:u32, action: Action) { | |
let Action {_type, amount} = action; | |
return match _type.as_ref() { | |
"INCREMENT" => state + amount, | |
"DECREMENT" => state - amount, |
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
struct Action { | |
_type: String, | |
amount: u32 | |
} | |
fn update_counter(state:32, action: Action) { | |
let Action {_type, amount} = action; | |
return match _type.as_ref() { | |
"INCREMENT" => state + amount, | |
"DECREMENT" => state - amount, |
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
;; if using spacemacs, place this code inside dotspacemacs/user-config | |
;; otherwise, just put it in .emacs | |
(defun insert-console-log () | |
"Insert console.log of the variable at point." | |
(interactive) | |
(let ((beg nil) | |
(end nil)) | |
(back-to-indentation) | |
(setq beg (point)) |
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
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
local nvm_node='' | |
nvm_node='%{$fg[green]%}‹node-$(nvm_prompt_info)›%{$reset_color%}' | |
local git_branch='$(git_prompt_info)%{$reset_color%}' | |
PROMPT='$(nvm_prompt_info) $(git_prompt_info) | |
%{$fg[cyan]%}%c ${ret_status}%{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}" |
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 coffee | |
process.setMaxListeners(0) | |
penthouse = require('penthouse') | |
path = require('path') | |
fs = require('fs') | |
_ = require('lodash') | |
async = require('async') | |
os = require('os') |
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
;; -*- mode: emacs-lisp -*- | |
;; This File is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
- I am juancaicedo on github.
- I am juancaicedo (https://keybase.io/juancaicedo) on keybase.
- I have a public key ASDExytt9hYizi26VsDxHDRFAhuOwFuxY8cuN15ajgVZNAo
To claim this, I am signing this object:
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 bash | |
osascript <<EOF | |
display notification "$1" with title "$2" | |
EOF |