- twitter: @cryptoleek
- youtube硬核教程: https://youtu.be/ISjlmMMP7Gg
- https://aptos.dev/nodes/ait/steps-in-ait3/
- https://aptos.dev/nodes/validator-node/run-validator-node-using-docker
- CPU:
#!/usr/bin/env bash | |
# Download VMware Fusion Pro without Bcom account | |
# | |
# By default, the latest verson will be downloaded, extracted and prepped for install | |
# Use '-k' to keep download file compressed, exiting after download | |
# Use '-v VERSION' to specify desired version (13.0.0 or higher required) | |
KEEP_COMPRESSED=false | |
USER_VERSION="" |
import struct | |
import zipfile | |
import time | |
import os | |
from binascii import crc32 | |
def commonprefix(m): | |
"Given a list of pathnames, returns the longest common leading component" | |
if not m: return '' | |
s1 = min(m) |
To install tcptraceroute on Debian/Ubuntu:
$ sudo apt-get install tcptraceroute
To install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:
$ sudo yum install tcptraceroute
apt-get update && apt-get install build-essential automake autoconf libtool git clang -y && export CC=clang | |
ver=2.6.0 | |
wget --no-check-certificate https://tls.mbed.org/download/mbedtls-$ver-gpl.tgz | |
tar zxf mbedtls-$ver-gpl.tgz | |
cd mbedtls-$ver | |
sed -i "s/DESTDIR=\/usr\/local/DESTDIR=\/projects\/dists\/mbedtls/g" Makefile | |
LDFLAGS=-static make install | |
cd .. |
#!/bin/sh | |
# cross & static compile shadowsocks-libev | |
PCRE_VER=8.41 | |
PCRE_FILE="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VER.tar.gz" | |
MBEDTLS_VER=2.6.0 | |
MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz" |
require 'titleize' | |
require 'colorize' | |
Encoding.default_internal = Encoding::UTF_8 | |
Encoding.default_external = Encoding::UTF_8 | |
$dir = Rake.original_dir.encode(Encoding::UTF_8) | |
Dir.chdir($dir) | |
puts "Executing in (#{$dir})..." |
---- | |
## XFCE Desktop ## | |
---- | |
# How to install XFCE Desktop Environment in Kali Linux: | |
Code: | |
```apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies``` | |
# How to remove XFCE in Kali Linux: | |
Code: |
$ s3cmd get s3://us-east-1.elasticmapreduce/libs/s3distcp/1.latest/s3distcp.jar | |
$ hadoop jar ./s3distcp.jar --src s3a://<bucket>/input/ --dest=s3a://<bucket>/output |
SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.
apt-get install sshpass