P3 Assembly
SublimeLinter
Trmmer
Markdown Preview
FileDiffs
DocBlockr
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
sublime text tips | |
================= | |
@author karminski <[email protected]> | |
@version 140219:1 | |
# install package control | |
- offical site | |
https://packagecontrol.io/installation |
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/bash | |
# Ubuntu 12.04 precise software env init shell scripts. | |
# @author karminski <[email protected]> | |
# @version 140729:2 | |
#init dir | |
sudo mkdir /home/apps | |
cd /home/apps | |
# install python-software-properties |
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 | |
define("_", 0); | |
class Currying{ | |
private $arg1; | |
public function __construct($arg1){ | |
$this->func_a[0] = $arg1; |
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
--[[ | |
lua_php_utils.lua | |
@author karminski <[email protected]> | |
@version 140319:1 | |
@changelog | |
140319:1 ADD scandir(), file_exists(), is_numeric(), trim(), round(), count(), empty(), | |
explode(), implode(), print_r(), strrpos(), strpos(), split(), urlencode(), |
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
--[[ | |
redis_factory.lua | |
Redis factory method. | |
You can also find it at https://gist.github.com/karminski/33fa9149d2f95ff5d802 | |
@version 151019:5 | |
@author karminski <[email protected]> | |
@license MIT |
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/bash | |
# deploy_nginx_with_lua_nginx_module.sh | |
# @version 171026:7 | |
# @author karminski <[email protected]> | |
# | |
# @changes | |
# 171026:7 CHANGE to nginx-1.10.3, lua-nginx-module-v0.10.10, luajit2-v2.1-20170925 | |
# 170825:6 REMOVE --with-debug compile option to solve peformance issue. | |
# 170627:5 CHANGE to nginx-1.10.3, lua-nginx-module-v0.10.8 | |
# 161226:4 CHANGE to nginx-1.10.2, lua-nginx-module-v0.10.8, luajit2-v2.1-20161104 |
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
./configure \ | |
--enable-fpm \ | |
--enable-opcache \ | |
--enable-pdo \ | |
--enable-sockets \ | |
--enable-exif \ | |
--enable-soap \ | |
--enable-ftp \ | |
--enable-wddx \ | |
--enable-pcntl \ |
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/bash | |
# for_centos7.sh | |
# @version 160913:4 | |
# @author karminski <[email protected]> | |
# | |
rpm -ivh http://mirrors.sohu.com/fedora-epel/7Server/x86_64/e/epel-release-7-8.noarch.rpm | |
yum clean all && yum makecache | |
yum update |
- https://jimmysong.io/kubernetes-handbook/
- https://jimmysong.io/kubernetes-handbook/practice/install-kubernetes-on-centos.html
etcd01v.location.hostname.com etcd(master)
OlderNewer