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
@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)
Version Build MD5 SHA-1 SHA-256
10.12.3 16D32 6e8131542352bb5417e3a2809051ccb7 77d354ec06df0d0acc37c105ae524ba96948142b 75a288fe6efc0591f757baf08305270f1b843b54cfb66fe6b257049400a0d6e9
10.12.2 16C68 1ab937e03f9b722c8f702b1d401ace53 94f9e8f7ae2540dee6fe3465f60fc037e2547d16 6e8ccda1849bb49b1acf75f455019fe327adb47c676dbff018ea811c2456dcce
10.12.2 16C67 43aa19eee715f0aac08cb6783fc35cab 1432e3be6222c434b536721076ed8b16b1c6050e 6c2b16f248407a3853a9c4a63efadc94813321708f5eed5c09b73f33e5edd855
10.12.1 16B2659 f7f147c54627c2a9beb1fa318394e1579b30b167 8efa85e12bcc6c2145cce68b6ecaf9ce23e11f58c1452982b1907fe0f9f76fd1
10.12.1 16B2657 42856038d3089e36c37bb9a3de9b60dd e559e142a4c9ebaaa740c575d5c3c23c6eb3fb06 8608c0cebf689431ad35d37bcb0035aac266c78f95e7e2a3fd8104d153a24e9b
10.12 16A323 98eb1328baa53f5b1e8445c869fcbb3a 139ef35e4af0da8286b2a3af326cb114d774f606 78a2701bb63a0dcb30862314d1a4598522cfe6a2dd2b096a4e30f256909a4446
10.11.6 15G31 06f6e4a7b1996c542cbda28eb5f7a8f2 7739e3f62080000da5d28efa689c53976112a262 0b8156957236865
@rmoriz
rmoriz / check.pl
Created August 8, 2016 14:35 — forked from mschmitt/check.pl
IPv6-Erhebung am Hochtechnologiestandort Deutschland.
#!/usr/bin/perl -w
use strict;
use diagnostics;
use Net::DNS;
print "IPv6-Erhebung am Hochtechnologiestandort Deutschland.\n\n";
print "Es wurden die Homepages der DAX-Unternehmen auf IPv6-Support untersucht.\n\n";
printf "%-35s %s\n", 'Hostname', 'IPv6-Adresse';
printf "%-35s %s\n", '--------', '------------';
@rmoriz
rmoriz / README.md
Last active September 12, 2015 23:32 — forked from erichelgeson/README.md
Replace chef-server with consul (because why not?)

Federated Chef-server'ish with consul.

Why?

Why not? I thought it'd be interesting, and maybe useful.

Goals

  • No centralized chef-server
  • Nodes still know about eachother (so chef-searchs work)
  • Use consul-templates / services for things that need to be updated 'realtime'
  • Use chef resources for installation and configuration of the rest
// From: http://www.bdunagan.com/2009/11/28/iphone-tip-no-nshost/
// MIT license
// Remember to add CFNetwork.framework to your project using Add=>Existing Frameworks.
#import "BDHost.h"
#import <CFNetwork/CFNetwork.h>
#import <netinet/in.h>
#import <netdb.h>
#import <ifaddrs.h>
require 'rspec/core/formatters/base_text_formatter'
class MarkdownFormatter < RSpec::Core::Formatters::BaseTextFormatter
def initialize(output)
super(output)
@group_level = 0
end
def example_group_started(example_group)
@rmoriz
rmoriz / install-ruby-debug-ruby-1.9.3.sh
Created November 29, 2011 02:17 — forked from hoverlover/install-ruby-debug-ruby-1.9.3.sh
ruby-debug in ruby-1.9.3 and rbenv
#!/bin/bash
cd /tmp
wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
wget http://rubyforge.org/frs/download.php/74596/ruby_core_source-0.1.5.gem
wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
wget http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem
export RBENV_INCLUDE=$HOME/.rbenv/versions/1.9.3-p0/include/ruby-1.9.1/ruby-1.9.3-p0
gem install archive-tar-minitar
class BankAccount < ActiveRecord::Base
# Umsätze von start_date bis end_date abrufen
# * passport_type, passphrase, pin und file kommen in dieser Implementation aus der zugrunde liegenden Tabelle.
# * Wenn passport_type = "PinTan" ist, wird die pin verwendet.
# * Wenn passport_type = "RDHNew" ist, wird die Schlüsseldatei aus filename verwendet und mit der passphrase entschlüsselt.
def get_transactions(start_date, end_date)
HBCIUtils.setParam("client.passport.#{passport_type}.filename", filename)
HBCIUtils.setParam("client.passport.#{passport_type}.init", '1')
0
OrgName: RIPE Network Coordination Centre
OrgID: RIPE
Address: P.O. Box 10096
City: Amsterdam
StateProv:
PostalCode: 1001EB
Country: NL
# http://gist.github.com/16885
# $ ./script/console
# Loading development environment (Rails 2.1.0)
# >>
# >> User.whatis :create!
# File: /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:876
# 872: end
# 873:
# 874: # Creates an object just like Base.create but calls save! instead of save