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
| // ==UserScript== | |
| // @name Better Quick Stock | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description makes the quick stock in neopets a little bit better | |
| // @author brunodemarchi | |
| // @match https://www.neopets.com/quickstock.phtml* | |
| // @grant none | |
| // ==/UserScript== |
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
| #lang web-server/insta | |
| ;;;website code | |
| (require mzlib/string) | |
| (struct sent (var function number point simp)) | |
| (define hist (list)) | |
| (define (start request) | |
| (define functs |
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
| # PAM interface in python, launches compare.py | |
| # Import required modules | |
| import subprocess | |
| import os | |
| import glob | |
| import syslog | |
| # pam-python is running python 2, so we use the old module here | |
| import configparser |
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
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| # In[1]: | |
| from gooey import Gooey, GooeyParser | |
| # In[2]: |
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
| /** | |
| * Vendor account ids are a length of 11. This function ensures that the padding of leading zeroes does not | |
| * cause the string to exceed the length of 11 by stripping and re-adding the proper amount of zeroes. | |
| * | |
| * @param vendorAccountId the vendor account ID | |
| * @return String of length 11 with the proper amount of leading zeroes | |
| */ | |
| public static String validateAndConvertVendorAccountId(final String vendorAccountId) { | |
| if (vendorAccountId.length() > 11) { | |
| final String leadingZeroesPattern = "^0+(?!$)"; |