In your command-line run the following commands:
brew doctor
brew update
# macOS | |
brew install sha3sum | |
# archlinux | |
yay -S sha3sum | |
# usage | |
echo -n hello | keccak-256sum | |
1C8AFF950685C2ED4BC3174F3472287B56D9517B9C948127319A09A7A36DEAC8 - |
In your command-line run the following commands:
brew doctor
brew update
# WARNING: This docker-compose.yml is only for testing purpose. | |
# Parameters: | |
# - name: CONFLUENT_PLATFORM_VERSION | |
# default: 3.0.0 | |
# reference: https://hub.docker.com/u/confluentinc/ | |
# Ports: | |
# - description: Major ports are exposed to host computer | |
# - zookeeper: 2181 | |
# kafka1: 9091 | |
# kafka2: 9092 |
pragma solidity ^0.4.10; | |
// Update: Just use HardHat's: https://github.com/nomiclabs/hardhat/blob/master/packages/hardhat-core/console.sol | |
// Enables event logging of the format `console.log('descriptive string', variable)`, | |
// without having to worry about the variable type (as long as an event has been declared for that type in the | |
// Console contract. | |
contract Console { | |
event LogUint(string, uint); |
package main | |
import ( | |
"fmt" | |
"math/big" | |
"context" | |
"io/ioutil" | |
"github.com/ethereum/go-ethereum/accounts" | |
"github.com/ethereum/go-ethereum/accounts/keystore" |
#!/bin/bash | |
# FZF_DEFAULT_COMMAND utility for fzf | |
# | |
# Tries to use Watchman, Ripgrep (rg), The Silver Searcher (ag) in this order. | |
# ...or falls back the fzf's Unix default. | |
# | |
# TODO: | |
# - Use 'git ls-files -cmod' in Git repositories |
// Package main | |
// Copyright 2017 Kranz. All rights reserved. | |
// Use of this source code is governed by a MIT-style | |
// license that can be found in the LICENSE file. | |
/** | |
Test read file by chunks | |
➜ read ll | |
total 13241936 | |
drwxr-xr-x 5 rlopes staff 170B 16 Jan 01:19 ./ |
# Install tmux 2.8 on Centos | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# cd src | |
cd /usr/local/src | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz |
There are a number of good introductory SQL resources available for free and online. There are also some paid resources which I recommend for beginners, that are very effective, and well worth expensing in my opinion.
A couple of notes: