https://www.google.com/chrome/
https://chrome.google.com/webstore/detail/web-scraper/jnhgnonknehpejjnehehllkliplmbmhn
More tutorials: https://www.webscraper.io/
| To enable PHP in Apache add the following to httpd.conf and restart Apache: | |
| LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so | |
| <FilesMatch \.php$> | |
| SetHandler application/x-httpd-php | |
| </FilesMatch> | |
| Finally, check DirectoryIndex includes index.php | |
| DirectoryIndex index.php index.html |
|  | |
| # Digital Ocean Promo Coupon Code $200 Free Trial | |
| # Get DigitalOcean 1 Year Free Trial.** | |
| ## Steps To Get Free Credit | |
| 1. First open this **[link](https://tapthislink.com/digitalocean)** and **Sign Up** to get your **$200 credit.** | |
| 2. Create your new account, That's it, very simple. Applicable for new Digitalocean Account holder | |
| 3. Enjoy your $200 Digitalocean Credit for one year. No limitation. |
| function getHost($url) { | |
| $parseUrl = parse_url(trim($url)); | |
| if(isset($parseUrl['host'])) | |
| { | |
| $host = $parseUrl['host']; | |
| } | |
| else | |
| { | |
| $path = explode('/', $parseUrl['path']); | |
| $host = $path[0]; |
| #!/usr/bin/env bash | |
| # Credits (based on): J. Elliot Taylor https://gist.github.com/jaytaylor/86d5efaddda926a25fa68c263830dac1 | |
| # Changes: | |
| # - iterate over tag list instead of using only first one | |
| # - optional: basic auth | |
| set -e | |
| set -o pipefail | |
| readonly VER=1.0.0 |
| /** | |
| * extract rar or zip file | |
| * | |
| * @since [1.0] | |
| * @author Richard | |
| * @date 2015-05-05 | |
| * | |
| * @param [string] $file_path ["D:\file\path\a.rar"] | |
| * @param [string] $to_path ["D:\extract\to\path"] | |
| * @return [boolean] |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name domain.com; | |
| autoindex off; | |
| index index.php index.html; | |
| root /srv/www/domain.com/public; |
| sudo su | |
| //Setup Hostname | |
| hostnamectl set-hostname subdomain.domain.tld | |
| ## Basic | |
| sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get autoremove -y && sudo apt-get install software-properties-common | |
| sudo add-apt-repository ppa:ondrej/php -y && add-apt-repository ppa:nginx/stable -y | |
| //Setup SWAP | |
| sudo fallocate -l 1G /swapfile; |
| [data-theme="dark"] { | |
| background-color: #111 !important; | |
| color: #eee; | |
| } | |
| [data-theme="dark"] .bg-light { | |
| background-color: #333 !important; | |
| } | |
| [data-theme="dark"] .bg-white { |
| #!/bin/bash | |
| #============================================================================== | |
| #TITLE: mysql_backup.sh | |
| #DESCRIPTION: script for automating the daily mysql backups on development computer | |
| #AUTHOR: tleish | |
| #DATE: 2013-12-20 | |
| #VERSION: 0.4 | |
| #USAGE: ./mysql_backup.sh | |
| #CRON: | |
| # example cron for daily db backup @ 9:15 am |