Skip to content

Instantly share code, notes, and snippets.

View rmsaitam's full-sized avatar

Reginaldo rmsaitam

View GitHub Profile
@rafaelquintanilha
rafaelquintanilha / tailscale-guide.md
Created January 28, 2026 12:29
Why and how to setup Tailscale

Guia Tailscale - Acesso Remoto Seguro

O que é Tailscale?

Tailscale cria uma rede privada entre seus dispositivos, como se todos estivessem conectados no mesmo WiFi, mesmo estando em lugares diferentes.

Normalmente, pra acessar seu computador de casa de fora, você precisa abrir portas no roteador, configurar IP fixo ou DDNS, e ainda fica exposto na internet. Com Tailscale, você instala nos dois dispositivos, faz login, e pronto - eles se enxergam como se estivessem no mesmo WiFi, não importa onde estejam fisicamente. Seu computador de casa fica invisível na internet pública, mas acessível pra você de qualquer lugar.

Como funciona

@juunegreiros
juunegreiros / matrizInimigo.js
Created June 23, 2020 10:41
Matrizes Imersão GameDev Javascript
const matrizInimigo = [
[0, 0],
[104, 0],
[208, 0],
[312, 0],
[0, 104],
[104, 104],
[208, 104],
[312, 104],
[0, 208],
@argentinaluiz
argentinaluiz / Guia rápido de instalação do WSL2 + Docker.md
Last active May 30, 2023 23:47
Guia rápido de instalação do WSL2 + Docker
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active January 29, 2026 16:42
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@poshbrs
poshbrs / Logoff.ps1
Created July 28, 2017 08:12
Powershell - Logoff sessions - user self service
<#
Prereqs:
User logged on to domainjoined pc.
Powershell remoting enabled on controller - default on 2012 or later
Service account with permissions to lookup and end session in the Site
Script outputs a list of applications that the user had running to a CSV file on the controller - c:\temp\logoff-log.csv.
To protect the password of the serviceaccount it would be wise to wrap this into an EXE file.
Place the EXE file on the users desktop og start menu, and they can now stop their sessions.