maverick_xiii's blog

By maverick_xiii, 9 years ago, In English

Hello again,

CodeHorizon is on Android as promised! :)

Three months ago I posted about CodeHorizon for iOS here, and got a much more positive response than I expected. Thanks a ton for that. For past 4-5 weekends I have been learning Android and working on the Android version of the same app. This version will be able to display live and upcoming contests from various competitive programming websites, and will provide links to the contests. I haven't been able to make the UI as sleek as I wanted, animations are missing and notification system isn't built yet. But I'll be doing that over next couple of weekends.

AppSite : http://www.star-lord.me/CodeHorizon/

ITunes : https://itunes.apple.com/in/app/codehorizon/id925056167?mt=8

Google Play Store : https://play.google.com/store/apps/details?id=com.chintanghate.CodeHorizon

Let me know what you think about the app. If you spot any bugs or have any improvements in mind, suggestions are more than welcome. I hope this app is of some help.

UPDATE: Version 1.1 is out on Android devices! Now Notifications can be set, custom notification timings can be set for various contest hosts! Happy Coding!

Full text and comments »

  • Vote: I like it
  • +6
  • Vote: I do not like it

By maverick_xiii, 9 years ago, In English

Since the Sublime text 3 build 3083 update, short-cuts for building and running single file C++ programs have changed. If you loved the old shortcuts (cmd+b to compile and cmd+shift+b to run), you can restore them by adding these custom key bindings.

	{
		"keys": ["super+b"], 
		"command": "build",
		"context": [
			{ "key": "selector", "operator": "equal", "operand": "source.c++" }
		], 
		"args": {
			"build_system": "Packages/C++/C++.sublime-build",
			"variant": "Build"
		}
	},
 
	{
		"keys": ["super+shift+b"], 
		"command": "build",
		"context": [
			{ "key": "selector", "operator": "equal", "operand": "source.c++" }
		],
		"args": {
			"build_system": "Packages/C++/C++.sublime-build",
			"variant": "Run"
		}
	},

	{
		"keys": ["super+b"], 
		"command": "build",
		"context": [
			{ "key": "selector", "operator": "equal", "operand": "source.java" }
		], 
		"args": {
			"build_system": "Packages/Java/Java.sublime-build",
			"variant": "Build"
		}
	},
 
	{
		"keys": ["super+shift+b"], 
		"command": "build",
		"context": [
			{ "key": "selector", "operator": "equal", "operand": "source.java" }
		],
		"args": {
			"build_system": "Packages/Java/Java.sublime-build",
			"variant": "Run"
		}
	}

Hope this helps :)

EDIT: The previous script I mentioned had a bug : The short-cut keys were executing c++ build command even for java source code. I have resolved that bug using 'context'. 'context' helps link multiple build_systems / commands with same short-cuts. So this should do the trick. And any undefined build_systems here would be executing default behaviour for the short-cuts :)

Full text and comments »

  • Vote: I like it
  • +14
  • Vote: I do not like it

By maverick_xiii, 9 years ago, In English

Hello,

I would like to share 'CodeHorizon' with the CodeForces community. CodeHorizon helps coders like us to keep track of algorithm contests on sites like CodeChef, CodeForces, HackerEarth, HackerRank, TopCoder and few others. You'll be able to view list of all the ongoing and upcoming contests on these sites, and receive notifications for upcoming contests while being online or offline.

Currently the app is available for iOS devices, and the android version will be available soon.

App Site : http://www.star-lord.me/CodeHorizon/

ITunes link : https://itunes.apple.com/in/app/codehorizon/id925056167?mt=8

I hope this app is of some help. Please let me know if you have any suggestions on making the app a bit more useful.

Full text and comments »

Tags app
  • Vote: I like it
  • +17
  • Vote: I do not like it