Skip to content

Instantly share code, notes, and snippets.

View esavard's full-sized avatar

Etienne Savard esavard

View GitHub Profile
@esavard
esavard / git_prompt.sh
Created May 27, 2010 14:30 — forked from martinos/git_prompt.sh
Git prompt
# ---------
# Prompt
# ---------
function gitprompt {
blue='\[\e[0;34;1m\]'
red='\[\e[0;38;1m\]'
green='\[\e[0;32;1m\]'
none='\[\e[0m\]'
prompt_info=""
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.6.+'
}
}
apply plugin: 'android'
/*
Buttondown
A Markdown/MultiMarkdown/Pandoc HTML output CSS stylesheet
Author: Ryan Gray
Date: 15 Feb 2011
Revised: 21 Feb 2012
General style is clean, with minimal re-definition of the defaults or
overrides of user font settings. The body text and header styles are
left alone except title, author and date classes are centered. A Pandoc TOC
@esavard
esavard / iscc
Created November 12, 2016 03:34 — forked from derekstavis/iscc
Compile InnoSetup scripts on unices
#!/bin/sh
# For installation and usage, please refer to my blog post:
# http://derekstavis.github.io/posts/creating-a-installer-using-inno-setup-on-linux-and-mac-os-x/
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Derek Willian Stavis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
@esavard
esavard / EchoTest.java
Created February 17, 2017 16:18 — forked from chbaranowski/EchoTest.java
Cheat Sheet Test for Mockito
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.is;
import static org.mockito.Mockito.*;
import static org.mockito.BDDMockito.*;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;