This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 10% overclock | |
| arm_freq=1100 | |
| over_voltage=8 | |
| sdram_freq=500 | |
| sdram_over_voltage=2 | |
| force_turbo=1 | |
| boot_delay=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ ! -d "./ssl" ]; then | |
| mkdir ./ssl | |
| fi | |
| # Hostname | |
| HOSTNAME=$1 | |
| # Fallback to "server" if no hostname provided |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Math | |
| { | |
| /** | |
| * Is given number a perfect square? | |
| * | |
| * @param int $n | |
| * @return boolean | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # names of latest versions of each package | |
| export VERSION_PCRE=pcre-8.39 | |
| export VERSION_OPENSSL=openssl-1.0.2d | |
| export VERSION_NGINX=nginx-1.9.7 | |
| # URLs to the source directories | |
| export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
| export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| PHP_VERSION=7.0.4 | |
| # Dependencies | |
| apt-get update | |
| apt-get install -y \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| VERSION=v9.4.0 | |
| ARCH=armv6l | |
| wget https://nodejs.org/dist/${VERSION}/node-${VERSION}-linux-${ARCH}.tar.gz | |
| tar xf node-${VERSION}-linux-${ARCH}.tar.gz | |
| rm -f node-${VERSION}-linux-${ARCH}/* | |
| pushd node-${VERSION}-linux-${ARCH}/ | |
| sudo cp -R * /usr/local/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # names of latest versions of each package | |
| export NGINX_VERSION=1.9.9 | |
| export VERSION_PCRE=pcre-8.38 | |
| export VERSION_LIBRESSL=libressl-2.3.1 | |
| export VERSION_NGINX=nginx-$NGINX_VERSION | |
| # URLs to the source directories | |
| export SOURCE_LIBRESSL=ftp://ftp.openbsd.org/pub/OpenBSD/LibreSSL/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Demo; | |
| use League\Flysystem\Filesystem; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Helper\ProgressBar; | |
| use Symfony\Component\Console\Input\InputArgument; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Convert a MDB file (Access) to SQL | |
| # Needs mdbtools[http://mdbtools.sourceforge.net/] | |
| # run 'aptitude install mdbtools' on Debian/Ubuntu | |
| # Created by Álvaro Justen <https://github.com/turicas> | |
| # Modified by Gabriel Florit to run on Mac OS X | |
| # License: GPLv2 | |
| mdb=$1 | |
| sql=$2 |