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 python3 | |
# taken from https://gist.github.com/flavienbwk/54671449419e1576c2708c9a3a711d78 | |
# and modified to work with python3. i also stripped out the pem generation and just dump all the parameters. | |
# Usage : python rsatool.py -n <decimal_modulus> -p <decimal_prime1> -q <decimal_prime2> -e <decimal_public_exponent> | |
# or : python rsatool.py -n <decimal_modulus> -d <decimal_private_exponent> -e <decimal_public_exponent> | |
import base64, fractions, optparse, random, math, gmpy2 as gmpy | |
def factor_modulus(n, d, e): |
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
#popclip | |
name: Icon Test! | |
icon: square rotate=90 filled 55 | |
description: extension to test icon generation by the directory | |
identifier: com.pilotmoon.test-icon-55 | |
action: {} |
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
Text Editing: | |
- com.pilotmoon.popclip.extension.pasteplain | |
- com.pilotmoon.popclip.extension.pasteandenter | |
- com.pilotmoon.popclip.extension.delete | |
- com.pilotmoon.popclip.extension.select-all | |
- com.pilotmoon.popclip.extension.highlight | |
Text Transformation: | |
- com.pilotmoon.popclip.extension.formatting | |
- com.pilotmoon.popclip.extension.uppercase | |
- com.pilotmoon.popclip.extension.lowercase |
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
bar |
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
#!/bin/zsh | |
# #popclip | |
# name: Test | |
# icon: | | |
# square filled svg:<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.153 5.408C10.42 3.136 11.053 2 12 2c.947 0 1.58 1.136 2.847 3.408l.328.588c.36.646.54.969.82 1.182c.28.213.63.292 1.33.45l.636.144c2.46.557 3.689.835 3.982 1.776c.292.94-.546 1.921-2.223 3.882l-.434.507c-.476.557-.715.836-.822 1.18c-.107.345-.071.717.001 1.46l.066.677c.253 2.617.38 3.925-.386 4.506c-.766.582-1.918.051-4.22-1.009l-.597-.274c-.654-.302-.981-.452-1.328-.452c-.347 0-.674.15-1.328.452l-.596.274c-2.303 1.06-3.455 1.59-4.22 1.01c-.767-.582-.64-1.89-.387-4.507l.066-.676c.072-.744.108-1.116 0-1.46c-.106-.345-.345-.624-.821-1.18l-.434-.508c-1.677-1.96-2.515-2.941-2.223-3.882c.293-.941 1.523-1.22 3.983-1.776l.636-.144c.699-.158 1.048-.237 1.329-.45c.28-.213.46-.536.82-1.182z"/></svg> | |
# identifier: com.pilotmoon.test.gist-50786cf53f8c2b4dc765c564703b7db7 | |
# after: show-result | |
# description: test | |
echo -n "12346" |
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
-- #popclip | |
-- name: OF4 | |
-- after: show-status | |
-- lang: applescript | |
if length of "{popclip browser url}" > 0 then | |
set theSource to "From web page: {popclip browser url}" | |
else | |
set theSource to "From application: {popclip app name}" | |
end if | |
set theNote to theSource & " on " & ((current date) as string) & return & return & "{popclip text}" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#popclip | |
name: Comment Out | |
icon: square filled monospaced /* | |
javascript: popclip.pasteText("/* " + popclip.input.text + " */"); |
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
// aardvarks? |
NewerOlder