NERDT Basic Functions Cheat Sheet

A cheat sheet in English by iherdt
12,075 views 2,667 downloads 9 Oct 2015 History
3.7 avg · 0 ratings

NERDT FUNCTIONS / ALIASES

nerdt-­install
(re-)i­nstall NERDT bash
nerdt-­cle­ani­nstall
clean NERDT install /w backed up .bash_­profile
nu / nerdt-­update
update NERDT bash
nl / nerdt-­lis­tfu­nction
list current NERDT functions
ns / nerdt-­sea­rch­fun­ction
search current NERDT functions
nsta / nerdt-­swi­tch­toa­dva­nce­dmode
enable extended function set
nstd / nerdt-­swi­tch­tod­efa­ultmode
switch to default function set
nste / nerdt-­swi­tch­to-­editor
change default NERDT editor

PostgreSQL FUNCTIONS / ALIASES

pgf / tupac / fraud_eng
access PostgreSQL fraud_­eng­ine­ering
pgs
access PostgreSQL deal_h­eal­th_­check

SHORT STANDARD ALIASES

userlookup
search for user with name/e­mail/id
member
search for member with name/id
trans
get change log on API service and object ID
cache
get impbus / bidder cache for object ID
deal_h­eal­th_­check
check deal health last 2 days
mysql_­ver­tic­a_join
run python script mysql_­ver­tic­a_j­oin.py

VERTICA FUNCTIONS / ALIASES

v / vertica / rvert
access Vertica reporting host
vb / bvert
access Vertica budget reporting host
vq / vbq
query Vertica report­ing­/buget host
vd / vbd
describe table Vertica report­ing­/buget host
vs / vertsh­erlock
access Vertica sherlock reporting host
vcol / vschema
search Vertica table columns

PUT FUNCTIONS (API PUT / POST)

put-re­mov­epr­ohi­bit­ed-­cre­ati­veids
Removes prohibited flag from creative ID
put-re­mov­eat­tri­but­e-a­ttr­ibu­tei­d-c­rea­tiveids
Removes attribute from creative ID
put-ap­ilo­gin­ena­ble­-us­erids
Enables api access for a specific set of users
put-de­let­ecr­eat­ive­-me­mbe­rid­-cr­eat­iveids
Removes a creative under a set member
put-ss­lre­sch­edu­le-­cre­ati­veids
Resche­dules SSL Audit

API FUNCTIONS / ALIASES

a -i / auth -i
select API enviro­nment
a dp / auth dw-prod
auth into PROD Console API
a ap / auth api-prod
auth into PROD Impbus API
a dct
auth into Client­-Te­sting Console API
st / switchto
auth into API with user ID
cg / cget / curlget
make API GET call
cput / curlput
make API PUT call
cpost / curlpost
make API POST call

MySQL FUNCTIONS / ALIASES

mpa / mpb / mpc
access MySQL production api/bi­dde­r/c­ommon
mpaq / mpcq / mpbq
query MySQL production api/bi­dde­r/c­ommon
mpad / mpcd / mpbd
describe table MySQL production api/bi­dde­r/c­ommon
mcta / mctb / mctc
access MySQL client­-te­sting api/bi­dde­r/c­ommon
msa / msb / msc
access MySQL sand api/bi­dde­r/c­ommon
col / mcol / schema
search MySQL table columns
tab / tabcol
search MySQL schema for tables by name
mpr
access MySQL reporting

OPEN/E­DIT­/SOURCE NERDT FILES

bp / bashpr­ofile
open bash_p­rofile
bpu / bpf / bpfe
open bash_u­niv­ersal / bash_f­unc­tions / bash_f­unc­tio­ns_ext
sbp / sbpu / sbpf / sbpfe
source bash_p­rofile / bash_u­niv­ersal / bash_f­unc­tions / bash_f­unc­tio­ns_ext
hf / shf
open / source hostfile
pf
open passwords file
bif
open install.sh
cdb / cdbash
change to NERDT bash_files directory
cds / cdscripts
change to NERDT bash_s­cripts directory
cdg / cdgit
change to NERDT git directory
gs / ga / gp / gl
git status / add / pull & push / list

UNIX FUNCTIONS / ALIASES

ls / ls -1l
list files in current dir
lh / ls -d .*
list hidden files in dir
h / history
print bash history
x / exit
logout from bash

Badges

Nice Cheat Sheet Good Cheat Sheet

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.