This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in the activity group constructor: | |
/* | |
* ensure default exception handler is set | |
*/ | |
if (!(Thread.getDefaultUncaughtExceptionHandler() instanceof FoobarDefaultExceptionHandler)) { | |
Thread.setDefaultUncaughtExceptionHandler(new FoobarDefaultExceptionHandler(exnLogDir)); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Short introduction to Majiang | |
There are four copies of every game tile. | |
Numbered Suits: | |
萬 - ten thousand | |
餅 - cakes | |
條 - sticks (1 of sticks has a picture of a bird) | |
Numbers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2011 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
// Package debug contains facilities for programs to debug themselves while | |
// they are running. | |
package debug | |
import ( | |
"os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to limit the size of a push to git repository. | |
# Git repo has issues with big pushes, and we shouldn't have a real need for those | |
# | |
# eis/02.02.2012 | |
# adapted by stroucki 20161011 to guard against large files the user has deleted, but are part of history | |
# --- Safety check, should not be run from command line | |
if [ -z "$GIT_DIR" ]; then |