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 java-decompiler.jar is generally found in AndrouidStudio/Plugins folder | |
java -cp /path/of/java-decompiler.jar org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -hdc=0 -dgs=1 -rsy=1 -rbr=1 -lit=1 -nls=1 -mpm=60 /path/of/jar/to/be/decompiled.jar /path/of/folder/where/decompiled/jar/will/be/placed/ | |
# Recompress extracted aar into an aar file | |
jar cvf new-aar-filename.aar -C old-decompressed-aar-folder/ . |
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
curl -s -u "{username}" "https://api.github.com/repos/{user}/{repo}/pulls?per_page=100&state=all" > /tmp/tmp.json && cat /tmp/tmp.json | jq '.[] | select(.base.ref=="{base_branch}") | .html_url' ### Replace `.html_url` with `keys` to check all available keys |
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
(function(b,o,bb,l,e,a,pp){b["BobbleVigyaapanObject"]=e;b[e]=b[e]||function stub(){(b[e].q=b[e].q||[]).push(arguments)};b[e].t=+new Date;pp=document.createElement(bb);pp.src=l;pp.async=1;a=document.getElementsByTagName(bb)[0];a.insertBefore(pp,a)})(window,document,"script","//assets.bobblekeyboard.org/vigyaapan/vigyaapan.js","ba"); | |
ba("init", "vendor-id"); // Initialization | |
ba("send", "success", "campaign-id", "product-id1,product-id2"); // On successful conversion; campaign ids and product ids are optional | |
ba("send", "event-name", "event-value"); // Optional Additional Events or Data to be tracked. |
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
// 2016 MIT licence. Nick Malcolm. | |
// Based on https://gist.github.com/stevebowman/7cff9dd80b227c899728 | |
// Makes a call using Twilio's API. | |
// Expects the following Lambda environment variables: | |
// TWILIO_ACCOUNT_SID - your account ID | |
// TWILIO_AUTH_TOKEN - an auth token generated in the Twilio console e.g. ABCD1234 | |
// TWILIO_FROM_NUMBER - the number you've purchased to make calls from e.g. +14243700000 | |
// We'll call this number |
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
language: node_js | |
node_js: | |
- '0.11' | |
- '0.10' | |
deploy: | |
provider: gcs | |
access_key_id: testing | |
secret_access_key: | |
secure: lGMykRKlkbgoY+hfq/KxRzXUFM5R56rmmM6uP9D1NCxHeni1IBBRgMy4Q5FoZolxxUn0U7Y9KPi3fR+aTFa1+EeqLLhQJrK/j8rXIO7ilRUbpQWiTOd1yjEZPHptTY6Qr+46DfWd6zaZ755tec7QjdCX3BBsim6pTxelaetniVDEM+kGj7oLPbsnXt32xskxEi4qJLUiAh606jnN7eKk4sm1wToX6i4+QuOCnP4Hs2vgdaxbJkZ5ZUe3DJIfBhUBkvZz/D82QkvoZGN29wVKN6WfluwAwYb0ANmGnHR1kBG347M+u2BCF0MrybDthPsGzU/jTYk5GJaZq+rE7g5lyk/evD5hbTdng/hMROkd/ssGbEjETAoZgVwe5HCdpR8pBDx7cGIm+up7hlc+HjjAqfTev99cg0ztGOuIrBsLJWfWBWTDXlruvgO4/KPp2F0Ye+dtM9FVdLlE0nkl+QHdkWp9EPEzl0KaPPnNMF39dxDKPS6JUTouGAwC9rbNXwmtC5oNEElRZioFKlmknF9toguw/kMcEx/CYcxonZPNDneEG/73OgKiOsNigQ8HQ3Q5L+tLq9BOp/qzfdpHV2y6TMS5nk6AbWc+hdj5cVNdE175g2ZKDkE7j/juib8OTP//1ZIA26HWi4Uf8Iy7YimHGxqzvYhEgwG/JA6sUwTt/dg= | |
bucket: testing |
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
language: node_js | |
node_js: | |
- '0.11' | |
- '0.10' | |
deploy: | |
provider: gcs | |
access_key_id: testing | |
secret_access_key: | |
secure: lGMykRKlkbgoY+hfq/KxRzXUFM5R56rmmM6uP9D1NCxHeni1IBBRgMy4Q5FoZolxxUn0U7Y9KPi3fR+aTFa1+EeqLLhQJrK/j8rXIO7ilRUbpQWiTOd1yjEZPHptTY6Qr+46DfWd6zaZ755tec7QjdCX3BBsim6pTxelaetniVDEM+kGj7oLPbsnXt32xskxEi4qJLUiAh606jnN7eKk4sm1wToX6i4+QuOCnP4Hs2vgdaxbJkZ5ZUe3DJIfBhUBkvZz/D82QkvoZGN29wVKN6WfluwAwYb0ANmGnHR1kBG347M+u2BCF0MrybDthPsGzU/jTYk5GJaZq+rE7g5lyk/evD5hbTdng/hMROkd/ssGbEjETAoZgVwe5HCdpR8pBDx7cGIm+up7hlc+HjjAqfTev99cg0ztGOuIrBsLJWfWBWTDXlruvgO4/KPp2F0Ye+dtM9FVdLlE0nkl+QHdkWp9EPEzl0KaPPnNMF39dxDKPS6JUTouGAwC9rbNXwmtC5oNEElRZioFKlmknF9toguw/kMcEx/CYcxonZPNDneEG/73OgKiOsNigQ8HQ3Q5L+tLq9BOp/qzfdpHV2y6TMS5nk6AbWc+hdj5cVNdE175g2ZKDkE7j/juib8OTP//1ZIA26HWi4Uf8Iy7YimHGxqzvYhEgwG/JA6sUwTt/dg= | |
bucket: testing |
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
language: node_js | |
node_js: | |
- '0.11' | |
- '0.10' | |
script: node -v |
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
language: node_js | |
node_js: | |
- '0.11' | |
- '0.10' |
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
<html> | |
<head> | |
<script src="https://apis.google.com/js/client.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
<script> | |
function auth() { | |
var config = { | |
'client_id': 'OAUTH_CLIENT_ID', | |
'scope': 'https://www.google.com/m8/feeds' | |
}; |
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
CREATE TABLE IF NOT EXISTS `country` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) NOT NULL, | |
`name` varchar(80) NOT NULL, | |
`nicename` varchar(80) NOT NULL, | |
`iso3` char(3) DEFAULT NULL, | |
`numcode` smallint(6) DEFAULT NULL, | |
`phonecode` int(5) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
NewerOlder