Skip to content

Instantly share code, notes, and snippets.

On learning spree!

Rahul Patil r4hulp

On learning spree!
Block or report user

Report or block r4hulp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
r4hulp / GetPathToImage.cs
Created Oct 26, 2015
Our Implementation GetPathToImage - Part 2
View GetPathToImage.cs
private string GetPathToImage(Android.Net.Uri uri)
ICursor cursor = this.ContentResolver.Query(uri, null, null, null, null);
string document_id = cursor.GetString(0);
if (document_id.Contains(":"))
document_id = document_id.Split(':')[1];
cursor = ContentResolver.Query(
View gist:78982bddd652a87a7527
### Keybase proof
I hereby claim:
* I am rahulrulez on github.
* I am rahulp ( on keybase.
* I have a public key whose fingerprint is CFA1 E40A B805 96F2 2E97 370E F5F6 A19D 1D07 07C7
To claim this, I am signing this object:
/usr/bin/ruby -e "$(curl -fsSL"
brew install openssl
brew link openssl --force
r4hulp /
Created Jul 10, 2016
Install NPM using Homebrew
View install-vsts-agent.txt
~/$ mkdir vstsagent && cd vstsagent
~/vstsagent tar xzf ~/Downloads/vsts-agent-osx.10.11-x64-2.102.1.tar.gz
r4hulp /
Created Jul 10, 2016
Configure VSTS agent on Mac OSX
~/vstsagent ./
r4hulp /
Last active Jul 10, 2016
Configuring VSTS agent on Mac OSX
>> Connect:
Enter server URL > https://{{your-tenant}}
Enter authentication type (press enter for PAT) >
Enter personal access token > ****************************************************
Connecting to server ...
Saving credentials...
>> Register Agent:
$ ./ install
Creating .Service
svc install complete
You can’t perform that action at this time.