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
| sudo add-apt-repository ppa:vbernat/haproxy-1.6 | |
| sudo apt-get update | |
| sudo apt-get install haproxy | |
| # restart service | |
| sudo service haproxy restart | |
| # configuration file | |
| sudo nano /etc/haproxy/haproxy.cfg |
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
| #!/bin/bash | |
| #Makes it public and set up authentication | |
| echo "Installing repo" | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | |
| echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list | |
| echo "Installing binaries" | |
| sudo apt-get update |
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
| # Local Sui network | |
| # Docs: https://docs.sui.io/build/sui-local-network | |
| # Upgrade local: | |
| brew install sui | |
| ## Local explorer: https://explorer.polymedia.app/?network=local | |
| # Install local validator: | |
| brew install sui |
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
| module pckgg::icon | |
| { | |
| use sui::url::{Self, Url}; | |
| public(package) fun get_icon_url(): Url { | |
| return url::new_unsafe_from_bytes(b"data:image/png;base64,asdasoAAAANSUhEUgAAARMAAAENCAMAAAAbq3FhAAAA81BMVEUNLa/////+/v/6/fr09vbp6/Cd+bTL0tyfr/CtrrJO3nKWmpcL6UYI60MH7TkS5EgY4EkI6UAg2k4H6j0L5kMK6DoJ50AL5j0m1FAO4z8tzVkW3EN0h9UW0kE2uGEnw00Wyj6KeH0PwTYnrUkVuTk1loZFhn8lnkoMri62TF1DbMIljUoLnyhhYmQmd3ALjiQnV7WAPkwTeSkiY2AjUk9DQ0gYPbkHUHcLXB5ILTsKPIQRKs0QK8cPLL8QKcYWQD4QMJ0PI34RLTIeIC0HMBEYHSouEiAZGikWGScTGSgXFycWGCIaFSUMHB8UFSINDhQGBgdUr7xfAABOl0lEQVR42ryX3W7jOBKFZVGCHPReDPpq0CsEyEV6AS5iEOiJDEei1olgkCId2e//NHuqSFvyT3Y905k+dlNkiW2zvhyW6OTZB7l4NcafyznnrwTHsIm922U2/ja5nj7e+tf1L9Nr8uwmssYaQ7naozh7Tn84Cn0XFDG6U43/x7upLIQoPsB0U7a4bLdIfIvhiTC7dYBHaAI3c7YAjwJRDsSTQEiAIAZIDoQYsNqAfgNaYQr4j6PAGTQAVcBQQKIA32gB1gB4w+gj+Acr/2T/kvhwGbDXA15Y+sKBCfQB/9IOAFQAQHx3hc1+x8XOB39BMmFFYBknwMisSQGo589vWeIEVe41CRWKhHyXhV2FJgCNVsz7+pcQYGsIsBICaBfg+v/6/PwiFDizCXSR8U7Tsv1b+LH8rQLMV0YALhvn/TUU/kDCb77DBxSAkAA/6vhnA4BPgIVTAOn7nAWg+u+KYpQApwlA |
OlderNewer