Skip to content

Instantly share code, notes, and snippets.

View riophae's full-sized avatar

Fangzhou Li riophae

  • Beijing
View GitHub Profile
@riophae
riophae / copy-links.js
Last active August 11, 2017 15:54
Get links of samples on PhotographyBlog.com
@riophae
riophae / stripiT.rb
Created June 16, 2017 09:49 — forked from torque/stripiT.rb
Script to strip various iTunes atoms from purchased AAC files via AtomicParsley.
#!/usr/bin/env ruby
# usage: stripiT.rb
# the original files will be OVERWRITTEN.
# Script to remove extraneous/unwanted atoms from iTunes purchased files by way of AtomicParsley.
# Output should be comparable to the atoms left over after reencoding the file in iTunes itself.
# I only care about songs, so I have no clue how well this applies to video files
# Some information taken from: https://code.google.com/p/mp4v2/wiki/iTunesMetadata
@riophae
riophae / bling.js
Last active August 29, 2015 14:22 — forked from paulirish/bling.js
/* bling.js */
window.$ = document.querySelector.bind(document);
Node.prototype.on = Node.prototype.addEventListener;
Node.prototype.find = Element.prototype.querySelectorAll;
NodeList.prototype.__proto__ = Array.prototype;
@riophae
riophae / deleteweibo.js
Created February 26, 2015 15:09
Delete all weibo with FaWave
/*!
* 借助 FaWave 自动删除所有微博消息
*
* FaWave 登入微博账号后(如果同时登录了多个,请先切换到需要删除消息的账号),
* 右击 FaWave 图标,点击 "Inspect Popup",在 console 里贴入所有代码运行即可
* 如需中止,直接关掉 Chrome DevTools 窗口即可
*
* 2015/2/16
* Coded by Riophae Lee (http://riophae.com)
*/