Skip to content

Instantly share code, notes, and snippets.

View charlenopires's full-sized avatar

Charleno Pires charlenopires

View GitHub Profile
@charlenopires
charlenopires / index.html
Last active May 18, 2017 00:41
DOM Practice1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@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 / lineColors.js
Last active October 18, 2015 05:34
Fixing an Error
/*
Adicione o lodash
<script src="lodash.js"></script>
*/
function LineColors(dados){
var o = {};
_.forEach(dados, function(d){
var n = {};
@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

Eureka UI Kit

(WebKit only - I did my best) A friend of mine, Kévin Bonache, helped me with the UI elements for my game, providing the image on the left. Here I take his static image and turn it into a live demo (on the right).

A Pen by Alex Gryson on CodePen.

License.