I hereby claim:
- I am jhorlima on github.
- I am jhordan (https://keybase.io/jhordan) on keybase.
- I have a public key ASA7tb5G7ZZc6tUYq2NCmgIls1er4gRT_PNIKEYgUTkzkAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
REPO_NAME=flutter | |
ORIGIN_URL=https://github.com/flutter/flutter.git | |
REPO1_URL=https://gitlab.com/flutter/flutter.git | |
rm -rf $REPO_NAME | |
git clone --bare $ORIGIN_URL $REPO_NAME | |
if [ "$?" != "0" ]; then | |
echo "ERROR: failed clone of $ORIGIN_URL" |
const pagination = (currentPage = 1, totalPages = 0, customEtc = '...') => { | |
const pages = []; | |
//Verificar se há páginas | |
if (totalPages <= 0) | |
return pages; | |
//1 Botão |
<?php | |
final class DiggStylePagination { | |
/** | |
* DiggStylePagination::create(5, 1, 15, function($page){ return 'http://localhost/' . $page; }) | |
* | |
* | |
*/ | |
public final static function create($currentPage, $firstPage, $totalPages, \Closure $url, $adjacents = 1, array $classes = []) { |