Details
-
LocationNew Zealand
-
Website
-
Github
Joined devRant on 8/12/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Look what arrived today. I'm so excited to start tinkering. I might install Kali Linux on another micro SD card6
-
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.)2 -
I have a few questions:
How do you say "++" in your head:
https://www.strawpoll.me/17342756
Pronouncing "SUDO":
https://www.strawpoll.me/17342763
Vim or Emacs:
https://www.strawpoll.me/1734277117 -
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.
Any suggestions?
I've tried the following
ErrorDocument 401 /401.php
<Directory "/var/www/glype">
AuthType Basic
AuthName "Site Under Construction - Dev Only"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
<Files "/var/www/glype/401.php">
order Deny,Allow
Allow from all
</Files>
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
*Nothing*
Me: Furiously smashes keys on keyboard
Me: Googles 'how to close less'
:q3