package com.netcracker.dstud.servicepackage.service.specification;
import java.util.concurrent.*;
import java.util.function.*;
public class M
{
public static void main(String[] args)
{
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
| https://www.rust-lang.org/tools/install | |
| https://stackoverflow.com/questions/47379214/step-by-step-instruction-to-install-rust-and-cargo-for-mingw-with-msys2 | |
| 1) rustup-init.exe | |
| 2) customize installation -> Default host triple? x86_64-pc-windows-gnu | |
| or | |
| 2) default installation and then `rustup toolchain install stable-x86_64-pc-windows-gnu && rustup default stable-x86_64-pc-windows-gnu` | |
| https://github.com/rust-lang/rls (rust language server) | |
| 3) `rustup update && rustup component add rls rust-analysis rust-src` |
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
| for num in {1..3}; do | |
| mkdir "$num" | |
| cd "$num" | |
| git clone "https://aaa.git" . | |
| cd ".." | |
| done |
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
| git config --global pull.rebase preserve |
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
| function downloadFile(url) { | |
| var loaded = $.Deferred(); | |
| var request = new XMLHttpRequest(); | |
| request.open('GET', url); | |
| // ! setting the responseType has to be after the `request.open` | |
| // `arraybuffer` is necessary for Internet Explorer and Edge becuase | |
| // they do not support `blob` as response type | |
| request.responseType = "arraybuffer"; | |
| request.onload = function() { |
package aaa;
import com.google.common.util.concurrent.Uninterruptibles;
import io.vertx.core.Vertx;
import io.vertx.core.http.*;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.*;cat | tee -a ~/.bashrc > /dev/null << "EOF"
# supported cases:
# git config user.email
# git clone https://aaa.git bbb && ls -al ~/.gitconfig
# git clone https://aaa.git aaa
# git checkout -b test
# git commit -am 'issue-42"s '
# git commit -am "issue-42's "How to check that CA certificate is untrasted under WSL2 (Ubuntu) and fix it
- Check that certificate is untrusted under WSL2
Result:HOST=abc.foo.cloud # or another openssl s_client -connect ${HOST}:443 -showcertsCONNECTED(00000003)