Skip to content

Instantly share code, notes, and snippets.

Daniel Liu lgh06

View GitHub Profile
@lgh06
lgh06 / ngrxintro.md
Created Dec 18, 2018 — forked from btroncone/ngrxintro.md
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series
View ngrxintro.md

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

View my-github-stars.md
View thunder.hosts
127.0.0.1 hub5btmain.sandai.net
127.0.0.1 hub5emu.sandai.net
127.0.0.1 upgrade.xl9.xunlei.com
@lgh06
lgh06 / OpenCmdHere.reg
Created Jan 6, 2018
windows 10 shift+右键 命令行&power shell
View OpenCmdHere.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]
@="在此处打开命令提示符"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]
@lgh06
lgh06 / vue-note.md
Last active Apr 14, 2018
Vue.js Guide Essentials-说人话-速记版
View vue-note.md

以下内容根据Vue.js Guide Essentials部分速记。
不含动画/mixin/SSR/路由/状态管理等部分.

Introduction

建议阅读原文 https://vuejs.org/v2/guide/index.html

什么是Vue
开始
声明式渲染
条件与循环

View BBC-Radio.m3u
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
#EXTINF:-1,BBC - Radio 2
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
#EXTINF:-1,BBC - Radio 3
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-aac-lc-a/format/pls/vpid/bbc_radio_three.pls
#EXTINF:-1,BBC - Radio 4
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p
#EXTINF:-1,BBC - Radio 5 live
@lgh06
lgh06 / refresh.user.js
Created Jun 7, 2017
auto refresh with Tampermonkey
View refresh.user.js
// ==UserScript==
// @name css-refresh
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @require http://cdn.bootcss.com/crypto-js/3.1.2/rollups/sha1.js
// @match http://m.kankan.com/v/*
// @match http://127.0.0.1:8083/*
// @match http://192.168.28.52:8083/*
View verify-wechat.php
<?php
$signature = $_GET['signature'];
$timestamp = $_GET['timestamp'];
$nonce = $_GET['nonce'];
$echostr = $_GET['echostr'];
$selfToken = 'If985hike';
// 自行计算的signature
View silicon.js
var file_list = {
"202868": {
"1": "ed2k:\/\/|file|Silicon.Valley.S01E00.Invitation.to.the.Set.1080p.WEB-DL.AAC2.0.H.264-Coo7.mkv|58926993|E31D98B370DD40B5C000929FACF11102|h=4M2AGBOPJO2PNPL4CP7YWS7C2NDBBQEX|\/"
},
"202870": {
"1": "ed2k:\/\/|file|Silicon.Valley.S01E00.Trailer.1080p.WEB-DL.AAC2.0.H.264-Coo7.mkv|59665104|1EBA0B160484CB44D5757B5B3B9D8B79|h=ZSHIM7JK6JSA75QNMFSICIQSV5OWLCZK|\/"
},
"202869": {
"1": "ed2k:\/\/|file|Silicon.Valley.S01E00.Making.Silicon.Valley.1080p.WEB-DL.AAC2.0.H.264-Coo7.mkv|459556506|B37D4A1DD187AD3ED9E2E5BBA2BB84A9|h=SJT6PL53WH56QMKPSDEHDSGCTYCYCD7P|\/"
},
You can’t perform that action at this time.