Skip to content

Instantly share code, notes, and snippets.

View luisvinicius09's full-sized avatar
๐Ÿš€

Luis Vinicius luisvinicius09

๐Ÿš€
View GitHub Profile
@luisvinicius09
luisvinicius09 / projectCreation.js
Created April 7, 2021 18:40
This is a snippet for creating 'projects' and storing it in on localStorage.
const projectBtn = document.querySelector('#project-btn');
const projectName = document.querySelector('#new-project');
window.addEventListener('load', () => {
if(JSON.parse(localStorage.getItem('projects')) === null) {
localStorage.setItem('projects', JSON.stringify(new Array));
}
displayProjects();
@mcpower
mcpower / aoc-tips.md
Last active December 21, 2025 14:07
Tips for getting on the Advent of Code leaderboard

Hi, I'm mcpower. I've done Advent of Code seriously for two years now in Python, placing 9th in 2018 and 12th in 2017. This year, I'm taking a break from aiming for the leaderboard - while it's fun and all, it is a bit stressful at times (the good kind of stress, though!). As such, I'd like to share a few tips for anyone wanting to aim for the leaderboard.

This is everything that worked for me. Your mileage may vary, though - don't take this as gospel, see what works for you.

Go fast

Go fast.

@jhnferraris
jhnferraris / hyper.js
Created July 3, 2018 10:38 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@lopspower
lopspower / README.md
Last active December 23, 2025 17:47
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha: