Check These Out
There's no need to be logged in facebook. I could do more JSON filtering but you get the idea...
Replace u=4 (Mark Zuckerberg, Facebook creator) with desired uid.
Hidden or not hidden... Scary, don't you?
Using this command you can track a moment when usb device was attached.
You might want to secure your AWS operations requiring to use a MFA token. But then to use API or tools, you need to pass credentials generated with a MFA token.
This commands asks you for the MFA code and retrieves these credentials using AWS Cli. To print the exports, you can use:
`awk '{ print "export AWS_ACCESS_KEY_ID=\"" $1 "\"\n" "export AWS_SECRET_ACCESS_KEY=\"" $2 "\"\n" "export AWS_SESSION_TOKEN=\"" $3 "\"" }'`
You must adapt the command line to include:
* $MFA_IDis ARN of the virtual MFA or serial number of the physical one
* TTL for the credentials
Query Wikipedia by issuing a DNS query for a TXT record. The TXT record will also include a short URL to the complete corresponding Wikipedia entry.You can also write a little shell script like:
$ $ cat wikisole.sh
$ #!/bin/sh
$ dig +short txt ${1}.wp.dg.cx
and run it like
$ ./wikisole.sh unix
were your first option ($1) will be used as search term.
This one liner takes the shell code that you can grab off of the web and disassemble it into readable assembly so you can validate the code does what it says, before using it.
The shell code in the above example is from http://www.shell-storm.org/shellcode/files/shellcode-623.php
You can replace "-s intel" with "-s att" to get AT&T format disassembly.
Would create a file with a meaningful title. Dedicated to John Cons, who is annoying us users. Merry Christmas!!!
Schedule your Mac to sleep at any future time.
Also wake, poweron, shutdown, wakeorpoweron. Or repeating with
$ sudo pmset repeat wakeorpoweron MTWRFSU 7:00:00
Query with
$ pmset -g sched
Lots more at http://www.macenterprise.org/articles/powermanagementandschedulingviathecommandline