Start your gradle task with --no-daemon -Dorg.gradle.debug=true
and attach a Java Remote debugger.
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
# setup piwheels | |
# https://www.raspberrypi.org/blog/piwheels/ | |
sudo apt update -y | |
sudo apt upgrade -y | |
#helpful libraries (2 min) | |
sudo apt install build-essential python3-dev python3-distlib python3-setuptools python3-pip python3-wheel -y | |
sudo apt-get install git cmake pkg-config -y |
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
diff --git a/node/Makefile b/node/Makefile | |
index f8a68a2..e60c891 100644 | |
--- a/node/Makefile | |
+++ b/node/Makefile | |
@@ -119,7 +119,7 @@ define Package/node/config | |
choice | |
prompt "ICU Selection" | |
default NODEJS_ICU_NONE | |
help |
On Linux, we need the following:
sudo apt-get install libusb-1.0-0-dev pkg-config
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
Please correct me if I am making incorrect assumptions: | |
The way everything works is | |
async(function *() { | |
// generator expression | |
// returns multiple promises | |
var x = yield $.ajax('http://x....'); | |
var y = yield $.ajax('http://y....'); |
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
javascript: | |
var patterns = { | |
'vs': 'https://devcentral.amazon.com/ac/brazil/directory/version-set/packages/{0}/{1}', | |
'code': 'https://code.amazon.com/packages/{0}/trees/{1}/' | |
}; | |
var pattern = decodeURIComponent('%s'); | |
var keys = pattern.split(' '); | |
var base = keys ? keys[0] : ''; | |
var args = keys ? keys.slice(1) : []; | |
var url = patterns[base] || ''; |
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 android.content.res.Resources; | |
import android.graphics.Paint; | |
import android.graphics.BitmapShader; | |
import android.graphics.RectF; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Shader; | |
import android.graphics.drawable.BitmapDrawable; | |
public class RoundedRectBitmapDrawable extends BitmapDrawable { |
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
var transactions = $('.trans-desc-cell'), | |
// important -> keywords need to be uppercase (as we are not making a case insensitive comparison) | |
keywords = ['SEA', 'OAK', 'FRAN', 'EXPEDIA', 'ALASKA', 'TAXI', 'DELTA', 'MAX', 'PACIFIC'], | |
i = 0, | |
j = 0, | |
match = false, | |
content = null, | |
$t = null; | |
for (i = 0; i < transactions.length; i += 1) { |
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
// a simple expression evaluator | |
/* | |
{ | |
"or": [ | |
{"ne": ['foo', 'bar']} | |
] | |
} | |
*/ | |
function evaluate(expression) { |
I hereby claim:
- I am tikurahul on github.
- I am rahulrav (https://keybase.io/rahulrav) on keybase.
- I have a public key whose fingerprint is 8C76 D1C5 CBF0 A3A9 FD08 3B55 D714 4037 52B4 07AB
To claim this, I am signing this object:
NewerOlder