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
<body> | |
<section> | |
<a href="#"> | |
<img class="main-logo" src="https://www.cheerland.com.br/img/logo.png" alt="Cheerland Logo"> | |
</a> | |
<h1>Vem aí <b>Cheerland Camp</b> 2020!</h1> | |
<p class="subtitle"> Veja como foi nossa última edição:</p> | |
<div class="iframe-container"> | |
<iframe class="responsive-iframe"src="https://player.vimeo.com/video/344910388" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe> | |
</div> |
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
'use strict'; | |
var bigInt = require("big-integer"); | |
var self = { | |
epc: undefined, | |
base: undefined, | |
parse: function(val) { | |
for (var p in self.parts) |
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 express = require('express'); | |
var bodyParser = require('body-parser'); | |
var app = express(); | |
app.use(bodyParser.json()); | |
var currentId = 4; | |
var now = new Date().getTime(); | |
var messages = [ | |
{id: 1, username: 'Mariov', text: 'Where are you Luigiov?', date:now}, |
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
function AuthorizeFacebook() { | |
var paramsLocation = window.location.toString().indexOf('?'); | |
var params = ""; | |
if (paramsLocation >= 0) | |
params = window.location.toString().slice(paramsLocation); | |
top.location = 'https://graph.facebook.com/oauth/authorize?client_id=APP_ID&scope=email,user_education_history,friends_education_history,friends_work_history,user_work_history,user_location&redirect_uri=APP_URL'; | |
} |
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
def identify_name text | |
words = text.split(' ') | |
words_number = words.count | |
[].tap do |result| | |
for i in 1..words.count | |
words.permutation(i).to_a.each do |word| | |
result << word if i == 1 || words.first == word.first | |
end | |
end |