Skip to content

Instantly share code, notes, and snippets.

View achvaicer's full-sized avatar

Alberto Chvaicer achvaicer

  • JP Morgan / Neovest
  • Rio de Janeiro
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SharpTestsEx;
using Vinci.Framework.DataBase;
namespace TestDapper
@achvaicer
achvaicer / figurinhas.md
Last active August 29, 2015 14:00
Figurinhas da Copa do Mundo

Figurinhas da copa do mundo

  • 0 [REPETIDA]
  • 1
  • 2
  • 3
  • 4
  • 5 [REPETIDA]
  • 6
  • 7
internal abstract class AbstractDays360
{
public abstract int Calculate(DateTime start, DateTime end);
protected static int Calculate(DateTime start, DateTime end, int startDay, int endDay)
{
return (end.Year - start.Year) * 360 + (end.Month - start.Month) * 30 + (endDay - startDay);
}
protected static bool LastDayOfFebruary(DateTime date)
@achvaicer
achvaicer / mega.cs
Last active January 5, 2016 00:01
Mega da virada
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
public static class Program
{
public static void Main(string[] args)
{
/* =========================================================
* composer-view.js v0.2.1
* =========================================================
* Copyright 2013 Wpbakery
*
* Visual composer backbone/underscore version
* ========================================================= */
(function ( $ ) {
var i18n = window.i18nLocale,
store = vc.storage,
using System;
namespace BlackScholes
{
/// <summary>
/// Summary description for BlackSholes.
/// </summary>
public class BlackSholes
namespace Leste.Robot.Base
{
public enum Environment
{
Development = 0x01,
Homologation = 0x02,
Production = 0x04,
/// <summary>
/// Includes Development | Homologation | Production
/// </summary>