Flash, Silverlight and (*gasp*) QuickTime plugins in your browser with the modern web are about as necessary as a horse whip is on a Tesla. Well I might be exaggerating a bit. There are still some useful sites out there that actually use these things. Intranet sites that run on IE only for example, or flaky game sites. But any self-respecting web developer has long ditched them in favor of fancy new HTML5 features.
So why would you still run these things in your favorite browser (Firefox right?) where they only take up extra memory and have a bunch of security problems that might end up causing you trouble. There have been enough exploits for the Flash plugin out there to be sure to actually update those plugins every time they ask for it. Which is about every week if I recall correctly.
Anyway, it’s better to turns those damn things off completely and only turn them on when you hit one of those web sites maintained by a dinosaur. That way you’re stopping that evil hacker from taking over your machine with his Flash exploit and you’re gaining some free performance along the way.
In Firefox you can turn those plugins off in your Tools menu, under Add-ons. Just select “Never activate” and you’ll be fine.
Switch it back to “Ask to Activate” if you’d need them again. That way they’ll never activate by accident either, if you forget to turn it back off.
On Chrome it’s a bit more elaborate, but the option “Let me choose when to run plugin content” sounds like a safe bet instead of having plugin code be ran willy-nilly.
IE? Ha! Who cares right?! For anything else, a properly aimed search query should find you the answer in no time.
Oh, and don’t forget to tweak your Flash security settings if you decide to keep it on after all.
JutrØ’s Travva came up as a YouTube suggestion at some point and the track blew me away. I can’t really stick a genre label on it, but it’s a chill, dope, beaty track with ripping synth lines and a powerful female vocal layered on top of it. It’s somewhere in-between dubstep (but not the shitty wobble-bass kind) and hip-hop/rnb/dancehall tracks.
JutrØ is apparently Polish, which probably explains the very annoying to type Unicode “Ø ” ;). He also has some friends that make similarly awesome tunes which you can find on the profile blurb on his Soundcloud page. Forxst is one of those for example and their collaboration Aurea is equally awesome. The video’s are also sublime. Cute girls pointing golden Uzis at you or walking around in dark forests at night, what’s not to like.
Their Czeluść label page has more goodness if you are digging their style.
Another artist creating tracks in somewhat the same vain I ran into is Lenkemz. He seems to be from the UK and has some great bangers up as well.
I started a playlist with my personal favs or these artist to blast while coding away in the office. Check it out if you want a taste of these guys and don’t feel like searching around a lot. If you like the list, be sure to favorite it yourself, cause I’ll most likely be adding more awesomeness to it in the future.
IP cams are great. They keep an infrared eye on your stuff while you’re not around and find out what keeps pooping on your driveway (a cat it turns out). But sometimes things can get a little out of hand.
So here’s a list of things that will trigger the IP cam motion detection you didn’t think of:
- Cats parading on your driveway like they own the place.
- Spiders shaking their arachnid booty in front of the camera while doing their webbing thing.
- Spider webs moving in the wind, up close. All f-ing night.
- The occasional bird.
- The occasional insect in mid-flight. Sometimes even a mot at night caught in the infrared beams.
- Trees and bushes shaking their leaves and branches cause it’s windy as hell.
- Shadows of trees and bushes shaking their leaves and breanches because it’s windy as hell and sunny too.
- Rain showers. Possibly in combination with freaky winds blowing it horizontally in places you didn’t think rain could get at.
- The sun playing peekaboo with some clouds, causing abrupt changes in light levels.
- Car headlights lighting up random bushes, walls and other stuff as they pass by your house.
- Reflections of cats in the cars shiny exterior (what a great excuse for not washing your car).
- Reflections of moving clouds in a puddle on the concrete at the right lighting conditions.
So watch out where and how you send those automated alert emails from the camera. GMail for example doesn’t like it when you send hundreds of emails a day using one account. They find it rather spammy. When this happens, they can block you from sending any more messages that day. This really blows if you have an urgent mail to send. Other mail providers have similar rules.
Uploading the images to a remote FTP server is another option. But make sure you have plenty of space there, and download those images regularly if you don’t want to run out of space.
Photo by Armend Krasniqi, cc-licensed.
Breakcore and drum’n’bass are all cool and shizzle but sometimes you just need something to chill to. Or maybe you simply want to block out those blabbing (but otherwise so nice) colleagues in that open landscape office with some non-distracting music. In that case some soothing ambient music is excellent but it’s still a matter of picking the right tracks so they really don’t make you go “da fuk is that?” when weird noises burst into your ears while the whole point is not to be distracted.
Since Soundcloud is such a great library of free, streamable and sometimes downloadable music, I thought I’d try to find me some good ambient tracks for general chillage. I conveniently packed what I found in a playlist for personal office-chillaxing, but since it’s shared you can find it right here and check it out. It might still grow, or not. Suggestions are welcome. share it, like it, whatever.
Another great playlist I ran into on my quest for chill tunes is this one from no other than the great electronic music producer Moby. Long Ambients1 is a list of long ambient tracks (du-uh) produced for doing yoga, catching sleep, meditate or whatever. They are also great for coding with headphones in loud offices I noticed.
There are links to various other download and streaming platforms from Moby’s site but conveniently you can stream them from Soundcloud again.
The Electronic Frontier Foundation is on the fore-front when it comes to defending our digital rights. Even as a European I think they are doing important work even though they are mostly US centric. This because whatever happens in the US ripples over the pond and affects Europe and the rest of the world anyway. That means that next to larger fast-food portions increased digital surveillance is on its way to the EU as well.
Next to protecting our digital rights they are the author of a number of awesome security plugins and tools like the HTTPS Everywhere and Privacy Badger browser plugins and a driving force behind the Let’s Encrypt free web site certificate tool set.
Next to a lot of security tools and tips (see the site & newsletter) they now have a Summer Security Reboot fund drive where you can get a cool geeky secure-password generating dice set for a mere $20 membership until the 20th of July.
So if you like what they are doing for a secure and free internet in the future, go check them out and get yourself some cool dice in the process.
If you feel more like donating to a EU centric counterpart of EFF, you can check out EDRI.org instead (no dice there though).
Photo by Violet Blue, cc-licensed.
One thing that annoyed me about using Vim was how much keystrokes it took to indent or un-indent a few selected lines of code. My (probably less than ideal) way of doing that was to go into visual mode, select the lines with the movement keys J or K, then use the keys to change the indenting which are
To indent another level, pressing dot after this would work.
In Visual Studio or a typical Windows text editor I’m used to simply selecting the lines by holding shift & moving the cursor keys up or down, then pressing TAB to indent and shift-TAB to un-indent.
I’m so used to using the cursor keys for text manipulation that it’s hard to unlearn this, so I was looking for key mappings to do the same thing in Vim.
Luckily this turned out to be rather easy. If you add the following to your vimrc file, you can shift-tab away to indent your code:
" TAB-mappings to allow indenting of selected text instead of using < & >
vnoremap <Tab> >
vnoremap <S-Tab> <
GNU Wget is a powerful tool when it comes to downloading files from the web or mirroring sites. It’s command line features can be daunting and not very obvious. With some experimentation, reading the (f..) manual and some Googling you can get it to do some pretty neat tricks for you.
All of that is from the command line too, which is great if you want to schedule this kind of magic or use it in a script.
For example, you might want to warm-up your site or WordPress blog so your homepage and all posts linked from it are present in your cache when a visitor arrives. I’m assuming you are using a caching on your site otherwise this is pretty pointless. For WordPress you can use a caching plugin like W3 Total Cache for example.
With Wget, it goes like this:
wget.exe http://n3wjack.net --spider --no-directories --level=1 --recursive
The command line parameters (in order) mean something like:
- Crawl n3wjack.net.
- Crawl it like a spider (follow the links).
- Don’t create directories for downloads.
- Crawl 1 level deep (so anything linked on the homepage is OK, but don’t go deeper).
- Do this recursively (so it actually goes 1 level deep).
- Follow only links that start with
"/209..." (it’s a regular expression).
This one is a trick to have it only follow links to blog-posts because my URL scheme begins with the year of the post (2015, 2016, …). It’s good until 2099, which should do the trick I guess. :)
This way I’m also avoiding it loading all tag, category or page links.
If your site has a different URL scheme you’ll have to change the accept regex pattern to fit your scheme.
You can download Wget from the GNU site. It’s Open Source and is available for Windows, Mac and various Unix systems.
For Chocolatey users, there is a wget package available to install it on your system.