This file contains 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 Deadlock { | |
static class Friend { | |
private final String name; | |
public Friend(String name) { | |
this.name = name; | |
} | |
public String getName() { | |
return this.name; | |
} | |
public void bow(Friend bower) { |
This file contains 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
E/AndroidRuntime(14736): Process: com.dl.skatefreshAdvancePartTwo, PID: 14736 | |
E/AndroidRuntime(14736): java.lang.IllegalStateException | |
E/AndroidRuntime(14736): at android.media.MediaPlayer.prepareAsync(Native Method) | |
E/AndroidRuntime(14736): at android.widget.VideoView.openVideo(VideoView.java:335) | |
E/AndroidRuntime(14736): at android.widget.VideoView.access$2100(VideoView.java:71) | |
E/AndroidRuntime(14736): at android.widget.VideoView$7.surfaceCreated(VideoView.java:607) | |
E/AndroidRuntime(14736): at android.view.SurfaceView.updateWindow(SurfaceView.java:572) | |
E/AndroidRuntime(14736): at android.view.SurfaceView.access$000(SurfaceView.java:86) | |
E/AndroidRuntime(14736): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175) | |
E/AndroidRuntime(14736): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847) |
This file contains 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
------------------------------------------------------------ | |
updateComments:(person:(firstName) | |
------------------------------------------------------------ | |
Result: Behaves a lot like the updateComments call. Person object comes back empty. | |
URL: https://api.linkedin.com/v1/companies/1694/updates:(updateComments:(person:(firstName))) | |
Response: | |
{ | |
"cookies": { |
This file contains 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
{:kind "plus#activity", | |
:annotation "An exemplar of Internet society.", | |
:etag "\"YFr-hUROXQN7IOa3dUHg9dQ8eq0/jI7ahl6Ey1kNnsd1GejZ1bUaDAY\"", | |
:access {:kind "plus#acl", | |
:description "Public", | |
:items [{:type "public"}]}, | |
:object {:content "<br /><br /><a rel=\"nofollow\" class=\"ot-hashtag\" href=\"https://plus.google.com/s/%23funny\">#funny</a>", | |
:replies {:totalItems 0, | |
:selfLink "https://www.googleapis.com/plus/v1/activities/z12hid2qmvnihhx3p22zurijnzjjjddws04/comments"}, | |
:attachments [{:objectType "photo", |
This file contains 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
[MonoDroid] UNHANDLED EXCEPTION: | |
[MonoDroid] Java.Lang.IllegalArgumentException: Exception of type 'Java.Lang.IllegalArgumentException' was thrown. | |
[MonoDroid] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 | |
[MonoDroid] at Android.Runtime.JNIEnv.CallObjectMethod (IntPtr jobject, IntPtr jmethod, Android.Runtime.JValue[] parms) [0x00000] in <filename unknown>:0 | |
[MonoDroid] at Android.Content.ContentResolver.Query (Android.Net.Uri uri, System.String[] projection, System.String selection, System.String[] selectionArgs, System.String sortOrder) [0x00000] in <filename unknown>:0 | |
[MonoDroid] at Contacts.Plugin.ContactHelper+<GetContacts>d__19.MoveNext () [0x00000] in <filename unknown>:0 | |
[MonoDroid] at Contacts.Plugin.ContactHelper+<GetContacts>d__9.MoveNext () [0x00000] in <filename unknown>:0 | |
[MonoDroid] at Contacts.Plugin.ContactReader+<GetEnumerator>d__4.MoveNext () [0x00000] in <filename unknown>:0 | |
[MonoDroid] at System.Linq.Enumerable+<Cr |
This file contains 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
$ script/jscrepljs | |
[1] Shrimp on iPhone Simulator (ikong-home) | |
[R] Refresh | |
Choice: 1 | |
java.lang.Exception: Unable to mount WebDAV at http://192.168.1.9:49153 | |
at ambly.repl.jsc$mount_webdav.invoke(jsc.clj:260) | |
at ambly.repl.jsc$setup.invoke(jsc.clj:282) |
This file contains 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
null | |
java.lang.NullPointerException | |
at org.robovm.idea.RoboVmPlugin.isRoboVmModule(RoboVmPlugin.java:338) | |
at org.robovm.idea.interfacebuilder.IBIntegratorModuleComponent.moduleAdded(IBIntegratorModuleComponent.java:46) | |
at com.intellij.openapi.module.impl.ModuleImpl.moduleAdded(ModuleImpl.java:232) | |
at com.intellij.openapi.module.impl.ModuleManagerImpl$6.run(ModuleManagerImpl.java:998) | |
at com.intellij.openapi.roots.impl.ProjectRootManagerImpl.makeRootsChange(ProjectRootManagerImpl.java:363) | |
at com.intellij.openapi.module.impl.ModuleManagerImpl.commitModel(ModuleManagerImpl.java:954) | |
at com.intellij.openapi.module.impl.ModuleManagerImpl.access$1300(ModuleManagerImpl.java:73) | |
at com.intellij.openapi.module.impl.ModuleManagerImpl$ModuleModelImpl.commitWithRunnable(ModuleManagerImpl.java:850) |
This file contains 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 ContactsHandler(webapp.RequestHandler): | |
def get(self): | |
# Get user ID from URL | |
user_id = ... | |
# Make query to Datastore | |
data = query(user_id, ...) | |
# Encode to JSON | |
jsonObject = jsonEncode(data) | |
self.response.headers['Content-Type'] = 'application/json' | |
self.response.out.write(jsonObject) |
This file contains 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
- (void)objectLoader:(RKObjectLoader*)objectLoader didLoadObjects:(NSArray*)objects { | |
[[NSUserDefaults standardUserDefaults] setObject:[NSDate date] forKey:@"LastUpdatedAt"]; | |
[[NSUserDefaults standardUserDefaults] synchronize]; | |
NSLog(@"Loaded statuses: %@", objects); | |
[self loadObjectsFromDataStore]; | |
[_tableView reloadData]; | |
} | |
- (void)loadObjectsFromDataStore { | |
[_statuses release]; |
This file contains 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
{ | |
"type": "List", | |
"per_page": 30, | |
"objects": [ | |
{ | |
"Conversation": { | |
"name": "More Professional? Maybe...maybe not...", | |
"simple": false, | |
"recent_comment_ids": [ |
OlderNewer