Skip to content

Instantly share code, notes, and snippets.

View jcserracampos's full-sized avatar
Everybody is just another transaction in the blockchain

Júlio Campos jcserracampos

Everybody is just another transaction in the blockchain
View GitHub Profile
jcserracampos / .env
Last active August 16, 2019 23:58
Bot de twitter em nodejs
jcserracampos / webgl.html
Last active April 2, 2018 22:54
Contexto WebGL
<!DOCTYPE html>
<meta charset="UTF-8" />
<title>Criação de um contexto WebGL</title>
<h2 id="info-id">WebGL não suportado</h2>
<canvas id="canvas-id" style="border:1px solid black" width="500" weigth="500">
ActiveSupport::Inflector.inflections do |inflect|
inflect.plural(/$/, 's')
inflect.plural(/(s)$/i, '\1')
inflect.plural(/^(paí)s$/i, '\1ses')
inflect.plural(/(z|r)$/i, '\1es')
inflect.plural(/al$/i, 'ais')
inflect.plural(/el$/i, 'eis')
inflect.plural(/ol$/i, 'ois')
jcserracampos / inflections.rb
Created January 6, 2016 10:13 — forked from mateusg/inflections.rb
pt-BR inflections file for Ruby on Rails applications
# encoding: utf-8
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
jcserracampos / app.js
Last active August 29, 2015 14:09 — forked from mirontoli/app.js
var autocompleteApp = angular.module("autocompleteApp");
var autocompleteController = function($scope) {
var availableTags = [