This file contains hidden or 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 | |
cd ~ | |
mkdir build | |
cd build | |
wget http://www.xunsearch.com/scws/down/scws-1.2.2.tar.bz2 | |
tar xvjf scws-1.2.2.tar.bz2 | |
cd scws-1.2.2 | |
./configure --prefix=/usr/local/scws ; make ; make install | |
cd /usr/local/scws/etc | |
wget http://www.xunsearch.com/scws/down/scws-dict-cht-utf8.tar.bz2 |
This file contains hidden or 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
---- | |
-- User configuration file for lsyncd. | |
-- | |
-- Simple example for default rsync, but executing moves through on the target. | |
-- | |
-- For more examples, see /usr/share/doc/lsyncd*/examples/ | |
-- | |
-- sync{default.rsyncssh, source="/var/www/html", host="localhost", targetdir="/tmp/htmlcopy/"} | |
settings { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Editor</title> | |
</head> | |
<body> | |
<pre id="editor" style="width:100%;height:400px;">function foo(items) { | |
var i; |
This file contains hidden or 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
<html> | |
<head> | |
<title>Ga Testing</title> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script> | |
<link rel="stylesheet" type="text/css" href="https://raw.github.com/twbs/bootstrap/master/dist/css/bootstrap.min.css"> | |
</head> | |
<body style="width:800;margin:20 auto;"> | |
<div class="panel panel-default"> | |
<div class="panel-body"> | |
<div class="row"> |
This file contains hidden or 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 | |
/* | |
POST / HTTP/1.1 | |
Host: kinesis.<region>.<domain> | |
x-amz-Date: <Date> | |
Authorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature> | |
User-Agent: <UserAgentString> | |
Content-Type: application/x-amz-json-1.1 | |
Content-Length: <PayloadSizeBytes> |
This file contains hidden or 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/bash | |
find . -type f | grep nginx | xargs rm -v |
This file contains hidden or 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 | |
$str_path = '/PATH/'; | |
$cls_rii = new \RecursiveIteratorIterator( | |
new \RecursiveDirectoryIterator( $str_path ), | |
\RecursiveIteratorIterator::CHILD_FIRST | |
); | |
$ary_files = array(); |
NewerOlder