Solution : Predefined type 'System.Runtime.CompilerServices.IAsyncStateMachine' is not defined or imported

Hi all, When you try to create a simple .NET console application with a async method you might get the following error Predefined type 'System.Runtime.CompilerServices.IAsyncStateMachine' is not defined or imported This is because of targeting the wrong .NET framework version. For async to work out of the…

Read this article

Testing appengine local devapp server in intranet

Hi all, After doing some stuff with google appengine in my local environment i was attempting to test it with the devices in my local intranet, and found that the command "goapp serve" by default binds to localhost which is not accessible from the intranet for security reasons.…

Read this article

Deployed App in AppEngine not updated

Hi all, This post applies for a go based website deployed in appengine. It should work for other appengine based runtime's as well, but my configuration is with go runtime. I deployed my website in appengine and, when i updated it later, my updates didn't reflect. After looking into the…

Read this article

Issue with compiling VS Package (with missing dependencies)

Hi all, Today i rather had a strange problem, where one of my Visual Studio package failed to compile with the following error 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets(761,5): error : CreatePkgDef : error : ReflectionTypeLoadException: Unable to load one or more…

Read this article

Draw a simple line using OpenGL ES 2.0 in Android

Hi all, I searched a lot in the internet to find an example simple enough with the basic rotation and translation in Android OpenGL ES 2.0. Since i am not quiet happy with the ones there i decided to write on my own with help from a bunch of…

Read this article

Upload artifacts to Amazon S3 using .NET AWS SDK

Hi all, Today i was suppose to upload an artifact to Amazon AWS S3 storage from my local machine automatically. This step will be ran in a continuous deployment environment and hence should be automated. I tries the AWS CLI, but am not quiet happy with it because it expects…

Read this article

Importing a go backend endpoint module into an Android Studio project

Hi all, I am going to configure an existing android studio project to use an cloud¬†endpoint client module. You would usually create a cloud endpoint module using the android studio -> New Module -> Google Cloud Module. But this only works for java language bindings. This post…

Read this article

Discover my appengine endpoint API's

Hi all, You all might know that endpoints is a service offered by google appengine which can internally talk to all the google cloud services and exposes rest like API's on behalf. Have you ever wrote an endpoint service locally and once you published to the web you don't have…

Read this article

Summation of grep -c

The unix shell grep command have an option called "-c" which will give you the count of matching lines per file. Sometimes it's desirable to have a summation of all these count, for which i could not find an option. I wrote a one line command that perhaps…

Read this article

Trick : Create .patch files from git log

Today i need to create a bunch of patch files from git commits. Just attempted the following script and it seemed to work git log --pretty=oneline --abbrev-commit --since=11/Jun/2014 | gawk -F\ '{ print $1 }' | for i in `xargs`; do git show $i > $i.patch;done…

Read this article