Skip to content

Instantly share code, notes, and snippets.

View benjaminEwhite's full-sized avatar

Benjamin E White benjaminEwhite

  • Raleigh NC
View GitHub Profile
@benjaminEwhite
benjaminEwhite / script.md
Created April 4, 2019 15:40
Script for third capstone presentation for Thinkful's data analytics program

Running the capstone 3 presentation as an evaluator

For their third and final capstone, students are asked to present the findings of the open-ended business research they do, identifying their own dataset.

This presentation is open to other members of the Thinkful community, but you should play the role of emcee, which means that you should introduce the student, then tell everyone the format ("Sara will present her research and afterwards she'll take questions and answers").

Remind the student to share their screen and make their presentation deck viewable for the audience.

When the presentation is done you should ask a small number of impromptu follow up questions. Then open it up to the audience for questions.

@benjaminEwhite
benjaminEwhite / 4 - Mock Interview: Final.md
Last active February 6, 2019 16:43 — forked from alfaraday/1 - Mock Interview: Experimentation.md
Mock interview scripts and rubrics for the Data Science program. These scripts are intended for interviewers only, please do not share this link.

Final Interview

This script covers the final interview for the course.

Because this is a project-based interview, questions should be tailored to the project itself, but a rough guideline is below.

Afterwards, write up comments and ways to improve and submit them via the Typeform linked in your dashboard.

  • What did you build?
  • Why did you choose this?
@benjaminEwhite
benjaminEwhite / java_for_pythonistas.md
Last active March 15, 2016 00:43
notes from java4python

Java Self Study from here

Data types

Primitive / Object versions (Java has both)

  • int / Integer
  • float / Float
  • double / Double
+-- angular.js
+-- angular-mocks.js
+-- app/
        +-- components/
        	+-- helloService.js
            +-- helloServiceSpec.js
        +-- index.html
+-- karma.conf.js

+-- node_modules/

@benjaminEwhite
benjaminEwhite / fizz_buzz_function_demo_solution.py
Created May 14, 2014 17:19
fizzbuzz with functions demo solution
import sys
def _is_divisible(a, b):
""" Is a evenly divisible by b ? """
return a % b == 0
def fizz_buzz(limit=100):
""" Do fizz buzz up to limit number """
for val in range(1, limit+1):
@benjaminEwhite
benjaminEwhite / side-effects1.py
Created May 14, 2014 17:05
simple objects don't get changed
my_number = 10
def change(a_number):
a_number = 3
print(my_number)
change(my_number)
print(my_number)
@benjaminEwhite
benjaminEwhite / function_that_calls_function.py
Created May 14, 2014 16:11
function calling function example
def print_function():
""" I'm also a function, but I don't take any parameters"""
print "I'm {}, and I'm printing now".format(print_function.__name__)
def subtractor(a, b):
"""I subtract b from a and return the result"""
print "I'm a function. My name is {}".format(subtractor.__name__)
print "I'm about to subtract {} and {}".format(a,b)
return a - b # i output a value by using the return statement
@benjaminEwhite
benjaminEwhite / function_no_args.py
Created May 14, 2014 15:58
example of function with no arguments
def print_function():
""" I'm also a function, but I don't take any parameters"""
print "I'm {}, and I'm printing now".format(print_function.__name__)
if __name__ == '__main__':
print_function()
@benjaminEwhite
benjaminEwhite / function_demo.py
Last active September 28, 2022 23:49
demonstration of python functions
def subtractor(a, b):
"""I subtract b from a and return the result"""
print("I'm a function. My name is {}".format(subtractor.__name__))
print("I'm about to subtract {} and {}\n\n".format(a,b))
return a - b # i output a value by using the return statement
if __name__ == '__main__':
subtractor(3, 2)
<h1 class="heyo">hello world</h1>