Skip to content

Instantly share code, notes, and snippets.

Sean Nakamura nakaz

  • PNW
Block or report user

Report or block nakaz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nakaz /
Created Oct 25, 2017
React Router Exercise

React Router Exercise

WIP Oct. 24, 2017


AWS S3 Get Started

  1. Sign up for AWS Free Tier account
  2. Build secure IAM settings
  3. Set up roles, groups
  4. Basic permissions
  5. Build S3 bucket
    • Set permissions to IAM group/user
  6. AWS SDK for API
nakaz /
Last active Sep 19, 2017
A python chat server for all sneks to sssssspeak with each other

Nest Chat

Def "Nest": a group of snakes, vipers, or in this case, pythons.

A place for all pythonists to sssssssspeak with each other.


You will need the sys standard library.

nakaz /
Last active Sep 19, 2017
Python function exercise

Python Functions

Building a bunch of scripts to run.

Getting Started

You will need the os,re, and sys Standard Python Libraries.

Instructors should provide a file to help you test your scripts on.

nakaz /
Last active Sep 19, 2017
Cyber Prep - Day 7
  1. Functions

    • def
    • Why we use functions
    • return statements
    • global vs. local variables
    • arguments pass by reference
    • tuple arguments ???
    • keyword and default arguments
  2. Create a python script


This exercise can be performed in Bash, CMD, or Powershell

Follow the instructions

Build a file in your HOME directory.

Do your work in the file. Make sure your is executable. You may comment out lines respective to each task to avoid overwriting/errors.

  1. Build a folders directory and inside, build 10 new directories with the incremented name of dir. We should get something like ./folders/dir1, ./folders/dir2 and so forth.
  2. Create a projects directory in ./folders/dir1 and build a file in the projects dir.

Keybase proof

I hereby claim:

  • I am nakaz on github.
  • I am nakaz ( on keybase.
  • I have a public key ASCG0jS5-JK0kVfSUpr5tPgbblasfmnz7oEyvWOh1XV9Pwo

To claim this, I am signing this object:


Installing Redis

A very basic and quick TLDR; installation of redis for OSX and Linux users.


$ brew install redis
nakaz /
Created Aug 10, 2017 — forked from JoeKarlsson/
Lecture on password encryption, hashing, and bcrypt

How To Safely Store A Password

Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt.

Why Not {MD5, SHA1, SHA256, SHA512, SHA-3, etc}?

These are all general purpose hash functions, designed to calculate a digest of huge amounts of data in as short a time as possible. This means that they are fantastic for ensuring the integrity of data and utterly rubbish for storing passwords.

bcrypt Solves These Problems

How? Basically, it’s slow as hell. It uses a variant of the Blowfish encryption algorithm’s keying schedule, and introduces a work factor, which allows you to determine how expensive the hash function will be.

You can’t perform that action at this time.