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
| import org.scalacheck.Properties | |
| import org.scalacheck.Prop.forAll | |
| object StringSpecification extends Properties("String") { | |
| property("startsWith") = forAll { (a: String, b: String) => | |
| (a+b).startsWith(a) | |
| } |
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
| package com.company.app.PlatformMethods; | |
| import java.util.HashMap; | |
| import java.util.Iterator; | |
| import java.util.LinkedList; | |
| import java.util.Queue; | |
| import java.util.Set; | |
| import android.app.PendingIntent; | |
| import android.content.BroadcastReceiver; |
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
| __author__ = 'archeg' | |
| import httplib | |
| import urllib | |
| import urllib2 | |
| import re | |
| def URLRequest(url, params, headers, method="GET"): | |
| if method == "POST": |