Site Sponsors:
Return of the Piranha 
Got a cheap, NEW-name Micro SD card. Should have known better, but - after avoiding so many NAND 'knock-offs & outright scams - the card looked genuine?



Yikes. The chips did not even have the decency to die - just trashed my data after working fine for the first bank.

Pure evil.

Knowing what I know from my security & robotics days, I had to either chip it, or get a refund. Times being what they are, we opted for the cash back.

Yet using `dd` and /dev/urandom would have taken days (~150 GB / day!)

So we updated ye olde 'Piranha wipe to gen the files - one group per PID.

Took three 'fish' a few hours to trash 400GB - (odd number of K - yet another sign that the card was untrustworthy!)

Thought I would share the code.

Enjoy the journey,

-- Randall

[ view entry ] ( 147 views )   |  permalink  |  related link
Installing PIP3 on Ubuntu Server 16.04 
p.s: After setting-up LAMP-py, if you need other modules:
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python3 get-pip.py --user

Be sure to 'curl that 'get using the https - Using plain-ol http no longer works.

[ view entry ] ( 687 views )   |  permalink  |  related link
Whose STILL better @Python? 
Apologies for previous posts on political topics - I hate to care so much about non-technical issues - but I do.

Maybe you do, too?

Getting back to what we all know and love, surely the best way to push a post BACK, be to push something onto the stack, BEFORE it?

With such a laudable goal placed FIRMLY in mind, allow me to note that - even though Python 2.7 is decidedly deprecated - how, even at this late stage in the game - Ubuntu has the hands-down BEST Python 3 support for Apache2.

I cannot understand how tenured veterans are yet in denial over the ultimate demise of the 2.x standard... over the epoch, that pattern of deprivation has taken place over, and over, over, and over .. and over (!) again?

Indeed, Python 3 "just works" so well out-of-the-box (*) that I recently gave up at even trying to get the LAMP2 (Python3 + PHP) 'stack to work under CentOS 7. --At the day's ending, turn-key is ever so much to be preferred, 'oer toss-and-turn!


LAMP-Py?


... we are even running Ubuntu 16.04 - even as so decidedly dated - upon our clouds ... to absolutely great effect!

GO - DADDY, GO! (That pun ... intended!)

8-)

Note: Following the previous ('how to' link, below) we yet (P2) had to:
apt search php7
apt search libapache2-mod-php7
-then, with respect to our option set, and in as much as php -v was a dud:
apt-get install php
apt-get install libapache2-mod-php7.0

To be followed by the requisite:
systemctl restart apache2

(*) (how to)


[ view entry ] ( 998 views )   |  permalink  |  related link

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next> Last>>