Skip to content

Instantly share code, notes, and snippets.

View looizinho's full-sized avatar
:atom:
Hello World!

Luizinho Neto looizinho

:atom:
Hello World!
View GitHub Profile
{
"version": "2.0.0",
"tasks": [
{
"label": "Wilker: Apply latest patch",
"type": "shell",
"command": "${workspaceFolder}/scripts/wilker-apply.sh",
"group": "build",
"problemMatcher": []
},
#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
LOGS="$REPO_ROOT/wilker/logs"
mkdir -p "$LOGS"
declare -A ALLOW
ALLOW["install-front"]="pnpm --dir $REPO_ROOT/frontend install || npm --prefix $REPO_ROOT/frontend install"
ALLOW["build-front"]="pnpm --dir $REPO_ROOT/frontend run build || npm --prefix $REPO_ROOT/frontend run build"
#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
INCOMING="$REPO_ROOT/wilker/incoming"
LOGS="$REPO_ROOT/wilker/logs"
BRANCH="${1:-wilker}"
mkdir -p "$INCOMING" "$LOGS"
@looizinho
looizinho / gist:09b8867b19e90329a27ee629507e06de
Created November 6, 2025 00:30
Bonjour Chrome Extension
{
"about": {
"browser": "firefox",
"version": "21.2.1"
},
"showall": true,
"lang": "pt-BR",
"dark": "system",
"favicon": "",
"tabtitle": "",
@looizinho
looizinho / react_samples_list.md
Created November 5, 2025 22:12 — forked from Eloyjaws/react_samples_list.md
React Samples List
@looizinho
looizinho / ps2_controller_arduino_interface.ino
Created May 16, 2024 23:10 — forked from careyi3/ps2_controller_arduino_interface.ino
Sample code for a nice abstraction layer around the excellent PsxNewLib for interfacing a PS2 controller with an Arduino.
#include <DigitalIO.h>
#include <PsxControllerHwSpi.h>
const byte PIN_PS2_ATT = 10;
PsxControllerHwSpi<PIN_PS2_ATT> psx;
boolean connected = false;
byte lxOld, lyOld, rxOld, ryOld;
PsxButtons oldButtons;
@looizinho
looizinho / Code
Created March 20, 2024 20:29
Gerar um background CSS gradiente radial de 180 graus fixado no topo da página de roxo para azul escuro.
body {
height: 100vh;
background: radial-gradient(circle at top, #430370, #020241 100%);
background-repeat: no-repeat;
background-attachment: fixed;
}
@looizinho
looizinho / installruntime.sh
Created December 16, 2023 04:56
Xcode Runtime Install
#! /bin/sh
xcode-select -s /Applications/Xcode.app
xcodebuild -runFirstLaunch
xcrun simctl runtime add $1