Skip to content

Instantly share code, notes, and snippets.

View gkthiruvathukal's full-sized avatar

George K. Thiruvathukal gkthiruvathukal

  • Loyola University Chicago, Argonne National Laboratory (ALCF)
  • Chicago, IL, USA, North America, Earth, ..., Universe
  • LinkedIn in/gkthiruvathukal
View GitHub Profile
for y in *.yaml; do
yq eval .note $y > $(basename $y .yaml).txt
done
#!/bin/bash
# This tries all rotations of Caesar cipher
# These are all parameters. I am going to make command line options to handle them.
# for now, however, you can just change them as needed.
# Parameters (options)
ALPHABET="ABCDEFGHIJKLMNOPQRSTUVWXYZ" # -a
WORDLIST=(`cat /usr/share/dict/words`) # -w
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Cornell University
We gratefully acknowledge support from
the Simons Foundation and member institutions.
arXiv.org > submit
Logged in as gkthiruvathukal | Help | My Account | Logout
Start >> Add Files >> Process >> Metadata >> Preview
Submission Processing
arXiv now processes new submissions and replacements with TeX Live 2016.
Reprocess
Cornell University
We gratefully acknowledge support from
the Simons Foundation and member institutions.
arXiv.org > submit
Logged in as gkthiruvathukal | Help | My Account | Logout
Start >> Add Files >> Process >> Metadata >> Preview
Submission Processing
arXiv now processes new submissions and replacements with TeX Live 2016.
Reprocess
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python3
import sys
in_file = sys.argv[1]
out_file = sys.argv[2]
def add_table_hline(text):
return text.replace(
"\\end{minipage}\\tabularnewline\n\\begin{minipage}",
@gkthiruvathukal
gkthiruvathukal / create_orphan_branch.sh
Created November 10, 2019 15:07
Create orphan branch blank HTML
#!/bin/bash
git checkout --orphan gh-pages
git rm -rf .
touch index.html
git add index.html
git commit -m 'initial gh-pages commit'
git push origin gh-pages