This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONSUMER_KEY= | |
CONSUMER_SECRET= | |
ACCESS_TOKEN= | |
ACCESS_TOKEN_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04b55b7575e03320ef665992fa70b85a81e23840159f6e31a79bcda98c25aeedb73cc2a66b92b175407df1948c3b6c2bfa31fbe980b33b3ff8512eaa01d267d81e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var autocompleteApp = angular.module("autocompleteApp"); | |
var autocompleteController = function($scope) { | |
//http://jqueryui.com/autocomplete/ | |
var availableTags = [ | |
"ActionScript", | |
"AppleScript", | |
"Asp", | |
"BASIC", | |
"C", | |
"C++", |