Frontier Software

External Utilties

These are utilities that often don’t come included in various Linux distributions. Arch Linux tends to put them in the extra folder

jq

type $(jq '.performer | type' <<<"$schema") type can be null, boolean, number, string, array or object. has(key) https://github.com/shngli/Database-apps/tree/master/SQL create table College(cName text, state text, enrollment int); create table Student(sID int, sName text, GPA real, sizeHS int); create table Apply(sID int, cName text, major text, decision text); insert into Student values (123, 'Amy', 3.9, 1000); insert into Student values (234, 'Bob', 3.6, 1500); insert into Student values (345, 'Craig', 3.5, 500); insert into Student values (456, 'Doris', 3.

nc

Netcat (nc) allows us to write a simple http server in Bash. Though nc was a traditional part of Unix, Linux distributions don’t tend to include it. I installed openbsd-netcat rather than gnu-netcat since it seems to be more actively maintained. A nice tutorial which got me started is Building a Web server in Bash. Besides nc, this introduced me to named pipes created with mkfifo. A simple manpage webapp written in Bash For my first webapp, I want to create a manpage reader.

hq

Github

git

git pull --rebase git rebase --abort Learning git git help git help tutorial git help everyday git help revisions git help workflows GitHub manual full commands list configuration Default .git/conf [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = /srv/git/myprojectname.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master Assume the following history exists and the current branch is master:

tree

man page Before I discovered the tree command, I wasted huge amounts of time manually making grapic directory listings. $ tree ~/webapps/frontiersoftware /home/roblaing/webapps/frontiersoftware ├── archetypes │ └── default.md ├── assets ├── config │ └── _default │ └── hugo.json ├── content │ ├── bash │ │ ├── coreutils │ │ │ ├── _index.md │ │ │ └── sed │ │ │ ├── index.md │ │ │ └── spec │ │ │ ├── basics_spec.