Skip to content

Instantly share code, notes, and snippets.

View rmasoni's full-sized avatar
🤩
Enjoying the Fediverse

Rafael Masoni rmasoni

🤩
Enjoying the Fediverse
View GitHub Profile
@rmasoni
rmasoni / ssh-password-prompt-fix.md
Last active June 1, 2018 06:16
Make SSH remember your password even between restarts on macOS.
$ ssh-add -K ~/.ssh/id_rsa; ssh-add -A

Set ~/.ssh/config to:

Host *
  UseKeychain yes
 AddKeysToAgent yes
@rmasoni
rmasoni / osx-cursors
Created April 24, 2016 20:28
Path for OS X's cursor PDF files.
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HiServices.framework/Versions/A/Resources/cursors
@rmasoni
rmasoni / minimal-ui.html
Created April 24, 2016 19:23
Viewport parameter that asks browsers to display the minimal UI possible when loading the page.
<meta name="viewport" content="width=device-width, minimal-ui">
@rmasoni
rmasoni / gist:6441804
Last active August 28, 2017 14:40
Pomodoro notifications for OS X, powered by terminal-notifier (https://github.com/alloy/terminal-notifier).
function pomodoro {
case $1 in
start )
echo 'terminal-notifier -title "🍅 Pomodoro Done" -message "Starting short break…"' | at + 25 minutes &> /dev/null
;;
break )
echo 'terminal-notifier -title "⌛ Short Break Done" -message "Start your next Pomodoro."' | at + 5 minutes &> /dev/null
;;
esac
@rmasoni
rmasoni / fit-css-example.css
Last active December 16, 2015 05:39
F.I.T. CSS example.
@import "fit.css";
span.upload-button {
/* Mandatory rules */
display: inline-block;
position: relative;
/* Your rules */
}
@rmasoni
rmasoni / fit-html-example.html
Last active December 16, 2015 05:39
F.I.T. HTML example.
<span class="upload-button fit">
<input type="file">
Upload files
</span>
@rmasoni
rmasoni / gist:4076207
Created November 15, 2012 02:08
WCIT e ITU - Apelo aos Representantes do Brasil
@rmasoni
rmasoni / wishlist.md
Last active February 12, 2018 04:26
Wish List