Skip to content

Instantly share code, notes, and snippets.

[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.0/8, 100.64.0.0/10, localhost, *.local, e.crashlytics.com
bypass-tun = 192.168.0.0/16, 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9,
@13hoop
13hoop / wwdc16.md
Created July 18, 2016 05:24 — forked from mackuba/wwdc16.md
New stuff from WWDC 2016

Following the tradition from last year, here's my complete list of all interesting features and updates I could find in Apple's OSes, SDKs and developer tools that were announced at this year's WWDC. This is based on the keynotes, the "What's New In ..." presentations and some others, Apple's release notes, and blog posts and tweets that I came across in the last few weeks.

If for some reason you haven't watched the talks yet, I really recommend watching at least the "State of the Union" and the "What's New In" intros for the platforms you're interested in. The unofficial WWDC Mac app is great way to download the videos and keep track of what you've already watched.

If you're interested, here are my WWDC 2015 notes (might be useful if you're planning to drop support for iOS 8 now and start using some iOS 9 APIs).


OSX → macOS 10.12 Sierra

@13hoop
13hoop / index.html
Created December 19, 2016 09:46 — forked from anonymous/index.html
JS Bin // source https://jsbin.com/mazeqe
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
* {margin: 0; padding: 0;}
.clear {
@13hoop
13hoop / index.html
Created December 20, 2016 07:07 — forked from anonymous/index.html
JS Bin // source http://jsbin.com/ladana
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
* {
border: 1px solid gray;
}
@13hoop
13hoop / index.html
Created December 20, 2016 09:44 — forked from anonymous/index.html
JS Bin // source http://jsbin.com/meliyuh
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
* {
margin: 0;
padding: 0px;
@13hoop
13hoop / .html
Last active March 11, 2017 12:57
loadMore
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>server-mock使用说明</title>
<style>
body {
background: #eee;
}
@13hoop
13hoop / iframe.html
Last active March 12, 2017 09:38
跨域的一般操作
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
body {
background: palevioletred;
@13hoop
13hoop / .js
Created March 16, 2017 04:29
insertSort
var is = function(a) {
console.log('原' + a)
for (var i=1; i < a.length; i++) {
var temp = a[i]
var j = i
while(a[j] < a[j-1] && j > 0) {
console.log(' -'+ i + '- ' + a[j] + ' swap ' + a[j-1])
a[j] = a[j-1]
a[j-1] = temp
j--
@13hoop
13hoop / .html
Last active March 24, 2017 00:06
nvg demo: jQuery events
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jQuery 初探</title>
<!--<link rel="stylesheet" href="demoStyle.css">-->
<style>
* {padding: 0; margin: 0;
font-size:15px}
@13hoop
13hoop / .html
Last active March 24, 2017 07:22
show some iterms
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jQuery002</title>
<link rel="stylesheet" href="demoStyle.css">
<style>
* {padding: 0; margin: 0;
font-size:12px}
.page {