This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copy and paste to console to execute | |
function copyText(text) { | |
const temp = document.createElement('textarea') | |
temp.textContent = text | |
Object.assign(temp.style, { | |
position: 'absolute', | |
overflow: 'hidden', | |
display: 'block', | |
width: 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* bling.js */ | |
window.$ = document.querySelector.bind(document); | |
Node.prototype.on = Node.prototype.addEventListener; | |
Node.prototype.find = Element.prototype.querySelectorAll; | |
NodeList.prototype.__proto__ = Array.prototype; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* 借助 FaWave 自动删除所有微博消息 | |
* | |
* FaWave 登入微博账号后(如果同时登录了多个,请先切换到需要删除消息的账号), | |
* 右击 FaWave 图标,点击 "Inspect Popup",在 console 里贴入所有代码运行即可 | |
* 如需中止,直接关掉 Chrome DevTools 窗口即可 | |
* | |
* 2015/2/16 | |
* Coded by Riophae Lee (http://riophae.com) | |
*/ |