Interesting video regarding pin code theft via thermal imaging.
I just heard the Mass Effect track “New Worlds” again. It’s been awhile… love the vibe.
Source: SoundCloud / Jack Wall Music
Damn it! Once again, I’m two years behind the times. This is still an awesome song though.
Source: SoundCloud / Clean Bandit
How To Set Unique Recipients For Cron Task Emails
This probably borders on common knowledge but as I didn’t know until recently, I thought I’d write it down in case someone else comes across the same issue.
The Problem: You want cron jobs to notify completely different email recipients depending on which job is triggered.
The Solution: You can use the
MAILTO= parameter multiple times throughout the
crontab list. Do that. :-)
MAILTO="email@example.com" 0 0 * * * /foo/foo.sh MAILTO="firstname.lastname@example.org" 0 2 * * * /foo/foo2.sh MAILTO="email@example.com" 0 4 * * * /foo/foo3.sh MAILTO="firstname.lastname@example.org" 0 6 * * * /foo/foo4.sh 0 8 * * * /foo/foo5.sh 0 10 * * * /foo/foo6.sh
I had no idea that
MAILTO= could be used multiple times. Many thanks to my Linux brothers at the unix/linux stackexchange site for sharing this bit of wisdom.
Nifty RPM Search Switch
In case I’m NOT the last person on the planet to learn this…
-f switch for RPM shows what package a given file belongs to (assuming of course that RPM was used at all).
[foo@foobox ~]$ rpm -qf /bin/df coreutils-8.4-31.el6_5.2.i686
Thanks to my colleague Boris for passing this along!
Latest addition to the techno playlist: “Let It Be” by Blackmill
Source: SoundCloud / Cheshire_Kat
Geek Stuff That Rocks - Panasonic RPTCM125K Headphones
I’ve been meaning to write a series of posts about geek technology, services, and gadgets I like. Why? Because when I enjoy something I can turn into a freakin’ fanboy. Sorry folks, I just can’t help it. First up on the list: Panasonic RPTCM125K Headphones.
Thanks to @zainy for pointing me to The Wirecutter where these were topping their list.
So why do I like them?
- They’re actually comfortable - I know, hard to believe right? After about an hour, most in-ear headphones usually start feeling like an ice pick stabbing my ear drum. These are different. I’m sure there is ergonomic science technical jargon to explain it. All I know if that they fit really really well.
- They’re inexpensive. If you search around at the usual spots, you can pick these up for under 12-15 bucks.
- They sound “good”. I’m not an audiophile but it’s obvious to me that these can’t compete with $300 ultra-quality headphones (not should they be compared to those). Still, they sound quite decent. Treble tones are clear and sharp. Bass tones are a little lacking but still good.
Final Verdict: A-
Now THIS is how to do the ALS Ice Bucket Challenge right.
Bash one-liner for scraping direct links to top Lifehacker stories of the week
There’s probably a more efficient (and more accurate) way to do this but oh well. It works.
curl -s http://lifehacker.com/tag/highlights/rss | grep -m 4 -i "inset id=" | grep -iv CDATA | egrep -o 'https?://[^"]+'
Great for parsing and sending to readability!
Wow. Fascinating… and a little depressing. #GameOverMan
MySQL Query For Rows Within Time Range
I’m writing this down before I forget and it gets lost to the abyss. Here’s an example query for returning mysql rows between 24-48 hours ago:
SELECT * FROM YOUR_TABLE t WHERE t.datetime_column < DATE_SUB(NOW(), INTERVAL 24 HOUR) AND t.datetime_column > DATE_SUB(NOW(), INTERVAL 48 HOUR)
Thanks to OMG Ponies at stackoverflow for the tip.
Chant of Mul Daya is mighty!
I’ve been playing more Magic 2014 (on PC) lately and recently unlocked a deck called “Chant of Mul Daya”. It’s a friggin’ BEAST. Check it out:
//Creature (21) 1 Artisan of Kozilek 4 Farhaven Elf 4 Grazing Gladehart 1 It That Betrays 2 Oracle of Mul Daya 1 Pathrazer of Ulamog 3 Pelakka Wurm 1 Primeval Titan 1 Sporemound 2 Ulamog's Crusher 1 Vastwood Hydra //Enchantment (4) 4 Khalni Heart Expedition //Sorcery (7) 3 Explore 4 Rampant Growth //Tribal Enchantment (1) 1 Eldrazi Conscription //Tribal Sorcery (2) 2 All Is Dust //Land (25) 25 Forest
(There are some various unlockable cards that can further augment things but I’ll leave those out for now.)
At its heart, this deck has a ruthlessly simple strategy:
- Give land to the player as quickly as possible.
- Try to sustain player health while collecting enough land to unleash MASSIVE heavy-hitting creatures.
At first, I thought this approach might not work but to my surprise, the overall strategy fairs QUITE well. The natural “enemy” to this deck is of course aggro-heavy opponents — it’ll take at least 6+ rounds to get where you reaaaallly need to be. All things considered though, it quite good.
Shout out to my buddy Ron for telling me about this and insisting I try it out. :-)
It’s Trance Tuesday! I’m digging this track from Yuri Kane.