Skip to content

Instantly share code, notes, and snippets.

View drbobrinkman's full-sized avatar

Bo Brinkman drbobrinkman

View GitHub Profile
@drbobrinkman
drbobrinkman / vidcap
Created June 16, 2012 19:32
Rolling your own screen video capture in Android apps
/**
* Use this code in the onDraw function of your View class. This only works if you have a custom
* view that extends View or one of its descendants. (In my project I extend SurfaceView.)
*/
try {
getDrawingCache(true).compress(Bitmap.CompressFormat.JPEG, 75, new FileOutputStream("/sdcard/screen-"+ String.format("%04d",frame) +".jpg"));
frame++;
} catch (Exception e) {
Log.e("Error--------->", e.toString());
}
@drbobrinkman
drbobrinkman / readinglist.md
Last active October 3, 2016 18:39
List of important/influential readings for computer scientists.

A non-CS colleague asked me to recommend readings that would help non-CS people understand CS/SE/Coding people. In addressing her question I realized that "CS books" are not a good place to start, that the shared culture of CS/SE/Coding includes many other signifiers.

There really isn't any single book that every computer scientist would be familiar with, and this list overlaps significantly with other "geeky" subcultures.

In bold are my top choices for things to read if you are a non-CS person looking to understand how CS people see themselves.

Culturally significant books (and other materials)

These are all very readable for non-CS folks.