Skip to content

Instantly share code, notes, and snippets.

diff -U 0 -N support-v4-19.1.0/android.support.v4.BuildConfig support-v4-20.0.0/android.support.v4.BuildConfig
--- support-v4-19.1.0/android.support.v4.BuildConfig 1969-12-31 16:00:00.000000000 -0800
+++ support-v4-20.0.0/android.support.v4.BuildConfig 2014-06-26 19:59:59.000000000 -0700
@@ -0,0 +1,9 @@
+public final class android.support.v4.BuildConfig {
+ public static final boolean DEBUG;
+ public static final java.lang.String PACKAGE_NAME;
+ public static final java.lang.String BUILD_TYPE;
+ public static final java.lang.String FLAVOR;
+ public static final int VERSION_CODE;
/*
* Copyright (C) 2014 Jake Wharton
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@zinuzoid
zinuzoid / ProtectedSeekBar.java
Created January 28, 2015 10:26
ProtectedSeekBar.java
/**
* ProtectedSeekBar
* 01/27/15
*
* @author Jetsada Machom <jim@imjim.im>
*/
public class ProtectedSeekBar extends SeekBar {
private Drawable mThumb;
@zinuzoid
zinuzoid / remove-registry-proxy.patch
Created October 20, 2016 20:17
Remove Deis registry proxy due to coreos bug
diff --git a/workflow-dev/tpl/deis-builder-deployment.yaml b/workflow-dev/tpl/deis-builder-deployment.yaml
index 3ae3502..5b02a77 100644
--- a/workflow-dev/tpl/deis-builder-deployment.yaml
+++ b/workflow-dev/tpl/deis-builder-deployment.yaml
@@ -45,11 +45,6 @@ spec:
{{- end}}
{{- end}}
env:
- # NOTE(bacongobbler): use deis/registry-proxy to work around Docker --insecure-registry requirements
- - name: "DEIS_REGISTRY_SERVICE_HOST"
@zinuzoid
zinuzoid / SwarmModeNetworking.md
Created November 15, 2016 12:06 — forked from alexellis/SwarmModeNetworking.md
Mesh networking tester for Swarm Mode

Here's a quick tester for Swarm Mode that will work everywhere..

$ docker service create --name nginx1 -p 80:80 --mode=global --mount source=/etc/hostname,target=/usr/share/nginx/html/index.html,type=bind,ro nginx

You effectively bind mount the hostname as the index.html page meaning you can see the round-robin / mesh networking in action.

@zinuzoid
zinuzoid / keybase.md
Created December 13, 2016 10:22
keybase

Keybase proof

I hereby claim:

  • I am zinuzoid on github.
  • I am zinuzoid (https://keybase.io/zinuzoid) on keybase.
  • I have a public key whose fingerprint is D1BC E087 E718 145C 1ECF F147 14BB 8DF6 7A1C E242

To claim this, I am signing this object:

@zinuzoid
zinuzoid / gist:792c97cc7f797266fda5a1dbd5fb90e4
Created December 18, 2017 10:24
dumb password dictionary
Users and their passwords attempts
[0]
4
1
1 -
2 !
2 !@
1 &
1 0
3 0000
^(?!.*(BtGatt|dalvik|Environment|DataRouter|FA|art|Wifi|ServiceManager|Atfwd|tnet|MDnsDS|Download|Bluetooth|slim|QSEECOMAPI|WVCdm|QC-time|sensors|nanohub|Drm|Babel|Dropbox|gsamlab|Cryptd|Vold|QC_|Conscrypt|Dns|sound|NetWork|OpenGL|TLog|GMPM|Microphone|Process|Dynamite|cr_|VideoCapabilities|libEGL|NetdEventListenerService|Sensors|Netd|audit|Zygote|Watchdog|ity|memtrack|fb4a|LoadedApk|ImsAdaptorImpl|EPDG|CursorWindow|tworkdiagnosti|PackageManager))