Skip to content

Instantly share code, notes, and snippets.

View prashantvc's full-sized avatar
:octocat:
Working

Prashant Cholachagudda prashantvc

:octocat:
Working
View GitHub Profile
## install libraries
library(rvest)
library(dplyr)
get_details <- function(page_link) {
page_details <- read_html(page_link)
address <- page_details |>
html_nodes(".lng_add") |>
last() |>

Keybase proof

I hereby claim:

  • I am prashantvc on github.
  • I am prashantvc (https://keybase.io/prashantvc) on keybase.
  • I have a public key whose fingerprint is 6F08 8582 8071 1931 6292 CB4F 7E3E 2432 8AF9 9C60

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am prahsantvc on github.
  • I am prashantvc (https://keybase.io/prashantvc) on keybase.
  • I have a public key whose fingerprint is 6F08 8582 8071 1931 6292 CB4F 7E3E 2432 8AF9 9C60

To claim this, I am signing this object:

[ng] ERROR in ./node_modules/tunnel/lib/tunnel.js
[ng] Module not found: Error: Can't resolve 'http' in 'C:\Users\prchol\source\repos\todo\node_modules\tunnel\lib'
[ng] ERROR in ./node_modules/@azure/cosmos/lib/src/CosmosClient.js
[ng] Module not found: Error: Can't resolve 'https' in 'C:\Users\prchol\source\repos\todo\node_modules\@azure\cosmos\lib\src'
[ng] ERROR in ./node_modules/@azure/cosmos/lib/src/request/request.js
[ng] Module not found: Error: Can't resolve 'https' in 'C:\Users\prchol\source\repos\todo\node_modules\@azure\cosmos\lib\src\request'
[ng] ERROR in ./node_modules/tunnel/lib/tunnel.js
[ng] Module not found: Error: Can't resolve 'https' in 'C:\Users\prchol\source\repos\todo\node_modules\tunnel\lib'
[ng] ERROR in ./node_modules/tunnel/lib/tunnel.js
[ng] Module not found: Error: Can't resolve 'net' in 'C:\Users\prchol\source\repos\todo\node_modules\tunnel\lib'
# If you come from bash you might have to change your $PATH.
export ANDROID_HOME=/Users/prashantvc/Library/Developer/Xamarin/android-sdk-macosx
export PATH=$HOME/bin:/usr/local/bin:$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools
# Path to your oh-my-zsh installation.
export ZSH="/Users/prashantvc/.oh-my-zsh"
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@prashantvc
prashantvc / gist:5213961
Last active March 28, 2018 20:59
Send email with multiple attachments (Xamarin.Android)
public static void Email(Context context, string emailTo, string emailCC, string subject, string emailText, List<string> filePaths)
{
var email = new Intent(Intent.ActionSendMultiple);
email.SetType("text/plain");
email.PutExtra(Intent.ExtraEmail, new string[]{emailTo});
email.PutExtra(Intent.ExtraCc, new string[]{emailCC});
var uris = new List<IParcelable>();
filePaths.ForEach(file=> {
@prashantvc
prashantvc / GammaFunction
Created February 28, 2012 17:16
Gamma function
double Gamma(double x)
{
if (x < 0)
{
return double.PositiveInfinity;
}
// Gamma(x) = (x-1)! so add 1, to make user gets
// expected result, I really don't want use increamental operator here.
objc[3306]: Class VCWeakObjectHolder is implemented in both /System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/Versions/A/ViceroyTrace (0xa4bc8090) and /System/Library/PrivateFrameworks/AVConference.framework/Versions/A/AVConference (0xa4bdee98). One of the two will be used. Which one is undefined.
DEBUG [2017-01-09 13:10:48Z]: instrument added
DEBUG [2017-01-09 13:10:48Z]: instrument added
DEBUG [2017-01-09 13:10:48Z]: processing command line =
DEBUG [2017-01-09 13:10:48Z]: /Applications/XamarinProfiler.Mac.app/Contents/MacOS/XamarinProfiler.Mac
DEBUG [2017-01-09 13:10:48Z]: --target=in.prashantvc.mapsmemory|md5cb8d48bf7251fe9eb93ba6979c8b9860.MainActivity
DEBUG [2017-01-09 13:10:48Z]: --device-id=Android.98862743394f33554b
DEBUG [2017-01-09 13:10:48Z]: Creating run for in.prashantvc.mapsmemory|md5cb8d48bf7251fe9eb93ba6979c8b9860.MainActivity target on device Android.98862743394f33554b
DEBUG [2017-01-09 13:10:48Z]: Waiting for device Android.98862743394f33554b: Seq
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace LinguisticTagger
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
using Xamarin.Forms;
namespace FormsPlayground
{
public class App : Application
{
public App()
{
var password = new Entry()