Skip to content

Instantly share code, notes, and snippets.

View manmorjim's full-sized avatar

Manuel Morillo manmorjim

View GitHub Profile
@manmorjim
manmorjim / .zshrc
Last active April 12, 2018 18:22
ZSH configuration file
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/manueljmorillo/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="agnoster"
@manmorjim
manmorjim / init.coffee
Last active November 19, 2018 13:31
atom-settings-guadaltel
View init.coffee
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
View github_issues_to_csv.js
fetch('https://api.github.com/repos/:user/:repo/issues?per_page=1000').then(res => res.json()).then(res => {
console.log('"title","labels","id","created","author"');
console.log(res.map(i => `"${i.title}","${i.labels.map(l => l.name).join(';')}","#${i.number}","${i.created_at}","${i.user.login}"`).join('\n'));
});