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
if params[:version] == 2 | |
render :template => 'blah' | |
else | |
render :template => 'foo' | |
end |
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
04-14 12:24:58.425 5973-6015/com.ridecharge.android.taximagic E/com.ridecharge.android:ZoneMessageCommand﹕ org.json.JSONException: Unterminated object at character 118 of {"zone_messages":[{"zone_message":{"id":154,"title":"TEST","message":"","message_html":"<html>\n<head> | |
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"beacon-6.newrelic.com","errorBeacon":"jserror.newrelic.com","licenseKey":"d054b3ad77","applicationID":"1643760","transactionName":"dV9aQ0VeXghUFkoQBERGXVRSQh0QUBwMPAxXV11UaF1dB1AQDAwPGUpbWVJuXwFCFwQEBEU=","queueTime":0,"applicationTime":241,"ttGuid":"","agentToken":null,"agent":"js-agent.newrelic.com/nr-380.min.js"}</script> | |
<script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function t(n,e,o){function r(a){if(!e[a]){var i=e[a]={exports:{}};n[a][0].call(i.exports,function(t){var e=n[a][1][t];return r(e?e:t)},i,i.exports,t,n,e,o)}return e[a].exports}for(var a=0;a<o.length;a++)r(o[a]);return r}({D5DuLP:[function(t,n){function e(t,n){var e |
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
04-14 12:24:58.425 5973-6015/com.ridecharge.android.taximagic E/com.ridecharge.android:ZoneMessageCommand﹕ org.json.JSONException: Unterminated object at character 118 of {"zone_messages":[{"zone_message":{"id":154,"title":"TEST","message":"","message_html":"<html>\n<head> | |
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"beacon-6.newrelic.com","errorBeacon":"jserror.newrelic.com","licenseKey":"d054b3ad77","applicationID":"1643760","transactionName":"dV9aQ0VeXghUFkoQBERGXVRSQh0QUBwMPAxXV11UaF1dB1AQDAwPGUpbWVJuXwFCFwQEBEU=","queueTime":0,"applicationTime":241,"ttGuid":"","agentToken":null,"agent":"js-agent.newrelic.com/nr-380.min.js"}</script> | |
<script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function t(n,e,o){function r(a){if(!e[a]){var i=e[a]={exports:{}};n[a][0].call(i.exports,function(t){var e=n[a][1][t];return r(e?e:t)},i,i.exports,t,n,e,o)}return e[a].exports}for(var a=0;a<o.length;a++)r(o[a]);return r}({D5DuLP:[function(t,n){function e(t,n){var e |
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
class City < ActiveRecord::Base | |
scope :city_roulette, to_a | |
scope :find_cities, ->(timezone) {where(timezone:timezone)} | |
end |
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
require 'test_helper' | |
class Api::V1::RegistrationControllerTest < ActionController::TestCase | |
# test "the truth" do | |
# assert true | |
# end | |
include Devise::TestHelpers | |
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
RKEntityMapping *mapping = [RKEntityMapping mappingForEntityForName:@"conversation" inManagedObjectStore:managedObjectStore]; | |
mapping.identificationAttributes = @[@"identifier"]; | |
[mapping addAttributeMappingsFromDictionary:@{ | |
@"@metadata.identifier" : @"identifier" | |
}]; | |
[mapping addPropertyMapping:[RKRelationshipMapping relationshipMappingFromKeyPath:@"members" toKeyPath:@"otherUsers" withMapping:[self profileObjectMapping:managedObjectStore]]]; |
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
@Override | |
public void onClick(View v) { | |
String password1 = mPass1View.getText().toString(); | |
if (mIsFirstTime) { | |
String password2 = mPass2View.getText().toString(); | |
if (password1.equals(password2)) { |
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
public class PasswordUtils { | |
private static final String TAG = "PasswordUtils"; | |
private static boolean mScreenIsLocked = false; | |
private static PasswordUtils mInstance = null; | |
// private static KeyCachingService keyCachingService; | |
private static Context mContext; | |
private PasswordUtils(Context context) { |
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
private SecureComMmsSmsDatabaseHelper(Context context) { | |
super(context, DATABASE_NAME, null, DATABASE_VERSION); | |
mContext = context; | |
initializePassword(); | |
} | |
public void initializeWithPassword(String password){ | |
if (mPassword == null) { | |
mPassword = new char[128]; |
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
09-27 15:22:20.072: I/WorkingMessage(30595): ##### send ##### | |
09-27 15:22:20.072: I/WorkingMessage(30595): mConversation (beginning of send): [419-351-9133] (tid 20) | |
09-27 15:22:20.072: I/WorkingMessage(30595): recipientsInUI: 419-351-9133 | |
09-27 15:22:20.312: I/Posix(30595): path: /app_parts/PART_1348773740321 c2 600 | |
09-27 15:22:20.312: I/Posix(30595): sqlfs_proc_create | |
09-27 15:22:20.312: D/SecureComMmsProvider(30595): creating new part file: /app_parts/PART_1348773740321 | |
09-27 15:22:20.352: I/SecureComMmsProvider(30595): returning file output stream for: /app_parts/PART_1348773740321 and uri: content://com.gryphn.providers.securecommmsprovider/part/69 | |
09-27 15:22:20.352: I/Posix(30595): path: /app_parts/PART_1348773740321 241 600 | |
09-27 15:22:20.352: I/Posix(30595): sqlfs_proc_open | |
09-27 15:22:20.352: D/PduPersister(30595): is mounted: true |