Skip to content

Instantly share code, notes, and snippets.

View nullmastermind's full-sized avatar
🇳🇴
🅴🆁🆁🅾🆁

Null nullmastermind

🇳🇴
🅴🆁🆁🅾🆁
View GitHub Profile
@nullmastermind
nullmastermind / index.html
Created August 14, 2017 20:59 — forked from tmichel/index.html
simple websocket example with golang
<html>
<head>
<title>WebSocket demo</title>
</head>
<body>
<div>
<form>
<label for="numberfield">Number</label>
<input type="text" id="numberfield" placeholder="12"/><br />
@nullmastermind
nullmastermind / aes.go
Created November 23, 2017 09:21 — forked from willshiao/aes.go
AES 256-CFB in Node.js and Golang
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"crypto/sha256"
"encoding/base64"
"fmt"
"io"

Keybase proof

I hereby claim:

  • I am 0x317374 on github.
  • I am dccxx (https://keybase.io/dccxx) on keybase.
  • I have a public key ASDZ2tbwWdrjAxwWHYrOi_kh2SOYgAoJ8wejTYSYkE_GKQo

To claim this, I am signing this object:

@nullmastermind
nullmastermind / openvpn_on_google_cloud.md
Created April 10, 2020 20:17 — forked from neuni/openvpn_on_google_cloud.md
Create a openVPN server on Google Cloud Platform to connect to your Google Cloud network using openVPN and/or to route your internet traffic through the VPN (Road Warrior Scenario)

Install openVPN server on Google Cloud using Pritunl

Purpose:

Create a openVPN server on Google Cloud Platform to connect to your Google Cloud network using openVPN and/or to route your internet traffic through the VPN (Road Warrior Scenario)

Create instance

  • Create new instance in default network
  • Chosse Ubuntu 16.04 LTS
@nullmastermind
nullmastermind / kernel.py
Created September 8, 2020 09:31 — forked from korakot/kernel.py
Install rust, cargo in Colab
# run this once, then reload, and then skip this
!apt install rustc
!gdown --id 1PULtTc-2e9z4bswh_SQqL5oy_4JpfV7c
!chmod +x evcxr_jupyter
!./evcxr_jupyter --install
// install dependency
:dep cmd_lib
use cmd_lib::run_cmd as sh;
@nullmastermind
nullmastermind / AdbCommands
Created January 13, 2021 03:53 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@nullmastermind
nullmastermind / android-backup-apk-and-datas.md
Created May 1, 2021 10:06 — forked from AnatomicJC/android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Fetch application APK

To get the list of your installed applications:

@nullmastermind
nullmastermind / machine.js
Last active June 30, 2021 10:53
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@nullmastermind
nullmastermind / machine.js
Last active June 30, 2021 17:27
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions