Skip to content

Instantly share code, notes, and snippets.

# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/jbernesser/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="sorin"

V1 - Draft

The Turing School strives to create an inclusive, helpful and creative community.

Being immersed in this has instilled in me an instinct to strive for not only person growth, but those around me. Throughout multiple team projects, I have been able to provide growth to the team through knowledge sharing, pair programming, patience and openness. I have seen the first-hand results of success through this approach and am excited to bring this mindset to a professional career.

Although, I recognize the importance of a team in solving problems, I have consistently demonstrated my ability to be self-driven and curious. This can be exemplified by my ability to learn quickly. Within a demanding curriculum, I was able to create projects using techniques/tools/stacks that were not covered. These include a Java desktop game and an Elm microservice. At every opportunity I’ve been driven to learn more, ideate and execute with zero bias.

While learning, I had never stopped sharing. For example, I had held

@Jbern16
Jbern16 / SFblog-outline.md
Last active July 21, 2016 17:00
Blog Outline for Social Fellowship/Scale-Up Wk4

I would like to create an in depth technical blog post about the code structure of the Social fellowship app for Roots Elementary. There are many interesting pattern that are happening that are not something covered in the curriculum. The one I would like to focus on is Single Table Inheritence and Controller Inheritance (Super Controllers) and the benefits on abstraction

Part 1:

I want to focus on what it is, what it isnt' and why the app chose this unconventional rails pattern

Part 2:

Benefits. How it drys up code, how it makes CRUDing like resources super quick. I would like to show some code snippets here that can speak toward what it is.

MVP:

Player must survive unlimited waves of enemies.

You can move(WASD) and shoot in 360 degree radius(Mouse)

Zombies move toward you

Zombies spawn in random places

### Leap
##Leap
My code: [here](https://github.com/Jbern16/exercism/blob/master/javascript/leap/leap.js)
* Responder #1 ([here](http://exercism.io/submissions/9b50b27c92fb45a2848639bbce4d95ae) - This user used a super a clean conditional statement and logic to solve this problem. He broke out what a leap is instead of nesting a conditional and and responding with a boolean directly. I think this approach was very good.
* Responder #2 ([here](http://exercism.io/submissions/5f87d2e1f50242c08904e065dea8dad5) - This user used a similar broken down condiional as I did, however with more conditions. Although morereadable it creates a longer conditional which I am not a fan of doing.
* Responder #3 ([here](http://exercism.io/submissions/aa2c5470f91441ac9c5af928ec58092d) - This user used one very long, one line conditonal. Although short, It is not readable and a little too clever. By breaking it down multiple lines its easier to reason about.
What does it mean to concatenate files? Find an image of an example concatenated file. Why would we want to concatenate files?
Combine files. This will increaase performance and provide an efficient package that our browser can interpret
What does it mean to precompile files? What does this have to do with coffeescript and sass files?
Sass -> CSS, CS -> JS. Our browser needs CSS/JS/HTML. Sass and CS abstractions of their base language/
What does it mean to minify files? Find an image of an example minified file. Why would we want to minify files?
Strip whitespace and uneeded data. This will increaase performance and provide an efficient package that our browser can interpret
Start up the server for Catch 'em All (rails s) and navigate to http://localhost:3000/assets/application.js. Then open up the code for application.js in your text editor. Why are these not the same?
@Jbern16
Jbern16 / hub_cuts.md
Created April 14, 2016 15:27
Github Shorcuts

SOURCE CODE

t -> File Finder l -> code finder w -> switch to new branch or tag

Pull Requests

g + p -> go to your prs c -> create an issue u -> filter by author o + enter -> Open an issue

@Jbern16
Jbern16 / ElmElective.md
Last active April 14, 2016 15:40
Having Fun with Elm Lang

Intro to Elm and the Elm Architecture ~ 20 min

What is elm? What is it used for? Why Elm?

    - Functional - What does that mean? 
    - What is a reactive web-app? 
    - Briefly talk about how it compiles -> JS
    - Simple but deep functionality. 
    - Error Messages are awesome!

Elm Docs

  • How Elm Packages Work
#### Important links:
The Elm Architecture - https://github.com/evancz/elm-architecture-tutorial/
StartApp.Simple - https://github.com/evancz/start-app
Core Libraries - http://package.elm-lang.org/packages/elm-lang/core/3.0.0/
#### Install
Install the Elm Platform by downloading and running the Elm installer for your favorite operating system.
Once you've installed the Elm Platform, you should be able to run the following command:
## Models, Databases, Relationships in Rails
#### What is the difference between a primary key and a foreign key? Where would we find a primary key? What would it be called by default? Where would we find a foreign key? What is the naming convention for a foreign key?
We find a primary key as the main identifier of a table. Example: Teachers: TeacherId. A Foreign creates the relationship between tables.
Example: Teachers : course_id. The naming convention for these are the table they belong to + "_id"
#### Write down one example of:
* a `one-to-one `relationship.
each person has one toothbrush and one toothbrush has one person. This is modeled by combining both to a single table because they are
dependent of eachother