View sleep.js
function sleep(milliSeconds) {
var startTime = new Date().getTime();
while (new Date().getTime() < startTime + milliSeconds);
}
View xampp_php7_xdebug.md
View _config.yml
title: My Jekyll
description: >
My Description. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
baseurl: ""
url: "http://e-joint.jp"
author:
name: e-JOINT.jp
github: ejointjp
View repopicks-14.1
158113 # repopick: use requests instead of urllib, add optional auth
73559 # policy_hal: Update for N
142846 # init: don't skip starting a service with no domain if permissive
60713 # selinux: add selinux_status_getenforce to header
64932 # telephony: Add state check for LteOnCdma to isGsm and isCdma
144662 # Add default-permission support for IMS to telephony.mk
156577 # livedisplay: Use new DisplayTransformManager API to set color overlay
draft 157956 # Pixel Colors
draft 157953 # SystemUI: Add a reversed version of OPA layout
View feed.json
{"updated":"2017-02-22 08:29:41 +0000","articles":[{"title":"Slik endres norgeskartet: Antall fylker halveres","link":"https://www.nrk.no/norge/slik-endte-sanners-kommunereform-1.13358029"},{"title":"– Et useriøst forslag","link":"https://www.nrk.no/norge/kraftige-reaksjoner-pa-reformen_-useriost_-galskap_-skuffelse-1.13391329"},{"title":"Reduserer antall kommuner til 358","link":"https://www.nrk.no/nyheter/kommunesammenslaing-1.11439028"},{"title":"NÅ: – Blir godt å komme igang","link":"https://www.nrk.no/sport/ski-vm-2017-1.13387606"},{"title":"– Håper ingen får oppleve den samme tabben","link":"https://www.nrk.no/sport/_-haper-ingen-far-oppleve-den-samme-tabben-1.13390657"},{"title":"Politibetjenter slakter sjefens reform","link":"http://nrk.no/norge/ny-politiundersokelse-feller-knusende-dom-1.13376964"},{"title":"– Jakten på Michelin-stjernene tok nesten livet mitt","link":"https://www.nrk.no/kultur/_-jakten-pa-michelin-stjernene-tok-nesten-livet-mitt-1.13390820"},{"title":"Advarer mot glatte veier","link
View Pandas - astype recasting.py
np.str
str
int
float
category -> text labels, makes it more effience & faster to store text
View complexity.py
# coding:utf8
import numpy as np
def calc_complexity(leaf, f, N, n_trees, dim_size, block, search_k=None, vector_complexity=None, benchmark_process=1):
'''
# 这些是参数
leaf: 数据大小
f: 维度
N: 需要找到的最邻近点
View gist:9938f6f077a9125b6b2a596d246afb06
"config": {
"version": "22.49.01"
},
DELETE--------------------------------
"vs_server_path": "redundant - flashvars provided by php are used instead",
"capi_server_path": "redundant - flashvars provided by php are used instead",
"coupon_server_path": "redundant - flashvars provided by php are used instead",
"jackpot_server_path": "redundant - flashvars provided by php are used instead",
"og_composer_url": "redundant - flashvars provided by php are used instead",
View dabblet.css
#left{
background:url(http://i65.tinypic.com/14sjlzm.jpg)
50% 50%/100% 100% no-repeat;
position:fixed;
width:60%;
height:97%;
left:0;
top:0;
box-shadow:0px 0px 22px 20px #7a003d;
border:10px ridge #fff;