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
nakaz / exercise-reactrouter.md
Created Oct 25, 2017
React Router Exercise
View exercise-reactrouter.md

React Router Exercise

WIP Oct. 24, 2017

View aws-s3-get-started.md

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
nakaz / nest-chat.md
Last active Sep 19, 2017
A python chat server for all sneks to sssssspeak with each other
View nest-chat.md

Nest Chat

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

A place for all pythonists to sssssssspeak with each other.

Goals

You will need the sys standard library.

@nakaz
nakaz / py-functions.md
Last active Sep 19, 2017
Python function exercise
View py-functions.md

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 py_functions.zip file to help you test your scripts on.

@nakaz
nakaz / README.md
Last active Sep 19, 2017
Cyber Prep - Day 7
View README.md
  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

View bash-exercises.md

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

Follow the instructions

Build a bash-exercise.sh file in your HOME directory.

Do your work in the scripts.sh file. Make sure your bash-exercise.sh 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 README.md file in the projects dir.
View keybase.md

Keybase proof

I hereby claim:

  • I am nakaz on github.
  • I am nakaz (https://keybase.io/nakaz) on keybase.
  • I have a public key ASCG0jS5-JK0kVfSUpr5tPgbblasfmnz7oEyvWOh1XV9Pwo

To claim this, I am signing this object:

View install-redis.md

Installing Redis

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

MacOS/OSX

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

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.