Create an empty directory, download the code and run it:
$ mkdir /tmp/lj
$ cd /tmp/lj
$ wget https://gist.github.com/benbjohnson/5622779/raw/e53d227ebdbea8d513b62ad076feb3f6ac1c1594/luajit.go
$ go run luajit.goAnd you should see:
| <?php | |
| class SCup_session { | |
| var $_session_name = ''; | |
| var $_session_id = ''; | |
| var $_db = NULL; | |
| var $_session_table = ''; | |
| var $_max_life_time = 1440; | |
| var $_time = 0; |
| phpCB.exe --glue-arrow --optimize-eol --space-after-switch --space-after-while --space-before-start-angle-bracket --extra-padding-for-case-statement --glue-amperscore --change-shell-comment-to-double-slashes-comment --indent-with-tab --force-large-php-code-tag --force-true-false-null-contant-lowercase --comment-rendering-style PEAR --equal-align-position 50 --padding-char-count 1 "%F" |
| MiiduuNameSpace = typeof(MiiduuNameSpace)=="undefined" ? {} : MiiduuNameSpace; | |
| MiiduuNameSpace.Mini = function (obj) { | |
| this.options = {product_id:0,width:0,height:0,RT:false,itemSize:'single',button:'buynow',ref:escape(location.href),host:'www.miiduu.com'}; | |
| for(var name in this.options) { | |
| if(typeof(obj[name]) !== 'undefined') this.options[name] = obj[name]; | |
| } | |
| } | |
| MiiduuNameSpace.Mini.prototype = { | |
| getWidth: function (){return this.options.width? this.options.width : MiiduuNameSpace.Mini.config.style[this.options.itemSize].width;}, | |
| getHeight: function (){return this.options.height? this.options.height : MiiduuNameSpace.Mini.config.style[[this.options.itemSize]].height;}, |
| header("Pragma: public"); | |
| header("Expires: 0"); | |
| header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); | |
| header("Content-Type: application/force-download"); | |
| header("Content-Type: application/octet-stream"); | |
| header("Content-Type: application/download"); | |
| header("Content-Type: application/vnd.ms-excel; charset=UTF-8"); | |
| header("Content-Disposition: attachment; filename=\"" . $filename . ".csv\""); | |
| header("Content-Transfer-Encoding: binary "); |
| [root@H200 bin]# ./mongo | |
| MongoDB shell version: 1.6.5 | |
| connecting to: test | |
| > use admin | |
| switched to db admin | |
| > db.runCommand({addshard : "192.168.1.40:27021", allowLocal : true }) | |
| { "shardAdded" : "shard0000", "ok" : 1 } | |
| > db.runCommand({addshard : "192.168.1.40:27022", allowLocal : true }) | |
| { "shardAdded" : "shard0001", "ok" : 1 } | |
| > db.runCommand({listshards:1}) |
| <!doctype html> | |
| <html xmlns:fb="http://www.facebook.com/2008/fbml"> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en"> | |
| <head> | |
| <title>Connect with Facebook</title> | |
| <link rel="stylesheet" type="text/css" href="stylesheet/stylesheet.css" /> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> |
| centos下的安装 | |
| # yum install glib2-devel openssl-devel pcre-devel bzip2-devel gzip-devl zlib-devel | |
| # tar -xf lighttpd-1.4.28.tar.gz | |
| # cd lighttpd-1.4.28 | |
| # ./configure --prefix=/usr/local/lighttpd | |
| # make & make install | |
| # make | |
| # make install | |
| # mkdir /etc/lighttpd | |
| # sed -e 's/FOO/lighttpd/g' doc/initscripts/rc.lighttpd.redhat > /etc/init.d/lighttpd |
| 添加多网卡 | |
| ifconfig eth0:1 192.168.1.201 broadcast 192.168.1.255 netmask 255.255.255.0 |
| #!/bin/sh | |
| # | |
| # init.d script with LSB support. | |
| # | |
| # Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> | |
| # | |
| # This is free software; you may redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as | |
| # published by the Free Software Foundation; either version 2, | |
| # or (at your option) any later version. |
Create an empty directory, download the code and run it:
$ mkdir /tmp/lj
$ cd /tmp/lj
$ wget https://gist.github.com/benbjohnson/5622779/raw/e53d227ebdbea8d513b62ad076feb3f6ac1c1594/luajit.go
$ go run luajit.goAnd you should see: