Skip to content

Instantly share code, notes, and snippets.

View wanderlima's full-sized avatar
👋
hey there

Wander Lima wanderlima

👋
hey there
View GitHub Profile
@wanderlima
wanderlima / expo go versions
Last active January 20, 2023 19:11
expo go client app versions
// https://expo.io/--/api/v2/versions
{
"iosUrl": "https://dpq5q02fu5f55.cloudfront.net/Exponent-2.25.1.tar.gz",
"templates": [
{
"id": "blank",
"url": "https://d306o6r76fnu7o.cloudfront.net/blank-17.0.1.tar.gz",
"name": "Blank",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_blank.png",
@wanderlima
wanderlima / jira-block-smart-links.txt
Last active November 3, 2022 19:50
Jira Block Smart Links
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
// Using ES6 reduce
const flatIt = arr => arr.reduce(
(a, b) => a.concat(Array.isArray(b) ? flatIt(b) : b), []
);
// Example
const arrayToFlat = [1,[2, 3],[4,[5, 6],[7, 8],[9,10,[11, 12]]]];