I hereby claim:
- I am alexjohnj on github.
- I am alexjohnj (https://keybase.io/alexjohnj) on keybase.
- I have a public key ASAABAhSnp1HcvLjWxFiTYJxwMY27AfbSw-jYJq0ddlOrQo
To claim this, I am signing this object:
| #! /usr/local/bin/python3 | |
| """ Requirements: s3cmd, jekyll, gzip & sass. | |
| Mk 2 of the script | |
| To use this script, you'll need to edit your site's _config.yml file and add the following: | |
| s3bucket: s3://bucket-name | |
| Remember: Change the path_to_sass_file & sass_compile_path variables if you want to compile sass files. If you don't want to compile sass files, comment out the call to the compile_sass() function. |
| // vici performs a very basic frequency analysis on a string of text encrypted with a Caesar cipher. | |
| // It will output all possible keys and plaintexts for the ciphertext, with the most likely key/plaintext first and the least likely last | |
| // Usage: vici [ciphertext] | |
| // **NOTE** You'll need to run `go get github.com/alexjohnj/caesar` to build this program | |
| // **NOTE 2** Since this outputs 26 lines of text to the console, you might want to redirect the output to a file. | |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" |
| #!/usr/bin/env julia | |
| # | |
| # A script used to find the length of the great circle joining two points on the | |
| # Earth as well as the azimuth and back-azimuth of the great circle. | |
| # | |
| # USAGE: finddelta LAT1 LONG1 LAT2 LONG2 | |
| # OUTPUT: Absolute distance, angular distance, eq azimuth and back azimuth | |
| # EXAMPLE (Great circle between the poles): finddelta -90 0 90 0 | |
| const EARTH_RADIUS = 6371_000 |
| # This is a generic Makefile that can be used to compile somewhat complicated | |
| # LaTeX documents. It assumes a directory structure like this | |
| # . | |
| # ├── figures/*.{pdf,tex} | |
| # ├── MAIN.tex | |
| # ├── Makefile | |
| # ├── Preamble.tex | |
| # ├── sections/*.tex | |
| # └── latex.out/ | |
| # and that you want to use a LaTeX runner such as latexrun or latexmk. The |
I hereby claim:
To claim this, I am signing this object: