public static SharedPreferences getCodePreferences(final Context context) {
        return context.getSharedPreferences("code", MODE_PRIVATE);
    }
Get code browsing preferences

@param context
@return preferences
app/src/main/java/com/github/pockethub/android/util/PreferenceUtils.java