Calibre is an ebook library manager. It can view, convert and catalog ebooks in most of the major ebook formats. It can also talk to many ebook reader devices. It can go out to the Internet and fetch metadata for your books. It can download newspapers and convert them into ebooks for convenient reading. It is cross platform, running on Linux, Windows and OS X.
Saturday, December 17, 2011
EBook Library Manager
Calibre is an ebook library manager. It can view, convert and catalog ebooks in most of the major ebook formats. It can also talk to many ebook reader devices. It can go out to the Internet and fetch metadata for your books. It can download newspapers and convert them into ebooks for convenient reading. It is cross platform, running on Linux, Windows and OS X.
Wednesday, November 16, 2011
Online Programming Contests & Math Problems
TopCoder : http://www.topcoder.com/tc
Codeforces : http://codeforces.com/
ProjectEuler : http://projecteuler.net/
SPOJ : http://www.spoj.pl/
Codechef : http://www.codechef.com/
Mathalon : http://mathalon.in/
UVAOnlineJudge : http://uva.onlinejudge.org/
uvatoolkit : http://www.uvatoolkit.com/
GoogleCodeJam : http://code.google.com/codejam/
TECHGIG : http://www.techgig.com/
GILD : http://www.gild.com/
CoderCharts : http://codercharts.com/
Codeforces : http://codeforces.com/
ProjectEuler : http://projecteuler.net/
SPOJ : http://www.spoj.pl/
Codechef : http://www.codechef.com/
Mathalon : http://mathalon.in/
UVAOnlineJudge : http://uva.onlinejudge.org/
uvatoolkit : http://www.uvatoolkit.com/
GoogleCodeJam : http://code.google.com/codejam/
TECHGIG : http://www.techgig.com/
GILD : http://www.gild.com/
CoderCharts : http://codercharts.com/
Friday, November 11, 2011
Online IDE & Debugging tool
http://ideone.com/
It's an online compiler and debugging tool which allows to compile and run code online in more than 40 programming languages.
It's an online compiler and debugging tool which allows to compile and run code online in more than 40 programming languages.
Tuesday, October 11, 2011
Sample CodeSnippet for C++ in VisualStudio
To enable code snippets in VisualStudio 2005, you need to install Microsoft Visual Studio 2005 IDE Enhancements
You can write your code snippets however you want, see the below example for 'for' code snippet:
You can write your code snippets however you want, see the below example for 'for' code snippet:
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>for</Title>
<Shortcut>for</Shortcut>
<Description>Code snippet for 'for' loop</Description>
<Author>Microsoft Corporation</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>index</ID>
<Default>i</Default>
<ToolTip>Index</ToolTip>
</Literal>
<Literal>
<ID>max</ID>
<Default>length</Default>
<ToolTip>Max length</ToolTip>
</Literal>
</Declarations>
<Code Language="cpp"><![CDATA[for (int $index$ = 0; $index$ < $max$; ++$index$) {
$selected$ $end$
}]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>for</Title>
<Shortcut>for</Shortcut>
<Description>Code snippet for 'for' loop</Description>
<Author>Microsoft Corporation</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>index</ID>
<Default>i</Default>
<ToolTip>Index</ToolTip>
</Literal>
<Literal>
<ID>max</ID>
<Default>length</Default>
<ToolTip>Max length</ToolTip>
</Literal>
</Declarations>
<Code Language="cpp"><![CDATA[for (int $index$ = 0; $index$ < $max$; ++$index$) {
$selected$ $end$
}]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Microsoft Visual Studio 2005 IDE Enhancements
Overview
Visual Studio 2005 IDE Enhancements are a set of Visual Studio extensions
that are designed to make you more productive. These enhancements are directly
integrated into the Visual Studio IDE. This set of enhancements includes Source
Code Outliner, Visual C++ Code Snippets, Indexed Find, Super Diff and Event
Toaster tools. All these tools except the IDE Event Toaster can be invoked from
Visual Studio’s View.OtherWindows menu group. The Event Toaster tool can be
configured from the Tools Options dialog under the PowerToys node. The Visual
C++ Code Snippets can be invoked on any C++ source file. Previously, these
enhancements were only available via the Visual Studio 2005 SDK. This
installation does not require Visual Studio 2005 SDK.
Source Code Outliner : The Source Outliner tool is a Visual Studio
extension that provides a tree view of your source code's types and members and
lets you quickly navigate to them inside the editor.
Visual C++ Code Snippets:The Visual C++ Code Snippets tool lets you insert
snippets in your code by using a pop-up menu that contains programming keywords.
VB.NET and C# languages have this functionality in Visual Studio 2005.
Indexed Find : The Indexed Find tool is a Visual Studio extension that uses
the Microsoft Indexing Service to provide improved Search capabilities to the
integrated development environment (IDE). It sends the results of a search to
the Output Window.
Super Diff Utility: The Super Diff Find tool is a Visual Studio extension
that compares text files. It uses color coding and graphics to show the
difference between the files in deleted text (red), changed text (blue),
inserted text (green).
Event Toaster Utility: The Event Toaster tool is a Visual Studio extension
that notifies users about specific events within the Visual Studio
IDE.
Cyclomatic Complexity
Checkout here:
http://en.wikipedia.org/wiki/Cyclomatic_complexity
http://hissa.nist.gov/HHRFdata/Artifacts/ITLdoc/235/chapter2.htm
http://www.rkcole.com/articles/other/CodeMetrics-CCN.html
http://en.wikipedia.org/wiki/Cyclomatic_complexity
http://hissa.nist.gov/HHRFdata/Artifacts/ITLdoc/235/chapter2.htm
http://www.rkcole.com/articles/other/CodeMetrics-CCN.html
- add 1 for each if statement
- add 1 for each for statement
- add 1 for each while loop
- add 1 for each do-while loop
- add 1 for each && (an implied if statement)
- add 1 for each || (an implied if statement)
- add 1 for each ? (an implied if statement)
- add 1 for each . (an implied if statement)
- add 1 for each case statement
- add 1 for each default statement
- add 1 for each catch statement
- add 1 for each finaly statement
- add 1 for each continue statement
Sunday, October 9, 2011
Thursday, October 6, 2011
Subscribe to:
Posts (Atom)