Skip to content

Instantly share code, notes, and snippets.

View rmoriz's full-sized avatar
🎭
Everything counts in large amounts

rmoriz

🎭
Everything counts in large amounts
View GitHub Profile
#!/bin/sh
# see https://streamlink.github.io/cli.html
# install streamlink and vlc on macos
brew install streamlink
brew cask install vlc
# Method 1
# FIRST: Environment variables
knife_env = ENV['KNIFE_ENV']
knife_org = ENV['KNIFE_ORG']
knife_config_dir = ENV['KNIFE_CONFIG_DIR']
knife_config_file = ENV['KNIFE_CONFIG_FILE']
if knife_env.blank?
`git branch 2> /dev/null` =~ /^\*\s(.*)$/
git_branch = $1
@rmoriz
rmoriz / Gemfile
Last active February 7, 2020 12:30
UUID primary keys in Rails 3
# Gemfile
gem 'uuidtools'
; <<>> DiG 9.10.6 <<>> @62.225.166.11 axfr itwo.com
; (1 server found)
;; global options: +cmd
itwo.com. 300 IN SOA ns.rib.de. root.ns.rib.de. 2018051701 10800 3600 604800 86400
itwo.com. 300 IN NS ns.rib.de.
itwo.com. 300 IN NS ns2.delink.de.
itwo.com. 300 IN NS ns3.delink.de.
itwo.com. 300 IN NS ns4.delink.de.
itwo.com. 300 IN MX 10 mx01.rib.de.
@rmoriz
rmoriz / brew-install-ffmpeg-with-all-options.sh
Created November 22, 2019 22:33 — forked from rileyjshaw/brew-install-ffmpeg-with-all-options.sh
2019-10-07: Install ffmpeg with all options on MacOS using Homebrew
brew cask install xquartz
brew install amiaopensource/amiaos/decklinksdk
brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
@rmoriz
rmoriz / atg.txt
Last active April 12, 2019 00:54
Vulnerable gas stations in Germany
bts1-334dec597811b6c.static.premium-sdsl.netbone.de
nc bts1-334dec597811b6c.static.premium-sdsl.netbone.de 10001
^AI20100
I20100
12.04.19 00:53
Bavaria Tankstelle OHG
Treffpunkt Feine-Geister
@rmoriz
rmoriz / _etc_init.d_rcS
Created March 3, 2019 01:34
Chinese Webcam
#! /bin/sh
/bin/mount -a
echo "
##############################
# #
# GWELL IPC SYSTEM #
# #
##############################
@rmoriz
rmoriz / log.txt
Last active February 2, 2019 02:22
multiarch build log see https://github.com/rmoriz/multiarch-test
Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Reset branch 'master'
Your branch is up-to-date with 'origin/master'.
Executing post_checkout hook...
🔵 post_checkout
Docker version 17.06.2-ee-6, build e75fdb8
✅ Install qemu + binfmt support
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯