This gist describe how to deploy a K8S LB at OVH and preserve source IP
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
<?php | |
class DockerClient { | |
/** @param resource */ | |
private $curlClient; | |
/** @param string */ | |
private $socketPath; |
#!/bin/bash | |
# This script will extract the certificate and key from an .ovpn file | |
# into their own files, which makes it possible to use them to configure | |
# the VPN using Ubuntu's network manager | |
# Usage example: | |
# >> ovpnconvert username.dev.ovpn | |
# You can keep following these instructions here: |
repeat | |
if application "Spotify" is running then | |
tell application "Spotify" | |
set seenTrack to "" | |
repeat while player state is playing | |
if player state is playing then | |
set theAlbum to album of the current track | |
set theTrack to name of the current track | |
set theArtist to artist of the current track | |
set trackLength to duration of current track |
var ListenWithMe = (function() { | |
// Add your own config here | |
var LASTFM_API_KEY = ""; | |
var LASTFM_USERNAME = ""; | |
// Element to inject the widget into | |
var $playerWrapper = document.getElementById('spotify-player-wrapper'); | |
return { | |
init: init | |
} |
# Gitlab install instructions: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md | |
# Cross-compiling on Rpi: https://raspberrypi.stackexchange.com/questions/1/how-do-i-build-a-gcc-4-7-toolchain-for-cross-compiling | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y sudo | |
apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate | |
apt-get install -y git-core |
try | |
{ | |
Assert(Life.Real); | |
Assert(Life.Fantasy); | |
} | |
catch(LandSlideException ex) | |
{ | |
#region Reality | |
while(true) | |
{ |