Skip to content

Instantly share code, notes, and snippets.

🎯

听寒 inkedawn

🎯
View GitHub Profile
@inkedawn
inkedawn / gist:394b99b9818c004956c73be5dd93fd24
Last active Jan 13, 2018
国务院答题送流量活动一键领取
View gist:394b99b9818c004956c73be5dd93fd24
<style>
/*!
* WeUI v0.4.0 (https://github.com/weui/weui)
* Copyright 2016 Tencent, Inc.
* Licensed under the MIT license
*/html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{line-height:1.6;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}*{margin:0;padding:0}a img{border:0}a{text-decoration:none}@font-face{font-weight:400;font-style:normal;font-family:weui;src:url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx1AAABfAAAAFZjbWFw64JcfgAAAhQAAAI0Z2x5ZvCBJt8AAARsAAAHLGhlYWQIuM5WAAAA4AAAADZoaGVhCC0D+AAAALwAAAAkaG10eDqYAAAAAAHUAAAAQGxvY2EO3AzsAAAESAAAACJtYXhwAR4APgAAARgAAAAgbmFtZeNcHtgAAAuYAAAB5nBvc3RP98ExAAANgAAAANYAAQAAA+gAAABaA+gAAP//A+kAAQAAAAAAAAAAAAAAAAAAABAAAQAAAAEAAKZXmK1fDzz1AAsD6AAAAADS2MTEAAAAANLYxMQAAAAAA+kD6QAAAAgAAgAAAAAAAAABAAAAEAAyAAQAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOqAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6g
@inkedawn
inkedawn / WeSingDownloader.cs
Last active Feb 27, 2018
“全民K歌” 歌曲下载链接解析
View WeSingDownloader.cs
using System;
using System.Text.RegularExpressions;
using System.Net;
using System.Collections;
public Hashtable parseSong(string playPageUri)
{
const string REGEX_SHARE_URI = "^http:\\/\\/kg\\.qq\\.com\\/share\\.html\\?s=([0-9a-zA-z]+)$";
const string REGEX_PLAY_URI = "\"playurl\":\"(.*?)\"";
const string REGEX_SONG_NAME = "\"song_name\":\"(.*?)\"";
View index.html
<div class="main-container container-fluid card ">
<div class="card-header text-center">
<h1 class="text-primary">Linus Benedict Torvalds</h1>
<img class="rounded-circle img-fluid" src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/69/Linus_Torvalds.jpeg/220px-Linus_Torvalds.jpeg" alt="Linus Benedict Torvalds">
</div>
<p class="bg-info"><i class="fa fa-quote-left"></i>林纳斯·本纳第克特·托瓦兹(Linus Benedict Torvalds,1969年12月28日),生于芬兰赫尔辛基市,拥有美国国籍。他是Linux内核的最早作者,随后发起了这个开源项目,担任Linux内核的首要架构师与项目协调者,是当今世界最著名的电脑程序员、黑客之一。他还发起了Git这个开源项目,并为主要的开发者。</p>
<div class="card-body">
<p>生平:</p>
<ul id="biography">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec accumsan risus cursus augue. In metus tortor, aliquet quis, commodo ut, pharetra vel, diam.</li>
@inkedawn
inkedawn / logSatatics.cpp
Last active Feb 3, 2016
好雨云日志分析-流量统计 https://www.goodrain.com/
View logSatatics.cpp
#include <iostream>
#include <iomanip>
#include <fstream>
#include <set>
#include <string>
#include <regex>
#include <sstream>
#include <cstdlib>
#include <cstring>
You can’t perform that action at this time.