Skip to content

Instantly share code, notes, and snippets.

View jaminguy's full-sized avatar

Jamin Guy jaminguy

View GitHub Profile
@jaminguy
jaminguy / gist:1092835
Created July 19, 2011 15:45
Dalli Sinatra Test
get '/dalli_test' do
some_var = settings.cache.get('some_var')
if(some_var == nil)
"some_var is nil: #{some_var}\n"
settings.cache.set('some_var', 'some_value')
else
"some_var is not nil: #{some_var}\n"
end
end
actions.each do |action|
action[:bundleID] = bundle_id
action[:applicationVersion] = application_version
action[:deviceID] = device_id
action[:osVersion] = os_version
action[:hardwareVersion] = hardware_version
action[:deviceID] = device_id
end
- (NSString *)localPathForRecording:(RecordingFileInfo *)recording {
return [[RecordingController recordingsPath] stringByAppendingPathComponent:recording.fileName];
}