Skip to content

Instantly share code, notes, and snippets.

View giovannipds's full-sized avatar
💭
I may be slow to respond.

G. Pires giovannipds

💭
I may be slow to respond.
View GitHub Profile
@giovannipds
giovannipds / bootstrap3-xl-sample.css
Created November 26, 2018 16:21
Extending bootstrap 3 grid breakpoints
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
@giovannipds
giovannipds / ezoom-weird-stuff.php
Last active June 13, 2020 10:19
Ezoom Weird Stuff
<!-- Normal Lazy Load -->
<?= lazyload([
'src' => base_url('image/resize_canvas?w=470&h=360&fit=inside&src=https://cdn.sagaentretenimento.com.br/uploads/2016/06/22113456521528.jpg'),
'alt' => 'Dev Star',
'class' => 'lazyload',
'id' => 'dev-star'
]); ?>
<!-- Lazy Load By Event -->
<?= lazyload([
@giovannipds
giovannipds / bad-things-of-next.js.md
Last active June 13, 2020 10:09
Things that are missing on next.js
  • Easy auth implementation / strategy through cookies and / or oauth0
  • Easy session flash messages
  • Cookies strategy (nookies)
  • Redirect back at server side
@giovannipds
giovannipds / challenge.js
Last active September 2, 2021 21:50
Data structures / linked lists JavaScript challenge
/*
# Challenge
Given the follow linked lists:
Input: l1 = [2,4,3], l2 = [5,6,4]
Do: 342 + 465 = 807
And output another linked list: [7,0,8]
--
Other example:
Input: l1 = 8,7,5, l2 = 9,0,5