Skip to content

Instantly share code, notes, and snippets.

View denisazevedo's full-sized avatar
🏄‍♂️

Denis C de Azevedo denisazevedo

🏄‍♂️
View GitHub Profile
@denisazevedo
denisazevedo / barrier_setup.md
Last active February 11, 2023 19:11
Barrier setup

Link to the workaround.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@denisazevedo
denisazevedo / keyboard-setup.md
Last active November 9, 2020 22:28
Keyboard on Linux

Para teclados americanos (como o teclado Apple com teclado numérico) você ativa os acentos assim:

setxkbmap -model abnt -layout us -variant intl

Caso você queira configurar sem acento use:

setxkbmap -layout us -variant mac
@denisazevedo
denisazevedo / google-drive.ts
Created July 21, 2018 13:12 — forked from leifwells/google-drive.ts
Example Ionic 2/Angular 2 Provider for a Google spread sheet
import {Injectable} from '@angular/core';
import {Http} from '@angular/http';
import 'rxjs/add/operator/map';
/*
Generated class for the GoogleDrive provider.
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
for more info on providers and Angular 2 DI.
*/
@denisazevedo
denisazevedo / publish_to_ghpages.sh
Last active April 6, 2018 04:48
publish_to_ghpages - Script to publish Hugo site to GitHub Pages
#!/bin/sh
# Script based on https://gohugo.io/hosting-and-deployment/hosting-on-github/
DIR=$(dirname "$0")
UPSTREAM=${1:-origin}
cd $DIR/..
if [[ $(git status -s) ]]
@denisazevedo
denisazevedo / _mixins.scss
Created November 28, 2017 13:33
Useful SCSS mixins [sass scss css]
/**
* [Media queries]
* A massive time saver! You can just use pixel values but we have some default breakpoints setup that work too,
* another time saver while keeping your breakpoints consistent.
* Usage: @include mq('tablet-wide') {}
* From: http://engageinteractive.co.uk/blog/top-10-scss-mixins
*/
$breakpoints: (
"phone": 400px,
"phone-wide": 480px,