Skip to content

Instantly share code, notes, and snippets.

# Read more about setting it up
# https://medium.com/@ljmocic/deploying-react-application-to-aws-s3-using-github-actions-85addacaeace
on:
push:
tags:
- '*'
jobs:
build:
@nelsonjunior
nelsonjunior / app_bloc.dart
Last active October 6, 2019 23:04
Erro usando Bloc Pattern
import 'dart:async';
import 'package:bloc_pattern/bloc_pattern.dart';
class AppBloc extends BlocBase {
DateTime dataSelecionada = DateTime.now();
final StreamController<DateTime> _dataSelecionada$ = StreamController<DateTime>();
@nelsonjunior
nelsonjunior / bitwise-hacks.js
Created May 17, 2019 20:06 — forked from leodutra/bitwise-hacks.js
Fast Int Math + Bitwise Hacks For JavaScript
// http://michalbe.blogspot.com.br/2013/03/javascript-less-known-parts-bitwise.html
// http://jsperf.com/bitwise-vs-math-object
// http://united-coders.com/christian-harms/results-for-game-for-forfeits-and-the-winner-is/
// https://mudcu.be/journal/2011/11/bitwise-gems-and-other-optimizations/
// https://dreaminginjavascript.wordpress.com/2009/02/09/bitwise-byte-foolish/
// http://jsperf.com/math-min-max-vs-ternary-vs-if/24
"use strict";
var PI = Math.PI;