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 | |
# gauth.py | |
import doctest | |
import time | |
import base64 | |
import struct | |
import hmac | |
import hashlib |
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
import java.util.*; | |
import java.io.PrintStream; | |
import java.util.Scanner; | |
public class A { | |
Scanner sc = new Scanner(getClass().getResourceAsStream(FILENAME)); | |
static final String FILENAME = "file.in"; | |
PrintStream out = System.out; |
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/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
APPLICATION="${0##*/}" | |
USAGE="Cookbook installer | |
usage: $APPLICATION -c cookbooks | |
Ensures chef as a dependency and installs cookbooks specified with -c. | |
THIS MUST BE RUN AS ROOT. This script only works with Redhat Enterprise Linux 5 or Mac OSX. |
NewerOlder