Check These Out
slighty shorter
I find this terribly useful for grepping through a file, looking for just a block of text. There's "grep -A # pattern file.txt" to see a specific number of lines following your pattern, but what if you want to see the whole block? Say, the output of "dmidecode" (as root):
$ dmidecode | awk '/Battery/,/^$/'
Will show me everything following the battery block up to the next block of text. Again, I find this extremely useful when I want to see whole blocks of text based on a pattern, and I don't care to see the rest of the data in output. This could be used against the '/etc/securetty/user' file on Unix to find the block of a specific user. It could be used against VirtualHosts or Directories on Apache to find specific definitions. The scenarios go on for any text formatted in a block fashion. Very handy.
Replace service --status-all 2>&1 by service --status-all 2>/dev/null to hide all services with the status [ ? ]
Using this command you can track a moment when usb device was attached.
when working with many machines in a computer lab need to know the IP addr is very large, this is a simplistic solution to make things easier
Using this command you can track a moment when usb device was attached.
fade [type] fade-in-length [stop-time [fade-out-length]]
Apply a fade effect to the beginning, end, or both of the audio.
An optional type can be specified to select the shape of the fade curve: q for quarter of a sine wave, h for
half a sine wave, t for linear (`triangular') slope, l for logarithmic, and p for inverted parabola. The
default is logarithmic.
A fade-in starts from the first sample and ramps the signal level from 0 to full volume over fade-in-length sec?
onds. Specify 0 seconds if no fade-in is wanted.
For fade-outs, the audio will be truncated at stop-time and the signal level will be ramped from full volume
down to 0 starting at fade-out-length seconds before the stop-time. If fade-out-length is not specified, it
defaults to the same value as fade-in-length. No fade-out is performed if stop-time is not specified. If the
file length can be determined from the input file header and length-changing effects are not in effect, then 0
may be specified for stop-time to indicate the usual case of a fade-out that ends at the end of the input audio
stream.
All times can be specified in either periods of time or sample counts. To specify time periods use the format
hh:mm:ss.frac format. To specify using sample counts, specify the number of samples and append the letter `s'
to the sample count (for example `8000s').
Tired copy paste to get opcode from objdump huh ?
Get more @ http://gunslingerc0de.wordpress.com
If you want to turn a Git repo into the origin that folks can push to, you should make it a bare repository. See: http://stackoverflow.com/questions/2199897/git-convert-normal-to-bare-repository