MySQL Download URL
https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz
- Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.SpaServices.Webpack; | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.AspNetCore.Authentication.JwtBearer; |
| // html | |
| // <input type="file" onchange="imagesSelected" multiple accept=".gif,.jpg,.jpeg,.png" /> | |
| async function imagesSelected(event) { | |
| let files = [...event.target.files]; | |
| let images = await Promise.all(files.map(f=>{return readAsDataURL(f)})); | |
| //all images' base64encoded data will be available as array in images | |
| } | |
| function readAsDataURL(file) { |
| #/usr/bin/python | |
| # http://exploreflask.com/en/latest/views.html | |
| # https://stackoverflow.com/questions/51691730/flask-middleware-for-specific-route | |
| # https://dev.to/rhymes/logging-flask-requests-with-colors-and-structure--7g1 | |
| import logging | |
| from logging.handlers import RotatingFileHandler | |
| from flask import Flask, request, jsonify | |
| from time import strftime |
Proof-of-concept to download a file from a URL and save it locally. For example, I may wish to retrieve a JAR file from Nexus.
Uses the http package, which does the basics with raw HTTP protocol support.
Possible update: use request, it is like the Python's requests library. There is a companion package called node-request-progress that tracks download progress. See request-progress on GitHub.
Note: The request package has been deprecated.
| # Freelancing Reviews Samples | |
| ======================================================================= | |
| **** | |
| ======================================================================= | |
| ## Buyer Reviews to Sellers | |
| ======================================================================= |
| export default 'Hello!' |