Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

dididi DingK-R

🏠
Working from home
  • Beijing
Block or report user

Report or block DingK-R

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@DingK-R
DingK-R / kvencoder.go
Created Sep 18, 2019 — forked from rhymes/kvencoder.go
key=value encoder for logging library zap (a giant hack)
View kvencoder.go
// adapted from https://github.com/uber-go/zap/blob/master/zapcore/json_encoder.go
// and https://github.com/uber-go/zap/blob/master/zapcore/console_encoder.go
package logging
import (
"encoding/base64"
"encoding/json"
"math"
"sync"
"time"
View xiami_vip.py
#!/usr/bin/env python2
# vim: set fileencoding=utf8
import re, sys, os, urllib, urllib2, random
from mutagen.id3 import ID3,TRCK,TIT2,TALB,TPE1,APIC
from HTMLParser import HTMLParser
cookie = 'member_auth='
opener = urllib2.build_opener()
You can’t perform that action at this time.