Browse Source

Merging remote and local development branches.

development
Tessa L. H. Lovelace 7 months ago
parent
commit
c20c08c4b7
No known key found for this signature in database GPG Key ID: 1C84CA55B69F81D7
4 changed files with 40 additions and 2 deletions
  1. +9
    -0
      com/getFile.sh
  2. +4
    -2
      com/usr/aliases.src
  3. +2
    -0
      doc/app/miNAS.md
  4. +25
    -0
      f.sh

+ 9
- 0
com/getFile.sh View File

@@ -0,0 +1,9 @@
#!/bin/bash
# @author:'@jakimfett'
# @license;'cc-by-sa'
#
# Gets a file and (optionally) verifies it against a hash.

# sort the inputs
INSTRING=$@
echo "${INSTRING}"

+ 4
- 2
com/usr/aliases.src View File

@@ -27,11 +27,12 @@ alias rbt='( sleep 5 ; reboot ) & logout'
alias sd='shutdown -hP now'
alias nano="nano -w"
alias gg='sudo su --login'
alias lac='laminarc'

# colorized ls:
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
alias ll='ls -lah'
alias ll='ls $LS_OPTIONS -lah'

# Project Locations
alias fsh='cd ~/functions.sh'
@@ -68,6 +69,8 @@ alias update="sudo apt update; sudo apt install -f -y; sudo apt autoremove -y"
alias upgrade="update; sudo apt dist-upgrade -y;"
alias uprepair='update; sudo apt install --fix-broken; sudo apt install --fix-missing;'
alias shutgrade='upgrade; sudo shutdown -hP now'
# figuring out what is installed manually
alias ais="grep 'apt' ~/.bash_history | grep install | grep -v failmuffins | sort | uniq | cut -d' ' -f3- | awk '{print}' ORS=' ' ; echo"

# figuring out what was installed manually
alias ais="grep 'apt' ~/.bash_history | grep install | grep -v failmuffins | sort | uniq | cut -d' ' -f3- | awk '{print}' ORS=' ' ; echo"
@@ -77,4 +80,3 @@ alias syncfiles='rsync -rvhcO --progress'

# making git less obtuse
alias gst='git status'


+ 2
- 0
doc/app/miNAS.md View File

@@ -508,6 +508,8 @@ Here's how to check, download, and verify your image file:

By default, the file will be written to your present working directory (if `pwd` is a writeable location for you).

> lost down a 'does the `touch` command have standardized exit codes, or shall I end up rolling my own, yet again?' rabbit hole and/or trail.

###### Automounting
###### The (verified) Read
###### Writing Out


+ 25
- 0
f.sh View File

@@ -15,6 +15,31 @@
# @todo split actual install into install.sh, obviously
# @todo scan docs for missing/broken links, combine with archive.is replacement?

###
# Author's comment (2018.07.14.2119.gmt.gregorian):
# this is a *very* dangerous tool
# educating yourself mitigates the (karmic) stupidity tax
# remove the following line(s) from execution to violate (some|all) warrenties
#exit 1

###
# hey
# --- # --- # --- # --- #
# submolecular life looks a lot like code.
# --- # --- # --- # --- # --- # --- # --- #
# huh. that's odd.
# --- # --- # --- # --- # --- # --- # --- # --- # --- # --- # --- #


# some prerequisites
# @todo autoinstall, or autocompile?
declare depList=('git' 'ssh' 'rsync' 'mlocate' 'traceroute' 'traceroute6' 'dig')
declare depListDev=('man-db' 'etckeeper')
declare -A missingDep
declare -A autoInstall=('man-db')
declare -A autoCompile=('capn-proto')



# grab the epoc timestamp (for determining how long stuff took to run)
declare -A stateVar


Loading…
Cancel
Save