Skip to content

Instantly share code, notes, and snippets.

View l0s's full-sized avatar

Carlos Macasaet l0s

  • San Antonio, TX
View GitHub Profile

Good Hiring

This resource is intended to connect hiring managers with organizations who are working to ensure brilliant folks from underrepresented groups land incredible jobs at companies that will provide them a psychologically safe space to learn and grow.

If that company sounds like yours, try reaching out to the following organizations with your incredible opportunities that offer equal pay, hire their members, and make sure your team is maintaining an inclusive culture where your new teammates will thrive.

Contribute to this resource! Fixing the imbalance in tech is only going to happen if we work together and share what we know. If you have additions, edits, or thoughts on this resource, be loud about it and help us make it the most helpful it can be for everyone's sake.

Communities and programs supporting underrepresented groups in tech

@rayh
rayh / application.js
Created September 21, 2015 03:57
Initial loading of TJVS app
App.onLaunch = function(options) {
new SimplePage('http://mytvservice.com/home.xml').load();
}
@rayh
rayh / example.js
Last active March 2, 2016 03:26
Example page loader for TVJS/TVML
var SimplePage = function(url) {
var self = this;
function onSelect(event) {
var ele = event.target
var href = ele.getAttribute("href")
if(href) {
new SimplePage(href).load();
}
@rayh
rayh / Example.swift
Created September 21, 2015 03:38
Setup console.log() for TVJS apps
func appController(appController: TVApplicationController, evaluateAppJavaScriptInContext jsContext: JSContext) {
jsContext.evaluateScript("var console = {log: function() { var message = ''; for(var i = 0; i < arguments.length; i++) { message += arguments[i] + ' ' }; console.print(message) } };")
let logFunction: @convention(block) (NSString!) -> Void = { (message:NSString!) in
print("JS: \(message)")
}
jsContext.objectForKeyedSubscript("console").setObject(unsafeBitCast(logFunction, AnyObject.self), forKeyedSubscript:"print")
}
// algebra - the study of mathematical symbols and the rules for manipulating these symbols
// [https://en.wikipedia.org/wiki/Algebra]
// composition - combining parts or elements to form a whole.
// [http://dictionary.reference.com/browse/composition]
// algebraic data type - a kind of composite type, i.e. a type formed by combining other types
// [https://en.wikipedia.org/wiki/Algebraic_data_type]
enum One {
module RetryableTyphoeus
require 'typhoeus'
include Typhoeus
DEFAULT_RETRIES = 1
class Request < Typhoeus::Request
def original_on_complete=(proc)
@original_on_complete = proc