Skip to content

Instantly share code, notes, and snippets.

Coding all night long.

Javan Rasokat JavanXD

Coding all night long.
View GitHub Profile
JavanXD / lotto-bw-script.js
Created August 9, 2020 17:14
Create a summary of your outgoings for lottery tickets on (DE)
View lotto-bw-script.js
sum = 0.0;
anzahlGewinne = 0;
anzahlSpielscheine = 0;
sumEurojackpot = 0.0;
sumLotto = 0.0;
sumGewinne = 0.0;
kostenEurojackpotScheine = 0.0;
anzahlEurojackpotScheine = 0;
kostenLOTTOScheine = 0.0;
anzahlLOTTOScheine = 0;
JavanXD /
Last active September 14, 2022 16:42
Hot To: Install Kali Linux as Windows Subsystem
  1. Enable feature in PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  2. Download Kali AppX File:

    Invoke-WebRequest -Uri -OutFile Kali.appx -UseBasicParsing
  3. Open PowerShell as Admin and Run: Add-AppxPackage .\Kali.appx

  4. Run kali. Create user:user.

  5. Set default user: kali config --default-user root

  6. Keep system up to date:


Keybase proof

I hereby claim:

  • I am javanxd on github.
  • I am javanxd ( on keybase.
  • I have a public key ASDuPY3vMDs7F587CLlBVO2MiWI1vdarXCgbA-7l6SCCXAo

To claim this, I am signing this object:

JavanXD /
Created January 27, 2020 18:03
Shrink Raspbian images with MacOS

Shrink Raspbian images with MacOS

  1. Use ApplePi-Baker v2 to create backup.img
  2. Start Docker Daemon
  3. Run
    	docker run --rm --privileged=true -v `pwd`:/workdir turee/pishrink-docker pishrink backup.img
    in same folder as backup.img [1]
JavanXD /
Created January 20, 2020 12:16
python rockyou.txt test.7z
# python rockyou.txt test.7z
import concurrent.futures
import os
import subprocess
import sys
FNULL = open(os.devnull, 'w')
JavanXD / esp32_bme680_access_point.ino
Last active June 1, 2021 15:04
ESP32: Create Accesspoint and visualize measurement data from BME680 sensor. Read my write-up: (German language)
View esp32_bme680_access_point.ino
#include <WiFi.h>
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include "Adafruit_BME680.h"
// Only needed for software SPI
//#define BME_SCK 13
//#define BME_MISO 12
//#define BME_MOSI 11