Skip to content

Instantly share code, notes, and snippets.

View MaheshBroDev's full-sized avatar
💭
I may be slow to respond.

MaheshBro MaheshBroDev

💭
I may be slow to respond.
View GitHub Profile
@MaheshBroDev
MaheshBroDev / 24.py
Created November 9, 2021 14:52 — forked from RG2021/24.py
# Creating Flask App Variable
app = Flask(__name__)
output_data = []
crawl_runner = CrawlerRunner()
# By Deafult Flask will come into this when we run the file
@app.route('/')
def index():
@MaheshBroDev
MaheshBroDev / install.php
Created May 6, 2020 06:39 — forked from tschoffelen/install.php
A simple PHP script that automatically downloads and unzips the latest version of Wordpress in the current directory (./), so that I don't have to download it and upload it to my server through FTP manually.
<?php
echo '<pre>';
echo '<span style="color:blue">DOWNLOADING...</span>'.PHP_EOL;
// Download file
file_put_contents('wp.zip', file_get_contents('http://wordpress.org/latest.zip'));
$zip = new ZipArchive();
$res = $zip->open('wp.zip');
if ($res === TRUE) {