with mysql pgsql intl support
$ brew install php --with-apache --with-mysql --with-pgsql --with-intl
date.timezone = Europe/Vienna
List of sails learning materials
#!/bin/bash | |
# shell script to install dnsperf tool on ubuntu | |
sudo apt-get install -y bind9utils libbind-dev libkrb5-dev libssl-dev libcap-dev libxml2-dev libgeoip-dev | |
curl ftp://ftp.nominum.com/pub/nominum/dnsperf/2.1.0.0/dnsperf-src-2.1.0.0-1.tar.gz -O | |
tar xfvz dnsperf-src-2.1.0.0-1.tar.gz | |
cd dnsperf-src-2.1.0.0-1 | |
./configure | |
make |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Python 3 and compatibility with Python 2 | |
from __future__ import unicode_literals, print_function | |
import os | |
import sys | |
import re | |
import logging |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
<!-- page content --> |
#!/bin/bash | |
unset GIT_DIR | |
echo "checking out force latest" | |
pwd | |
cd .. && git checkout -f |
#!/bin/bash | |
# create ssh proxy server | |
# http://www.commandlinefu.com/commands/view/1060/create-an-ssh-socks-proxy-server-on-localhost8000-that-will-re-start-itself-if-something-breaks-the-connection-temporarily | |
autossh -f -M 20000 -N -D 8000 some_ssh_host | |
# then setup a socks proxy for your browser to localhost:8000 | |
# to browse securely! |
var request = require('request'); | |
var unzip = require('unzip'); | |
var csv2 = require('csv2'); | |
const alexa = 'http://s3.amazonaws.com/alexa-static/top-1m.csv.zip' | |
const majestic = 'http://downloads.majesticseo.com/majestic_million.csv' | |
const sources = [majestic]; | |
const zSources = [alexa]; | |
one | |
two | |
three | |
four | |
five | |
six | |
seven | |
eight | |
nine | |
ten |