Skip to content

Instantly share code, notes, and snippets.

Rocky LUO enimo

Block or report user

Report or block enimo

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
@LinusU
LinusU / README.md
Last active Aug 28, 2018 — forked from apla/icons_and_splash.js
Icons and Splash images for your Cordova project. (with iOS 7 support)
View README.md

Usage

Install cordova into node_modules

npm install cordova

Add icons_and_splash.js

@PeterDing
PeterDing / baidu_mp3_album_downloader.py
Last active Feb 22, 2017
baidu mp3 专辑下载 python 脚本-------------用法:python baidu_mp3_album_downloader.py url## url 是 http://music.baidu.com/song/23473715http://music.baidu.com/album/783596 -- # 移到仓库 https://github.com/PeterDing/iScript
View baidu_mp3_album_downloader.py
#!/usr/bin/env python2
# vim: set fileencoding=utf8
import re, sys, os, random, time, json, urllib2, logging, argparse
from mutagen.id3 import ID3,TRCK,TIT2,TALB,TPE1,APIC,TDRC,COMM,TCOM,TCON,TSST,WXXX,TSRC
from HTMLParser import HTMLParser
parser = HTMLParser()
s = u'\x1b[1;%dm%s\x1b[0m' # terminual color template
ua = 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36'
View console-args-test.js
// Console arguments testing
var apc = [].slice;
(function(){
console.log( apc.call(arguments) );
})( "false", 1, undefined, null, ["foo","bar","baz"], {a:1,b:2}, false );
(function(){
console.log.call( console, apc.call(arguments) );
You can’t perform that action at this time.