- Font Family = Roboto Mono
- Tab Length = 4
- atom-clock
- auto-indent
- autoclose-html
- color-picker
- file-icons
#!/bin/bash | |
ANNOUNCE_URL=$1 | |
if [ -z "$ANNOUNCE_URL" ]; then | |
echo "Announce url is undefined, please provide it as an argument"; | |
exit 1; | |
else | |
echo "Provided announce url is: \`"$ANNOUNCE_URL"\`"; | |
fi |
@echo off | |
forfiles /s /m *.flac /c "cmd /c ffmpeg -i @path -b:a 320k @path.mp3" |
#!/bin/sh | |
# Do both | |
cd `dirname $0` | |
./pull.sh | |
./deploy.sh |
I hereby claim:
To claim this, I am signing this object:
{ | |
"name": "forever-counter", | |
"version": "1.0.0", | |
"description": "", | |
"main": "prime.js", | |
"dependencies": { | |
"big-integer": "^1.6.15" | |
}, | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" |
To match the category code with the actual subcategory go to https://thepiratebay.cr/browse and hover over the subcategories and see what the link is. For example, audiobooks create this link. Codes that start with '1' are audio, and the next two numbers are subcategory identifiers ('02' for audiobooks).
There are a ton other and too many to list that vary depending on the TPB mirror you're referring to
var fs = require('fs'); | |
var bytes = require('bytes'); | |
var sizeof = require('object-sizeof'); | |
var readline = require('readline'); | |
var exec = require('child_process').exec; | |
var filePath = 'tpb2.json'; | |
var buf = ''; | |
var cat = 0; | |
var total = 0; |
//Ported from pCalculator-classic (written in C++) | |
function ClassifyTriangle(a, b, c) | |
{ | |
//ANGLES | |
var result = ""; | |
var abResult = Math.sqrt(Math.pow(a,2)+Math.pow(b,2)); | |
if(abResult == c) | |
{ | |
result += "RIGHT"; |