Skip to content

Instantly share code, notes, and snippets.

View yacafx's full-sized avatar
Coding... 👽👾💻🕹

Sergio Brito yacafx

Coding... 👽👾💻🕹
View GitHub Profile
yacafx / obsidian-links-today-keeper.js
Last active October 16, 2023 01:00
Obsidian Links Today Keeper
yacafx / obsidian-web-clipper.js
Created October 15, 2023 12:18 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import(''), import(''), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
rb = !sh -c 'node ~/bin/recbranch.js'
yacafx / git-mv-with-history
Created April 16, 2021 14:45 — forked from emiller/git-mv-with-history
git utility to move/rename file or folder and retain history with it.
# git-mv-with-history -- move/rename file or folder, with history.
# Moving a file in git doesn't track history, so the purpose of this
# utility is best explained from the kernel wiki:
# Git has a rename command git mv, but that is just for convenience.
# The effect is indistinguishable from removing the file and adding another
# with different name and the same content.
yacafx /
Created August 27, 2018 19:12 — forked from GhazanfarMir/
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
yacafx / settings.json
Last active March 27, 2023 23:47
Configuration for VS Code
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "Cobalt2",
"workbench.startupEditor": "none",
"editor.minimap.enabled": false,
"editor.formatOnSave": true,
"editor.fontSize": 18,
"editor.fontLigatures": true,
"editor.lineHeight": 25,
"editor.letterSpacing": 0.5,
yacafx /
Last active January 22, 2022 08:24
Basic extensions for VS Code
code --install-extension 2gua.rainbow-brackets
code --install-extension aaron-bond.better-comments
code --install-extension abusaidm.html-snippets
code --install-extension
code --install-extension anseki.vscode-color
code --install-extension BriteSnow.vscode-toggle-quotes
code --install-extension christian-kohler.npm-intellisense
code --install-extension christian-kohler.path-intellisense
code --install-extension cmstead.jsrefactor
code --install-extension CoenraadS.bracket-pair-colorizer
yacafx /
Last active March 15, 2018 14:59
Fish function for test angular app with appshell
function testng
ng build --prod
http-server -c-1 -p 4200 ./dist
yacafx / checkUserAgent.js
Created March 9, 2018 20:43
Check user agent in JS
// Check if user agent is from Apple
// actions
} else {
// Maybe is Android ;)
<h1>Poetry Workshops</h1>
<p>We will be conducting a number of poetry workshops and symposiums throughout the year.</p>
<p>Please note that the following events are free to members:</p>
<li>A Poetic Perspective</li>
<li>Walt Whitman at War</li>
<li>Found Poems and Outsider Poetry</li>