- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
| (function() { | |
| var CSSCriticalPath = function(w, d, opts) { | |
| var opt = opts || {}; | |
| var css = {}; | |
| var pushCSS = function(r) { | |
| if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
| var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
| for(var i = 0; i < styles.length; i++) { | |
| if(!!styles[i] === false) continue; | |
| var pair = styles[i].split(": "); |
| #!/bin/bash | |
| sudo add-apt-repository ppa:ondrej/php | |
| sudo apt-get update | |
| sudo apt-get install -y apache2 | |
| sudo ufw allow in "Apache Full" | |
| sudo apt-get install -y mysql-server | |
| # After running this command, select (Y), option 2, then (Y) for the rest of the prompts. | |
| sudo mysql_secure_installation |
| #!/bin/bash | |
| # | |
| # This script creates a chrooted user, scp enabled, on an Amazon Linux aws instance | |
| # | |
| # 2017-10-05 | |
| # | |
| # change username and password here: | |
| username="abc" |
| # AWS EC2 | |
| # Remove Apache and PHP old version | |
| # Install Apache 2.4, Mod_SSL and PHP 5.6 | |
| # | |
| sudo service httpd stop | |
| sudo yum erase httpd httpd-tools apr apr-util | |
| sudo yum remove php-* | |
| sudo yum install php56 | |
| sudo yum install php56-xml php56-xmlrpc php56-soap php56-gd php56-mbstring | |
| sudo yum install php56-mysqlnd |
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |
Ramblings and notes of my experiments with AWS which I will later turn into more coherent instructions.
Sooo... I'm about to be released into the wild as a free roaming web developer. I won't have the company hosting anymore and it's damn well about time I got my own shit sorted. After a little reading I have decided to give Amazon Web Services a try. So far I am loving it.
I have oooooooodles of control. It's super nerdy and more importantly, it's super fast. Seriously - I had fun.
When I first set this up i tried following some third party tutorials to get a wordpress server setup and running on Amazon Web Services. After some trial and error I found the proper documentation and everything when much more smoothly (I know right)! The AWS docs are very detailed and easy to follow.
Have you ever wanted to get a specific data from another website but there's no API available for it? That's where Web Scraping comes in, if the data is not made available by the website we can just scrape it from the website itself.
But before we dive in let us first define what web scraping is. According to Wikipedia:
{% blockquote %} Web scraping (web harvesting or web data extraction) is a computer software technique of extracting information from websites. Usually, such software programs simulate human exploration of the World Wide Web by either implementing low-level Hypertext Transfer Protocol (HTTP), or embedding a fully-fledged web browser, such as Internet Explorer or Mozilla Firefox. {% endblockquote %}