Skip to content

Instantly share code, notes, and snippets.

@textchimp
textchimp / sei55-weekly.md
Last active October 3, 2022 23:18
Sei55 Weekly

SEi55 - Week 11

SLL solutions
	
@textchimp
textchimp / wdi29-interview-questions-1.md
Created November 14, 2018 05:21
WDi29 Interview questions part 1

Part 1

GROUP A

  • What is Rails?
  • What is MVC and what are the components of Rails MVC?
  • Explain the different variable scopes in Ruby
  • Name a few object-oriented concepts in Ruby
  • How would I execute some code for each element in a collection?
  • What is meant by convention over configuration?
@textchimp
textchimp / wdi27-interview-questions-2.md
Created June 25, 2018 07:30
WDI27 Interview Questions 2

Interview Questions 2

GROUP A

  • What is a destructive method?
  • What is the Ruby convention for naming methods?
  • What are filters in Rails? Give some examples.
  • Provide an example showing how an iterator is used
  • What is the difference between an argument and a parameter?

GROUP B

@textchimp
textchimp / wdi27-interview-questions-1.md
Created June 19, 2018 00:00
WDI27 Interview Questions 1

Interview Questions 1

GROUP A

  • What is Rails?
  • What is MVC and what are the components of Rails MVC?
  • Explain the different variable scopes in Ruby
  • Name a few object-oriented concepts in Ruby
  • How would I execute some code for each element in a collection?

GROUP B

@textchimp
textchimp / interview-questions-1.md
Created February 20, 2018 11:24
WDI25 Interview Questions I

GROUP A

  • What is Rails?
  • What is MVC and what are the components of Rails MVC?
  • Explain the different variable scopes in Ruby
  • Name a few object-oriented concepts in Ruby

GROUP B

  • How would I execute some code for each element in a collection?
  • What is meant by convention over configuration?
  • What are the Rails naming conventions?
@textchimp
textchimp / GIF-Screencast-OSX.md
Created February 8, 2018 03:19 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@textchimp
textchimp / warmup-solution-threejs-cube-armada.md
Last active November 18, 2016 04:56
Warmup Solution: Three.js cube armada with special effects

Solution

//top:
app.numCubes = 1000;
app.cubeDistribution = 300;

app.createCubes = function( cubeCount, placementRange ){
// three.js codealong
var app = app || {};
app.step = 0;
app.cameraPositionIndex = 0;
app.controller = {
rotationSpeed: 0.02,