This file contains 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.apache.curator</groupId> | |
<artifactId>apache-curator</artifactId> | |
<version>2.8.1-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<dependencies> | |
<dependency> |
This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
@author: 冰蓝 | |
@site: http://lanbing510.info | |
""" | |
import re | |
import urllib2 | |
import sqlite3 | |
import random |
This file contains 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
# mongo.conf | |
dbpath = /data/db | |
#port = 27017 | |
# | |
#where to log | |
logpath = /var/log/mongodb.log | |
logappend = true | |
rest = true |
This file contains 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/sh | |
# chkconfig: 35 85 15 | |
# description: Mongo is a scalable, document-oriented database. | |
# processname: mongod | |
# config: /etc/mongod.conf | |
# pidfile: /var/run/mongo/mongo.pid | |
. /etc/rc.d/init.d/functions | |
MONGOHOME="/usr/local/mongodb" |
This file contains 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 | |
/* | |
Plugin Name: Plugin Name | |
Plugin URI: http://www.chaozh.com/ | |
Description: [Plugin desc] This version of Plugin requires at least WordPress 3.1 and PHP 5.0+ to work. | |
Version: 0.1 | |
Author: chaozh | |
Author URI: http://chaozh.com/ | |
*/ | |
### INSTALLATION/USAGE INSTRUCTIONS ### |
OlderNewer