I hereby claim:
- I am tachoknight on github.
- I am tachoknight (https://keybase.io/tachoknight) on keybase.
- I have a public key ASDTzM7eupsOqXef72Y5fxGXKDk3uFicWs9PR3Q1xJdUIgo
To claim this, I am signing this object:
| #!/bin/zsh | |
| # This script requires a filename to be passed in. | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 <image-file>" | |
| exit 1 | |
| fi | |
| if [ ! -f "$1" ]; then | |
| echo "Error: File '$1' does not exist or is not a regular file." |
| #!/bin/bash | |
| help() { | |
| cat << EOF | |
| Options: | |
| -1 one file per line | |
| -k bytes | |
| -F classify | |
| -R recurse | |
| -r reverse |
| --[[ | |
| This lua script is for a TableTop Simulator game I'm working on called | |
| "May I" that is similar to Rummy. In the game 12 cards are dealt to | |
| all the players, with the player to the left of the dealer getting an | |
| extra card. This is my solution at getting it working, and also as | |
| a way to learn more Lua. | |
| --]] | |
| -- Fixed color array | |
| colors = {} |
| #!/bin/bash | |
| # This script assumes you are running fail2ban (https://www.fail2ban.org) | |
| # and have also installed the "geoiplookup" command | |
| # Note that this script uses sudo because the fail2ban logs are typically | |
| # root-owned | |
| # This is an empty array that will be populated with the names | |
| # of the countries we get from geoiplookup | |
| COUNTRIES=() |
| struct ContentView: View { | |
| static let fruits = ["apple", "pear", "banana"] | |
| func callFruit() -> some View { | |
| print("Getting called!") | |
| return SomeOtherView(fruit: "apple") | |
| } | |
| var body: some View { | |
| NavigationView { |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| BASE_DIR=/home/tachoknight/apple-swift | |
| BUILDS_DIR=$BASE_DIR/builds | |
| rm -rf $BASE_DIR | |
| mkdir -p $BUILDS_DIR | |
| cd $BASE_DIR | |
| git clone https://github.com/apple/swift.git swift | |
| ./swift/utils/update-checkout --clone --scheme master |
| package main | |
| import ( | |
| "fmt" | |
| "strconv" | |
| ) | |
| func main() { | |
| var err error |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |