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 | |
| # Check for the correct number of arguments | |
| if [ "$#" -ne 3 ]; then | |
| echo "Usage: $0 directory inputFile1 inputFile2" | |
| exit 1 | |
| fi | |
| directory=$1 | |
| inputFile1=$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
| cros_secure | |
| console= | |
| loglevel=7 | |
| init=/sbin/init | |
| oops=panic | |
| panic=-1 | |
| root=PARTUUID=%U/PARTNROFF=1 | |
| rootwait | |
| rw | |
| dm_verity.error_behavior=3 |
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 | |
| ## Requires custom kernel to be installed in Chrome OS | |
| ## Copies files from my archlinux chroot into a temp folder and runs docker from there. | |
| ## Running this on boot of Chrome OS so my version of the docker daemon is upgraded by | |
| ## pacman in the chroot. | |
| set -e | |
| chroot=/usr/local/chroots/arch | |
| run=/usr/local/tmp/docker |
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
| AmazonS3 s3 = new AmazonS3Client(new PropertiesCredentials(MyClass.class.getResourceAsStream("AwsCredentials.properties"))); | |
| String s3Key = "folder1/folder2"; | |
| String bucketName = Constantes.S3_BUCKET; | |
| String key = s3Key +"/input_chopped/"; | |
| ObjectListing current = s3.listObjects(new ListObjectsRequest() | |
| .withBucketName(bucketName) |