-
should be in startup script
`iptables -A POSTROUTING -t nat -o ppp+ -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward`
PPTPD Setup
$ echo 'deb http://repo.aptly.info/ squeeze main' > /etc/apt/sources.list.d/aptly.list && wget -qO - https://www.aptly.info/pubkey.txt | sudo apt-key add -
$ apt-get update && apt-get install -y -f aptly
Open your Blog in pure HTML mode and find replace followed Text:
<title><data:blog.pageTitle/></title>
Should be replaced with:
|
#!/bin/bash | |
# | |
#Usage: | |
#1.) Install cygwin and make sure you select the following packages: | |
#- gcc-mingw | |
#- pkg-config | |
#- mingw-zlib1 | |
#- mingw-zlib-devel | |
# | |
#2.) Install the following Mono release package: "Mono for Windows, Gtk#, and XSP" |
RPM based
# yum -y install glibc-devel.i386 libstdc++-devel.i386
# yum -y install glibc-devel.i686 glibc-devel ibstdc++-devel.i686
# zypper in glibc-devel-32bit
debian
$ sudo apt-get install g++-multilib libc6-dev-i386
Example
#!/usr/bin/perl | |
require Plugin::Tiny; | |
require Carp; | |
require Exporter; | |
require Moose; | |
require URI; | |
require fget; | |
require Data::Dumper; | |
############################################################ | |
# Dockerfile to run Memcached Containers | |
# Based on Ubuntu Image | |
############################################################ | |
# Set the base image to use to Ubuntu | |
FROM ubuntu:latest | |
# Set the file maintainer (your name - the file's author) | |
MAINTAINER nated |
#!/usr/bin/perl | |
require Exporter; | |
require Plugin::Tiny; | |
require Moose; | |
require Carp; | |
require Data::Dumper; | |
package My::Cli; |
Hint: App::Every - Makes a cron entry with 2x simple parameters.
Alias: alias cron-every='curl -sk 'https://raw.githubusercontent.com/iarna/App-Every/master/packed/every' | perl -X - -n -l'
Example: % cron-every 3 hours ls
PATH=/home/foilo/cappucino/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LOCKFILE=/tmp/every_lock_b8d65f1a8f00500bbda75fc44a4d5f88
SHELL=/bin/zsh