Skip to content

Instantly share code, notes, and snippets.

View Santiael's full-sized avatar
🍀
You got +5 luck by visiting my profile

Rafael Santiago Santiael

🍀
You got +5 luck by visiting my profile
View GitHub Profile
@Santiael
Santiael / links.txt
Created August 16, 2020 20:36
Links para ajudar nos estudos de Front-end
@Santiael
Santiael / theme.json
Created June 27, 2020 20:57
Nebula Microsoft Terminal Theme
{
"name": "Nebula",
"black": "#353551",
"red": "#E34F8C",
"green": "#97F36D",
"yellow": "#F8C275",
"blue": "#C7ADFB",
"purple": "#E752A1",
"cyan": "#24E8D8",
"white": "#FBD3E1",
@Santiael
Santiael / tetris.js
Created April 8, 2020 23:15
código de tetris criado durante a live
const canvas = document.getElementById('board');
const ctx = canvas.getContext('2d');
ctx.scale(36, 36);
const piece = {
x: 3,
y: 0,
matrix: [
[0, 0, 0],
@Santiael
Santiael / AutoRedeemTwitchBonus.js
Last active December 5, 2021 14:20
Copy and paste this script into the console window of your favorite stream to automatically redeem Twitch bonus points.
function AutoRedeemTwitchBonus() {
try {
const reward = document.querySelector(".claimable-bonus__icon");
if(reward) {
reward.click();
console.log(
`Reward successfully redeemed at ${new Date().toTimeString().slice(0,8)}`
);
}
} catch (error) {