Skip to content

Instantly share code, notes, and snippets.

View Dillonb's full-sized avatar
👺
0x07

Dillon Beliveau Dillonb

👺
0x07
  • Seattle
  • 04:15 - 7h behind
View GitHub Profile
### Keybase proof
I hereby claim:
* I am dillonb on github.
* I am dillonb (https://keybase.io/dillonb) on keybase.
* I have a public key ASCy3xo7Ea6PbD1skZ0RrPmEJwJdOpvfC-gtb1b5xZIxIwo
To claim this, I am signing this object:
@Dillonb
Dillonb / Readme.md
Created January 11, 2016 16:34 — forked from gabrielemariotti/Readme.md
A SimpleSectionedRecyclerViewAdapter: use this class to realize a simple sectioned `RecyclerView.Adapter`.

You can use this class to realize a simple sectioned RecyclerView.Adapter without changing your code.

The RecyclerView should use a LinearLayoutManager. You can use this code also with the TwoWayView with the ListLayoutManager (https://github.com/lucasr/twoway-view)

This is a porting of the class SimpleSectionedListAdapter provided by Google

Screen

Example:

<?php
// https://gist.github.com/Dillonb/30b6cec775efef69cb90
// Original credit to https://gist.github.com/pamelafox-coursera/5359246
class CalendarEvent {
/**
*
* The event ID
* @var string
/*
* hamming.c
* Dillon Beliveau
* CS 121
* Due 9/16/14
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <limits.h>
#!/usr/bin/env python2
import csv
import urllib2
#crns = [
#13775, # CS274
#12036, # CS125
#14284, # MATH173
#10073, # BIOL002
#10081, # BIOL002 L08