I hereby claim:
- I am gregsonar on github.
- I am dudnikof (https://keybase.io/dudnikof) on keybase.
- I have a public key whose fingerprint is 5305 4250 D715 3BB0 EB8E EF9C EC70 3F6C BD01 89CB
To claim this, I am signing this object:
| # output folder: | |
| mkdir -p output | |
| # conversion using GNU parallel | |
| find . -type f -iname "*.tif" -print0 | | |
| parallel -0 --bar -j "$(nproc)" ' | |
| outfile="output/{= s:^\./::; s:\.[^.]*$:.jpg: =}" | |
| mkdir -p "$(dirname "$outfile")" | |
| convert {} "$outfile" || echo "ERROR: {}" >> failed.log | |
| ' |
| import os | |
| import json | |
| import tarfile | |
| import urllib.request | |
| import easygui | |
| import configparser | |
| user_docsets_url = 'https://dashes-to-dashes.herokuapp.com/docsets/contrib' | |
| app_title = 'Download Zeal user docsets' |
| // ==UserScript== | |
| // @name Reload on error message | |
| // @namespace http://userscripts.org/users/23652 | |
| // @description Reload the page on an error message you set yourself | |
| // @version 0.5 | |
| // @author JoeSimmons, Nickel | |
| // @grant none | |
| // @include * | |
| // ==/UserScript== |
| //Development version: | |
| function prtctImg() { | |
| var protected_images = document.getElementsByTagName("img"); | |
| for (index = 0; index < protected_images.length; ++index) { | |
| protected_images[index].oncopy = function() {return false;}; | |
| protected_images[index].oncut = function() {return false;}; | |
| protected_images[index].onpaste = function() {return false;}; | |
| protected_images[index].ondrag = function() {return false;}; | |
| protected_images[index].ondragstart = function() {return false;}; | |
| protected_images[index].oncontextmenu = function() {return false;}; |
| def plurals(n): | |
| n = abs(n) | |
| n %= 100 | |
| n1 = n % 10 | |
| if 20 < n > 10: | |
| form = 'баллов' | |
| elif 5 > n1 > 1: | |
| form = 'балла' | |
| elif n1 == 1: | |
| form = 'балл' |
I hereby claim:
To claim this, I am signing this object: