Kuna TalTech spordiklubi kodulehekülg on kõige hullem soperdis, mida ma kasutama olen pidanud ja ma seda infot ise otsisin üsna kaua, siis panen siia õigete kodulehtede viited.
How I willingly locked myself out of Facebook (and you can too).
I always regret the time I have spent on social media. I deleted my Twitter (permanently) few months ago. I stopped watching Instagram stories and haven’t seen any this year. I have deleted my Facebook account once (few years ago) and now is the second time to take a break. Because I really need (and would prefer) to study.
Unsplash saatis enda eelmise aasta kokkuvõtte ja mind väga vaimustab, kuidas 7 aastaga entusiasmi pealt lihtsast Tumblri blogist midagi sellist tehnoloogiliselt lahedat välja kasvab. Nende esimese lehe postitus Hacker Newsis (30.05.2013) endiselt kihvt lugemine (ka sellest, kuidas v1 kriitika mõnikord on väga mööda).
Kolmapäeval käisin Python Coding Clubis vaatamas Mikk Meerentsi presentatsiooni Sportliost. Ta on alates 2014 samamoodi õhina pealt üksi teinud enamvähem nende oskustega, mis ta sealt kolmapäevadel õppinud on. See on jällegi huvitav perspektiiv, et kõik on võimalik.
Update and clean.
sudo apt-get update && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove --purge && sudo apt-get -y clean
ctrl+A – beginning
ctrl+E – end
alt+F – move cursor forwadr
alt+B – move cursor back
ctrl+G – exit ssh session or exit recursive search
ctrl+L – clear terminal
ctrl+U – clear line, if curson in the end
ctrl+K – clear line, if curson in the beginning
ctrl+D – logout
mv * .. – move everything one folder up
Located in: /home/robert/.ssh/id_rsa.pub
To generate keys: ssh-keygen
To display in terminal: cat ~/.ssh/id_rsa.pub
Give bash script permissions: chmod +x script.sh
Add additional keys to this file:
New password for current user:
sudo passwd root
Useful guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604
WSL (Windows subsystem for Linux)
explorer.exe . – opens current directory in Explorer.
sudo tcpflow -p -C -i lo port 8080 – listen to port 8080 and see the traffic
This title is for Google. I am just sharing my experience in hosting websites at an affordable price.
For smaller projects, mainly in the past, I have used planet.ee service (provided by Zone). This is 10GB of space, 1 MySQL database (but you can actually fit multiple WP installations into one), free SSL certificate and much more. Absolutely fantastic thing for 11.88€ per year. Very snappy and simple to use.
An idea that you can give me – through a secure channel so that I actually do not get access to those – your social media passwords (full access) for a specific time. And you need to pay for it.
Option one is cheaper but there is no way to get them back before right time. Unless you crack it with a supercomputer.
The second option is more expensive and if you want to get them back before the right time you need to pay penalty. Useful if you would like to lock yourself out from social media.
I used to code by using Notepad++, FileZilla and WordPress’ built in editor. For years. After blowing up one of my sites twice(!) after the failure of built in editor I understood I is not supposed to be so.
Then I did some research and found free Atom. Since then I had only seen it on pictures on agency websites. Took some time for beginner like myself to understand how it works but I love it. It saves so much time and is very much forgiving if I make mistakes.
To get it work through FTP to develop websites you that are hosted on your server you need to install package named Remote FTP, configure the file correctly (instructions are behind the link) and you are ready to go.
For every FTP connection you need separate “folder” where all the files are kept in your computer. If you need to connect no new ftp go File → Open folder (and open just folder).
If you have any questions then there is plenty of information (also about bugs) in Google.
Win+R → write “powershell” without quotation marks → and terminal opens.
Very good instructions are here for Zone.ee server users on how to get to your shared hosting through SSH. For beginners this is super useful.
Ubuntu terminal on Windows 10
It is also possible to use Ubuntu terminal on Windows 10. You can download it from Microsoft Store, for example here. But, before you can install it you have to set your Windows settings to developer mode.
If you do not do this then simply does not work. Maybe there was something in addition to that but at this point I do not remember 🙂 But it took few hours to figure out why does the Microsoft Store installation fails.