<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tony Kyriakidis on Medium]]></title>
        <description><![CDATA[Stories by Tony Kyriakidis on Medium]]></description>
        <link>https://medium.com/@tonykyriakidis?source=rss-c97ce61a75d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gXAbcXP6QJBNFOF5hDS8kw.jpeg</url>
            <title>Stories by Tony Kyriakidis on Medium</title>
            <link>https://medium.com/@tonykyriakidis?source=rss-c97ce61a75d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:28:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tonykyriakidis/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Generating SSL Certificates with Certbot (Nginx, Ubuntu 18.04)]]></title>
            <link>https://medium.com/@tonykyriakidis/generating-ssl-certificates-with-certbot-nginx-ubuntu-18-04-ae5dbdd4ae58?source=rss-c97ce61a75d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae5dbdd4ae58</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[https]]></category>
            <category><![CDATA[ssl-certificate]]></category>
            <dc:creator><![CDATA[Tony Kyriakidis]]></dc:creator>
            <pubDate>Sun, 02 Jun 2019 22:46:04 GMT</pubDate>
            <atom:updated>2019-06-02T22:54:08.318Z</atom:updated>
            <content:encoded><![CDATA[<h3>Generating and Automating SSL Certificates with Certbot</h3><p>This guide is written for Nginx on an Ubuntu 18.04 server but you should be able to follow along with older versions of Ubuntu. For Apache or any other server and different versions of Ubuntu (or other operating systems) check <a href="https://certbot.eff.org/">https://certbot.eff.org/</a> .</p><h3>1. Installing Certbot on Ubuntu</h3><p>Installing certbot on the server</p><pre>sudo apt-get update<br>sudo apt-get install software-properties-common<br>sudo add-apt-repository universe<br>sudo add-apt-repository ppa:certbot/certbot<br>sudo apt-get update<br>sudo apt-get install certbot python-certbot-nginx</pre><h3>2. Run Certbot</h3><p>After installing, run Certbot:</p><pre>sudo certbot --nginx<br># IF FOR ANY REASON (ADVANCED USERS) YOU WANT THE CERTIFICATE ONLY:<br># sudo certbot --nginx certonly</pre><h3>Wildcard certificates (Optional):</h3><p>If you want to obtain a wildcard certificate (for subdomains such as <a href="http://test.example.com/">test.example.com</a> or app.example.com) using Let’s Encrypt’s new ACMEv2 server, you’ll also need to use one of Certbot’s DNS plugins:</p><pre># REPLACE *.example.com and example.com with your domain!</pre><pre>sudo certbot -a dns-plugin -i nginx -d &quot;*.example.com&quot; -d example.com --server <a href="https://acme-v02.api.letsencrypt.org/directory">https://acme-v02.api.letsencrypt.org/directory</a></pre><h3>How to renew certificates:</h3><p>Since certificates last 90 days, you have to renew them preferably before they expire by using the following command:</p><pre>sudo certbot renew</pre><h3>Automated certificate renewal with Cron</h3><p>Having to manually renew certificates is inefficient and therefore we are going to create a cron job so that the server automatically does that for us.</p><pre>sudo crontab -e</pre><p>If its your first time you will get the option to choose an editor, use Nano if you don’t know much about editors.</p><p><em>NOTE!: Certbot requires sudo to execute properly meaning that the cron should be assigned to the user: root by using sudo crontab -e. if you are already the root user you can just use: </em><em>crontab -e</em></p><p>Use the arrows to go to the end of the file and then type the following:</p><pre># renews SSL certificate every day at 8:00<br>0 8 * * * sudo certbot renew</pre><p>to save and exit the editor press CTRL+X and press Y to save.</p><p>For more information on Cron and Cron jobs check this out: <a href="https://www.ostechnix.com/a-beginners-guide-to-cron-jobs/">https://www.ostechnix.com/a-beginners-guide-to-cron-jobs/</a></p><p><strong>Note</strong>:</p><p>You can test if the renewal of certificates without actually requesting them by running the following command:</p><pre>sudo certbot renew --dry-run</pre><p><strong>If you have any questions or you are struggling with any part let me know.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae5dbdd4ae58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Executing Python Scripts Everywhere on Your System (Unix)]]></title>
            <link>https://medium.com/@tonykyriakidis/executing-python-scripts-everywhere-on-your-system-linux-9c914611ec99?source=rss-c97ce61a75d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c914611ec99</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python3]]></category>
            <dc:creator><![CDATA[Tony Kyriakidis]]></dc:creator>
            <pubDate>Thu, 03 May 2018 14:13:24 GMT</pubDate>
            <atom:updated>2018-05-03T14:18:33.866Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever written a little Python script that you wanted to execute instantly without cd’ing into the folder or typing out the whole path? Me too.</p><p><em>I use a Mac, so the following methods should be applicable to any Unix or Linux system.</em></p><h3>Short Version:</h3><ol><li>Find which python you use with which python or which python3 for python3</li><li>Copy the path and paste it at the start of the file, preceded by this: #! <br>Example: #! /usr/bin/python</li><li>Make the file executable:<br>chmod +x tester.py</li><li>Make a directory to put the executables in:<br>mkdir ~/bin/</li><li>Move the script file in the bin folder:<br>mv tester.py ~/bin/</li><li>Edit .bash_profile or .bashrc:<br>nano ~/.bash_profile OR nano ~/.bashrc</li><li>Add the folowing line:<br>export PATH=&quot;$PATH:$HOME/bin&quot;</li><li>Refresh the bash file:<br>source ~/.bash_profile OR source ~/.bashrc</li><li>Try it. Go to any folder and type the name of your file<br>tester.py</li></ol><h3>Full Version with explanations:</h3><h3>#! Shebang it</h3><p>First of all you need to add a #! Shebang line to the beginning of your Python script. <br>The Shebang goes at the top of your script and indicates to our system where Python is (and which version we want to use).</p><ol><li><strong>Find out where python lives. </strong>Open the terminal and type:<br>which python<br><em>Output:</em><br>/usr/bin/python<br>For me, this version of Python is 2.7. I want to use python 3.6, so I will execute the following command:<br>which python3<br><em>Output:</em><br>/Library/Frameworks/Python.framework/Versions/3.6/bin/python3</li><li><strong>Add the path to your script.</strong> Here is my test.py script — the first line is the shebang line:<br>#! /Library/Frameworks/Python.framework/Versions/3.6/bin/python3<br>print(“If you see this, it works”)</li></ol><h3>Give it executable permissions</h3><p>Run the following command in the terminal to make the script executable (make sure you are in the same directory as the file):</p><p>chmod +x tester.py</p><h3>Move it in the bin folder</h3><p>I created a dir in my home folder called bin (mkdir ~/bin/) and moved my tester.py script in there:</p><p>mv tester.py ~/bin/</p><h3>Make the bin folder executable</h3><p>nano ~/.bash_profile</p><p>OR (if .bash_profile doesn’t exist)</p><p>nano ~/.bashrc</p><p>It will open a text editor in the terminal, add the following line at the end and press CTRL-X, then press Y and then ENTER to save and exit:<br>export PATH=&quot;$PATH:$HOME/bin&quot;</p><p>Now we have to re-source it for the changes to take effect:<br>source ~/.bash_profile OR source ~/.bashrc</p><h3>Try it</h3><p>Go to a random folder and type the name of your file like below:<br>tester.py<br><em>Output:</em><br>If you see this, it works</p><p>Done.</p><h3>Sources</h3><ul><li><a href="https://stackoverflow.com/questions/6967331/how-do-i-install-a-script-to-run-anywhere-from-the-command-line?utm_medium=organic&amp;utm_source=google_rich_qa&amp;utm_campaign=google_rich_qa">https://stackoverflow.com/questions/6967331/how-do-i-install-a-script-to-run-anywhere-from-the-command-line?utm_medium=organic&amp;utm_source=google_rich_qa&amp;utm_campaign=google_rich_qa</a></li><li><a href="https://stackoverflow.com/questions/3743812/making-python-script-accessible-system-wide?utm_medium=organic&amp;utm_source=google_rich_qa&amp;utm_campaign=google_rich_qa">https://stackoverflow.com/questions/3743812/making-python-script-accessible-system-wide?utm_medium=organic&amp;utm_source=google_rich_qa&amp;utm_campaign=google_rich_qa</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c914611ec99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Workflow for Small Teams]]></title>
            <link>https://medium.com/@tonykyriakidis/git-workflow-for-small-teams-60adaa99cfb0?source=rss-c97ce61a75d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/60adaa99cfb0</guid>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Tony Kyriakidis]]></dc:creator>
            <pubDate>Tue, 01 May 2018 06:39:00 GMT</pubDate>
            <atom:updated>2018-06-06T09:10:39.802Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*5EQzlD6RdsgM_383zH3AXw.png" /><figcaption>Git workflow for small teams</figcaption></figure><p>For the first time, after many years of programming here and there with no real project experience, I took on a project to develop the back end system of a new platform for a company. For the first time, I’ve had to work with a front-end developer. Because of this, I’ve decided to document everything I learn. I had to learn how to collaborate on Git so I did some research and ended up with the following workflow.</p><p><em>The following pieces of code require that you have initialized a Git repository or cloned one. If you haven’t, please read a beginner’s tutorial on doing so (</em><a href="https://git-scm.com/book/en/v2/Getting-Started-Git-Basics"><em>this one,</em></a><em> or </em><a href="http://rogerdudler.github.io/git-guide/"><em>this easy one</em></a><em>).</em></p><h3>Creating Branches</h3><p>To collaborate with Git on new features, branches are necessary. By default, the branch ‘<strong>Master’</strong> is created with every initial Git repository. The branch ‘<strong>Master’</strong> should be the only one in sync with the production server. We need to create another branch to build, fix and test features and bugs. We will call this branch ‘<strong>Dev’ </strong>(Develop).</p><ol><li>Checkout to the Master branch<br>git checkout master</li><li>Create a new branch based on the Master branch<br>git checkout -b dev master</li><li>Switch to the Dev branch<br>git checkout dev</li><li>Create a feature, bug or anything on top of the Dev branch<br>git checkout -b bug1 dev</li></ol><p><strong>The most commonly used command after this would be the creation of new branches:</strong></p><p>git checkout -b bug1 dev</p><p>bug1 is the new sub-branch and dev is the main branch. The included -b flag will create the new branch and switch to it automatically so that you can start creating things immediately.</p><p><strong>And switching branches:</strong><br>git checkout bug1</p><h3>Merging Branches</h3><p>After you are satisfied with what you have created, or a bug has been fixed, you will need to merge it to the Dev branch:</p><p>Change back to the Dev branch<br>git checkout dev<br>Merge the feature or bug branch with Dev<br>git merge bug1</p><p>Now if we want to merge the Dev branch with Master, we first need to go to the Master branch:<br>git checkout master <br>Then merge Dev. Be cautious of the --no-ff flag!<br>git merge --no-ff dev<br>--no-ff means merge with no fast forward. What that means is that it will create a commit node which keeps track of who performed each merge.</p><p>You can delete a merged local branch with:</p><pre>git branch -d branchname</pre><p>If it’s not merged, use:</p><pre>git branch -D branchname</pre><h3>Sources</h3><ul><li><a href="https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows">https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows</a></li><li><a href="https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging">https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging</a></li><li><a href="https://stackoverflow.com/questions/14168677/merge-development-branch-with-master">https://stackoverflow.com/questions/14168677/merge-development-branch-with-master</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60adaa99cfb0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Misinformation Apocalypse]]></title>
            <link>https://medium.com/@tonykyriakidis/misinformation-apocalypse-26800363a438?source=rss-c97ce61a75d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/26800363a438</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[misinformation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Tony Kyriakidis]]></dc:creator>
            <pubDate>Sun, 25 Feb 2018 10:55:49 GMT</pubDate>
            <atom:updated>2018-02-26T00:28:48.146Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*_Lq-qhK7BY7OplhXtxGjrg.png" /></figure><p>We are already living it. But it’s only just the start.</p><p>Misinformation is a bigger problem than people realize. In a few years or even months, we will not be able to distinguish the difference between real information and fake information.</p><p>A very recent example was the 2016 U.S. Presidential election. Russian efforts to influence the election are now undeniable. Tens of millions of dollars where spent over several years to build a sophisticated and broad system that influenced American opinion. By publishing native content they tried to convince their audiences that they were authentic American voices (<a href="http://bit.do/rus-us">http://bit.do/rus-us</a>). U.S. Special counsel Robert Mueller unveiled details of a widespread and coordinated campaign by Russians to promote and influence a Pro-Trump meddling (<a href="http://bit.do/rus-us2">http://bit.do/rus-us2</a>).</p><p>Denver Guardian, a fake news website, published a story on the 5th of November 2016 (3 days before the election) with the title: “FBI Agent Suspected In Hillary Email Leaks Found Dead In Apparent Murder-Suicide”. The story alleged that an FBI agent who was investigating Hillary Clinton had been found dead in a Maryland house fire. The story was published on Facebook where it was shared by more than half a million times and generating 15.5 million impressions (<a href="http://bit.do/hillary2">http://bit.do/hillary2</a>).</p><p>But it’s only getting worse. With Machine Learning and Artificial Intelligence on the rise, text, voice and image manipulation has become easier than ever. Companies and individuals are developing real-time face capture and reenactment programs will enable people to create false video confessions, catfishing, and many more criminal possibilities (example with former U.S. President Bush: <a href="http://bit.do/ai-fa).">http://bit.do/ai-fa).</a></p><p>Lip syncing from audio files has enabled artificial intelligence to recreate accurate lip movement into target video clips. Once again, this enables criminal possibilities such as false video confessions, catfishing and many more (example with former U.S. president Obama: <a href="http://bit.do/obama2).">http://bit.do/obama2).</a></p><p>Another big hit on the internet right now is the current trend of Deepfakes. Deepfakes are Artificial Intelligence generated fake porn videos where faces of porn stars are swapped with anyone ( <a href="http://bit.do/df13">http://bit.do/df13</a> ). Deepfakes usually swap celebrity faces onto porn performers but people are using them now to create fake porn of their friends and classmates (<a href="http://bit.do/df11">http://bit.do/df11</a>). This is very concerning since people can use it as blackmail.</p><p>With the constant improvement of Machine Learning and Artificial intelligence in combination with Social Platforms where information can spread very fast, we will be unable in many cases to distinguish either false information or true information. What is concerning me is that people are not aware of the problem at all.</p><p>Don’t believe everything you read.</p><p>Originally published on <a href="https://www.linkedin.com/pulse/misinformation-tony-kyriakidis/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26800363a438" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 7 reasons why I am NOT dropping out of University to start my business.]]></title>
            <link>https://medium.com/@tonykyriakidis/why-i-am-not-dropping-out-of-university-to-start-my-business-addab2ed2285?source=rss-c97ce61a75d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/addab2ed2285</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[dropout]]></category>
            <category><![CDATA[business]]></category>
            <dc:creator><![CDATA[Tony Kyriakidis]]></dc:creator>
            <pubDate>Thu, 01 Jun 2017 12:41:26 GMT</pubDate>
            <atom:updated>2017-08-13T11:44:56.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ZRdQeljOfbN_cZEeymRMg.jpeg" /></figure><p><em>This post is based on a personal opinion. Not all parts are applicable to other studies. Tuition fees, facilities and student benefits vary in different universities and countries. This post does not mention the benefits an individual gets from the learning outcomes of their study. Instead it focuses more on what comes with it.</em></p><p>If you are studying right now and you are interested in startups and businesses in general, you have probably read about people dropping out of their studies to live the “startup life”. Bill Gates(Microsoft), Mark Zuckerberg(Facebook), Larry Ellison(Oracle), Evan Spiegel(Snapchat) are just a few examples of successful drop outs. You rarely read stories of the thousands of drop outs that never made it.</p><p>I study in The Hague, The Netherlands, I consult companies, I plan events, I manage the Social Media channels of two companies, I work on a few side projects and I am launching my big project soon.</p><p>I have thought about it too, many times. Should I drop out and focus entirely on my startup?</p><p>No.</p><p>Here are some reasons why not to drop out:</p><h3><strong>1. The Digital Library</strong></h3><p>Every university has a free online library for their students that is connected to other online libraries. Try searching for that book you want to buy on the digital library before buying it. There is a big chance that you can find it on there for free. It will save you a lot of money especially if you are someone like me who loves reading books about any topic.</p><p><strong><em>Free books, articles, statistics… Never. Stop. Learning.</em></strong></p><h3>2. The Facilities</h3><p>The university compound has many facilities that you can have access to. For example, the university library, silent rooms for studying and working, meeting rooms for hosting actual meetings with other students or clients, some universities have free gyms, coffee corners and computer workstations.</p><p>There are many free facilities you can use and you can probably find a full list on the university’s website.</p><h3>3. Computers and Equipment</h3><p>Is your computer broken or do you own a desktop PC that limits your portability? No problem, the university has many computer areas where you can just log in and start working. The computers also have a lot of useful pre installed software. Some universities give you the option to borrow laptops as well, to use at home.</p><p>Many universities also have other equipment you can borrow. My university has a lot of cameras and camera equipment (lights, tripods, microphones, etc) that I can borrow and use for university assignments, personal projects, or work outside the university.</p><h3>4. Free Software</h3><p>Microsoft office word, excel, powerpoint, SPSS, adobe programs, you name it. Your school has licences for a lot of software that cost a lot of money to buy. You can check your university’s software by checking their website and from there you can download them all for free.</p><h3>5. Student Discounts</h3><p>As a student you get discounts at a lot of places. Here are some:</p><ul><li>Cinema</li><li>Bookstores</li><li>Amazon</li><li>Gym</li><li>Bars &amp; Restaurants</li><li>Museums</li><li>Tourist Activities in all countries</li></ul><p>There are so many student discounts. If you want to find more, go online and search for “student discounts”.</p><h3>6. Discovering other talent</h3><p>I have met incredible individuals during my study. Some of them are creative thinkers, others are passionate presenters, and some are executers and leaders. With some of them I have started businesses and with others I collaborate on external projects. But most importantly, I have found people who have the same passion as me, and that helps and keeps me motivated to grow.</p><h3>7. Free Public Transport(or at least a discount)</h3><p>This one does not apply to all countries but at least here in The Netherlands I enjoy free travel on all mediums (train, tram, metro, bus) during the weekdays because I’m a student.</p><p>Being able to travel for free nationwide has helped me explore the country and discover amazing new places. It has allowed me to visit friends and family without having to pay for travel costs and believe me, the costs are high.</p><p>For work and business, I have used free travel to go to meetings and visit clients every week. It has saved me a huge amount of money that I can now invest in things for my personal development or business.</p><h3>One last note</h3><p>You have time. Constantly I hear from people that their study takes up too much of their time and that they can’t concentrate on other things. This is true for some studies but in reality the problem is not your study.</p><p>The problem is you. If you really want it, you have to stop making excuses and start doing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=addab2ed2285" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>