Skip to content

Instantly share code, notes, and snippets.

View xanaDev's full-sized avatar
🏠
Working from home

Elhaj Abid xanaDev

🏠
Working from home
  • IZI Safety
View GitHub Profile
@javaducky
javaducky / Build and run k6 with extensions using Docker.md
Last active November 18, 2024 23:41
How-to and resources to build and run a custom k6 binary with xk6 extensions using Docker. Go(lang) setup not required.

Build and run k6 with xk6 extensions using Docker

Not everyone loves the Go programming language as myself...I get that. If you're just looking to be able to use k6 OSS with some available extensions and don't want to mess with setting up a Go(lang) environment, then this gist is for you!

🎅 What will this do for me?

This will provide a couple resources to make it simple to create your own customized version of k6 and execute tests all within Docker.

It should come as no surprise that you will need Docker installed!

💁 Why do I want this?

@vluzrmos
vluzrmos / paginate.php
Created July 20, 2016 14:31
Laravel Paginate Collection or Array
<?php
/**
* Gera a paginação dos itens de um array ou collection.
*
* @param array|Collection $items
* @param int $perPage
* @param int $page
* @param array $options
*
* @return LengthAwarePaginator