Skip to content

Instantly share code, notes, and snippets.

View sdellenb's full-sized avatar

Simon Dellenbach sdellenb

  • Autodesk
  • Bern, Switzerland
View GitHub Profile
@WillBrubaker
WillBrubaker / custom-redirect.php
Last active August 29, 2015 14:03
An example of how to redirect after survey submission for the Awesome Surveys WordPress plugin. Requires Awesome Surveys version > 1.1.1
<?php
/*
Plugin Name: Custom Redirect for Awesome Surveys
Plugin URI: http://www.willthewebmechanic.com/awesome-surveys
Description: Redirects to a specified link after survey submission
Version: 1.0
Author: Will Brubaker
Author URI: http://www.willthewebmechanic.com
License: GPLv3.0
*/
@proudlygeek
proudlygeek / nfs-tunnel.md
Last active February 13, 2024 17:00
Mount NFS Folder via SSH Tunnel

1. Install NFS on Server

Install the required packages (Ubuntu 12.04):

apt-get install nfs-kernel-server portmap

2. Share NFS Folder

Open the exports file:

vim /etc/exports
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 25, 2024 06:23
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname