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
// | |
// TSAppResponse.hh | |
// k12 | |
// | |
// Created by Yaming on 10/25/14. | |
// Copyright (c) 2014 All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "TSProtocolBufferWrapper.hh" |
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 | |
### BEGIN INIT INFO | |
# Provides: jetty | |
# Required-Start: $local_fs $remote_fs $network $syslog $named | |
# Required-Stop: $local_fs $remote_fs $network $syslog $named | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: true | |
# Short-Description: Start/stop jetty servlet container | |
### END INIT INFO |
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
http://code4app.com/article/cocoapods-install-usage |
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
https://about.gitlab.com/downloads/ | |
http://ju.outofmemory.cn/entry/91822 | |
http://blog.csdn.net/jiedushi/article/details/8840666 |
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
http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/ | |
http://virtualenvwrapper.readthedocs.org/en/latest/ |
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 | |
# Install Redis | |
echo 'Install Redis' | |
cd /tmp | |
mkdir redis && cd redis | |
wget http://redis.googlecode.com/files/redis-2.4.10.tar.gz | |
tar -zxf redis-2.4.10.tar.gz | |
cd redis-2.4.10 | |
make && make install |
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
yum -y install gcc automake autoconf libtool make | |
yum -y install zlib zlib-devel | |
yum -y install openssl-devel | |
yum -y install memcached | |
yum -y install python-devel | |
yum -y install python-setuptools | |
yum -y install patch | |
easy_install mysql-python | |
yum -y install git-core |
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
iptables: | |
-------------------------------------------------------------------------------- | |
/etc/init.d/iptables save | |
This will save all rules in /etc/sysconfig/iptables, then just enable the iptables service at start-up using: | |
/sbin/iptables-save > /etc/iptables.rules | |
/sbin/iptables-restore < /etc/iptables.rule |
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
import com.google.gson.*; | |
import java.lang.reflect.Type; | |
import java.util.Date; | |
/** | |
* Created by yaming_deng on 14-9-15. | |
*/ | |
public class GsonUtil { |
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
import sbt._ | |
import Keys._ | |
import sbtassembly.Plugin._ | |
import AssemblyKeys._ | |
import sbt.Package.ManifestAttributes | |
import sbt.Logger | |
import com.typesafe.sbt.SbtAtmos.{Atmos, atmosSettings, AtmosKeys} | |
object HelloSbtBuild extends Build { |
NewerOlder