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
{"lastUpload":"2020-12-24T07:08:58.569Z","extensionVersion":"v3.4.3"} |
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 python | |
# -*- coding: utf-8 -*- | |
import sys | |
def cipher(text, key): | |
""" From https://stackoverflow.com/a/17984554/7827128 """ | |
return [(c + key) % 256 for c in text.encode('utf8')] |
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
127.0.0.1 localhost | |
# The following lines are desirable for IPv6 capable hosts | |
::1 ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix | |
ff02::1 ip6-allnodes | |
ff02::2 ip6-allrouters | |
ff02::3 ip6-allhosts |
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
/** | |
* Extremely and not at all fast way to find if a given word can be created via a given set of rules | |
* | |
* Can be used to check if a word can be created with a formal grammar. | |
* Replace rule set and input to find out. | |
* | |
* | |
* This script does not check if you are using only specific variables/symbols. | |
* It just checks if the word can be derived to the start symbol. | |
* |
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 node | |
'use strict' | |
/* | |
* This file contains: | |
* Methods to run the euclidean algorithm and the extended euclidean algorithm | |
* and methods to print the calculation steps visually to the console | |
* | |
* RUN: | |
* - node: enter in the console 'node extendedEuclideanAlgorithm.js' |
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
const fs = require('fs') | |
const colors = require('colors') | |
/** | |
* Info option, when true enable performance tracking and other infos | |
*/ | |
let enableInfo = false | |
/** | |
* JSON option, return image paths in JSON format |
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
const fs = require('fs') | |
const path = require('path') | |
const colors = require('colors') | |
/** | |
* Info option, when true enable performance tracking and other infos | |
*/ | |
let enableInfo = false | |
/** |
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
const fs = require('fs') | |
const colors = require('colors') | |
/** | |
* Info option, when true enable performance tracking and other infos | |
*/ | |
let enableInfo = false | |
/** | |
* The new file path |
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 bash | |
# Description: | |
# Easily scan a double sided document once for every side (just turn the paper stack) | |
# through the automatic document feeder and merge with this script these two pdfs to one. | |
# Arguments: | |
# 1) & 2) The paths to the two pdf files that should be combined | |
# 3) The pdf file name of the combined file | |
# Example: | |
# sh .\duplexScanCreator.sh .\DocScan1.pdf .\DocScan2.pdf .\DocScan.pdf |
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 bash | |
# Description: | |
# Seperate a PDF document into many single page PDF documents | |
# Arguments: | |
# 1) The path of the PDF file | |
# 2) The output directory | |
# 3) The output file name NAME_%d.pdf | |
# Get page number |
OlderNewer