-
Generate a page
hexo new page 'about'
-
In the theme's
_config.yml
You can add menu at the menu options like so
menu:
Home: /
Archives: /archives
About: /about
Simply
yum install syslog-ng-libdbi
$ sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
This will install scipy together with other packages on python that run on the system
. If you're using pyenv
, it won't work though because it couldn't find the packages.
Other way
I often argue that the toughest thing about distributed systems is changing the way you think. The below is a collection of material I've found useful for motivating these changes.
Ramblings that make you think about the way you design. Not everything can be solved with big servers, databases and transactions.
If Zookeeper cannot be started, check for DNS resolution.
$ hostname
$ hostname -f
$ python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())'
O(log n)
. Also applied Levenshtein
.This document contains some notes I have gathered while I was trying to setup a redis service using boot2docker running on OS X. This won't cover what Docker is, see Docker website for details.
First, install Virtualbox and follow the steps at http://docs.docker.com/installation/mac/
Since Docker only runs on Linux, boot2docker runs a virtual machine in Virtualbox (or VMWare etc), however you can run the docker command on OS X
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
public class dns { | |
public static void main(String[] args) throws UnknownHostException { | |
InetAddress addr = InetAddress.getLocalHost(); | |
System.out.println(String.format( | |
"IP:%s hostname:%s canonicalName:%s", | |
addr.getHostAddress(), |