Skip to content

Instantly share code, notes, and snippets.

View nidorx's full-sized avatar
🤠

Alex Rodin nidorx

🤠
View GitHub Profile
@nidorx
nidorx / README.md
Last active August 22, 2017 20:31
Mensagem Compatibilidade IE

#Mensagem Compatibilidade IE

tela

Simples funcionalidade para exibir mensagem bloqueante quando o navegador é o IE.

@nidorx
nidorx / convert-svg-2-png.js
Created September 1, 2018 23:08
Converter ícones de SVG para PNG (node.js + Inkscape + pngquant). Útil para geração de ícones para aplicações Mobile com diferents densidades.
/**
* Converter ícones de SVG para PNG (node.js + Inkscape + pngquant)
*
* Útil para geração de ícones para aplicações Mobile com diferents densidades.
*
* Se o ícone já existir no diretório de saída, não será processado novamente
*
* https://inkscape.org/en/doc/inkscape-man.html
* https://mijingo.com/blog/exporting-svg-from-the-command-line-with-inkscape
*
/**
* Baseado na Fórmula Mágica de Joel Greenblatt, adiciona (opcionalmente) rank de DIVIDENDOS
*
* 1 - Abrir o navegador (Chrome) no link https://fundamentus.com.br/resultado.php
* 2 - Pressionar F12 para abrir o Console
* 3 - Colar esse script completo e pressionar Enter
*
* Referências:
* Clube do Valor: https://youtu.be/4Shv3OMaLVA
* Diogo Investe: https://youtu.be/PEWfCORYGyA
@nidorx
nidorx / csgoempire_bot_bonus.js
Last active August 14, 2026 01:59
https://csgoempire.com betting strategy (Roulette). No profit guarantee.
/**
* https://csgoempire.com betting strategy (Roulette)
*
* Bet on the bonus (dice) after he has gone for some period without showing up.
*
* Adjust the configs and paste the script into the browser console (F12) (https://balsamiq.com/support/faqs/browserconsole/)
*
* ATTENTION! No profit guarantee.
*
* @author nidorx <https://github.com/nidorx>
@nidorx
nidorx / main.go
Created May 13, 2024 02:18
`interface {struct}` and `interface {*struct}` manipulation in Golang using reflect.
/**
* `interface {struct}` and `interface {*struct}` manipulation in Golang using reflect.
*
* Use case: To instantiate a struct using reflect and use libraries like JSON.Decode at runtime.
*/
package main
import "reflect"