document.ontouchmove = function(event){
event.preventDefault();
}
Or use this solution.https://github.com/timbartsch/no-bounce
document.ontouchmove = function(event){
event.preventDefault();
}
Or use this solution.CMD + SHIFT + 4
And press space key.CMD + SpaceCTRL + SpaceCMD + HF12/F13F11
tabBarStyle={{textAlign: 'center'}}
style={{height:"100vh"}}
ssh-add -K ~/.ssh/[YOUR_PRIVATE_KEY]
Host github.com
HostName github.com
User enzinier
PreferredAuthentications publickey
IdentityFile /Users/jason/.ssh/enzinier-GitHub
AddKeysToAgent yes
UseKeychain yesfunction getUrlParameter(paramName) {
var currentUrl = window.location.search.substring(1);
var urlParams = currentUrl.split("&");
for (var i = 0; i < urlParams.length; i++) {
var paramNames = urlParams[i].split("=");
if (paramNames[0] == paramName) {
return paramNames[1];
}
}
}
yarn global bin
Create new directory in your favorite location.
mkdir ~/.yarn/global
Change default bin location of yarn.
yarn config set prefix ~/.yarn/global
And add path as environment variable in "~/.bashrc".
export PATH=${PATH}:`yarn global bin`
sudo mv /usr/lib/nvidia-375/libEGL.so.1 /usr/lib/nvidia-375/libEGL.so.1.org
sudo mv /usr/lib32/nvidia-375/libEGL.so.1 /usr/lib32/nvidia-375/libEGL.so.1.org
sudo ln -s /usr/lib/nvidia-375/libEGL.so.375.39 /usr/lib/nvidia-375/libEGL.so.1
sudo ln -s /usr/lib32/nvidia-375/libEGL.so.375.39 /usr/lib32/nvidia-375/libEGL.so.1
cat /proc/sys/fs/inotify/max_user_watches
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
curl -X POST -H "Content-Type: application/json" -H "Authorization: {{Your Access Token}}" -H "Cache-Control: no-cache" -d '{
"name": "{{Your Network Name}}",
"description": "{{Your Network Description}}",
"autoCreateSubnetworks": false
}' "https://www.googleapis.com/compute/v1/projects/{{Your Project ID}}/global/networks"
curl -X POST -H "Content-Type: application/json" -H "Authorization: {{Your Access Token}}" -H "Cache-Control: no-cache" -d '{
"ipCidrRange": "10.10.0.0/20",
"name": "asia-east1",
"network": "https://www.googleapis.com/compute/v1/projects/{{Your Project ID}}/global/networks/{{Your Network Name}}"
}' "https://www.googleapis.com/compute/v1/projects/{{Your Project ID}}/regions/asia-east1/subnetworks"
curl -X POST -H "Content-Type: application/json" -H "Authorization: {{Your Access Token}}" -H "Cache-Control: no-cache" -H "Postman-Token: bc7eddb2-be25-29f6-9af4-be948e1519b6" -d '{
"cluster": {
"name": "{{Your Cluster Name}}",
"zone": "asia-east1-a",
"network": "{{Your Network Name}},
"loggingService": "logging.googleapis.com",
"monitoringService": "none",
"description": "{{Your Cluster Description}}",
"subnetwork": "asia-east1",
"nodePools": [
{
"initialNodeCount": 1,
"config": {
"machineType": "n1-standard-2",
"imageType": "GCI",
"diskSizeGb": 100,
"localSsdCount": 1,
"oauthScopes": [
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/sqlservice.admin",
"https://www.googleapis.com/auth/datastore",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring.write",
"https://www.googleapis.com/auth/bigtable.data",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/trace.append"
]
},
"autoscaling": {
"enabled": false
},
"management": {
"autoUpgrade": false,
"autoRepair": false,
"upgradeOptions": {}
},
"name": "{{Your Pool Name}}"
}
],
"masterAuth": {
"username": "admin"
}
}
}' "https://container.googleapis.com/v1/projects/{{Your Project ID}}/zones/asia-east1-a/clusters"
gcloud container clusters list
gcloud config set container/cluster {{Your Cluster Name}}
gcloud config set compute/zone {{Your Zone ID}}
echo "export GOOGLE_APPLICATION_CREDENTIALS={{Your Key File Address}}" >> ~/.bash_profile
gcloud container clusters get-credentials {{Your Cluster Name}}
[ERROR] --initialize specified but the data directory has files in it. Aborting.
spec:
containers:
- name: db-mysql
image: mysql:5.7
args: ["--ignore-db-dir=lost+found"]