Coupon Code: COUPONFCNC
Link: Support me on Buy Me a Coffee
Don't forget to tell us how much money this saved you. Enjoy! 😃
Coupon Code: COUPONFCNC
Link: Support me on Buy Me a Coffee
Don't forget to tell us how much money this saved you. Enjoy! 😃
The provided SQL commands are used to create a new user in MySQL or MariaDB and grant that user all privileges. Here's what each line does:
CREATE USER 'user'@'%' IDENTIFIED BY 'pwd';
user
with the password pwd
.@'%'
part specifies that this user can connect from any host.GRANT ALL PRIVILEGES ON *.* TO 'user'@'%';
user
all privileges on all databases and tables (*.*
).TLDR:
It helps you to find out the commit ID of the current HEAD
git rev-parse HEAD
OR if you want the shorter commit
TL;DR:
wget -r -E -k -p -np -nc --random-wait http://example.com
more : https://brain-dump.space/articles/how-to-get-full-offline-website-copy-using-wget-on-mac-os/
In this list, I will be typically be talking SEO as it relates to Google because Google will likely account for the vast majority of your inbound search traffic. Additionally, if you rank highly on Google, you will probably do well on other search engines anyway. Just like in football if you could play in the Major league you would most likely kill it in the minor league I would begin by explaining why SEO is important talk a little bit about what SEO is about and talk about how those concepts relate to the world wide web. Then talk about some of the things you could do to optimize your site from top to bottom of a typical webpage.
mongodump -h xxx11.mlab.com:11 -u user -p password --authenticationDatabase release-db -d release-db -o /home/dumps
**Options** `-h`: mlab host:port, `-u`: db user, `-p`: db user password, `--authenticationDatabase` `-d`: mlab dbname, `-o`: path to store backupfiles
restore command, to restore locally
mongorestore --db dname /home/dumps
Otherwise to restore in mlab, create a new db and replace the options
# Stop all containers | |
docker stop `docker ps -qa` | |
# Remove all containers | |
docker rm `docker ps -qa` | |
# Remove all images | |
docker rmi -f `docker images -qa ` | |
# Remove all volumes |
import java.io.*; | |
public class TestProcessIO { | |
public static boolean isAlive(Process p) { | |
try { | |
p.exitValue(); | |
return false; | |
} | |
catch (IllegalThreadStateException e) { |
#! /usr/bin/env python | |
# This programm will create paths from root nodes to leafnodes along with values from any json file or structure. | |
import json | |
import pprint | |
json_data = open('sample_json_file.json', 'r').read() | |
json_dict = json.loads(json_data) |