Skip to main content

Posts

Showing posts from September, 2011

Free Cloud Hosting Providers for your Apps

minus]align: left;" trbidi="on">Interested in New Technologies but Finding hard to experiment your apps in hosted environment? Cloud Providers I am Currently Exploring 1. DotCloud [ https://www.dotcloud.com/ ] [ plus ]Free cloud deployment for apps such as MongoDB, Node.Js, Redis, Ruby, Ruby worker, Python or Solr.  [ plus ]Can deploy 2 apps with a clean URL. [ plus ]No Credit Card Needed [ minus ] command line Interface upload [ minus ] Linux/cygwin  [ plus ] Clean URL 2. AWS by Amazon [ http://aws.amazon.com/free/ ] [ plus ]Most Powerful and Secure [ plus ]750 hours of Amazon EC2 Linux Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) – enough hours to run continuously each month [ plus ]750 hours of an Elastic Load Balancer plus 15 GB data processing [ plus ]10 GB of Amazon Elastic Block Storage , plus 1 million I/Os, 1 GB of snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests [ plus ]5 ...

Migrating from Codeigniter1.6 to Codeigniter2.0

If you are document oriented you should go through http://codeigniter.com/user_guide/changelog.html I am switching to ci v2 here are some problems faced during the migration Issues faced. Issue 1: Class 'MY_Controller' not found in application/controllers/welcome.php on line 3 Solution: All the instructions say to put your controllers in application/library. Not anymore. You place them in application/core.

Writing your Custom Search Chrome Extension

Did you know, all that it takes to develop a Google Chrome Extension is HTML, CSS, JavaScript and an icon. Sounds doable right? Each extension has the following files: A manifest file One or more HTML files (unless the extension is a theme) Optional: One or more JavaScript files Optional: Any other files your extension needs—for example, image files Extensions will run as separate processes: one per extension. Create a folder on your computer and call it CompactSearch. Create a manifest file (text file) inside the folder and call it manifest.json. Add the following contents to the file  { "name": "CompactSearch", "version": "1.0", "authors": [ { "email": "your_email@address.com", "name": "Your Name" } ], "description": "Search without opening an extra tab", "permissions": ["http://*.google.com/"], "browser_ac...

Node.Js Resources

Tutorials Node.js guide Node tuts Videos Introduction to Node.js with Ryan Dahl Node.js: Asynchronous Purity Leads to Faster Development Parallel Programming with Node.js Server-side JavaScript with Node, Connect & Express Books The Node Beginner Book Mastering Node.js Up and Running with Node.js Blogs Ryan Dahl's Node blog How To Node DailyJS Nodejitsu blog Podcasts NodeUp Minute with node.js JavaScript resources Crockford's videos (must see!) Essential JavaScript Design Patterns For Beginners JavaScript garden JavaScript Patterns book JavaScript: The Good Parts book Node Modules Wiki List on Github/Joyent/Node (start here last!) Search for registered node.js modules

10 Reasons to Use Drupal

Here are 10 reasons why you should seriously be considering Drupal for your SEO-based Web development projects. Advanced URL Control — Unlike WordPress, Drupal gives you precise control over URL structure. Each item of content in Drupal (called a node) can be given a custom URL (called a URL alias). In WordPress you are generally limited to one type of permalink URL for all posts. You can override the "post slug", but it's much less precise than Drupal's URL aliases. You can also automate custom URL structures for each different content type with the Pathauto Module. The Global Redirect Module will automatically 301 redirect the internal Drupal URL to the custom URL alias. Unlike many other content management systems, Drupal's content pages have nice clean URLs. Custom Content Types and Views — You can use the Content Construction Kit (CCK) and Views Modules to create new content types and create advanced custom views for them without writing any code. A few...

To get full size profile picture from facebook

The default profile picture from Facebook API: Use this link: http://graph.facebook.com/<user.id>/picture?type=large (note:without using type variable you will receive a 50x50 image of user) The Full Size profile picture: Assumptions The following scripts assume a couple of things: The Facebook Javascript SDK Authenticated Facebook user Permission to access user_photos URL of the full size profile image Graph API method The following Graph API method works by doing two API calls: The first requests all the user albums and gets the ID of the album with the name “Profile pictures”, the second gets the first image from that album. Conveniently, the current profile picture is always the first in the returned list. //Get a list of all the albums FB.api('/me/albums', function (response){ for (album in response.data) { // Find the Profile Picture album if(response.data[album].name == "Profile Pictures"){ // Get a li...