Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
dbiesecke / README.md
Last active December 3, 2017 04:43
FlexGet

FlexGet

Editor: Link

@dbiesecke
dbiesecke / README.md
Last active January 17, 2024 00:46
jmx-rmi
@dbiesecke
dbiesecke / Pellets.md
Last active March 9, 2024 08:18
Pilzzucht

Benötigte Materialien

  • Pilzbrut (ca. 500 g bzw. 1 L)

  • Strohpellets 1,0 Kg / 1,5 Kg Wasser

  • Gips 40 g, Kalk 20 g

  • Wasserkocher bzw. Kochtopf + Herd

  • Küchenwaage oder Messzylinder / Messbecher

  • stabile Schlauchfolie (ca. 50 cm)

  • scharfes Messer

@dbiesecke
dbiesecke / gist:66e97ffdfc31af851768435a81ff619b
Created January 4, 2017 20:12
Golang static bins with Alpine
#Static linking
*
`CGO_ENABLED=0 go build -a -installsuffix cgo `
docker run --rm -v "$PWD":/go/src/github.com/yourname/yourrepo -w /go/src/github.com/yourname/yourrepo blang/golang-alpine go build -v
docker run --rm -v "$PWD":/go/bin blang/golang-alpine go get github.com/yourname/yourrepo
# apt-get install libtest-www-selenium-perl phantomjs
# cpanm -nf HTML::Selector::XPath inc::Module::Install Selenium::Remote::Driver
# cpanm --installdeps WWW::Mechanize::PhantomJS
# cpanm WWW::Mechanize::PhantomJS
use WWW::Mechanize::PhantomJS;
use Data::Dumper qw(Dumper);
use URI::Escape;
my $mech = WWW::Mechanize::PhantomJS->new();
#!ipxe
# To access this file via http use following redirection:
# http://preseed.panticz.de/ipxe/menu.netinstall.ipxe
# choose cpu architecture
cpuid --ext 29 && set arch amd64 || set arch i386
menu NetInstall
item --gap NetInstall Ubuntu Preseed (user: ubuntu, password: t00r):
gem 'activerecord'
gem 'sqlite3'
gem 'ipaddress'
@dbiesecke
dbiesecke / README.md
Last active January 13, 2020 18:17
KDE Klipper scripts

KDE Klipper scripts

  • Config will be saved in: .config/plasmashellrc and `

Url2MarkDown

  • format a http link to Markdown format: klipper-markdown-link
  • Regex: ^http.?://.*
@dbiesecke
dbiesecke / README.md
Created February 10, 2016 03:30
Windows cross-build ... div. examples

Install MXE

*) Install MXE into /opt/

git clone https://github.com/mxe/mxe.git /opt/mxe

*) Make all your toolchains

make MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static'
@dbiesecke
dbiesecke / osx_infector.py
Created February 2, 2016 04:52 — forked from secretsquirrel/osx_infector.py
From Shmoocon infection demo
import os
import struct
import shutil
import subprocess
class macho_intel32_shellcode():
"""
Mach-O Intel x32 shellcode class
"""