Skip to content

Instantly share code, notes, and snippets.

View charlenopires's full-sized avatar

Charleno Pires charlenopires

View GitHub Profile
@charlenopires
charlenopires / README.md
Created October 18, 2019 03:09 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@charlenopires
charlenopires / free_courses.csv
Created September 13, 2019 22:49
190 universities just launched 600 free online courses. Here’s the full list. - https://qz.com/1437623/600-free-online-courses-you-can-take-from-universities-worldwide/
Category Title URL
Programming CS50’s Introduction to Game Development from Harvard University https://www.class-central.com/course/edx-cs50-s-introduction-to-game-development-11504
Programming CS50’s Mobile App Development with React Native from Harvard University https://www.class-central.com/course/edx-cs50-s-mobile-app-development-with-react-native-11505
Programming CS50’s Web Programming with Python and JavaScript from Harvard University https://www.class-central.com/course/edx-cs50-s-web-programming-with-python-and-javascript-11506
Programming Functions, Methods, and Interfaces in Go from University of California, Irvine https://www.class-central.com/course/coursera-functions-methods-and-interfaces-in-go-12050
Programming Concurrency in Go from University of California, Irvine https://www.class-central.com/course/coursera-concurrency-in-go-12047
Programming Getting Started with Go from University of California, Irvine https://www.class-central.com/course/coursera-getting-started-with-go-1204
@charlenopires
charlenopires / quicksort.erl
Created March 6, 2017 02:01 — forked from tsujigiri/quicksort.erl
Parallel quicksort in Erlang
-module(quicksort).
-export([quicksort/2]).
quicksort(List, SpawnFactor) when SpawnFactor > 0 ->
Self = self(),
Child = spawn(fun() -> quicksort(Self, List, SpawnFactor) end),
receive
{Child, SortedList} -> SortedList
end.
@charlenopires
charlenopires / erlang_one_liners.md
Created March 6, 2017 02:00
10 Erlang one liners to impress your friends

10 Erlang one liners to impress your friends

  1. Multiple Each Item in a List by 2:

[X * 2 || X <- lists:seq(1, 11)].
@charlenopires
charlenopires / index.android.js
Created October 18, 2015 20:51 — forked from axemclion/index.android.js
Cordova Plugins in React native
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
NativeModules,
TouchableHighlight,
@charlenopires
charlenopires / courseData.js
Created October 12, 2015 17:36 — forked from coryhouse/courseData.js
Course data for "Building Applications with React and Flux" on Pluralsight
module.exports = {
courses: [
{
id: "clean-code",
title: "Clean Code: Writing Code for Humans",
watchHref: "http://www.pluralsight.com/courses/writing-clean-code-humans",
author: {
id: "cory-house",
name: "Cory House"
},
@charlenopires
charlenopires / Sizes.md
Last active September 17, 2015 17:27 — forked from jperl/Sizes.md
Meteor App Icon and Launch Screen Size Guide

###Icons

Name Size
iphone_2x 120x120
iphone_3x 180x180
ipad 76x76
ipad_2x 152x152
android_ldpi 36x36
android_mdpi 48x48
@charlenopires
charlenopires / stylus-best-practices.md
Last active August 29, 2015 14:26 — forked from zspecza/stylus-best-practices.md
Stylus Best Practices

Stylus Best Practices

Introduction

This is a curated set of conventions and best practices for Stylus, an expressive, dynamic, robust and advanced CSS preprocessor. Frustrated with there not being a set of conventions set in place (that could be easily found), I set forth to find out on my own.

@charlenopires
charlenopires / css3.styl
Last active August 29, 2015 14:26 — forked from mattmcmanus/css3.styl
A collection of mixins for Stylus to make using css3 a breeze
// MIXINS
vendor(prop, args)
-webkit-{prop} args
-moz-{prop} args
-o-{prop} args
{prop} args
animation()
vendor('animation', arguments)
@charlenopires
charlenopires / bad_css
Last active August 29, 2015 14:20 — forked from ryboe/bad_css
OBSOLETE PREFIXES
-xv-interpret-as // -xv- and -o- are old Opera prefixes for the Presto
-xv-phonemes // engine. Opera switched to the Blink engine with
-xv-voice-balance // version 15. The current version is 23.
-xv-voice-duration
-xv-voice-pitch
-xv-voice-pitch-range
-xv-voice-rate
-xv-voice-stress
-xv-voice-volume