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 | |
# As described in https://bugs.launchpad.net/bugs/1766076 | |
### Installation Instructions: | |
# 1. Install file into `/usr/local/bin/reset-tb` | |
# | |
# 2. Optional: allow password less sudo by creating a file `/etc/sudoers.d/allow-reset-tb` with the following content: | |
# ----8<----- | |
# <your username> ALL = NOPASSWD: /usr/local/bin/reset-tb | |
# ----8<----- | |
# |
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/sh | |
STACK_URL=myuser.stackstorage.com | |
STACK_USER=myuser | |
STACK_PASSWORD=nooneknowsthis | |
curl \ | |
--silent \ | |
-X POST \ | |
-H "Content-Type: application/json" \ |
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
import java.math.BigInteger; | |
import java.security.InvalidAlgorithmParameterException; | |
import java.util.Scanner; | |
/** | |
* @version 1 | |
* @author ChloeWake | |
* | |
*/ | |
public class EAN13 { | |
public static void main (String[] args){ |