Dockerized: V2ray + WebSocket + TLS + Web
also see: https://toutyrater.github.io/advanced/wss_and_web.html
Server side sontents:
- Caddyfile
- config.json
- docker-compose.yml
Client side contents:
Dockerized: V2ray + WebSocket + TLS + Web
also see: https://toutyrater.github.io/advanced/wss_and_web.html
Server side sontents:
Client side contents:
Complete tutorial commands and its results and a message exchange between Python and Go as an additional example.
$ brew install protobuf
$ pip install protobuf| // move_semantics1.rs | |
| // Make me compile! Scroll down for hints :) | |
| pub fn main() { | |
| let vec0 = Vec::new(); | |
| let mut vec1 = fill_vec(vec0); | |
| println!("{} has length {} content `{:?}`", "vec1", vec1.len(), vec1); |
| ELASTIC_VERSION=5.6.9 | |
| #ELASTIC_VERSION=6.3.0 |
| from keras import applications | |
| from keras.preprocessing.image import ImageDataGenerator | |
| from keras import optimizers | |
| from keras.models import Sequential, Model | |
| from keras.layers import Dropout, Flatten, Dense, GlobalAveragePooling2D | |
| from keras import backend as k | |
| from keras.callbacks import ModelCheckpoint, LearningRateScheduler, TensorBoard, EarlyStopping | |
| img_width, img_height = 256, 256 | |
| train_data_dir = "tf_files/codoon_photos" |
| # Requirement: pip install ledgerblue | |
| from ledgerblue.comm import getDongle | |
| import struct | |
| ETH_DERIVATION_PATH_PREFIX = "44'/60'/0'/" | |
| class LedgerAccount: | |
| """ | |
| Ledger Ethereum App Protocol Spec is located at: | |
| <https://github.com/LedgerHQ/blue-app-eth/blob/master/doc/ethapp.asc> |
| #!/bin/bash | |
| ACCOUNT="user" | |
| PASSWORD="123456" | |
| ######################################### | |
| function urlEncode() { | |
| python -c " | |
| import urllib, commands, os; |
| # Use this script to test that your Telegram bot works. | |
| # | |
| # Install the dependency | |
| # | |
| # $ gem install telegram_bot | |
| # | |
| # Run the bot | |
| # | |
| # $ ruby bot.rb | |
| # |
| //: A UIKit based Playground for presenting user interface | |
| import UIKit | |
| import PlaygroundSupport | |
| enum Stone { | |
| case Black, White, None | |
| func opposite() -> Stone { | |
| switch self { |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html