Skip to content

Instantly share code, notes, and snippets.

View willnss's full-sized avatar
:shipit:
Focusing

Wilian N. Santos willnss

:shipit:
Focusing
  • Brazil
View GitHub Profile
@willnss
willnss / filtro_git_log.sh
Created March 4, 2012 20:09 — forked from vquaiato/filtro_git_log.sh
filtro git log
git log --before="2 weeks ago" --after="2009-01-26" --pretty=oneline
@willnss
willnss / gist:3246637
Created August 3, 2012 10:52 — forked from leonardofaria/gist:1037052
Gerador de CPF, NIT, CNPJ e CEI válidos
<html>
<head>
<title>Gerador de CPF, CNPJ e NIT Válidos</title>
<script language="javascript">
function gera_random(n) {
var ranNum = Math.round(Math.random()*n);
return ranNum;
}
function mod(dividendo,divisor) {
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Sub", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "SubdomainController", action = "AnyActionYouLike", id = UrlParameter.Optional },
@willnss
willnss / gitflow-breakdown.md
Created April 23, 2020 00:10 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository