This file contains hidden or 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
| /* | |
| <javascriptresource> | |
| <name>Batch Divide Scans save as TIFF...</name> | |
| <about>divide scans and save as TIFF</about> | |
| <category>Layers</category> | |
| <menu>automate</menu> | |
| </javascriptresource> | |
| */ | |
| #target Photoshop |
This file contains hidden or 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
| # Based on https://raw.githubusercontent.com/Homebrew/linuxbrew-core/f204b6b30d3981259a764a29dca1a4b403524c9d/Formula/cryptopp.rb | |
| class Cryptopp < Formula | |
| desc "Free C++ class library of cryptographic schemes" | |
| homepage "https://www.cryptopp.com/" | |
| url "https://github.com/weidai11/cryptopp/archive/CRYPTOPP_8_1_0.tar.gz" | |
| sha256 "8a4e4773a39b0c07d7cea1b8be7a3f7a9d126bd3ac9a9f072f82d3a53a474a87" | |
| license "BSD-3-Clause" | |
| # https://cryptopp.com/wiki/Config.h#Options_and_Defines |
This file contains hidden or 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
| # Docker image to use with Vagrant | |
| # Aims to be as similar to normal Vagrant usage as possible | |
| # Adds Puppet, SSH daemon, Systemd | |
| # Adapted from https://github.com/BashtonLtd/docker-vagrant-images/blob/master/ubuntu1404/Dockerfile | |
| FROM ubuntu:18.04 | |
| ENV container docker | |
| RUN apt-get update -y && apt-get dist-upgrade -y | |
| # Install system dependencies, you may not need all of these |
This file contains hidden or 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
| #!/bin/bash | |
| case $# in | |
| 0) | |
| echo "Usage: $0 {start|stop}" | |
| exit 1 | |
| ;; | |
| 1) | |
| case $1 in | |
| start) |
This file contains hidden or 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
| // Convert PEM string to tls.Certificate | |
| // Based on https://medium.com/@prateeknischal25/using-encrypted-private-keys-with-golang-server-379919955854 | |
| func X509Pem(b []byte) (tls.Certificate, error) { | |
| var pemBlocks []*pem.Block | |
| var v *pem.Block | |
| var pkey []byte | |
| for { | |
| v, b = pem.Decode(b) | |
| if v == nil { | |
| break |
OlderNewer