Skip to content

Instantly share code, notes, and snippets.

View rmsaitam's full-sized avatar

Reginaldo rmsaitam

View GitHub Profile
@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

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.