Skip to content

Instantly share code, notes, and snippets.

View Zscaler wsl2 workaround
# this is a workaround fix problem with Zscaler ssl sertificate on wsl2
# donwload and copy the ssl certificate om
sudo cp /mnt/c/ZscalerRootCerts/ZscalerRootCertificate-2048-SHA256.pem /etc/ssl/certs/
sudo update-ca-certificates
NicolasMassart /
Created Dec 8, 2021
Besu local debugging help script
usage() {
echo "Usage: $0 [-v <Besu version to run>] [-n <Node number>]" 1>&2;
echo " -v default version value is ${DEFAULT_VERSION}, you can also try 1.5.3" 1>&2;
echo " -n default node number value ${DEFAULT_NODE}" 1>&2;
exit 1;
clear_db() {
echo "Clearing Node-$1 database." 1>&2;
AlexLaforge / Disable_Wi-Fi.vbs
Created Dec 8, 2021 — forked from simply-coded/Disable_Wi-Fi.vbs
Use VBScript to enable, disable, or toggle a connection like your Wi-Fi on and off.
View Disable_Wi-Fi.vbs
'Name: Disable Connection
'Author: Jeremy England
'Company: SimplyCoded
'Date: 10/01/2016
Option Explicit
Dim interface, interfaceName, interfaceTarget, available, verb
'Pick the Interface Name you want to disable
View crash.txt
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 08.12.21 14:47
Description: Unexpected error
java.lang.NullPointerException: Unexpected error
at net.minecraft.client.Minecraft.func_184117_aA( [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:charm.mixins.json:accessor.MinecraftAccessor,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:nowplaying.mixins.json:MinecraftClientMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_71407_l( [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:charm.mixins.json:accessor.Minecr
View kg201.ino
int FloatSensor = 2;
int led = 13;
int buttonState = 1; //reads pushbutton status
void setup() {
pinMode(FloatSensor, INPUT_PULLUP);
pinMode (led, OUTPUT);
pavithran215 / main.go
Created Dec 8, 2021
this program with take username password databasename and tablename from cmd line and retrieves the table data
View main.go
package main
import (
_ ""
#!/usr/bin/env python3
import ast
import os
import sys
import contextlib
import tempfile
from pathlib import Path
from typing import Dict, Sequence
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Digital Clcok</title>
<div class="container"></div>