In about a week, it’s going to be six years that I work in the current project. Somehow I thought it would only be five years this april and it’s six. Wow, time really does fly. I actually forgot that yes, it is already six years. Holy moly. How do I feel about it? I don’t know. Kinda sad, if you ask me. It is the same thing as if you’d forget how old you were, and then suddenly remembered.
Still, we have built something that is used by a lot of people, and (hopefully) will be used by more. And I think that I have grown, as a professional. It is still a long way to go, though.
And I have to go.
Can’t stop now, can I?
And now, a simple trick for getting large files from the internal servers. (scp is a bugger when it is about the download speed!) So, if the server has python installed, just go into the directory where your file is and type:
sudo python -m SimpleHTTPServer # python 2 sudo python -m http.server # python 3
What does it do? Well, it runs a simple HTTP server from the current directory, so now you are serving the directory content over the web and can get it with a simple
8000 being a default port. But perhaps port 8000 is already used on the server and you want to change it; nothing easier. This would be port 80 instead:
sudo python -m SimpleHTTPServer 80 # python 2 sudo python -m http.server 80 # python 3
That’s it! With wget, the speed will be much better than with scp, and that is a fact.
Just don’t forget to stop that server when you have downloaded what you need. =)