First, clone the repository of the project :
mkdir /tmp/project-name
git clone ...
Create a packages.json file in the root, containing the following :
/** | |
* Pushover plugin for the uptime project - https://github.com/fzaninotto/uptime | |
* Thanks to DMathieu for the Campfire plugin which I basically hacked up to make this | |
* work: https://gist.github.com/dmathieu/5592418 | |
* | |
* This index.js files goes to a directory `plugins/pushover` in your installation of uptime. | |
* | |
* Notifies all events (up, down, paused, restarted) to pushover | |
* | |
* This plugin has a dependency on `pushover-notifications`. |
Symfony/Component/OptionsResolver/Exception/MissingOptionsException.php | |
Symfony/Component/OptionsResolver/Exception/OptionDefinitionException.php | |
Symfony/Component/OptionsResolver/Exception/InvalidOptionsException.php | |
Symfony/Component/Serializer/Exception/InvalidArgumentException.php | |
Symfony/Component/Serializer/Exception/UnsupportedException.php | |
Symfony/Component/Serializer/Exception/UnexpectedValueException.php | |
Symfony/Component/Serializer/Exception/LogicException.php | |
Symfony/Component/Serializer/Exception/Exception.php | |
Symfony/Component/Serializer/Exception/RuntimeException.php | |
Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php |
First, clone the repository of the project :
mkdir /tmp/project-name
git clone ...
Create a packages.json file in the root, containing the following :
source 'https://rubygems.org' | |
gem 'ruby-jmeter', github: 'lukeck/ruby-jmeter' |
<?php | |
// ... | |
use Behat\MinkExtension\Context\MinkContext; | |
use Behat\Symfony2Extension\Context\KernelAwareInterface; | |
use Symfony\Component\HttpKernel\KernelInterface; | |
class FeatureContext extends MinkContext implements KernelAwareInterface | |
{ | |
private $kernel; |
ctrl + alt + shift + t = refactor this | |
alt + enter = allerlei shortcuts | |
ctrl + alt + l = reformat code | |
shift + f11 = show bookmarks | |
f11 = insert bookmark | |
alt + insert = file new | |
ctrl + n = navigate class | |
ctrl + shift + n = navigate file | |
ctrl + shift + f = find in path | |
ctrl + alt + shift + insert = commit file (eigen shortcut) |
# encoding: UTF-8 | |
require 'optparse' | |
require 'net/http' | |
require 'json' | |
def parse_options(argv) | |
opts = {} | |
@parser = OptionParser.new do |o| |
The plan is to create a pair of executables (ngrok
and ngrokd
) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok
to connect to this ngrokd
, and vice versa.
Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com
, you'll need a record for that and for *.domain.com
.
#!/bin/sh | |
remove_dangling() { | |
echo "Removing dangling images ..." | |
docker rmi $(docker images -f dangling=true -q) | |
} | |
remove_stopped_containers() { | |
echo "Removing stopped containers ..." | |
docker rm $(docker ps -qa) |