I hereby claim:
- I am decnorton on github.
- I am decnorton (https://keybase.io/decnorton) on keybase.
- I have a public key whose fingerprint is 272E 1EB0 8314 9738 617F D2A5 BD62 0245 102F 35F3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace App\Database; | |
| use App\Database\Schema\Blueprint; | |
| use App\Database\Schema\PostgresGrammar; | |
| use Illuminate\Database\PostgresConnection as BasePostgresConnection; | |
| class PostgresConnection extends BasePostgresConnection | |
| { |
| public class QuickReturn { | |
| private static final String TAG = "QuickReturn"; | |
| protected GestureDetectorCompat mGestureDetector; | |
| private Context mContext; | |
| private View mQuickReturnView; | |
| private View mTargetView; | |
| public QuickReturn(Context context, View targetView, View quickReturnView) { | |
| mContext = context; |
| adb shell setprop log.tag.Volley VERBOSE |
| #!/bin/sh | |
| sudo mv ip-up /etc/ppp/ip-up | |
| sudo chmod a+x /etc/ppp/ip-up | |
| sudo chown root /etc/ppp/ip-up |
| /** | |
| * Array Remove | |
| * | |
| * Based on code by John Resig http://ejohn.org/blog/javascript-array-remove/ | |
| */ | |
| Array.prototype.remove = function(from, to) { | |
| // If first arg is not a number, try and find it in the array | |
| if(isNaN(from)) { | |
| from = this.indexOf(from); | |
| if(from < 0) { |
| public static boolean testSHA1(String sha1, File file) { | |
| MessageDigest digest; | |
| try { | |
| digest = MessageDigest.getInstance("SHA1"); | |
| } catch (NoSuchAlgorithmException e) { | |
| Log.e(TAG, "Exception while getting Digest", e); | |
| return false; | |
| } | |
| InputStream is; |