Skip to content

Instantly share code, notes, and snippets.

@nealnote
nealnote / osx_setting.sh
Created June 24, 2014 05:53
osx setting
# Enable full keyboard access for all controls
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
defaults write com.apple.finder QuitMenuItem -bool true
# Avoid creating .DS_Store files on network volumes
@nealnote
nealnote / google-ip-list
Created June 12, 2014 01:38
google ip list
var list = new Array("Bulgaria", "93.123.23.1/59",
"Egypt", "197.199.253.1/59",
"Egypt", "197.199.254.1/59",
"Hong Kong", "218.189.25.129/187",
"Hong Kong", "218.253.0.76/92", "218.253.0.140/187",
"Iceland", "149.126.86.1/59",
"Indonesia", "111.92.162.4/6", "111.92.162.12/59",
"Iraq", "62.201.216.196/251",
"Japan", "106.162.192.132/187",
"Japan", "106.162.198.68/123",
@nealnote
nealnote / css3-transition-box-shadow.html
Created June 4, 2014 06:08
css3-transition-box-shadow.html
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'>
<title>css3-transition-box-shadow</title>
<link rel="stylesheet" href="http://necolas.github.io/normalize.css/3.0.1/normalize.css">
<style type="text/css">
.list {
margin-top: 60px;
border-left: 1px solid #E8E8E8;
@nealnote
nealnote / css3-first-screen
Created May 30, 2014 03:16
css3-first-screen
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'>
<title>first-screen</title>
<style type="text/css">
body {
padding: 0;
margin: 0;
}
@nealnote
nealnote / css3-transition
Last active August 29, 2015 14:01
css transition
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'>
<title>transition</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/base-min.css">
<style type="text/css">
.sc {
margin-top: .6em;
text-align: center;
@nealnote
nealnote / css3-loading.html
Last active January 3, 2016 10:49
css3 loading
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'>
<title>loading</title>
</head>
<body>
<style type="text/css">
@keyframes rotate-loading {