Skip to content

Instantly share code, notes, and snippets.

View dotenorio's full-sized avatar
🐼
Save a panda!

Fernando Migliorini Tenório dotenorio

🐼
Save a panda!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dotenorio on github.
  • I am dotenorio (https://keybase.io/dotenorio) on keybase.
  • I have a public key ASBBSa7britvejklU5Cnm_l4gnhODVKUYED71vV6W5mE-Ao

To claim this, I am signing this object:

NVM_NODEJS_ORG_MIRROR=https://unofficial-builds.nodejs.org/download/release nvm install
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1="\[\033[01;32m\]\u \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ "
function abrirPessoas () {
elemento = document.querySelector('.gV3Svc')
elemento.click()
}
function abrirChat () {
elemento = document.querySelector('.HKarue')
elemento.click()
}
@dotenorio
dotenorio / config
Last active August 20, 2019 14:16
git config --global -e
[user]
name = Fernando Migliorini Tenório
email = dotenorio@gmail.com.br
[alias]
co = checkout
cb = checkout -b
ca = checkout -a
br = branch
ci = commit
st = status
# Put the 2 files below on C:\Users\your_user\AppData\Roaming\Sublime Text 3\Packages
# FILE #1 ~> cmd.py
import os, sublime_plugin
class CmdCommand(sublime_plugin.TextCommand):
def run(self, edit):
file_name=self.view.file_name()
path=file_name.split("\\")
current_driver=path[0]
path.pop()
@dotenorio
dotenorio / Preferences.sublime-settings
Created July 10, 2017 12:51
Preferences.sublime-settings
{
"enable_tab_scrolling": true,
"font_size": 11,
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
"rulers":
[
<snippet>
<content><![CDATA[
console.log(${1})
]]></content>
<tabTrigger>cl</tabTrigger>
<scope>source.js</scope>
<description>console.log(..)</description>
</snippet>
<snippet>
<content><![CDATA[
console.log(JSON.stringify(${1}, null, 2))
]]></content>
<tabTrigger>clj</tabTrigger>
<scope>source.js</scope>
<description>console.log(JSON.stringify(..))</description>
</snippet>