Scrips which helps in daily routine work
upwork_unsave_jobs.js
This script helps to unsave all the saved jobs from Upwork
# Install microk8s from the edge channel (Rancher requires Helm 2.15.1 or above) | |
sudo snap install microk8s --classic | |
# Enable useful plugins | |
sudo microk8s.enable dns dashboard storage ingress helm | |
# Allow running priviledged Pods (required by Rancher's `cattle-node-agent`) | |
sudo sh -c 'echo "--allow-privileged=true" >> /var/snap/microk8s/current/args/kube-apiserver' | |
sudo systemctl restart snap.microk8s.daemon-apiserver.service | |
# Setup and install Tiller (part of Helm) |
Run following commands in cmd
. Enter strong password when required.
docker volume create --name open-vpn-data-volume
docker run -v open-vpn-data-volume:/etc/openvpn --rm kylemanna/openvpn ovpn_genconfig -u udp://vpn.domain.com
docker run -v open-vpn-data-volume:/etc/openvpn --rm -it kylemanna/openvpn ovpn_initpki
docker run -v open-vpn-data-volume:/etc/openvpn -d -p 1194:1194/udp --cap-add=NET_ADMIN --restart always kylemanna/openvpn
See also: Free database hosting
Service | Type | RAM | Storage | Limitations |
---|---|---|---|---|
AWS EC2 | IaaS | 1 GB | ||
Azure App Service | PaaS | 1 GB | 1 GB | |
Azure VM | IaaS | 1 GB | 2 GB (non-persistent) | |
Google App Engine | PaaS | 128 MB | 1 GB | Standard Environment only Limited to Go, Java, Node.js, PHP, Python, Ruby; 1 GB/day outbound traffic |
Google Compute Engine | IaaS | 0.6 GB | 30 GB | 1 GB/month outbound traffic (not including China or Australia). |
""" | |
This code is copied and modified from the below repository | |
https://github.com/kbardool/keras-frcnn/blob/master/keras_frcnn/RoiPoolingConv.py | |
original license | |
kbardool/keras-frcnn is licensed under the | |
Apache License 2.0 | |
A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code. |
MySQL 8.0
service from servicescmd
mysqld --console --skip-grant-tables --shared-memory
cmd
in the same pathmysql -u root
select authentication_string,host from mysql.user where user='root';
UPDATE mysql.user SET authentication_string='' WHERE user='root';