Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fskinner's full-sized avatar

Felipe Skinner fskinner

  • HelloMD
  • Niterói, Rio de Janeiro, Brasil
View GitHub Profile
@fskinner
fskinner / index.html
Created September 9, 2019 16:28
cheerland 2020
<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>
'use strict';
var bigInt = require("big-integer");
var self = {
epc: undefined,
base: undefined,
parse: function(val) {
for (var p in self.parts)
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},
@fskinner
fskinner / fbreg.js
Created August 16, 2012 14:34
FB Auth JS
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';
}
@fskinner
fskinner / text_search.rb
Created February 6, 2012 19:19
Identificar nomes
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