Skip to content

Instantly share code, notes, and snippets.

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
jcserracampos / .env
Last active Aug 16, 2019
Bot de twitter em nodejs
View .env
CONSUMER_KEY=
CONSUMER_SECRET=
ACCESS_TOKEN=
ACCESS_TOKEN_SECRET=
View webgl.html
<!DOCTYPE html>
<html>
<header>
<meta charset="UTF-8" />
<title>Criação de um contexto WebGL</title>
</header>
<body>
<h2 id="info-id">WebGL não suportado</h2>
<canvas id="canvas-id" style="border:1px solid black" width="500" weigth="500">
View genesis_public_key
04b55b7575e03320ef665992fa70b85a81e23840159f6e31a79bcda98c25aeedb73cc2a66b92b175407df1948c3b6c2bfa31fbe980b33b3ff8512eaa01d267d81e
View inflections.rb
ActiveSupport::Inflector.inflections do |inflect|
inflect.clear
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
jcserracampos / inflections.rb
Created Jan 6, 2016 — forked from mateusg/inflections.rb
pt-BR inflections file for Ruby on Rails applications
View inflections.rb
# 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 )
View app.js
var autocompleteApp = angular.module("autocompleteApp");
var autocompleteController = function($scope) {
//http://jqueryui.com/autocomplete/
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
You can’t perform that action at this time.