Logging into firebase you sould use firebase login --no-localhost
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 | |
# | |
#Android ADB Installer 2 for Linux Mint 11 and Ubuntu 11.04 | |
#This version is intended to be an improvement on previous version and give the user more installation options and bring more ease to people that want to develop, | |
#theme, or just whatever other purpose you may want to use something that is in my script for. | |
#Script written by @ArchDukeDoug and parts of @_CorCor67's scripting code used with permission as well. | |
#Thanks to @BoneyNicole, @tabbwabb, and @animedbz16 for putting up with me and proofreading and/or testing the script. | |
#Script version: 2.0.0 | |
menu= |
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
pkg=$(adb shell pm path com.koushikdutta.backup) | |
# apparently pm path appends a carriage return which screws | |
# up the class name in dalvikvm invocation | |
pkg=$(echo $pkg | cut -d : -f 2 | sed s/\\r//g) | |
echo $pkg | |
adb shell << EOF | |
CLASSPATH=$pkg app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 $@ & | |
exit | |
EOF |
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
## Acer | |
#SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0600", OWNER="<username>" | |
## ASUS | |
#SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0600", OWNER="<username>" | |
## Dell | |
#SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0600", OWNER="<username>" | |
## Foxconn |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
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 java.util.Arrays; | |
import java.util.LinkedList; | |
import java.util.List; | |
import android.database.Cursor; | |
import android.database.SQLException; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.text.TextUtils; | |
/** |
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
[ | |
{ | |
"property1": "A quote by Hunter S. Thompson, 1937 - 2005", | |
"property2": "Whatever else might be said about Nixon — and there is still serious doubt in my mind that he could pass for human — he is a goddamned stone fanatic on every aspect of pro football.\nHunter S. Thompson", | |
"index": 1, | |
"url": "http://www.qotd.org/search/single.html?qid=1" | |
}, | |
{ | |
"property1": "A quote by Anonymous", | |
"index": 2, |
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
[ | |
{ | |
"quoteID": 1, | |
"quote": "Efforts and courage are not enough without purpose and direction.", | |
"author": "John F Kennedy", | |
"description": "35th President of the USA", | |
"profile": "http://markmcmillion.com/wp-content/uploads/2014/03/JFK-150x150.jpg", | |
"portrait": "http://bit.ly/1Q6aObg", | |
"bio": "John F Kennedy was a president of the United States of America" | |
}, |
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
I'm really trying not to be rude but the number of recruiter spam I'm getting is really becoming irritating. For future reference: | |
a) Don't email me an opportunity off the back of a key word search. Check out my cv or linkedin profile before forwarding opportunities. It really shows a complete lack of effort on your part | |
b) I've dealt with a lot of recruiters in my time. A £500 referral fee in pathetic considering the potential fee your company receives on each placement. | |
Going forward, I'll be telling my network of technical people about every recruiter/recruitment company which clearly isn't concerned about the level of service they provide and shows a distinct lack of effort when it comes to matching potential candidates to a role. As you know, the London tech scene is very similar to the game 'six degrees of kevin bacon' - word gets around. | |
I hope this provides some insight and helps with future placements. | |
Kind Regards |
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
// Creating promises | |
var promise = new Promise(function (resolve, reject) { | |
resolve('all good') | |
}) | |
promise.then(function (result) { | |
console.log('was it good?', result) | |
}).catch(function (err) { | |
console.error('ERR', err) | |
}) |
OlderNewer