Skip to content

Instantly share code, notes, and snippets.

View sbstn-jmnz's full-sized avatar

Sebastian Antonio Jimenez Olguin sbstn-jmnz

View GitHub Profile
@sbstn-jmnz
sbstn-jmnz / gist:8276d2cfa623e790e56cc3d667e9d664
Created January 21, 2020 23:40 — forked from olivierlacan/gist:4062929
Code School Screencasting Framework

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
function Shape() {
this.name = 'Shape';
this.toString = function () {
return this.name;
};
}
function TwoDShape() {
this.name = '2D shape';
}
@sbstn-jmnz
sbstn-jmnz / intro_javascript.js
Last active November 18, 2019 18:03
Boolean Intro a Javascript
// function expresion
var sayHello = function(name){
console.log("Hello " + name);
};
// function as a value in a key => value pair
var simple_object = {
sayGodbye: function(name){
console.log("Bye " + name);
}
@sbstn-jmnz
sbstn-jmnz / intro_javascript.js
Created November 18, 2019 16:59
Boolean Intro a Javascript
var a = 'some string'
var say_hello = function(name){
console.log('Hola ' + name);
}
var simple_object = {
}
@sbstn-jmnz
sbstn-jmnz / .gitignore
Created September 12, 2017 01:53
.gitignore configuration
node_modules
coverage
npm-debug.log
package-lock.json
dist
@sbstn-jmnz
sbstn-jmnz / .babelrc
Created September 12, 2017 01:51
Babel config file
{
"presets": [
"es2015",
"stage-3"
],
"plugins": [
"transform-class-properties",
"transform-regenerator"
]
}
@sbstn-jmnz
sbstn-jmnz / package.json
Created September 12, 2017 01:42
package.json
{
"name": "angularjs-tdd-jest",
"version": "0.3.0",
"author": "Gonzalo Pincheira A. <g.pincheira.a@gmail.com> (https://github.com/gpincheiraa/angularjs-tdd-jest)",
"scripts": {
"build": "webpack",
"check-coverage": "npm test | http-server -so -p 9000 coverage/lcov-report",
"server": "webpack-dev-server",
"start": "npm-run-all -p stubs server",
"stubs": "stubby -w -d stubs/fakeserver.yml -s 5000",
module API
class MeasuresController < ApplicationController
protect_from_forgery with: :null_session
before_action :authenticate
def index
measures = Measure.where(circuit_id: params[:circuit_id])
render json: measures, status: 200
end