- Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install prerequisites
brew install git hg
brew install osxfuse
(see Mac issues to troubleshoot common errors)- Install Go
# Set variables in .bashrc file | |
# don't forget to change your path correctly! | |
export GOPATH=$HOME/golang | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin |
class RustNightly < Formula | |
url "https://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.pkg", using: :nounzip | |
homepage "http://www.rust-lang.org" | |
sha1 "" | |
version Date.today.to_s | |
def install | |
system "pkgutil --expand rust-nightly-x86_64-apple-darwin.pkg rn" |
This is not an exhaustive list of all interfaces in Go's standard library.
I only list those I think are important.
Interfaces defined in frequently used packages (like io
, fmt
) are included.
Interfaces that have significant importance are also included.
All of the following information is based on go version go1.8.3 darwin/amd64
.
We Gophers, love table-driven-tests, it makes our unittesting structured, and makes it easy to add different test cases with ease.
Let’s create our table driven test, for convenience, I chose to use t.Log
as the test function.
Notice that we don't have any assertion in this test, it is not needed to for the demonstration.
func TestTLog(t *testing.T) {
t.Parallel()
{% block content %} | |
<div class="row card-columns"> | |
{% for i in index %} | |
<div class="col-12"> | |
<div class="card my-5"> | |
<h3 class="card-header">Choice {{ i }}</h3> | |
<div class="card-body px-5"> | |
<div class="row card-deck"> | |
{% for choice in form.choice_1 %} | |
<div class="card"> |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
warning: took more than an hour on my machine, because it had to compile fastcomp
xcode-select --install
- make sure,
python
in your$PATH
is Python 2, not 3 brew install cmake
- follow "install Rust" and "install Emscripten" from https://davidmcneil.gitbooks.io/the-rusty-web/setup-and-hello-world.html
- curl https://sh.rustup.rs -sSf | sh
- add
$HOME/.cargo/env
to your$PATH
(set -U fish_user_paths …
) rustup install nightly
rustup default nightly
GitHub repositories can disclose all sorts of potentially valuable information for bug bounty hunters. The targets do not always have to be open source for there to be issues. Organization members and their open source projects can sometimes accidentally expose information that could be used against the target company. in this article I will give you a brief overview that should help you get started targeting GitHub repositories for vulnerabilities and for general recon.
You can just do your research on github.com, but I would suggest cloning all the target's repositories so that you can run your tests locally. I would highly recommend @mazen160's GitHubCloner. Just run the script and you should be good to go.
$ python githubcloner.py --org organization -o /tmp/output