- Download JarJar jar
- In the same folder download the grooid jar you want to use. This was tested with 2.4.12 jar
- Again, in the same folder create a file called rules.txt
- In rules.txt put "zap org.codehaus.groovy.vmplugin.v7.IndyInterface"
- Run
java -jar jarjar-1.3.jar process rules.txt groovy-2.4.12-grooid.jar groovy-android.jar
- Now add newly created jar file to your android project.
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
import pyperclip | |
import time | |
import re | |
reg = re.compile("\"[A-Za-z0-9:-]+\"") | |
while True: | |
inp = pyperclip.paste() | |
t = reg.findall(inp) |
I hereby claim:
- I am AndrewReitz on github.
- I am areitz (https://keybase.io/areitz) on keybase.
- I have a public key whose fingerprint is 6513 2A0E 64C9 3BC1 EDB4 BA62 0221 9C76 97C0 FB6E
To claim this, I am signing this object:
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
package com.smartthings.android.common.http; | |
import com.inkapplications.preferences.IntPreference; | |
import com.smartthings.android.di.annotation.HttpDisasterRate; | |
import com.squareup.okhttp.Interceptor; | |
import com.squareup.okhttp.Protocol; | |
import com.squareup.okhttp.MediaType; | |
import com.squareup.okhttp.Response; | |
import com.squareup.okhttp.Request; | |
import com.squareup.okhttp.ResponseBody; |
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
char z = Character.class.getDeclaredMethods()[0].toString().charAt(6) | |
char x = javax.sql.RowSet.class.getName().charAt(5) | |
Object o = ClassLoader.getSystemClassLoader() | |
.loadClass( | |
javax.crypto.Cipher.class.getName().split(String.format("\\%s", x))[0].substring(0, 4) + | |
x + | |
java.lang.annotation.Annotation.class.getName().split(String.format("\\%s", x))[1] + | |
x + | |
Character.toUpperCase(java.sql.Connection.class.getName().split(String.format("\\%s", x))[1].charAt(0)) + |
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
package lol; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.Target; | |
import static java.lang.annotation.ElementType.CONSTRUCTOR; | |
import static java.lang.annotation.ElementType.FIELD; | |
import static java.lang.annotation.ElementType.METHOD; | |
import static java.lang.annotation.ElementType.PARAMETER; | |
import static java.lang.annotation.ElementType.TYPE; |
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
# Find something in a directory above the one you are in | |
function upfind() { | |
dir=`pwd` | |
while [ "$dir" != "/" ]; do | |
path=`find "$dir" -maxdepth 1 -name $1` | |
if [ ! -z $path ]; then | |
echo "$path" | |
return | |
fi | |
dir=`dirname "$dir"` |
I hereby claim:
- I am pieces029 on github.
- I am areitz (https://keybase.io/areitz) on keybase.
- I have a public key whose fingerprint is 6513 2A0E 64C9 3BC1 EDB4 BA62 0221 9C76 97C0 FB6E
To claim this, I am signing this object:
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
#!/bin/bash | |
WATERMARK="$1" #1st param image to be the water mark | |
#2nd param is path to folder you want all jpg, jpeg or png to | |
#have the water mark added to | |
for image in $2/*{.jpg,.jpeg,.png} | |
do | |
#gravity is the position the water mark will go | |
#50 is the opacity of the image | |
#the second $image is the output file, currently |