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
| """The great game of Rock Paper Scissor""" | |
| import os | |
| import random | |
| def play(rounds): | |
| """Play game() N times and present a scoreboard when complete""" | |
| user_score = 0 | |
| comp_score = 0 |
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 bash | |
| _terraform() { | |
| local cur prev words cword opts | |
| _get_comp_words_by_ref -n : cur prev words cword | |
| COMPREPLY=() | |
| opts="" | |
| if [[ ${cur} == -* ]] ; then | |
| compopt -o nospace |
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 | |
| # | |
| # Startup / shutdown script for the sync gateway server | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: sync-gateway | |
| # Required-Start: $network $local_fs | |
| # Required-Stop: | |
| # Should-Start: $named | |
| # Should-Stop: |
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 | |
| # | |
| # Startup / shutdown script for the couchbase server | |
| # | |
| # Copyright (c) 2011, Couchbase, Inc. | |
| # All rights reserved | |
| # | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: couchbase-server |
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 | |
| import requests | |
| from datetime import timedelta | |
| from datetime import datetime | |
| payload = { | |
| 'command': 'returnChartData', | |
| 'currencyPair': 'BTC_XMR', |
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
| # Use this loop to account for hashcat not handling mask files | |
| for m in $(cat wpa-phones.hcmask); do | |
| cs1=$(echo $m | cut -d, -f1) | |
| mask=$(echo $m | cut -d, -f2) | |
| ./hashcat-cli.bin -a 3 -m 2500 --pw-min 10 capture.hccap -1 $cs1 $mask | |
| done |
NewerOlder