go build -o goencrypt main.go
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
| var fs = require('fs'); | |
| var axios = require('axios') | |
| let arr = []; | |
| let super_arr = []; | |
| let obj; | |
| async function prima (){ | |
| for (i = 1000; i < 3000; i++){ | |
| let obj = {} |
Install Golang
$ sudo apt install golang
Checking Golang version
$ go version
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://hub.docker.com/r/mysql/mysql-server/ | |
| ---- | |
| Install | |
| > docker pull mysql:5.7 (Install Mysql version 5.7) | |
| ---- | |
| Check Image | |
| > docker image ls |
How to get Intersection and Differences of 2 arrays with golang?
- Intersection
package main
import (
"fmt"
)
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
| CONNECT | |
| DELETE | |
| GET | |
| HEAD | |
| OPTIONS | |
| PATCH | |
| POST | |
| PUT | |
| TRACE |
Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask
If you already have Java installed on your system, skip steps Install Cask and Install Java
If you already have Java and Homebrew installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
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
| $> brew cask install java | |
| $> brew install kafka | |
| $> vim ~/bin/kafka | |
| # ~/bin/kafka | |
| #!/bin/bash | |
| zkServer start | |
| kafka-server-start.sh /usr/local/etc/kafka/server.properties |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?