Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Coding all night long.

Javan Rasokat JavanXD

:octocat:
Coding all night long.
View GitHub Profile
@JavanXD
JavanXD / lotto-bw-script.js
Created Aug 9, 2020
Create a summary of your outgoings for lottery tickets on lotto-bw.de (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
JavanXD / install-kali-subsystem.md
Last active May 4, 2020
Hot To: Install Kali Linux as Windows Subsystem
View install-kali-subsystem.md
  1. Enable feature in PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  2. Download Kali AppX File: https://aka.ms/wsl-kali-linux-new

    Invoke-WebRequest -Uri https://aka.ms/wsl-kali-linux-new -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:

View keybase.md

Keybase proof

I hereby claim:

  • I am javanxd on github.
  • I am javanxd (https://keybase.io/javanxd) on keybase.
  • I have a public key ASDuPY3vMDs7F587CLlBVO2MiWI1vdarXCgbA-7l6SCCXAo

To claim this, I am signing this object:

@JavanXD
JavanXD / shrink-macos.md
Created Jan 27, 2020
Shrink Raspbian images with MacOS
View shrink-macos.md

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
JavanXD / 7z_bruteforce.py
Created Jan 20, 2020
python 7z_bruteforce.py rockyou.txt test.7z
View 7z_bruteforce.py
#!/usr/bin/python3
# python 7z_bruteforce.py rockyou.txt test.7z
import concurrent.futures
import os
import subprocess
import sys
FNULL = open(os.devnull, 'w')
@JavanXD
JavanXD / esp32_bme680_access_point.ino
Last active Oct 2, 2019
ESP32: Create Accesspoint and visualize measurement data from BME680 sensor. Read my write-up: https://javan.de/esp32-bme680-sensor-in-webinterface-visualisieren/ (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
You can’t perform that action at this time.