TODO: Write a project description
TODO: Describe the installation process
sudo add-apt-repository ppa:ondrej/php-7.0 | |
sudo apt-get update | |
sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm php7.0-curl php7.0-gd | |
php -v |
#!/bin/bash | |
speedometer -l -r eth0 -t eth0 -m $(( 1024 * 1024 * 2 )) |
#!/usr/bin/env bash | |
sudo -i; | |
apt-get update; | |
apt-get install --yes \ | |
git \ | |
bison \ | |
autoconf \ |
# set cache proxy | |
sudo vi /etc/apt/apt.conf << EOT | |
Acquire::http::Proxy "http://192.168.88.10:3142"; | |
Acquire::HTTP::Proxy::192.168.88.10 "DIRECT"; | |
EOT | |
sudo apt-get update | |
sudo apt-get upgrade |
// 1. First Create a Dummy UIViewController that has a root relation with the UITabBarController | |
// 2. Make this controller implement a UITabBarControllerDelegate | |
// 3. In ViewDidLoad: | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
self.tabBarController?.delegate = self | |
} | |
// 4. Implement this delegate method: | |
func tabBarController(tabBarController: UITabBarController, didSelectViewController viewController: UIViewController) { | |
let isModalTab = viewController == self |
<?php | |
$items = array( | |
100 => 'Continue', | |
101 => 'Switching Protocols', | |
102 => 'Processing', | |
200 => 'OK', | |
201 => 'Created', | |
202 => 'Accepted', | |
203 => 'Non-Authoritative Information', | |
204 => 'No Content', |
Minimum eight characters, at least one letter and one number:
^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$
Minimum eight characters, at least one letter, one number and one special character:
^(?=.*[A-Za-z])(?=.*\d)(?=.*[$@$!%*#?&])[A-Za-z\d$@$!%*#?&]{8,}$