Skip to content

Instantly share code, notes, and snippets.

View funkenstrahlen's full-sized avatar

Stefan Trauth funkenstrahlen

View GitHub Profile
#!/bin/bash
# Updates all keys of tracked users in the local gpg keychain
LIST=`keybase list-tracking`
for name in $LIST
do
keybase track -l --batch $name
done
@funkenstrahlen
funkenstrahlen / openvpn.md
Last active August 29, 2015 14:26 — forked from padde/openvpn.md
OpenVPN on Ubuntu 12.10 at DigitalOcean

OpenVPN on Ubuntu 12.10 at DigitalOcean

Install OpenVPN

sudo apt-get install openvpn

Generate Server Certificates

sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/easy-rsa2

cd /etc/openvpn/easy-rsa2

brew update && brew upgrade --cleanup
for i in `gem list --no-versions`; do gem uninstall -aIx $i; done
#!/bin/bash
# Updates all keys of tracked users in the local gpg keychain
LIST=`keybase list-tracking`
for name in $LIST
do
keybase track -l --batch $name
done
import UIKit
@IBDesignable
class SpinnerView : UIView {
override var layer: CAShapeLayer {
get {
return super.layer as! CAShapeLayer
}
}
//: Playground - noun: a place where people can play
import UIKit
import AVFoundation
// keep it running forever so it plays audio
import XCPlayground
XCPSetExecutionShouldContinueIndefinitely(true)
class AVPlayerTest {
javascript:location.href='https://fyyd.de/fyydify-bm/'+btoa(location.href)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ffmpeg -i "Pollenflug Notifications.mp4" -acodec copy -crf 1 -vf scale=1080:1920,setsar=1:1 "Pollenflug Notifications upscaled.mp4"