Skip to content

Instantly share code, notes, and snippets.

View idemax's full-sized avatar
🐵
Hi! It's me, Idemax!

Marcelo Filho idemax

🐵
Hi! It's me, Idemax!
View GitHub Profile
@idemax
idemax / update-spa-be.sh
Created October 4, 2021 15:08
update SPA BE
# pre-requisites:
# - installed NVM via Homebrew
# - follow the projects README initial setup
# !/bin/bash
docker stop $(docker ps -a -q) || true
echo "===================="
echo "setting up events..."
echo "--------------------"
cd events
. $(brew --prefix nvm)/nvm.sh
@idemax
idemax / image_test_generator.js
Last active July 17, 2019 15:40
Duplicates images in the source subfolder to the root.
/**
* How to use?
*
* - Install Node.JS
* - Install NPM
* - Via terminal from here:
* -- Browse to the Pictures folder
* -- Save this script in a file called `index.js` (1st execution only)
* -- Execute `npm i` (1st execution only)
* -- Execute `node ./index.js`
@idemax
idemax / TimeUtil.cs
Created May 28, 2019 15:17
C# / CSharp Timeout util who manage many threads.
using System;
using System.Collections.Generic;
using System.Threading;
namespace Your.Namespace.Here // <=== update the namespace!
{
/// <summary>
/// Time manipulation tools.
/// </summary>
public static class TimeUtil