Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am yanpozka on github.
  • I am yandry (https://keybase.io/yandry) on keybase.
  • I have a public key whose fingerprint is E056 C8C3 ED59 5990 54C7 1393 EDC0 72B3 20A4 49AC

To claim this, I am signing this object:

@yanpozka
yanpozka / docker-compose.log
Created November 25, 2017 06:34
Docker-compose output
peer | 2017-11-25 06:30:18.338 UTC [endorser] ProcessProposal -> DEBU 2ee Entry
peer | 2017-11-25 06:30:18.338 UTC [protoutils] ValidateProposalMessage -> DEBU 2ef ValidateProposalMessage starts for signed proposal 0xc421c76120
peer | 2017-11-25 06:30:18.338 UTC [protoutils] validateChannelHeader -> DEBU 2f0 validateChannelHeader info: header type 1
peer | 2017-11-25 06:30:18.338 UTC [protoutils] checkSignatureFromCreator -> DEBU 2f1 checkSignatureFromCreator starts
peer | 2017-11-25 06:30:18.339 UTC [protoutils] checkSignatureFromCreator -> DEBU 2f2 checkSignatureFromCreator info: creator is &{DEFAULT 08d3cb7b7e7aa9b1e001378aa0ce558053e7785c68402348fc7c72b290ac10c4}
peer | 2017-11-25 06:30:18.340 UTC [protoutils] checkSignatureFromCreator -> DEBU 2f3 checkSignatureFromCreator info: creator is valid
peer | 2017-11-25 06:30:18.340 UTC [protoutils] checkSignatureFromCreator -> DEBU 2f4 checkSignatureFromCreator exists successfully
peer | 2017-11-25
@yanpozka
yanpozka / cli.log
Created November 25, 2017 06:35
cli output
2017-11-25 06:29:08.164 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2017-11-25 06:29:08.164 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2017-11-25 06:29:08.164 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default escc
2017-11-25 06:29:08.164 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 004 Using default vscc
2017-11-25 06:29:08.213 UTC [golang-platform] getCodeFromFS -> DEBU 005 getCodeFromFS chaincodedev/chaincode/sacc
2017-11-25 06:29:08.337 UTC [golang-platform] func1 -> DEBU 006 Discarding GOROOT package fmt
2017-11-25 06:29:08.337 UTC [golang-platform] func1 -> DEBU 007 Discarding provided package github.com/hyperledger/fabric/core/chaincode/shim
2017-11-25 06:29:08.337 UTC [golang-platform] func1 -> DEBU 008 Discarding provided package github.com/hyperledger/fabric/protos/peer
2017-11-25 06:29:08.337 UTC [golang-platform] GetDeploymentPayload -> DEBU 009 done
2017-11-25 06:29:08.338 UTC [msp/identity] Sign -> DEBU 00a Sign:
@yanpozka
yanpozka / tmux-cheatsheet.markdown
Created February 23, 2018 18:23 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@yanpozka
yanpozka / google-dorks
Created November 19, 2018 18:32 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@yanpozka
yanpozka / udpProxy.go
Created November 26, 2018 22:52 — forked from mike-zhang/udpProxy.go
Implementation of a UDP proxy in Golang
// Implementation of a UDP proxy
package main
import (
"flag"
"fmt"
"log"
"net"
"os"
@yanpozka
yanpozka / web-servers.md
Created May 13, 2021 17:51 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000