Profile

Cover photo
Ali Afshar
Works at Google
Attended University of Southampton
Lives in Santa Clara, US
6,443 followers|1,046,981 views
AboutPostsPhotosReviews

Stream

Ali Afshar

Shared publicly  - 
 
When I say "they have everything in Dubai", I mean everything. Including Lionel Ritchie.

All night long.
17
Mostafa Safavi's profile photoChristian Heilmann's profile photo
2 comments
 
Enjoy buddy
Keep updating
Add a comment...

Ali Afshar

Shared publicly  - 
 
Command line app to count the number of public #Github contributions for a user within the last year, after an optional date.

$ ghcontribs --after 2013-Sep-30 aliafshar
aliafshar 57

Since the API doesn't exactly let you do this easily, it uses the data that is used for the fancy graph that appears on the user profile page.

https://github.com/aliafshar/ghcontribs
10
1
Adam Singer's profile photoPaul Bailey's profile photo
 
ghcontribs  --after 2013-Sep-30 pizzapanther
pizzapanther 117

Woohoo!  I can do better though :-)
Add a comment...

Ali Afshar

Shared publicly  - 
 
 
Our Google Drive API course just launched and it is free for everyone! Check it out: http://bit.ly/1mrmrvI
19
4
Michelantonio Trizio's profile photoHarold Carey Jr's profile photoDamon Douglas's profile photoLionel Biennier Pers's profile photo
4 comments
 
+Eduard Gotwig there is a trade off here. You can ether have some vendor lockin or you can have secure and scalable solutions that are updated and maintained with little to no effort on your part.

For example. I have 2 Google accounts, one that I use for everything that is important and another that is use to junk ect...  My main account is 2 factor Authentication on it and has a very secure password, the other one only has a secure password. 

These are 2 very different use cases and for you to have to code all of that into you own app and maintain all the data on top of that is a lot of overhead. APIs like this get rid of all of that overhead and I for one am very happy to be able to use them.
Add a comment...

Ali Afshar

Shared publicly  - 
 
Raining in California, makes me homesick :D
15
Ali Afshar's profile photoMostafa Safavi's profile photoDamon Douglas's profile photoShelly Dang's profile photo
6 comments
 
Really nice song.  It makes me want to go to there.  I picture it raining.  It's warm inside in the pub and with friends.

I'm listening to Morrissey now.  It's your fault haha!
Add a comment...

Ali Afshar

Shared publicly  - 
 
Free software
Very Non-free car

#linux
48
5
Gus Class's profile photoMostafa Safavi's profile photoDawid Ostrowski's profile photoJay Geater's profile photo
4 comments
 
If by creating free software one may score a car like that it is a lot!
Add a comment...
Have him in circles
6,443 people

Ali Afshar

Shared publicly  - 
 
They've got everything in Dubai. Including original California burgers. Deep fried pickle chips anyone?
28
2
Mostafa Safavi's profile photoChantal Thompson's profile photoJames Williams's profile photoArthur Thompson's profile photo
4 comments
 
And there is Elijah saying "hurry dad I'm hungry"
Add a comment...

Ali Afshar

Shared publicly  - 
 
Epic. I already ordered mine.

BELIEF
20
4
B. TUGBA TÜRK's profile photoElliot S's profile photoOliver Hengstenberg's profile photoMike Hauben's profile photo

Ali Afshar

Shared publicly  - 
 
Yay, Chromecast from Chrome on Linux.

1. Install the chrome extension https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd/related?hl=en

2. # iptables -A INPUT -p udp -m udp --dport 32768:61000 -j ACCEPT

et voila. They tell me it's not officially supported etc, but works a charm.

p.s. I know, I know, you all have Macbooks ;/
27
7
James Mosvick's profile photoJim Jensen's profile photoEdmundas Mišeikis's profile photoScott Hamilton's profile photo
4 comments
 
+Paul Nicholls nice one, my Ubuntu firewall was dropping Chromecast's unicsat packets, so it looked like it wasn't connected.
Add a comment...

Ali Afshar

Shared publicly  - 
 
What happens when you use #golang  too much then try to write #python.

https://gist.github.com/aliafshar/8726685
12
1
Kang Lu's profile photo
Add a comment...
 
It's an awful photo, I know, but yes, that's me with Magnus Carlsen, world chess champion and all-round good bloke.
30
victor noagbodji's profile photoMassimiliano Pippi's profile photoEduard Gotwig's profile photoMostafa Safavi's profile photo
8 comments
 
+Magnus Carlsen, thanks for visiting that day!
Add a comment...
People
Have him in circles
6,443 people
Work
Occupation
Engineer
Employment
  • Google
    Google Drive Developer Relations, present
  • Microlink PC
    Technical Director
  • National Health Service
    Anaesthetist and Intensivist
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Santa Clara, US
Previously
London, UK - Brighton, UK - Zürich, CH - Leeds, UK - Winchester, UK - New York, US - Southampton, UK
Links
YouTube
Contributor to
Story
Tagline
Google (Python, Open Source, Intensive Care Medicine)
Introduction
One man's constant is another man's variable.
Bragging rights
Gave mouth-to-mouth resuscitation to an 80-year old lady in the street who was vomiting blood.
Education
  • University of Southampton
    Medicine, 1994 - 1999
Basic Information
Gender
Male
Birthday
September 22
This is one of the worst Toys 'R' Us I have been to in multiple countries over 2 continents. It's cramped and old and skanky, and you can easily wait 30 minutes to check out. My son loves it though, and he is the connoisseur, so 4*
Public - 9 months ago
reviewed 9 months ago
One of my favourite restaurants in the Bay Area. Incredible food, Lebanese classics with a twist and seasonal variety. A bit let down by service, but depends on the server, some are better than others. Snooty crowd too, I wonder if they realize just how good the food is here... nevermind, well worth it, a great meal.
Food: ExcellentDecor: ExcellentService: Good
Public - 9 months ago
reviewed 9 months ago
Legit. Typically Santana-row pretentious but better than standing in line at Yard House.
Food: GoodDecor: GoodService: Excellent
Public - 10 months ago
reviewed 10 months ago
4 reviews
Map
Map
Map
This place is *legit* if you want to buy any casual or sports clothing.
Quality: Very goodAppeal: ExcellentService: Very good
Public - 9 months ago
reviewed 9 months ago