-
Basic Install
-
Step
- Use pritunl install shell for basic setup
- Reference Vultr Install WireGuard Server part , reinstall WireGuard Server again
-
Issue check
-
Can't Delete WG interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import paramiko | |
from sshpubkeys import SSHKey | |
# | |
# Small Utility class for getting ssh connection remote host public key | |
# for add Bitbucket pipeline ssh key with md5_fingerprint and sha256_fingerprint | |
# | |
def get_hostfile(host): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Custom IntelliJ IDEA VM options | |
# https://www.jetbrains.com/help/idea/tuning-the-ide.html#87971013 | |
-Xms2g | |
-Xmx8g | |
-XX:+G1GC | |
# https://blog.shiftleft.io/understanding-jvm-soft-references-for-great-good-and-building-a-cache-244a4f7bb85d | |
-XX:SoftRefLRUPolicyMSPerMB=512 | |
-Djava.net.preferIPv4Stack=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Online VB Compiler. | |
' Code, Compile, Run and Debug VB program online. | |
' Write your code in this editor and press "Run" button to execute it. | |
' | |
' 參考來源 | |
' https://github.com/Chao-wei-chu/TWD97_change_to_WGS | |
' 因為朋友需求 , 試試調整成vb結構 | |
' | |
Module VBModule |
- Reference
- https://stackoverflow.com/questions/63924043/mongo-replicaset-in-docker-couldnt-add-user-not-master
- https://stackoverflow.com/questions/27187591/deploy-mongodb-replicaset-servers-with-docker-on-different-physical-servers/32180276
- https://docs.mongodb.com/manual/core/replica-set-priority-0-member/
- https://www.howtogeek.com/howto/30184/10-ways-to-generate-a-random-password-from-the-command-line/
- Suggestion
- Review all of the mongod.conf setting when you want to go Production
Script for all server
- Step 1: create private key and public key
- https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/
- ssh-kengen -c KEY_ACCOUNT_NAME
- Step 2: Copy private key to Server ~/.ssh , and chmod 600 to file
- Step 3: Setup public key On BitBucket
- Step 4: add ssh config at Server , and chmod 600 to file
Host bitbucket.org
User git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This is the config file used for the docker images. | |
# It allows all users to do anything, so don't use it on production systems. | |
# | |
# Do not configure host and port under `listen` in this file | |
# as it will be ignored when using docker. | |
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration | |
# | |
# Look here for more config file examples: | |
# https://github.com/verdaccio/verdaccio/tree/master/conf |
Akamai doc is really hard to understand.
- AstinCHOI/AkamaiPurgeExample.java https://gist.github.com/AstinCHOI/417b520ed7bf8bc7f5b5eb61fdc8eb42
- Akamai EdgeGrid Client for Java for looking testcase https://github.com/akamai/AkamaiOPEN-edgegrid-java
- Fast Purge Api for looking JSON Data format https://developer.akamai.com/api/core_features/fast_purge/v3.html#postinvalidateurl
Using https://start.spring.io/ to start project and add depenedency Library
docker run --rm -v {PWD}:/local openapitools/openapi-generator-cli generate \
-i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml \
-g java-vertx-web \
-o /local/out/java-vertx-web
- https://cloud.google.com/community/tutorials/run-laravel-on-appengine-standard
- https://orangecat.tw/google-app-engine-app-example-with-laravel/
Doing at cloud shell
composer create-project --prefer-dist laravel/laravel [YOUR-PROJECT-NAME]
NewerOlder