Skip to content

Instantly share code, notes, and snippets.

View hugofabricio's full-sized avatar
:octocat:

Hugo Fabriicio hugofabricio

:octocat:
View GitHub Profile
{"v":"5.6.1","fr":29.9700012207031,"ip":0,"op":300.00001221925,"w":3840,"h":2160,"nm":"PJ BANK","ddd":0,"assets":[{"id":"image_0","w":451,"h":856,"u":"images/","p":"img_0.png","e":0},{"id":"image_1","w":546,"h":596,"u":"images/","p":"img_1.png","e":0},{"id":"image_2","w":1514,"h":646,"u":"images/","p":"img_2.png","e":0},{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"logo","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0,"y":0.997},"o":{"x":0.245,"y":0.004},"t":75,"s":[2526,1080,0],"to":[-101,0,0],"ti":[101,0,0]},{"t":120.0000048877,"s":[1920,1080,0]}],"ix":2},"a":{"a":0,"k":[1920,1080,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0,0,0.667],"y":[1.004,1.004,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[95,95,100]},{"t":78.0000031770051,"s":[100,100,100]}],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Alterar para cor","np":13,"mn":"ADBE Change To Color","ix":1,"en":1,"ef":[{"ty":2,"nm":"De","mn":"ADBE Change To Color-0001","ix":1,"v":{"a":0,"k":[

Keybase proof

I hereby claim:

  • I am hugofabricio on github.
  • I am hugofabricio (https://keybase.io/hugofabricio) on keybase.
  • I have a public key ASCKEhYum5gStEKebhGLiFEJznUD-7OLeV6Xqx6oxT_t5go

To claim this, I am signing this object:

/**
* Rem
*/
$rem-baseline: 16px !default;
$rem-fallback: false !default;
$rem-px-only: false !default;
@function rem-separator($list, $separator: false) {
@if $separator == "comma" or $separator == "space" {
@return append($list, null, $separator);
class Send {
constructor() {
console.log('>>> Send constructor');
let forms = document.getElementsByClassName('js-send-form');
Array.from(forms).forEach((form) => {
form.addEventListener('submit', (evt) => {
evt.preventDefault();
this.handleOnSubmit(form, evt);
db:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: docker
MYSQL_DATABASE: app
data:
image: brzdigital/data
@hugofabricio
hugofabricio / share.js
Last active May 20, 2018 19:33
Share Module
/**
* Share Module
*
* How to use?
* <a href="#" class="js-share" data-title="" data-description="" data-refer="" data-provider="">Share</a>
*
*/
class Share {
constructor() {
/**
<?php
// Controller
public function edit($id)
{
//passar o model com id
$usu = User::find($id);
$perf = Perfil::all();
class Sticky {
constructor() {
console.log('>>> Sticky constructor');
const that = this;
let scrollTop = $(window).scrollTop();
$('.js-sticky').each(function() {
let el = $(this),
offset = el.data('offset') || $(window).height() - 100;
<?php
public function table()
{
$crawler = \Goutte::request('GET', 'http://globoesporte.globo.com/futebol/brasileirao-serie-c');
$list = [];
$teams = $crawler->filter('.tabela-times tbody tr')->each(function ($node) {
return $node;
class Player {
constructor() {
console.log('>>> Player constructor');
this.initPlayer();
}
initPlayer() {
$('.video').each(function(index, element){
let video = $(this);
let source = video.data('source');