Skip to content

Instantly share code, notes, and snippets.

View rafaellucio's full-sized avatar
🏠
Working from home

png rafaellucio

🏠
Working from home
View GitHub Profile
@caioadz
caioadz / grupo-estudos-aws
Last active March 1, 2019 18:53
Grupo de estudos AWS
Associate
https://aws.amazon.com/pt/certification/
https://d1.awsstatic.com/training-and-certification/certification/Cert-Roadmap-v9.1.edda8af3d23c5d54cd6d2371cd5ccae528c62d6c.png
- Architect ($150)
Esses roteiros foram criados para arquitetos de soluções, engenheiros de criação de soluções e
qualquer profissional que quer saber como criar aplicativos e sistemas na AWS. Desenvolva suas
habilidades técnicas e avance ao longo do roteiro para obter uma certificação da AWS fazendo
@mkjiau
mkjiau / axios-interceptors-refresh-token.js
Last active February 17, 2025 14:25
Axios interceptors for token refreshing and more than 2 async requests available
let isRefreshing = false;
let refreshSubscribers = [];
const instance = axios.create({
baseURL: Config.API_URL,
});
instance.interceptors.response.use(response => {
return response;
}, error => {
@lucasdaiki
lucasdaiki / ArrayExercise.js
Created June 21, 2017 17:10 — forked from SteveBate/ArrayExercise.js
Exercise testing the various Javascript Array methods but particularly the functional methods available
// set up arrays
var numbers = [1,12,4,18,9,7,11,3,101,5,6];
var strings = ['this','is','a','collection','of','words'];
// array.reduce - find largest number
var largestValue = numbers.reduce(function(x,y){ return x > y ? x : y });
console.log('largest number: ' + largestValue);
// array.reduce - find longest string
#!/bin/bash
# update apt-get
export DEBIAN_FRONTEND="noninteractive"
sudo apt-get update
# remove previously installed Docker
sudo apt-get purge lxc-docker*
sudo apt-get purge docker.io*
@SteveBate
SteveBate / ArrayExercise.js
Created October 9, 2013 13:36
Exercise testing the various Javascript Array methods but particularly the functional methods available
// set up arrays
var numbers = [1,12,4,18,9,7,11,3,101,5,6];
var strings = ['this','is','a','collection','of','words'];
// array.reduce - find largest number
var largestValue = numbers.reduce(function(x,y){ return x > y ? x : y });
console.log('largest number: ' + largestValue);
// array.reduce - find longest string
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active April 20, 2025 23:00
A badass list of frontend development resources I collected over time.
@passy
passy / yeoman_compass.md
Last active August 2, 2024 09:52
Using Yeoman with Compass Sprites

Yeoman + Compass Sprites

Setup

generator-webapp has support for compass out of the box. However, in order to use one of my favorite features of it — sprites and the image_url helper — you have to make some adjustments to the Gruntfile.

Let's assume you use a SASS stylesheet like this one:

@import "design/*.png"
@ramnathv
ramnathv / gist:2272049
Created April 1, 2012 06:47
Shell Script to Display Directory Structure
#!/bin/sh
#######################################################
# UNIX TREE #
# Version: 2.3 #
# File: ~/apps/tree/tree.sh #
# #
# Displays Structure of Directory Hierarchy #
# ------------------------------------------------- #
# This tiny script uses "ls", "grep", and "sed" #
# in a single command to show the nesting of #

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: