Skip to content

Instantly share code, notes, and snippets.

Hozaka hozaka

Block or report user

Report or block hozaka

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 SSLedge.conf
[Rule]
IP-CIDR,127.0.0.0/8,DIRECT
IP-CIDR,172.16.0.0/12,DIRECT
IP-CIDR,10.0.0.0/8,DIRECT
IP-CIDR,192.168.0.0/16,DIRECT
DOMAIN-SUFFIX,oa.com,DIRECT
DOMAIN-SUFFIX,qq.com,DIRECT
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-SUFFIX,mzstatic.com,DIRECT
DOMAIN-SUFFIX,phobos.apple.com,DIRECT
@hozaka
hozaka / gist:41df51fc9c41be000436
Created Jul 13, 2015
Github Desktop crash log
View gist:41df51fc9c41be000436
Process: GitHub [7276]
Path: /Applications/GitHub.app/Contents/MacOS/GitHub
Identifier: com.github.GitHub
Version: The Sum of All Feels (208)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: GitHub [7276]
User ID: 501
Date/Time: 2015-07-13 22:38:01.213 +0800
@hozaka
hozaka / float-label-pattern.html
Last active Aug 29, 2015
A float label implement with validation by pure css
View float-label-pattern.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<title>Float Label Pattern</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<style type="text/css" media="screen">
.row {
/*position: relative;*/
padding-top: 24px;
View gist:3704928
# Client side should check the activation status of current account.
# If not you should popup an input dialog for the user to enter their activation code.
#
# CLIENT SIDE CODE SAMPLE
def login(user_id, password)
user = User.validate_login_from_server(user_id, password)
if user.nil?
# provided user_id or password is incorrect.
# show an error message on client
View gist:434099
var i = "initialized";
function test() {
var i = 0;
for (i in [1, 2, 3]) { console.log(i) };
}
test();
console.log(i);
You can’t perform that action at this time.