x
-
+
Binary Powers
<
o
>
2 0
=
1
2 1
=
2
2 2
=
4
2 3
=
8
2 4
=
16
2 5
=
32
2 6
=
64
2 7
=
128
2 8
=
256
2 9
=
512
2 10
=
1024
2 11
=
2048
2 12
=
4096
2 13
=
8192
2 14
=
16384
2 15
=
32768
2 16
=
65536
2 17
=
131072
2 18
=
262144
2 19
=
524288
2 20
=
1048576
x
-
+
"find" Command
<
o
>
find
<dir>
-name
<regex>
 . . .
 . . .
-type
<d,f,...>
 . . .
 . . .
-mtime
<+/-><integer>
 . . .
 . . .
-maxdepth
<integer>
 . . .
 . . .
-mindepth
<integer>
 . . .
 . . .
 . . .
 . . .
-exec <command> {} \;
x
-
+
Computer Links
<
o
>
x
-
+
VI Quick Navigation
<
o
>
"/"<string> ENTER
search
"?"<string> ENTER
search (backward)
"n"
next match in search
"N"
previous match in search
<integer>"G"
move cursor to <integer> line
"G"
move cursor to last line
<integer>"z" ENTER
move line <integer> to top of screen
"z" ENTER
move cursor line to top of screen
"|"
move cursor to first column
<integer>"|"
move cursor to <integer> column
"$"
move cursor to last column
<integer>"$"
move cursor to last column <integer> lines down
CONTROL "f"
move forward one full screen
CONTROL "b"
move backward one full screen
"w"
move to next word
"b"
move to beginning of word
<integer> ENTER
move <integer> lines down
")"
move a sentence forward
"("
move a sentence back
"}"
move a paragraph forward
"{"
move a paragraph back
x
-
+
JavaScript
<
o
>
<script src="myScript.js"></script>
debugger;
console.log(   );
clear(   );
localStorage.clear(   );
document.getElementsById( 'name' );
document.getElementsByClassName( 'name' );
document.getElementsByTagName( 'name' );
document.getElementsByName( 'name ');
preventDefault(   );
document.styleSheets[9].rules[9] || document.styleSheets[9].cssRules[9]
document.styleSheets[9].cssRules[9].style.backgroundImage
"text-align: center;" ... "display: inline-block;"
querySelector( body #id );
querySelectorAll( body .class );
JSON.stringify(   ) turns a Javascript object into JSON text and stores that JSON text in a string
JSON.parse(   ) turns a string of JSON text into a Javascript object.
null != element.match(   )
string = element.replace(   )
element.style.zIndex = 9
window (global), var (local fn) and let (local block)
getElementByID(   ) can only be used on "document"
basically there are two event models in JavaScript...event capturing and event bubbling
element.classList.contains( 'class name to search' );
if( document.querySelector( '.mydivclass' ) !== null ){ // .. it exists }

chrome://about
chrome://chrome/settings/clearBrowserData
chrome://settings/cookies
x
-
+
Phone Automation
<
o
>
David
x6028
Dean
x6862
Jeanie
x6824
Jeff
x5468
Kent
x6027
Marc
x6852
Mark
x6317
Sam
x6391
Scott
x5966
Swathi
x6311


AET portable
x6082
AET portable
x6076
AET lead
x5478


Auto Shop
x6079
Computer Lab
x6079
Server Room
x6836
x
-
+
Whiteboard  -  2017/12/18
<
o
>
x
-
+
oxygen ( server )
<
o
>
Linux
  • use PuTTY to SSH to server
  • put server name in the window title
    • can be set in PuTTY
    • can be dynamic with server's command prompt
      • PS1="# \u@\h:\w \t #"a (review oxygen's prompt)
  • use different colors for different servers
Naming
  • general to specific
  • noun then verb
  • camelCase
  • keep database column names in code until ready to output on report
JSON (JavaScript Object Notation)
  • layer between database and user
  • can generate per report and/or for multiple reports
  • make for process/queue time
  • make a daily build to cover multiple files
PHP Headers
  • "base" for error, debugging, language... settings. Pulling in all other headers
  • "database" for connecting to databases
  • "datetime" for formatting dates and times
  • "page" for headers, footers, etc
BASH Scripts
  • set_env
  • backup.sh
  • email.sh
  • diskChk.sh
  • loadChk.sh
  • swapChk.sh
To Do
  • git source control (configs and app code)
  • masquerade as jfab.aosmd.com (instead of oxygen.jfab.aosmd.com)
  • add page loaded timestamp in report footer (already in headers)
x
-
+
WikipediA
<
o
>
x
-
+
Musicians
<
o
>
x
-
+
Audio Clips
<
o
>
x
-
+
Apache2 Server
<
o
>
x
-
+
Hangman (elements)
<
o
>


Wrong Letters:


x
-
+
Jireh Links
<
o
>
x
-
+
Linux
<
o
>
x
-
+
Colors
<
o
>
x
-
+
SQL Joins
<
o
>
x
-
+
Informix
<
o
>
Informix History

x
-
+
Web Utilities
<
o
>
x
-
+
About AOS
<
o
>
x
-
+
Interest Calculator
<
o
>
Principle
Interest
Year(s)
Δ Principle

x
-
+
"Quotes"
<
o
>
x
-
+
Hall of Fame
<
o
>
x
-
+
Hall of Shame
<
o
>
x
-
+
Sandbox
<
o
>
|PANES | | |PANES /^\ |PANES | |~~~| | | |^^^^^^^| / \ /^\ |[]+ | |~~~| |^^^^^^^| | +[]| | | | +[]|/\/\/\/\^/\/\/\/\|^^^^^^^| |+[]+ |~~~~~~~~~~~~~~~~~| +[]| | | [] /^\ [] |+[]+ | | +[]+| [] || || [] | +[]+| |[]+ | || || |[]+ | |_______|-----------------|_______|

Build a sand castle...
or two!

x
-
+
Playground
<
o
>
__________ __ ___ \______ \ | _____ ___ __ ___________ ___ __ __ ____ __| _/ | ___/ | \__ \\ | |/ __ \ __ \ / __\| | \/ \ / __ | | | | |__/ __ \\___ / /_/ \ | \_\ /_/ | | / | \/ /_/ | |____| |____(____ / ____\___ /|__| \___/|____/|___| /\____ | \/\/ /_____/ \/ \/

Run around!

x
-
+
Garage
<
o
>

Place cars here!

x
-
+
Whiteboard  -  2018/01/23
<
o
>
x
-
+
Whiteboard  -  2018/02/13
<
o
>
x
-
+
HP-UX cron log
<
o
>
> CMD: /opt/sysadmin/bin/track_load.sh > /dev/null 2>&1
> root 24601 c Sat Jan 27 05:26:00 PST 2018
< root 24601 c Sat Jan 27 05:26:07 PST 2018
x
-
+
SSH connection attempts
<
o
>
1. Filter for interactive SSH logins
   bash> grep sshd.\*Failed /var/log/auth.log | less

2. Filter for failed connections (i.e. no login attempted, could be a port scanner, etc.)
   bash> grep sshd.\*Did /var/log/auth.log | less
x
-
+
Class Outline - 2018/02/20
<
o
>
  1. Terminal
    • Basics...
      • simple commands...hostname, whoami, pwd, ls...
      • less overhead
      • super flexible...can do everything!
      • great tools
      • automation
      • VI
    • SSH to webserver
      • file structure dev, run and production
      • Files...panes*, hangman*, etc.
      • reversi
  2. Browser
    • mulitiple tabs
      • great for testing...don't refresh
    • incognito window
      • fooled me with localStorage
    • refresh
      • get programming change into memory
      • page is really messed up
    • Inspect/JavaScript console
      • find elements in pages
      • localStorage
      • view CSS
      • type in console
  3. Page "find" layout and functionality
    • issue with highlight inside panes
  4. To Do List
    • explain what I ran into making this pane
x
-
+
Agent Jinxes
<
o
>
Password:
x
-
+
Places to Visit
<
o
>
x
-
+
Three Sysadmin Rules...
<
o
>
x
-
+
Island Albums (K^2)
<
o
>
x
-
+
Travel - NYC...Planning!
<
o
>
x
-
+
Agent Questions
<
o
>
Password:
x
-
+
Companies (Dream)
<
o
>
x
-
+
Whiteboard  -  2018/04/12
<
o
>
x
-
+
Interview Questions
<
o
>
x
-
+
Island Albums (Pumpkin)
<
o
>
x
-
+
Idioms
<
o
>
x
-
+
Agent Emojis (ASCII)
<
o
>
x
-
+
Whiteboard  -  2018/05/14
<
o
>
x
-
+
IKBB
<
o
>
Password:
x
-
+
Travel - NYC...Visit!
<
o
>
x
-
+
Travel Games
<
o
>
x
-
+
PostgreSQL Server
<
o
>
psql
  • Client config file
    • ~/.psqlrc

  • Help
    • \?
    • \? [commands]
    • \? options
    • \? variables
    • \h [NAME]

  • Pager...uses environment's "PAGER" variable
    • \pset pager off
    • \pset pager on

  • Create table
    • CREATE TABLE tableName
      (
        
      id  smallserial not null primary key,
        
      dtCreated  timestamp not null,
        
      dtUpdated  timestamp,
        
      data  jsonb
      );

  • Grants
    • GRANT SELECT, INSERT, UPDATE ON tableName TO userName;
      GRANT SELECT, UPDATE ON SEQUENCE
      tableName_id_seq TO userName;

  • Insert
    • INSERT INTO tableName( dtcreated, data ) VALUES( now(), '{}' );

  • Export table to CSV file
    • COPY tableName TO 'path/fileName.csv' CSV;

  • Delete record(s)
    • DELETE FROM tableName WHERE id >= 1000000;

  • Truncate table
    • TRUNCATE tableName;

  • Import table from CSV file
    • COPY tableName FROM 'path/fileName.csv' WITH( FORMAT CSV );

  • Alter sequence
    • ALTER SEQUENCE tableName_id_seq RESTART WITH 1;

  • Drop table
    • DROP TABLE tableName;
x
-
+
ID Generator
<
o
>
Length
Characters


 
x
-
+
Travel Map
<
o
>
x
-
+
Interesting Words
<
o
>
x
-
+
Whiteboard  -  2018/07/02
<
o
>
x
-
+
Whiteboard  -  2018/07/25
<
o
>
x
-
+
Whiteboard  -  2018/08/10
<
o
>
x
-
+
Open Reversi
<
o
>
x
-
+
Notes (ASCII)
<
o
>
x
-
+
Whiteboard  -  2018/08/31
<
o
>
x
-
+
Agent Vocab
<
o
>
x
-
+
What School Didn't Teach
<
o
>
x
-
+
Whiteboard  -  2018/09/30
<
o
>
x
-
+
Samsung Gear S3 Frontier (info)
<
o
>
x
-
+
OcciSpace
<
o
>
x
-
+
Whiteboard  -  2018/11/19
<
o
>
x
-
+
Recipes (food)
<
o
>
x
-
+
Whiteboard  -  2018/12/10
<
o
>
x
-
+
Samsung Gear S3 Frontier (faces)
<
o
>
x
-
+
Chicken or the Egg
<
o
>
x
-
+
My foxtrot
<
o
>
x
-
+
Whiteboard  -  2019/03/22
<
o
>
x
-
+
Fun Words to Swipe!
<
o
>

Here is my list!
In order of my discovery:
x
-
+
Astrological Signs
<
o
>
x
-
+
Time Share Game
<
o
>

Share fun times by sharing with a friend(s)...
letting them know you are thinking of them.
Don't force...let it happen naturally.
Military time ups the game!

In order of favorites:
CoNtRoL PaNeL
 Colors
 Paper
 Layout
 Open

 Theme

 Sort

 Find

 Edit

 Delete


x
-
+
Help
<
o
>
x
-
+
To Do List
<
o
>
x
-
+
Releases
<
o
>
x
-
+
X-Ray
<
o
>
x
-
+
Sites
<
o
>
x
-
+
Notes
<
o
>
x
-
+
Timer
<
o
>
x
-
+
Media
<
o
>
© 2019 panes.us