Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View starsea's full-sized avatar
💭
I may be slow to respond.

starsea

💭
I may be slow to respond.
  • Tencent
  • Los Angeles
View GitHub Profile
@starsea
starsea / 1.sh
Last active December 21, 2015 12:59
Install PHP APC on Mac OS X 10.8 "Mountain Lion" which have install php with brew
#brew 安装的php 用普通的pecl install apc --prefix 会有问题
#手动编译安装也有问题。。
#不如。。
brew install php54-apc
@starsea
starsea / bomb.php
Created September 5, 2013 09:52 — forked from ninehills/bomb.php
<?php
$tel_no = $_GET['hm'];
$c = $_GET['c']?$_GET['c']:0;
$c++;
?>
<!DOCTYPE html>
<html>
<head>
<title>迷你轰炸台 - 短信炸弹 - BETA!</title>
<?php
#!/bin/bash
PHP_VERSION="5.5.0"
yum -y install \
curl-devel.x86_64 \
libmcrypt-devel.x86_64 \
libxml2-devel.x86_64 \
libtool-ltdl-devel.x86_64 \
pcre-devel.x86_64 \
@starsea
starsea / git_read_1.md
Last active August 29, 2015 14:01
git笔记
#!/bin/bash
yum -y install gcc gcc-c++ autoconf automake wget
#nginx dependency
#gzip -- zlib库
#rewrite-- pcre库
#ssl -- openssl库
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel
@starsea
starsea / 0_reuse_code.js
Created August 22, 2014 10:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console