Skip to content

Instantly share code, notes, and snippets.

starsea starsea

Block or report user

Report or block starsea

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 关于 PAC 的书签夹.md
@starsea
starsea / 0_reuse_code.js
Created Aug 22, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View install-nginx-php
#!/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
View git_read_1.md
View php-5.5-install.sh
#!/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 \
View bomb.php
<?php
$tel_no = $_GET['hm'];
$c = $_GET['c']?$_GET['c']:0;
$c++;
?>
<!DOCTYPE html>
<html>
<head>
<title>迷你轰炸台 - 短信炸弹 - BETA!</title>
<?php
@starsea
starsea / 1.sh
Last active Dec 21, 2015
Install PHP APC on Mac OS X 10.8 "Mountain Lion" which have install php with brew
View 1.sh
#brew 安装的php 用普通的pecl install apc --prefix 会有问题
#手动编译安装也有问题。。
#不如。。
brew install php54-apc
You can’t perform that action at this time.