start new:
tmux
start new with session name:
tmux new -s myname
echo "goto https://support.checkpoint.com/results/download/22824 and download installer" | |
# sudo ldd /usr/bin/snx | |
# prepare i386 (runtime..) | |
sudo dpkg --add-architecture i386 | |
cat /var/lib/dpkg/arch | |
sudo apt update | |
sudo apt install libpam0g:i386 libx11-6:i386 libstdc++6:i386 libstdc++5:i386 libnss3-tools |
# With this nginx configuration, you will be able to serve a Symfony app in a subdirectory | |
# of a wordpress (or any other PHP application). | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name mysite.com; | |
root /var/www/wordpress; | |
index index.php app.php index.html; |
#!/usr/bin/env bash | |
# | |
# Usage: [dry_run=1] [debug=1] [interface=tunsnx] docker-fix-snx | |
# | |
# Credits to: https://github.com/docker/for-linwux/issues/288#issuecomment-825580160 | |
# | |
# Env Variables: | |
# interface - Defaults to tunsnx | |
# dry_run - Set to 1 to have a dry run, just printing out the iptables command | |
# debug - Set to 1 to see bash substitutions |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: