Skip to content

Instantly share code, notes, and snippets.

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

Rodrigo Gomes da Silva rodrigogs

🏠
Working from home
  • 00:06 (UTC -03:00)
View GitHub Profile
@axelpale
axelpale / combinations.js
Last active July 7, 2023 10:37
JavaScript functions to calculate combinations of elements in Array.
/**
* Copyright 2012 Akseli Palén.
* Created 2012-07-15.
* Licensed under the MIT license.
*
* <license>
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
@luzfcb
luzfcb / configurar_pyenv.md
Last active July 1, 2025 18:50
instalar pyenv no ubuntu
@rodrigogs
rodrigogs / async-functions.js
Created April 27, 2017 16:25
Working with JavaScript async functions
const promises = require('./promises');
/** Retrieve data */
async function getInfo() {
const country = await promises.getCountry();
const time = await promises.getTime();
const weather = await promises.getWeather();
return { country, time, weather };
@FreddieOliveira
FreddieOliveira / docker.md
Last active July 2, 2025 12:56
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary