Run the following in your client machine
ssh -R EXPOSED_PORT:localhost:SERVICE_PORT USER@HOST
Where
- EXPOSED_PORT is the port exposed to the internet in the proxy server
- SERVICE_PORT is the port your application is listening in your machine
<?php | |
public function configure() | |
{ | |
$this->setWidget('hab_customer_location_list', $this->getHabLocationChoiceWidget()); | |
} | |
protected function getHabLocationChoiceWidget() | |
{ |
#include "NikonRemote.h" | |
const int potPin = A0; | |
const int ledPin = 13; | |
const int irPin = 8; | |
const int jackPin = 12; | |
// config values | |
const int minDelay = 100; | |
const int blinkLength = 150; |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>a sketch</title> | |
<script type="text/javascript" src="undermine.js"></script> | |
</head> | |
<body> | |
<center> |
<?php | |
class Exec { | |
protected $commandLine; | |
protected $resultCode = 0; | |
protected $stdout; | |
protected $stderr; | |
public static function withCommandLine($commandLine){ |
# ~/.config/sublime-text-3/Packages/User/PHP-lint.sublime-build | |
{ | |
"shell": true, | |
"cmd": ["php -l $file && php-cs-fixer --config-file=/path/to/csfixer.conf fix $file"] | |
} |
#!/usr/bin/env python | |
from os.path import expanduser | |
from os import popen | |
from yaml import load as load_yaml | |
from random import randint | |
from sys import argv | |
import re | |
import sys |
#!/bin/bash | |
# Slack notification script for Munin | |
# Mark Matienzo (@anarchivist) | |
# | |
# To use: | |
# 1) Create a new incoming webhook for Slack | |
# 2) Edit the configuration variables that start with "SLACK_" below | |
# 3) Add the following to your munin configuration: | |
# |
#!/bin/sh | |
set -e | |
# | |
# This script is meant for quick & easy install via: | |
# 'curl -sSL https://get.docker.com/ | sh' | |
# or: | |
# 'wget -qO- https://get.docker.com/ | sh' | |
# | |
# For test builds (ie. release candidates): | |
# 'curl -fsSL https://test.docker.com/ | sh' |
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.jumpsuit=t(require("React"),require("ReactDOM")):e.jumpsuit=t(e.React,e.ReactDOM)}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=125)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for |