One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # c.f. https://stackoverflow.com/a/5386753 | |
| import os | |
| import sys | |
| print('pre-fork: pid=%d, pgid=%d, sid=%d' % (os.getpid(), os.getpgid(0), os.getsid(0))) | |
| pid = os.fork() | |
| if pid > 0: | |
| sys.exit(0) |
| enum { BMAX = 32, BMIN = BMAX / 2, BHEIGHT = 6 }; | |
| struct BNode { | |
| uint32_t length; | |
| Key keys[BMAX]; | |
| union { | |
| BNode *children[BMAX]; | |
| Value values[BMAX]; | |
| }; | |
| }; |
| // developed by Riketta - rowneg@bk.ru | |
| #include <iostream> | |
| #include <vector> | |
| #include <list> | |
| #include <map> | |
| using namespace std; | |
| class Node |
| /* bling.js */ | |
| window.$ = document.querySelector.bind(document); | |
| window.$$ = document.querySelectorAll.bind(document); | |
| Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); }; | |
| NodeList.prototype.__proto__ = Array.prototype; | |
| NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); }; |
| // by Rulexec | |
| // http://com.muna.by/people/ruliov | |
| var net = require('net'), | |
| CRC32Stream = require('crc32-stream').CRC32Stream; | |
| var client = net.connect(443, '149.154.167.50', function() { | |
| console.log('connected'); | |
| var packet = createPacket(); |
#Download Sorce PHP
mkdir /opt/php-5.6.0
mkdir /usr/local/src/php5-build
cd /usr/local/src/php5-build
wget http://de.php.net/get/php-5.6.0.tar.bz2/from/this/mirror -O php-5.6.0.tar.bz2
tar jxf php-5.6.0.tar.bz2
cd php-5.6.0/
| type git # get the type of any command. Great for | |
| # seeing if a command exists. | |
| ls -t # sort by time, newest first | |
| ls -tr # sort by time, oldest first | |
| grep -r "test" FILE_OR_DIR # recursive full text search | |
| grep -i "test" FILE # case insensitive | |
| grep -c "pattern" FILE # count | |
| grep -n "pattern" # show line numbers |