Skip to content

Instantly share code, notes, and snippets.

View crgimenes's full-sized avatar
🏠
Working from home

Cesar Gimenes crgimenes

🏠
Working from home
View GitHub Profile
@crgimenes
crgimenes / 10_PRINT.lua
Created April 11, 2024 05:16 — forked from nicolas-sabbatini/10_PRINT.lua
The famous one line program 10 PRINT in lua
::_10:: io.write(math.random() < 0.5 and "/" or "\\"); goto _10
@crgimenes
crgimenes / fullauto.cpp
Created February 2, 2024 03:36 — forked from felipemanga/fullauto.cpp
Improved devterm automatic gearbox
// Compile like this: g++ fullauto.cpp --std=c++17 -o fullauto
// Run like this: sudo fullauto &
#include <thread>
#include <chrono>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
@crgimenes
crgimenes / Update Golang *Nix
Last active November 16, 2023 12:26 — forked from jniltinho/update-golang.sh
update-golang.sh
#!/bin/bash
## Update Golang (Linux/Mac)
go version
## Get Last Stable Version
LAST_VERSION=$(curl -s 'https://go.dev/VERSION?m=text'|head -n1)
os="linux"
if [ "$(uname -s)" = "Darwin" ]; then
@crgimenes
crgimenes / client.go
Created April 26, 2017 22:09 — forked from spikebike/client.go
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)