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
import os | |
import sys | |
import bencodepy | |
import humanize | |
import argparse | |
def total_size_files_torrent(file_name): | |
try: | |
parsed = bencodepy.decode_from_file(file_name) |
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
(function () { | |
var body = document.getElementsByTagName("body")[0]; | |
var bg = document.createElement("div"); | |
bg.setAttribute("style", "position: absolute; z-index: 1000; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.5)"); | |
var form = document.createElement("div"); | |
form.setAttribute("style", "margin: 0 auto; height: 100%; width: 800px; padding: 50px; background: rgb(200, 200, 220);"); | |
form.appendChild(document.createTextNode("Board: ")); | |
var list_select = document.createElement("select"); | |
var lists = boardView.model.listList.models; |
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
// edit usual tracking snippet | |
var _gaq = _gaq || []; | |
_gaq.push( | |
['_setAccount', 'UA-xxxxxxx-1'], | |
['_trackPageview'], | |
['rollup._setAccount', 'UA-yyyyyyyy-1'], | |
['rollup._trackPageview'] | |
); |