Here are some of the most recently published snippets!
IntelliJ: How to programmatically retrieve information like language, OS, Architecture, etc. regarding the current project
This is the fastest method to retrieve information regarding your project and current file, if you are developing an IntelliJ plugin.
Open the snippet
Author: cghersi
C#: How to Converts a generic Url to absolute Uri
This method provides an Uri object from the given URL, splitted as baseURl and extracted url, e.g. baseURL=’http://www.snip2code.com’, extractedUrl=’./Snippet/25652′
Open the snippet
Author: cghersi
C#: How to detect the actual size of an image
This method can tell you the size of an image, given its URL
Open the snippet
Author: cghersi