Tuesday 18 December 2012

NoSql Comparision

http://www.thoughtworks.com/articles/nosql-comparison


http://blog.nahurst.com/visual-guide-to-nosql-systems

http://www.techrepublic.com/blog/10things/10-things-you-should-know-about-nosql-databases/1772


http://www.infoworld.com/d/data-management/7-hard-truths-about-the-nosql-revolution-197493?page=0,1


http://natishalom.typepad.com/nati_shaloms_blog/nosql/

Tuesday 23 October 2012

Public Free PAAS and VirtualEnv


http://cloud-computing.findthebest.com/saved_search/Best-PaaS-Cloud-Computing-Providers

http://equallytrue.blogspot.in/2012/05/free-paas-options-for-deving.html


Isolate VirtualEnv http://www.virtualenv.org/en/latest/#what-it-does


https://openshift.redhat.com/app/


Cloudfoundary & Heroku are among the best one in PaaS category. 

  • Windows Azure – Microsoft’s SaaS/PaaS offering for .NET, Node.js, Java, and PHP
  • Google App Engine – supports Java, Python, and Go

PHP-specific PaaS

  • PHPFog – Heroku-like PaaS for PHP
  • Orchestra – PHP PaaS recently acquired by rock star Ruby hosting providerEngine Yard :
  • PagodaBox – new upstart in PHP PaaS with a lot of great developer features and one of the coolest hosting dashboards I’ve ever seen

Also, i forgot to mention about Cloudways.comThey are also offering PaaS with lots of features embedded in their basic click & go cloud package which is available with "Free Trial" https://www.cloudways.com/en/pac... 


Wednesday 10 October 2012

deployD - Build Complex Backends Simple - Expose APIs


Deployd is a platform that makes building complex backends simple. Build APIs for web and mobile apps in minutes instead of days. Unlike working with a traditional backend, there's no boilerplate, or configuration. Deployd works right out of the box. The best part is that you can run it however and wherever you want - it's free and open source.

Yeoman Installation on Windows

Thursday 2 August 2012

How to setup Local DNS server - Posadis

Amazon Kernels

Concepts I like in AWS ** AutoScaling and Different Services

List of MicroFrameWorks

Python Micro Framworks

Language Development Made Easy!

Saturday 9 June 2012

Thursday 16 February 2012

Seed Programming - Linux Shell Based Development using Javscript

http://en.wikipedia.org/wiki/Seed_(programming)

http://live.gnome.org/Seed
What is seed Programming
sudo apt-get install seed

A program using GTK+

This code shows an empty window named "Example".
#!/usr/bin/env seed
 
Gtk = imports.gi.Gtk;
Gtk.init(Seed.argv);
 
var window = new Gtk.Window({title: "Example"});
 
window.signal.hide.connect(Gtk.main_quit);
window.show_all();
 
Gtk.main();

Installation Tips and Tricks when Installing Mongodb

Installation of Mongodb 


Some of the steps that needs to be considered while installing MongoDb.


Step1:

64-bit Linux binaries
$ # replace "2.0.2" in the url below with the version you want
$ curl http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.0.2.tgz > mongo.tgz
$ tar xzf mongo.tgz



Step2: ** Very Important

Create a data directory

By default MongoDB will store data in /data/db, but it won't automatically create that directory. To create it, do:
$ sudo mkdir -p /data/db/
$ sudo chown `id -u` /data/db
You can also tell MongoDB to use a different data directory, with the --dbpath option.

** Please note without Step 2; you can not run mongod under Linux or ubuntu environment.


Its very essential to create the data/db, since the current version of mongodb does'nt create a database directory.


if your are home directory


$ cd /usr/local 
$ sudo ln -s /home/username/mongo mongodb


$ vim .bashrc 
export PATH="$PATH":/usr/local/mongodb/bin


$source .bashrc


Execute the mongodb server 
$mongod








Run mongodb server with REST enabled.

$mongod --rest 


Access Web Admin Interface:
http://localhost:28017/



How memcached works

Wednesday 1 February 2012

How to delete recently used files under ubuntu

Under your ububtu home directory  type
$locate recently


/home/username/.icedtea/cache/recently_used
/home/username/.local/share/recently-used.xbel
$vim /home/username/.local/share/recently-used.xbel

search  the string and delete the  contained <bookmark> tag  

means start and end tag.
<bookmark > ... </bookmark>


ex:


<bookmark href="file:///home/username/eclipses" added="2012-01-19T07:4
4:34Z" modified="2012-01-19T07:44:34Z" visited="2012-01-19T07:44:35Z">
    <info>
      <metadata owner="http://freedesktop.org">
        <mime:mime-type type="inode/directory"/>
        <bookmark:applications>
          <bookmark:application name="File Roller" exec="&apos;file-roller %u&ap
os;" modified="2012-01-19T07:44:34Z" count="1"/>
        </bookmark:applications>
      </metadata>
    </info>
  </bookmark>




How to install RVM on Ubuntu


Install RVM:
$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Reload your shell environment:
$ source ~/.bash_profile
Find the requirements (follow the instructions):
$ rvm requirements

Javascript Conference Videos

Find Alternative Applications ex. for rsync

Typical Pixmap Error during Installation dartLang


Unable to locate theme engine in module_path: "pixmap",
(DartEditor:9771): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(DartEditor:9771): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(DartEditor:9771): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",


sudo apt-get install gtk2-engines-pixbuf

The power of the Asynchronous Module Definition

Wednesday 25 January 2012

Install ANT 1.8.2 using Ubuntu OS Apt-get

Ant is a Java based build tool, similar to make, but with better support for the cross platform issues involved with developing Java applications. Ant is the build tool of choice for all Java projects at Apache and many other Open Source Java projects.

Install ant 1.8.2 using PPA on ubuntu
Open the terminal and run the following commands
sudo add-apt-repository ppa:eclipse-team/debian-package
sudo apt-get update
sudo apt-get install ant

Thursday 19 January 2012

Steps to Enable Web Admin Login Using Ejabberd



How to enable web Interface under ejabberd? 
{5280, ejabberd_http, [
                         captcha,
                         http_poll,
                         web_admin,
                        {request_handlers, [{["users"], mod_available_user}]}
                        ]}
 
$ ejabberdctl restart 
ejabberdctl register admin localhost password 
( ex. ejabberdctl register admin localhost xyz987)
 
access url : http://localhost:5280/admin 
 
Web Interface will look something like this:
ejabberd Web Admin Interface


 
 

How to upgrade Hadoop?

How to install Ejabberd on Ubuntu

How to create Multi User Conference under Ejabberd

The ejabberd mod_muc source is under src/mod_muc in the ejabberd source code, see: https://github.com/processone/ejabberd/tree/master/src/mod_muc.

Nothing looks wrong with your example code, you may also need to call mod_muc_room:start/7 after creation.

I would recommend using ejabberdctl debug on a developemnt ejabberd server & try these functions directly.

editor for nodejs

Nide, a very nice browser-IDE

Example for Hadoop WordCount

Common Error While Formatting Hdfs

Typical Error 
ERROR namenode.NameNode: java.io.IOException: Cannot create directory /app/hadoop/tmp/dfs/name/current
    at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:297)
    at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1219)
    at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1238)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1038)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1145)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1162)

How to solve it :
sudo chown 755 /app/hadoop/tmp


Now we create the directory and set the required ownerships and permissions:

$ sudo mkdir -p /app/hadoop/tmp
$ sudo chown hduser:hadoop /app/hadoop/tmp
# ...and if you want to tighten up security, chmod from 755 to 750...
$ sudo chmod 750 /app/hadoop/tmp

If you forget to set the required ownerships and permissions, you will see a java.io.IOException when you try to format the name node in the next section).

Success Case:

*******************************************/
 INFO util.GSet: VM type       = 64-bit
 INFO util.GSet: 2% max memory = 17.77875 MB
 INFO util.GSet: capacity      = 2^21 = 2097152 entries
 INFO util.GSet: recommended=2097152, actual=2097152
 INFO namenode.FSNamesystem: fsOwner=hduser
 INFO namenode.FSNamesystem: supergroup=supergroup
 INFO namenode.FSNamesystem: isPermissionEnabled=true
 INFO namenode.FSNamesystem: dfs.block.invalidate.limit=100
 INFO namenode.FSNamesystem: isAccessTokenEnabled=false accessKeyUpdateInterval=0 min(s), accessTokenLifetime=0 min(s)
 INFO namenode.NameNode: Caching file names occuring more than 10 times
 INFO common.Storage: Image file of size 112 saved in 0 seconds.
 INFO common.Storage: Storage directory /app/hadoop/tmp/dfs/name has been successfully formatted.
 INFO namenode.NameNode: SHUTDOWN_MSG:



refer:

How do you configure sshd_config

Disabling IPv6

To disable IPv6 on Ubuntu 10.04 LTS, open /etc/sysctl.conf in the editor of your choice and add the following lines to the end of the file:

 
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

** Running hadoop on ubuntu linux Single Node Cluster

Yahoo Open Source Tools and Developer Documentation

Tuesday 10 January 2012

Install Xrdp to Support Rdesktop Connection on Ubuntu

sudo apt-get install build-essential libpam0g-dev libssl-dev x11vnc vncviewer fakeroot checkinstall x11vnc

Thursday 5 January 2012

Important tools while doing a Build


search a package using apt
sudo apt-cache search <application-name>

sudo apt-get install <application name >

for example during build process it says some file are missing;

Under ubuntu you have this <command>
sudo apt-get install apt-file


Additionally apt-file can be used to list all files included in a package without installing or downloading it.

so you can do

sudo apt-file search  gtk+-2.0
and this gives the package name where its located.


Note:
To display hidden file in ubuntu 11.04
crtl-h  on the viewing folder.

other useful utilities

sudo apt-get install nmap
sudo apt-get install samba swat smbclient










Man in the Middle Attacks

Wednesday 4 January 2012

Protocols - Details

Scala Must know base Understanding

  • Setting up the development environment
    • Installing the Scala distribution
    • Installing Eclipse and the Scala plugin
    • Installing sbt
  • Bootstrapping
    • Initial state of the ScalaTrain case study
    • Short recap of important basics
  • Functional programming in depth
    • By-name parameters
    • Local methods
    • Recursion and tail recursion
    • Partial functions
    • Currying
    • Partially applied functions
    • The power of folding
  • Mastering the type system
    • Type parameters
    • Variance
    • Lower and upper bounds
    • Type members
    • Path dependent types
    • Refinements and structural typing
    • Phantom types
    • Self types
  • Explicitly implicit
    • Implicit conversions
    • Implicit parameters
    • Type classes
    • View bounds
    • Context bounds
    • Manifests
  • Internal DSLs

Google JavaScript Style Guide