Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Look what arrived today. I'm so excited to start tinkering. I might install Kali Linux on another micro SD card8
A while back I saw a spammy ad on a website that looked like a Google ReCAPTCHA checkbox. I accidentally clicked it. Twice!2
Apparently my clock is a Boeing 747-400...
It's actually a clock with a picture of the Sydney Opera House (and yes, I have a livestream of it using 'motion' on ubuntu.)3
I have a few questions:
How do you say "++" in your head:
Vim or Emacs:
How difficult is it to create a custom 401 page in apache while requiring basic auth for the web root. I cant work out how to allow just the file /401.php
I keep getting:
Additionally, a 401 Unauthorized error was encountered while trying to use an ErrorDocument to handle the request.
I've tried the following
ErrorDocument 401 /401.php
AuthName "Site Under Construction - Dev Only"
Allow from all
What am I doing wrong2
1) DevGoogle - Google but all queries assume programming sense of query. Also option to add preferred language(s)
2) a universal file system so that my pen drive works on all devices
3) Firewall filter unblocks my personal domain (currently classified as 'Newly Observed Domain')
My life at the moment is summed up quite well by https://xkcd.com/1586/ . My phone completely died and wouldn't boot in the first week of my five week holiday. When I get home and try to restore it, the computer with the backup fails to boot. I go and try a different computer, wait an hour or so for iTunes to update and Windows decides to update too. I try to update the phone so that it keeps it's data but no, it needs a full reset. I lose all the stuff on there: contacts, photos, texts, 2FA codes. Let's hope I have the emergency codes somewhere. I can't install gmail or google drive because I don't have ios 10 because it doesn't work on an iPhone 4S. The only advantage of this is that it removed obsolete apps that I never used. Which device will fail me next!1
Writing PHP code for advent of code (https://adventofcode.com):
I'll use camel case for that function and snake case for the second one and why not just use all lowercase (what is that called anyway?) for the third function. Variables: $input, $inputs, $a, $count2, $xord, $yord. Why do I have no consistent naming scheme?!?!
Me: pipes something to less
Me: Find the info I need
Me: Press Ctrl+C to close less
Me: Furiously smashes keys on keyboard
Me: Googles 'how to close less'