Skip to content

Instantly share code, notes, and snippets.

View nnasaki's full-sized avatar

Masaki Yamamoto nnasaki

View GitHub Profile
@jsakamoto
jsakamoto / UnitTest1.cs
Created November 1, 2012 12:45
How to write unit test code more simply.
// PM> Install-Package ChainingAssertion
// http://nuget.org/packages/ChainingAssertion
// http://chainingassertion.codeplex.com/
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public class DateHelper
{
public static DateTime? ToNullableDate(string input)
@andrewsardone
andrewsardone / gist:3889904
Last active January 31, 2020 17:07
A quick cheat sheet for using CocoaPods

CocoaPods project setup

Create a Podfile at the root of your project

platform :ios, '5.0'

pod 'AFNetworking'
pod 'OHAttributedLabel'
@keyboardsurfer
keyboardsurfer / .gitignore
Last active December 11, 2019 01:55
Android gitignore
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)
# built application files
*.apk
*.ap_
*.jar
!gradle/wrapper/gradle-wrapper.jar
# lint folder