Skip to content

Instantly share code, notes, and snippets.

@andyrufasto
andyrufasto / devicons.py
Created July 20, 2020 17:52
~/.config/ranger/plugins/ranger_devicons/devicons.py
#!/usr/bin/python
# coding=UTF-8
# These glyphs, and the mapping of file extensions to glyphs
# has been copied from the vimscript code that is present in
# https://github.com/ryanoasis/vim-devicons
import re;
import os;
# all those glyphs will show as weird squares if you don't have the correct patched font
# My advice is to use NerdFonts which can be found here:
# Mi RSS
http://www.andyrufasto.cf/rss.xml
# RSS feed reader:
https://feedly.com/
# Crea RSS de diferentes paginas:
https://fetchrss.com/
# Encuentra ID de canales de youtube:
https://www.invidio.us/
# Youtube feeds
https://www.youtube.com/feeds/videos.xml?channel_id=<ID>
{
"coc.preferences.formatOnSaveFiletypes": [
"css",
"markdown",
"javascript",
"graphql",
"html",
"yaml",
"json",
"python",
@andyrufasto
andyrufasto / plugins.vimrc
Last active August 21, 2020 00:26
Plugins de Vim
set rtp+=~/.vim/bundle/Vundle.vim
filetype plugin indent on
call plug#begin()
Plugin 'dylanaraps/wal.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'francoiscabrol/ranger.vim'
Plugin 'neoclide/coc.nvim', {'branch': 'release'}
Plugin 'voldikss/vim-floaterm'
@andyrufasto
andyrufasto / keymap.json
Last active September 21, 2020 17:21
~/.config/joplin/keymap.json
[
{ "keys": [":"], "type": "function", "command": "enter_command_line_mode" },
{ "keys": ["l"], "type": "function", "command": "focus_next" },
{ "keys": ["h"], "type": "function", "command": "focus_previous" },
{ "keys": ["k"], "type": "function", "command": "move_up" },
{ "keys": ["j"], "type": "function", "command": "move_down" },
{ "keys": ["PAGE_UP"], "type": "function", "command": "page_up" },
{ "keys": ["PAGE_DOWN"], "type": "function", "command": "page_down" },
{ "keys": ["ENTER"], "type": "function", "command": "activate" },
@andyrufasto
andyrufasto / rc.conf
Last active October 3, 2020 05:02
Ranger config
set preview_images true
set preview_images_method ueberzug
set draw_borders true
map cx shell chmod +x %s
default_linemode devicons
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF+BCkMBEAC8tdERUmvhsJJJsfKIibODSQzHcbDCgR/p6xc4CyyMNiTobQ1a
BlH4Z110CDEfVETydL4R+o2rYfILfWdsMJJcHNj0xiwNIcLfYCsGbxc+AA3hp6ic
MRVpjBIX0zzx7ByvuBdw2epYigyopkTNPPmXNPXciQr/NwHYSyUFEUVtI0qDh+M1
jRNXdZ0At+vgCS2Iz0ae+7iWrkQ/QPJRmwjuTPJQXJY1KlU8QQ+8DPhfz56YVpce
Eq8vQTb6ltF9k5zDKAaecMVu14AL5LhUTw06nugwbSYQsJLKCAV3uBiR7Be/E43H
ZbIX2DO657IoEe/SzBmzL6iHuNofv6TQ5SdeeF0ATk1xyFF630JtFFN50p54ub8b
BMu3v+YBCRwo+hxgE0swuZx6xpd/haX41pLHG9YZO7ykHroPErWsi29hs/TAerLh
hFtbCjkem/hsi6MKsI1xscbjenTV8lbc0R30F0iIpghmlY4IzJl77Rtr80Vi0Cvf
@andyrufasto
andyrufasto / jupyter.desktop
Last active January 25, 2021 18:18
Jupyter Notebook
[Desktop Entry]
Encoding=UTF-8
Categories=Programming
Comment=Jupyter Notebook
Exec=bash -c "$HOME/venv/jupyter/jupyter.sh"
GenericName=Friendly IDE
Icon=jupyter.png
Name=Jupyter
Terminal=false
Type=Application
@andyrufasto
andyrufasto / empleo_consumo.csv
Last active September 18, 2022 00:26
Expectativas de Inversion - Data
fecha empleo consumo_privado
03/31/99 -4.4 2.8
06/30/99 -5.8 -0.5
09/30/99 -7.1 -2.0
12/31/99 -6.0 -5.8
03/31/00 -4.3 -0.5
06/30/00 -2.5 0.7
09/30/00 -1.4 1.7
12/31/00 -2.2 8.5
03/31/01 -2.5 1.2