Skip to content

Instantly share code, notes, and snippets.

View jbollacke's full-sized avatar

Jan Bollacke jbollacke

  • Ibbenbueren, Germany
View GitHub Profile
@jbollacke
jbollacke / BSSIDApple_pb2.py
Last active May 31, 2024 08:49
Apple WPS Query
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: BSSIDApple.proto
# Protobuf Python Version: 5.27.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
@jbollacke
jbollacke / process.sh
Created March 4, 2017 22:47
process mkv
#!/bin/sh
ffmpeg -i $1 -vcodec copy -acodec ac3 -scodec copy -map 0:v -map 0:a:0 -map 0:s $2 -map 0:s:0 $2.srt
@jbollacke
jbollacke / abfallplus-ics-adapter.js
Last active January 4, 2017 15:18
POC to convert data from abfallplus api to iCalendar.
/*
1. capture api key data using mitm
2. insert api key data
*/
var request = require('request');
var plist = require('plist');
var icalToolkit = require('ical-toolkit');
var headers = {
'User-Agent': '<capture it using MITM>',

Keybase proof

I hereby claim:

  • I am jbollacke on github.
  • I am jbollacke (https://keybase.io/jbollacke) on keybase.
  • I have a public key ASALoGjIxoGHrw9oE6tRIhIyofCKeX4S5WOLpzzFBEXgKAo

To claim this, I am signing this object:

@jbollacke
jbollacke / INSTALLATION.md
Last active January 20, 2017 15:13
Hackintosh installation

CPU: Intel Core i3-4160

Mainboard: Gigabyte GA-H97M-D3H

RAM: 16GB

Fix Graphics Card

  • Inject [FakePCIID.kext][1]
  • Inject [FakePCIID_Intel_HD_Graphics.kext][1]
@jbollacke
jbollacke / ZBarCharsetDetectionFixer.java
Created October 20, 2014 07:31
Tries to workaround ZBars unreliable charset detection for qr codes.
public class ZBarCharsetDetectionFixer {
private static final CharsetDecoder latin1CharsetDecoder = Charset.forName("ISO-8859-1").newDecoder();
private static final CharsetEncoder sjisCharsetEncoder = Charset.forName("SJIS").newEncoder();
/**
* Tries to workaround ZBars unreliable charset detection for qr codes.
*
* What it does:
* Encodes String to Shift-JS, decodes the resulting bytes to ISO-8859-1.
*