Skip to content

Instantly share code, notes, and snippets.

View evaristorivi's full-sized avatar
🏠
Trabajando desde casa

Evaristo evaristorivi

🏠
Trabajando desde casa
View GitHub Profile
@evaristorivi
evaristorivi / Force Enable Text Selection.txt
Last active June 7, 2023 20:07
Force Enable Text Selection
// ==UserScript==
// @name Force Select
// @version 1.0
// @description Stop sites from disabling selection of text
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
@evaristorivi
evaristorivi / gist:ab94c96446e3548a8c357e5032749ff3
Created June 29, 2021 22:00
acs_disable_shadows_patcher.go
package main
import (
"crypto/sha256"
"fmt"
"io/ioutil"
"time"
)
const VERSION = "v0.9"
@evaristorivi
evaristorivi / acs_disable_shadows_patcher.go
Created May 9, 2021 11:40
acs_disable_shadows_patcher.go
package main
import (
"crypto/sha256"
"fmt"
"io/ioutil"
"time"
)
const VERSION = "v0.9"
@evaristorivi
evaristorivi / acs_disable_shadows_patcher.go
Created April 21, 2021 18:57
Actualización para la nueva versión de acs.exe
package main
import (
"crypto/sha256"
"fmt"
"io/ioutil"
"time"
)
const VERSION = "v0.9"
package main
import (
"crypto/sha256"
"fmt"
"io/ioutil"
"time"
)
const VERSION = "v0.9"
@evaristorivi
evaristorivi / acs_disable_shadows_patcher.go
Last active March 1, 2021 22:37 — forked from anonymous/acs_disable_shadows_patcher.go
disables shadows in acs.exe render pipeline for 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4
package main
import (
"crypto/sha256"
"fmt"
"io/ioutil"
"time"
)
const VERSION = "v0.9"
#!/bin/bash
function valid_ip()
{
local ip=$1
local stat=1
if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
OIFS=$IFS
IFS='.'
ip=($ip)
@evaristorivi
evaristorivi / create_swap.sh
Created June 14, 2020 09:44 — forked from garystafford/create_swap.sh
From my blog post, Scripting Linux Swap Space: Scripting Linux Swap Space
#!/bin/sh
# size of swapfile in megabytes
swapsize=2024
# does the swap file already exist?
grep -q "swapfile" /etc/fstab
# if not then create it
if [ $? -ne 0 ]; then
@evaristorivi
evaristorivi / create_swap.sh
Created June 14, 2020 09:44 — forked from garystafford/create_swap.sh
From my blog post, Scripting Linux Swap Space: Scripting Linux Swap Space
#!/bin/sh
# size of swapfile in megabytes
swapsize=512
# does the swap file already exist?
grep -q "swapfile" /etc/fstab
# if not then create it
if [ $? -ne 0 ]; then
@evaristorivi
evaristorivi / kubernetes-ubuntu-install.sh
Created May 20, 2020 14:48 — forked from sanketsudake/kubernetes-ubuntu-install.sh
[Ubuntu Linux]Kubernetes Minikube Helm Installation
# Install virtualbox
sudo apt install virtualbox
# Install Kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin
# Install Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.14.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
# Launch Minikube
minikube start