Skip to content

Instantly share code, notes, and snippets.

View nuno-azevedo's full-sized avatar

Nuno Azevedo nuno-azevedo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nuno-azevedo on github.
  • I am nunoaz (https://keybase.io/nunoaz) on keybase.
  • I have a public key ASABxRoJiDPeAZLTwbr3lijCOs8mAfuaj3k3KrWeUs55zwo

To claim this, I am signing this object:

@nuno-azevedo
nuno-azevedo / new-file.applescript
Last active May 9, 2019 14:36
Create New File from Finder
tell application "Finder" to make new file at (the target of the front window) as alias
@nuno-azevedo
nuno-azevedo / open-terminal.applescript
Last active May 9, 2019 14:37
Open iTerm2 from Finder
-- When the toolbar script icon is clicked
on run
tell application "Finder"
try
set this_folder to (the target of the front window) as alias
on error
set this_folder to startup disk
end try
my process_item(this_folder)
@nuno-azevedo
nuno-azevedo / gitlab-to-github.sh
Last active May 6, 2024 20:05
Import Repository from GitLab to GitHub
#!/bin/bash
# Arguments:
# ${1}: Username
# ${2}: Repository
# Clone the repo from GitLab using the `--mirror` option.
git clone --mirror "git@gitlab.com:${1}/${2}.git"
# Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks.
@nuno-azevedo
nuno-azevedo / default.cfg
Created October 6, 2016 00:15
Uncrustify Configs
## General
# The type of line endings
newlines = lf # auto/lf/crlf/cr
# - 80 limit is completely deprecated
# - 100 is the new soft limit
# - 120 is hard limit
code_width = 120
@nuno-azevedo
nuno-azevedo / remove-outlook-ads.js
Last active August 22, 2016 14:45
Remove Outlook Ads
/*
- Install an Ad Blocker extension on your browser;
- Hide the Ad Panels on the right side of the page (There are two panels, one is over the other);
- Install an extension that can run custom JavaScript code on a webpage;
- Put the following code there to run it every time the Outlook page is open;
- Enjoy a bigger inbox without any ads;
*/
setInterval("$('#primaryContainer').children()[6].style.right = '0px';", 1000);
@nuno-azevedo
nuno-azevedo / Anaconda.sublime-settings
Last active August 30, 2019 11:34
Sublime Text Configs
{
"anaconda_linter_mark_style": "none",
"swallow_startup_errors": true
}