Skip to content

Instantly share code, notes, and snippets.

View betorobson's full-sized avatar

Roberto Robson betorobson

View GitHub Profile
@betorobson
betorobson / History|-16c8869d|entries.json
Last active May 11, 2022 19:00
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/robertonogueira/Work/namoadigital/webapp-namoa/node_modules/%40angular/material/table/_table-flex-styles.scss","entries":[{"id":"8P1l.scss","timestamp":1652290260880},{"id":"Dptf.scss","timestamp":1652290354937},{"id":"JG5T.scss","timestamp":1652292032507}]}
@betorobson
betorobson / post-checkout
Last active January 10, 2022 13:13 — forked from sindresorhus/post-merge
git hook to run a command after `git pull` and `git checkout` if a specified file was change for example, package.json or bower.json
#!/usr/bin/env bash
# fork from https://gist.github.com/jakemhiller/d342ad51505addf78ec628a16fd3280f
changed_files="$(git diff-tree -r --name-only --no-commit-id $1 $2)"
check_run() {
echo "$changed_files" | grep --quiet "$1" && eval "$2"
}
check_run package.json "npm prune && npm install"
@betorobson
betorobson / agnoster-betorobson.zsh-theme
Last active October 11, 2019 15:07
oh my zsh - theme agnoster - betorobson
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@betorobson
betorobson / vscodestyles.css
Created March 4, 2019 14:33
VSCode Custom Load CSS
.monaco-editor .squiggly-error {
border: 1px solid #e76365;
border-radius: 4px;
background: none !important;
/* background-color: RGBA(255, 97, 136, 0.5) !important; */
}
.monaco-editor .squiggly-warning {
border: 1px solid #eac555;
border-radius: 4px;
@betorobson
betorobson / A%20File%20Icon.sublime-settings
Created November 28, 2017 17:02
sublime-sync-settings
{
// A File Icon Preferences – User
// ================================================================
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// ! PLEASE RESTART SUBLIME TEXT FOR THESE CHANGES TO TAKE EFFECT !
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
"size": 8,
"row_padding": [5, 2]