- a number in front of most movement and edit keys acts as a multiplier to that key
- e.g. 30j moves the cursor down 30 lines and 3i tora types toratoratora
- editing can be stacked with movement characters
- e.g. dw will delete a word
PSSH - http://archive09.linux.com/feature/151340?theme=print | |
bash tests - http://tldp.org/LDP/abs/html/comparison-ops.html http://tldp.org/LDP/abs/html/fto.html | |
ssh agent - http://www.unixwiz.net/techtips/ssh-agent-forwarding.html | |
Mac KB shortcuts - http://support.apple.com/kb/ht1343 | |
bosh docs - http://docs.cloudfoundry.org/bosh/ |
-
Manifest contains information about a job to start in either the
-
configuration templates/"spec" (from
cf-release/jobs/<jobname>/
) + stemcell + packages (fromcf-release/packages
) -
magic from the BOSH Director (
prepare
) takes the stemcell and starts it and lays over package info and configs in/var/vcap
From http://community.linuxmint.com/tutorial/view/62 and from here https://gist.github.com/hgomez/7074150.
This page http://www.tecmint.com/upgrade-linux-mint-16-to-linux-mint-17/ was less helpful but usseful to see the whole process including screens.
-
Open a terminal and run 'sudo bash' to get a root terminal
-
Using a text editor (as root), replace the release names in the
/etc/apt/sources.list
using your editor of choice
Generate a list of users with a uid greater than 500
awk -F: '$3 > 500 {print $1}' /etc/passwd
Look for users with a space after the username
grep " :x" /etc/passwd
It is possible to set the TZ
variable on a per user or even per script basis.
#!/bin/bash | |
# | |
# Proof of concept | |
# check for user running a program before updating and skip them if they are | |
# | |
PROGRAM="irssi" | |
# Check ps for users running a process name & compare against list of non-admin users | |
# |
I hereby claim:
- I am michaelcoyote on github.
- I am michaelcoyote (https://keybase.io/michaelcoyote) on keybase.
- I have a public key whose fingerprint is DA1E 4F70 F783 3621 61A6 8549 67B5 CBC6 37EA A9D1
To claim this, I am signing this object:
# This is a function so, source me in. | |
# really basic grep function to find IP/netmask octets. | |
function ipgrep() | |
{ | |
# find any pattern from "0.0.0.0" to "259.259.259.259" | |
# TODO fix this so it checks for legal octets (255.255.255.255) (Note: may be some time) | |
grep -o -E '\b(((2[0-5]|1[0-9])|[0-9])?([0-9]){1,2}\.){3}((2[0-5]|1[0-9])|[0-9])?([0-9])\b' | |
} |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] | |
"SPONSORS"="DISABLE" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft] | |
"SPONSORS"="DISABLE" |
# Basic dumb simple networker daemon log grok filter for the NetWorker daemon.log | |
filter { | |
grok { | |
patterns_dir => "./patterns" | |
# | |
# NetWorker logfiles have some unusual fields that include undocumented engineering codes and what not | |
# time is in 12h format (ugh) so custom patterns need to be used. | |
# engcode1_Date&time in ampm format_engcode2_engcode3_engcode4_Parent Process ID_Process ID_engcode5_Process Host_Process Name_Everything else | |
match => [ "message", "%{NUMBER:engcode1} %{DATESTAMP_12H:timestamp} %{NUMBER:engcode2} %{NUMBER:engcode3} %{NUMBER:engcode4} %{NUMBER:ppid} %{NUMBER:pid} %{NUMBER:engcode5} %{WORD:processhost} %{WORD:processname} %{GREEDYDATA:daemon_message}" ] | |
} |