Skip to content

Instantly share code, notes, and snippets.

server {
root /app/public;
index index.php;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
fastcgi_pass php:9000;
3com cmmb_vega_12mhz.inp i6050-fw-usb-1.5.sbcf iwlwifi-6000g2a-6.ucode lgs8g75.fw ql2100_fw.bin sms1xxx-hcw-55xxx-isdbt-02.fw
acenic cmmb_venice_12mhz.inp i915 iwlwifi-6000g2b-5.ucode libertas ql2200_fw.bin sms1xxx-nova-a-dvbt-01.fw
adaptec cpia2 imx iwlwifi-6000g2b-6.ucode liquidio ql2300_fw.bin sms1xxx-nova-b-dvbt-01.fw
advansys ct2fw-3.2.1.1.bin intel iwlwifi-6050-4.ucode matrox ql2322_fw.bin sms1xxx-stellar-dvbt-01.fw
agere_ap_fw.bin ct2fw-3.2.3.0.bin intelliport2.bin iwlwifi-6050-5.ucode mellanox ql2400_fw.bin sun
agere_sta_fw.bin ct2fw-3.2.5.1.bin ipw2100-1.3.fw iwlwifi-7260-10.ucode moxa ql2500_fw.bin sxg
amdgpu ctefx.bin ipw2100-1.3-i.fw iwlwifi-7260-12.ucode mrvl qlogic TDA7706_OM_v2.5.1_boot.txt
amd-ucode ctfw-3.2.1.1.bin ipw2100-1.3-p.fw iwlwifi-7260-13.ucode mt7601u.b

PHP-CLI (PHP en ligne de commande) sur les hébergements mutualisés OVH

(cli)

/usr/local/php5.3/bin/php  =>  PHP 5.3.29 (cli) (built: Mar  4 2016 09:03:42)
/usr/local/php5.4/bin/php  =>  PHP 5.4.45 (cli) (built: Apr 11 2016 06:20:17)
/usr/local/php5.5/bin/php  =>  PHP 5.5.35 (cli) (built: May  2 2016 07:16:01)
/usr/local/php5.6/bin/php  =>  PHP 5.6.21 (cli) (built: Apr 29 2016 07:02:48)
/usr/local/php7.0/bin/php => PHP 7.0.6 (cli) (built: Apr 29 2016 07:02:25) ( NTS )

PHP-CLI (PHP en ligne de commande) sur les hébergements mutualisés OVH

(cli)

/usr/local/php5.3/bin/php  =>  PHP 5.3.29 (cli) (built: Mar  4 2016 09:03:42)
/usr/local/php5.4/bin/php  =>  PHP 5.4.45 (cli) (built: Apr 11 2016 06:20:17)
/usr/local/php5.5/bin/php  =>  PHP 5.5.35 (cli) (built: May  2 2016 07:16:01)
/usr/local/php5.6/bin/php  =>  PHP 5.6.21 (cli) (built: Apr 29 2016 07:02:48)
/usr/local/php7.0/bin/php => PHP 7.0.6 (cli) (built: Apr 29 2016 07:02:25) ( NTS )
@Jmoati
Jmoati / docker-compose-install.sh
Created August 19, 2016 07:14 — forked from marszall87/docker-compose-install.sh
Simple script for installing latest Docker Compose on CoreOS >= 717.0.0
#!/bin/bash
mkdir -p /opt/bin
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose
@Jmoati
Jmoati / alpine-install.sh
Created July 22, 2016 21:12 — forked from thde/alpine-install.sh
A script to install alpine linux. Tested on Hetzner, Kimsufi / OVH
#!/bin/sh
set -ex
PATH=/bin:/sbin:/usr/bin:/usr/sbin
KEYMAP="us us"
HOST=alpine
USER=anon
ROOT_FS=ext4
BOOT_FS=ext4
xzcat ffmpeg-release-64bit-static.tar.xz| bzip2 --fast > test.tar.bz2
#!/bin/bash
#
# This script will mount /Users in the boot2docker VM using NFS (instead of the
# default vboxsf). It's probably not a good idea to run it while there are
# Docker containers running in boot2docker.
#
# Usage: sudo ./boot2docker-use-nfs.shz
#
<?php
require_once(__DIR__ . '/../vendor/autoload.php');
use Swarrot\Broker\MessageProvider\PeclPackageMessageProvider;
use Swarrot\Broker\MessagePublisher\PeclPackageMessagePublisher;
use Swarrot\Broker\Message;
use Swarrot\Processor\ProcessorInterface;
use Swarrot\Processor\Stack\Builder;
use Swarrot\Consumer;

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs