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
<!doctype html> | |
<html> | |
<head> | |
<title> Emoticon Kit </title> | |
<meta charset="UTF-8" /> | |
<meta name="author" content="Seven Yu" /> | |
<meta name="keywords" content="颜文字 emoticon" /> | |
<meta name="description" content="Emoticon Kit" /> | |
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> | |
<link rel="stylesheet" href="style.css" /> |
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
package | |
{ | |
public class NumberRandomSort | |
{ | |
public function NumberRandomSort() | |
{ | |
var a:Array = []; | |
for (var i:int = 0; i < 50; i++) | |
{ | |
// 随机 index 插入数组 |
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
package org.phpz | |
{ | |
/** | |
* Who am I | |
* @author Seven Yu | |
*/ | |
public class Me extends Engineer implements IFrontEnd, IBackEnd | |
{ | |
private var _name:String; | |
private var _email:String; |
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 | |
/** | |
* Author: Seven Yu | |
* E-Mail: dofyyu (a.t) gmail.com | |
* Version: 0.0.3 | |
* Update: 2012/11/14 | |
*/ | |
$rand = true; |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
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
// ==UserScript== | |
// @name v2ex 绝对时间 | |
// @namespace http://phpz.org/ | |
// @version 0.1.5 | |
// @description 显示 v2ex 中的绝对时间 | |
// @author Seven Yu | |
// @match *.v2ex.com/* | |
// @run-at document-end | |
// @grant none | |
// @updateURL https://gist.github.com/dofy/38c8d67405a5597f4e7e/raw |
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
server { | |
listen 80; | |
server_name domain.com; | |
access_log off; | |
root /path/to/your/website; | |
index index.html index.htm index.php; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Type Script Demo</title> | |
<script src="//code.jquery.com/jquery-3.1.1.min.js"> </script> | |
<script src="main.js"></script> | |
<script> | |
var textScript = [ | |
'This is an example...', '.3', |
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
// ==UserScript== | |
// @name awesome-mac Filter | |
// @namespace http://phpz.org/ | |
// @version 0.3.3 | |
// @description awesome-mac Filter | |
// @author Seven Yu <dofyyu@gmail.com> | |
// @match https://github.com/jaywcjlove/awesome-mac | |
// @match https://github.com/jaywcjlove/awesome-mac/*/README.md | |
// @match https://github.com/jaywcjlove/awesome-mac/*/README-*.md | |
// @require http://code.jquery.com/jquery-3.1.0.min.js |
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
# 支持 proxy group 的 surge 配置 | |
# You can download this config from: http://surge.run/config-example/ios.conf, edit with your computer and copy back to iOS device via iTunes or URL | |
[General] | |
// warning, notify, info, verbose | |
loglevel = notify | |
[Proxy] | |
// 首先增加一个直连配置,这样当你不需要代理的时候, | |
// 可以方便地选择跳过代理而不必退出或停止 surge。 |
OlderNewer