I hereby claim:
- I am branchzero on github.
- I am branchzero (https://keybase.io/branchzero) on keybase.
- I have a public key ASDQaINE7eU4XeV-b72vrFi7udBQjNgFW6U3Qfay_Gfz4Qo
To claim this, I am signing this object:
<?php | |
explode("\n", str_replace(array("\r\n", "\r"), array("\n", "\n"), $str)); | |
?> |
<?php | |
echo encode_json(array('啊'=>'白')); | |
function encode_json($str) { | |
return urldecode(json_encode(url_encode($str))); | |
} | |
/** | |
* | |
*/ | |
function url_encode($str) { |
#!/bin/bash | |
## Check for versions compiled with ARM at http://nodejs.org/dist/ | |
## Inspired by http://oskarhane.com/raspberry-pi-install-node-js-and-npm/ | |
## Fill in the Node Version here: | |
########################################################################## | |
NODE_VERSION="v0.10.21" |
#!/bin/sh | |
# | |
# git autodeploy script when it matches the string "[deploy]" | |
# | |
# @author icyleaf <icyleaf.cn@gmail.com> | |
# @link http://icyleaf.com | |
# @version 0.1 | |
# | |
# Usage: | |
# 1. put this into the post-receive hook file itself below |
<?php | |
/** | |
* This file is a part of KK Framework | |
* Author: kookxiang <r18@ikk.me> | |
*/ | |
namespace Core; | |
class Database { | |
const MASTER = 'MASTER'; | |
const SLAVE = 'SLAVE'; |
I hereby claim:
To claim this, I am signing this object:
function log($content, $trace_code) { | |
file_put_contents(DISCUZ_ROOT.'./data/dzapp_log_'.date('Ymd').'.log', date('Y-m-d H:i:s').'::'.$trace_code.'::'.var_export($content, true).PHP_EOL, FILE_APPEND); | |
} |
{"lastUpload":"2018-04-29T01:02:37.352Z","extensionVersion":"v2.9.0"} |
# Install Time Machine service on CentOS 7 | |
# http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.1.7_SRPM_for_Fedora_and_CentOS | |
# http://confoundedtech.blogspot.com/2011/07/draft-draft-ubuntu-as-apple-time.html | |
yum install -y rpm-build gcc make wget | |
# install netatalk | |
yum install -y avahi-devel cracklib-devel dbus-devel dbus-glib-devel libacl-devel libattr-devel libdb-devel libevent-devel libgcrypt-devel krb5-devel mysql-devel openldap-devel openssl-devel pam-devel quota-devel systemtap-sdt-devel tcp_wrappers-devel libtdb-devel tracker-devel | |
yum install -y bison docbook-style-xsl flex dconf |