Skip to content

Instantly share code, notes, and snippets.

View marcoonroad's full-sized avatar
🦋
the Future() has been CANCELLED and we .Restart() the DEAD Event[] from the past

Marco Aurélio da Silva marcoonroad

🦋
the Future() has been CANCELLED and we .Restart() the DEAD Event[] from the past
View GitHub Profile
@jessevanherk
jessevanherk / Makefile
Last active October 25, 2018 03:23
A sample makefile and support files to build a love2d game for multiple platforms from linux
LOVE_BIN=/usr/bin/love
LOVE_DIR=./src/love
DIST_DIR=./src/dist
PATCH_DIR=./src/patch
BUILD_DIR=./build
BIN_DIR=./bin
LOVE_VERSION=0.9.1
GAME_NAME=MySampleGame
PRETTY_NAME=My Sample Game
@profburnes
profburnes / Estruturas_HTML5.md
Last active October 14, 2025 10:36
Estrutura e Tags Básicas do HTML 5

Estruturas e Tags Básicas do HTML5

O HTML5 é a nova versão padrão do HTML com novas Tags e APIs capazes de inserir facilmente um arquivo de audio ou vídeo em um site. Basicamente o HTML seria o esqueleto do seu site, que deverá ser formatado (ou vestido) utilizando a linguagem CSS (Cascading Style Sheet).

Estrutura Básica

A estrutura básica do HTML5 é parecida as estrutra do XHTML e do HTML 4, contendo elementos HEAD e BODY.

<!DOCTYPE html>
@onlurking
onlurking / vaporwave.py
Created April 28, 2017 05:44
Vaporwave a string
"""
Vaporwave a string
"""
def glyph(letter):
"""Returns the full-width character of a given character
Usage::
>>> glyph("p")
'p'
@VictorTaelin
VictorTaelin / why.md
Last active August 12, 2017 22:54
What is wrong with the web and why we need Moon (draft)

What is wrong with the web and why we need Moon (draft)

A few days ago, I published an article about Moon, a fundamental building block of a decentralized browser that aims to solve many of Mist's problems. I've showed up some fancy features such as its decentralized package manager and a generalized monadic notation. I guess that made some people angry, wondering why the hell I made yet another programming language when we have so many of them. If you're on that group: you're right. I'm sorry. Believe me when I say I'm as tired of new languages as you, and I'm as pissed with myself as you are. But I'd not have done this if I didn't have a very good reason. Give me, thus, a chance to justify my sins. For one, I didn't actually invent a programming lang

@maxan
maxan / web.config
Last active November 14, 2023 11:43
IIS Config to React Router App
<system.webServer>
<rewrite>
<rules>
<rule name="React Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
</conditions>
@Pulimet
Pulimet / AdbCommands
Last active November 1, 2025 15:52
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@patrickporto
patrickporto / desafio-dinheiro.md
Last active March 31, 2019 00:33
Este é um desafio adequado para Desenvolvedor Back-End Júnior da área de Banking.

Manipulação de Dinheiro

O Sistema Financeiro precisa representar valores monetários. A idéia básica é ter uma estrutura de dados que permita realizar operações financeiras com dinheiro dentro de uma mesma moeda. Essas operações financeiras precisam ser seguras e devem interromper a execução do programa em caso de erros críticos.

Sobre as operações financeiras que serão realizadas no sistema, é correto afirmar que os valores monetários devem suportar as seguintes operaçoes:

  • O sistema realizará split de transações financeiras, então deve ser possível realizar a operação de rateio de valores monetários entre diferentes indivíduos.

  • O sistema permite realizar câmbio então os valores monetários possuem uma operação para conversão de moeda.

@patrickporto
patrickporto / desafio-frontend.md
Last active May 21, 2018 17:15
Este é um desafio adequado para Desenvolvedor Front-End da área de Banking.

Carteira Virtual

O Web App precisa fornecer carteiras virtuais de criptomoedas. Todo cliente possui ao se cadastrar recebe R$ 100.000,00 (cem mil reais) em conta para comprar Bitcoins e Britas. A cotação da criptomoeda Brita é equivalente ao dólar e pode ser consultada na API do Banco Central enquanto que a cotação do Bitcoin pode ser consultada na API do Mercado Bitcoin.

Sobre as operações financeiras de criptomoedas, é correto afirmar que:

  • O cliente pode vender suas criptomoedas ou trocar uma pela outra.

  • O cliente precisa saber o saldo discriminado por cada moeda.

@patrickporto
patrickporto / desafio-mobile.md
Last active February 20, 2018 00:01
Este é um desafio adequado para Desenvolvedor Mobile da área de Banking.

Carteira Virtual

O App Mobile precisa fornecer carteiras virtuais de criptomoedas. Todo cliente possui ao se cadastrar recebe R$ 100.000,00 (cem mil reais) em conta para comprar Bitcoins e Britas. A cotação da criptomoeda Brita é equivalente ao dólar e pode ser consultada na API do Banco Central enquanto que a cotação do Bitcoin pode ser consultada na API do Mercado Bitcoin.

Sobre as operações financeiras de criptomoedas, é correto afirmar que:

  • O cliente pode vender suas criptomoedas ou trocar uma pela outra.

  • O cliente precisa saber o saldo discriminado por cada moeda.

defmodule CoreBanking.StructSerializer do
@behaviour EventStore.Serializer
def serialize(x) do
do_serialize(x) |> Poison.encode!
end
def deserialize(x, _opts) do
x |> Poison.decode! |> do_deserialize
end