Posts

  • Debugging JavaScript apps with vscode

    Debugging JavaScript/JavaScript apps with IDE(vscode).

    We all as a JavaScript developer familiar with the tools to debug our js code in using firebug and dev-tools. there is a lot there to debug JavaScript in the dev-tools. Add a breakpoint and then to the code and more. But as nodeJs developer we miss the IDE support for the Debugging like putting breakpoint in the source files.

    Debugging JavaScript/JavaScript apps with IDE(vscode).

    We all as a JavaScript developer familiar with the tools to debug our js code in using firebug and dev-tools. there is a lot there to debug JavaScript in the dev-tools. Add a breakpoint and then to the code and more. But as nodeJs developer we miss the IDE support for the Debugging like putting breakpoint in the source files.

  • Front End performance tricks.

  • ruby scope deep dive

  • Nested Forms In Angularjs And Validations

    layout: post date: Tue May 17 13:22:59 2016 comments: true title: nested forms in angularjs and validations — _posts/2016-05-17-nested-forms-in-angularjs-and-validations.md// making cc / dd / address forms submitted using ‘$submitted = true’ // we can’t use $setSubmitted(true) on cc / dd / address forms as the // event bubbles through and set ng-submitted on outer / payment form.


    layout: post date: Tue May 17 13:22:59 2016 comments: true title: nested forms in angularjs and validations — _posts/2016-05-17-nested-forms-in-angularjs-and-validations.md// making cc / dd / address forms submitted using ‘$submitted = true’ // we can’t use $setSubmitted(true) on cc / dd / address forms as the // event bubbles through and set ng-submitted on outer / payment form.

  • private properties in javascript using weekmap and symbols

    ##private properties in javascript using weekmap and symbols

    ##private properties in javascript using weekmap and symbols

  • Getting Started With Typescript Basic And Fun

    layout: post date: Mon Apr 11 12:30:04 2016 comments: true title: Getting started with typescript basic and fun —


    layout: post date: Mon Apr 11 12:30:04 2016 comments: true title: Getting started with typescript basic and fun —

  • jekyll blog on github is not working after update

    Jekyll blog on github is not after upate.

    Jekyll blog on github is not after upate.

  • Angular minification safe DI depedency injection

    Angular minification safe DI using gulp plugin.

    Angular minification safe DI using gulp plugin.

  • getting started with Node.js

    let’s assume we have installed node and npm.

    let’s assume we have installed node and npm.

  • using redis as a database

    I was spiking on Redis recently. I wanted to use the redis-objects gem to simulate a shopping cart app even though the README specifically says

    I was spiking on Redis recently. I wanted to use the redis-objects gem to simulate a shopping cart app even though the README specifically says

  • How to use angular $resource the right way

    Angularjs is great javaScript framwork. Compared to other frameworks like Ember its more magical. There is service called $resource in the ngResource module.

    Angularjs is great javaScript framwork. Compared to other frameworks like Ember its more magical. There is service called $resource in the ngResource module.

  • Promise done right way

    Fellow JavaScripters, it's time to admit it: we have a problem with promises.

    Fellow JavaScripters, it's time to admit it: we have a problem with promises.

  • Getting started with React in easy language

    Disclaimer: This post is directly copied from this Blog.So that i will not loose this.

    Disclaimer: This post is directly copied from this Blog.So that i will not loose this.

  • ES6 Javascript with examples

    I heard longtime ago that new JavaScript is coming. There are lot of buzz around it. I was waiting to use it code but no browser supports it fully. Till then i kept waiting until people started to say ES-6 is old ES-7 is coming but i haven’t learnt ES-6.

    I heard longtime ago that new JavaScript is coming. There are lot of buzz around it. I was waiting to use it code but no browser supports it fully. Till then i kept waiting until people started to say ES-6 is old ES-7 is coming but i haven’t learnt ES-6.

  • CSS3 animation for the beginners

    The human brain is hardwired to pay attention to moving objects. Because of this natural reflex to notice movement, adding animation to your website or app is a powerful way to draw users attention to important areas of your product and add interest to your interface.

    The human brain is hardwired to pay attention to moving objects. Because of this natural reflex to notice movement, adding animation to your website or app is a powerful way to draw users attention to important areas of your product and add interest to your interface.

  • create ruby simple http server

    A Simple Web Server in Ruby Posted on November 11, 2011 Few days back I had a job interview with a San Francisco based start up. The interviewer called me over Skype and asked me to write a simple web server in Ruby. The milestones were:

    A Simple Web Server in Ruby Posted on November 11, 2011 Few days back I had a job interview with a San Francisco based start up. The interviewer called me over Skype and asked me to write a simple web server in Ruby. The milestones were:

  • angular scope apply vs timeout as a safe apply

    $timeout and $apply in angular are mystery. There is question on stackoverflow about this mess.

    $timeout and $apply in angular are mystery. There is question on stackoverflow about this mess.

  • angular animation 1.4 with ui router stop working wierd behaviour

    Angular with Angular-animation is great. We started our project including angualr#1.2.16, angualr-animate#1.2.16 and ui-router. We had some animation in our app using angular-animate module.

    Angular with Angular-animation is great. We started our project including angualr#1.2.16, angualr-animate#1.2.16 and ui-router. We had some animation in our app using angular-animate module.

  • JavaScript singleton patterns

    I was interested in javascript singleton-design-pattern. Here i got some patterns for the pattern.

    I was interested in javascript singleton-design-pattern. Here i got some patterns for the pattern.

  • Error: Cannot find module 'lodash. reinterpolate' in npm

    I was working with angular project and was using node for the server and package dependies. After doint some package installing.

    I was working with angular project and was using node for the server and package dependies. After doint some package installing.

  • starting with Emberjs Ember

    Ember is a greate mvc javascript framework. below is the code to understans this.

    Ember is a greate mvc javascript framework. below is the code to understans this.

  • ruby ROR and websites collection

    List of amazing websites for developers.

    List of amazing websites for developers.

  • getting started with bower and gulp

    bower is the easiest to get started with

    bower is the easiest to get started with

  • probabilities and combinations a quick guide

    Probabilites and combinations are very difficult for me understand because i always keep forgetting what they mean.

    Probabilites and combinations are very difficult for me understand because i always keep forgetting what they mean.

  • ruby and ruby on rails ROR some tips

    Ruby is greate language and ROR is greatest framework of all time. Both set the standard for the other to follow and learn. I have been using this from long time now and still amazed by it.

    Ruby is greate language and ROR is greatest framework of all time. Both set the standard for the other to follow and learn. I have been using this from long time now and still amazed by it.

  • Ruby-bits-ruby-concepts

    Create sample Exception handling for the ruby code.

    Create sample Exception handling for the ruby code.

  • web scrapping with ruby

    Ruby is very user friendly language. I like this computer language to complete all my needs.

    Ruby is very user friendly language. I like this computer language to complete all my needs.

  • angularjs form validation handling using

    Angualr js do form validation very verbose way but still you need to add more. $scope.familyForm.$setValidity(submit,false);

    Angualr js do form validation very verbose way but still you need to add more. $scope.familyForm.$setValidity(submit,false);

  • blocks in ruby in depth

    I recommend executing this file, then reading it alongside its output.

    I recommend executing this file, then reading it alongside its output.

  • Removing child root nodes in RABL

    RABL is a good add on to generate JSON output for the api projects.

    RABL is a good add on to generate JSON output for the api projects.

  • guard rspec is not working with vagrant

    ##Gurad is not detecting any file chnage over vagrant files using shared nfs folders.

    I recently found out interesting issue with guard-rspec.

    ##Gurad is not detecting any file chnage over vagrant files using shared nfs folders.

    I recently found out interesting issue with guard-rspec.

  • git squash more than one commit into one and other tricks

    ##Git and some daily tasks for git.

    ##Git and some daily tasks for git.

  • edit-remote-host-file-with-sublime

    How to edit remote file using our favourite editor sublime?

    How to edit remote file using our favourite editor sublime?

  • serialization-in-ruby

    We need serialization in ruby for the data data sharing and object sharing in the program. There are three methods for the serialization in ruby. 1. Yaml 2. Marshaling 3. ‘Json’

    We need serialization in ruby for the data data sharing and object sharing in the program. There are three methods for the serialization in ruby. 1. Yaml 2. Marshaling 3. ‘Json’

  • sorting-in-ruby-step-by-step

    Sorting is always a great question in each language. Sometime it will become pain if we don’t know the power given by the language we are using. Ruby is great in terms of the power and easy given to developer.

    Sorting is always a great question in each language. Sometime it will become pain if we don’t know the power given by the language we are using. Ruby is great in terms of the power and easy given to developer.

  • How to add jekyll plugin to my blog

    ‘Jekyll’ is awesome for the developers who are familiar with github. This becomes easy to write blogs and share common mistakes and solutions.

    ‘Jekyll’ is awesome for the developers who are familiar with github. This becomes easy to write blogs and share common mistakes and solutions.

  • Block and Proc in function in ruby.. Ruby has amzing object/Proc objects. let's how we can use them in our programming.

    Ruby has amzing object/Proc objects. let's how we can use them in our programming.
  • Caching your GitHub password in Git
    1. Tell Git to use osxkeychain using the global credential.helper config:
      git config --global credential.helper osxkeychain
      # Set git to use the osxkeychain credential helper
    The next time you clone an HTTPS URL that requires a password, you'll be prompted for your username and password, and to grant access to the OSX keychain. After you've done this, the username and password are stored in your keychain and you won't be required to type them in to Git again.

    1. Tell Git to use osxkeychain using the global credential.helper config:
      git config --global credential.helper osxkeychain
      # Set git to use the osxkeychain credential helper
    The next time you clone an HTTPS URL that requires a password, you'll be prompted for your username and password, and to grant access to the OSX keychain. After you've done this, the username and password are stored in your keychain and you won't be required to type them in to Git again.
  • Edit Remote Files With Sublime Text via an SSH Tunnel There’s nothing wrong with learning either of those tools, but if you really don’t want to, there are options.  If the server is running FTP, you can use something like Transmit to open the file in a local editor and saves will be automatically uploaded to the server.  Unfortunately, FTP is a very old and VERY insecure protocol that should not be used anymore.  What else can we do?

    There’s nothing wrong with learning either of those tools, but if you really don’t want to, there are options.  If the server is running FTP, you can use something like Transmit to open the file in a local editor and saves will be automatically uploaded to the server.  Unfortunately, FTP is a very old and VERY insecure protocol that should not be used anymore.  What else can we do?
  • How to get a good working Terminal I am rails developer. First, struggle Rails developer has is choosing a good IDE. I found one called "RubyMine". This is really amazing and worked for me till the date it asked me purchase a license to use this.
    But, all other pro guys used vim and other terminal tools.
    After this i tried to use many tools that help to get started with this.

    I am rails developer. First, struggle Rails developer has is choosing a good IDE. I found one called "RubyMine". This is really amazing and worked for me till the date it asked me purchase a license to use this.
    But, all other pro guys used vim and other terminal tools.
    After this i tried to use many tools that help to get started with this.
  • Ruby Class inspection about methods, variables. make you proud about your choice. Currently, i am on break from my 3 years of journey as a web/software developer. I love my domain that includes ugly code turning into beautiful web-pages or applications. Since i am free after a long time and have good mood. I decided to write some tips about my love Ruby and Ruby on Rails.

    Currently, i am on break from my 3 years of journey as a web/software developer. I love my domain that includes ugly code turning into beautiful web-pages or applications. Since i am free after a long time and have good mood. I decided to write some tips about my love Ruby and Ruby on Rails.
  • Ruby dynamic method calling – Khelll's Blog I’m pretty sure that you have heard lots about ruby, specially as being a dynamic language, you can create methods on the fly, add instance variables, define constants and invoke existing methods dynamically , and that’s what this post is all about.

    I’m pretty sure that you have heard lots about ruby, specially as being a dynamic language, you can create methods on the fly, add instance variables, define constants and invoke existing methods dynamically , and that’s what this post is all about.
  • * and ** in ruby methods and more. In the ruby you can use ** or hash in the methods. Here is the some examples plz follow this with me.

    In the ruby you can use ** or hash in the methods. Here is the some examples plz follow this with me.
  • Date, Time, DateTime in Ruby and Rails | Tech Notes from Steven Date time and datetime with user's time zone for the ruby and rails application has been described in a nice way.

    Date time and datetime with user's time zone for the ruby and rails application has been described in a nice way.
  • Writing a web application with Ruby on Rails | 12 Devs Unless you have lived under a rock for the past 5 years or so, you should have already heard of Ruby on Rails. In this article, we’ll write a very simple web application to show its power and speed of development.

    Unless you have lived under a rock for the past 5 years or so, you should have already heard of Ruby on Rails. In this article, we’ll write a very simple web application to show its power and speed of development.
  • Single Resource REST Rails routes Single Resource REST Rails routes:



    'via Blog this'

    Single Resource REST Rails routes:



    'via Blog this'
  • Adding a counter cache for fun and profit Very important for getting the couters for the related Relations in the rails .

    Plz, complete this for the project it will reduce a lot of headache and queries will be faster.

    Very important for getting the couters for the related Relations in the rails .

    Plz, complete this for the project it will reduce a lot of headache and queries will be faster.
  • Fun with Variants and Enums in Rails 4.1 Variants can be used within a respond_to block to handle the same action in separate ways. Using the 

    Variants can be used within a respond_to block to handle the same action in separate ways. Using the 
  • What's new in Rails 4.1 - the brew pub - brewhouse software blog A  very good article for the rails 4 read. All new features are listed here.



    What's new in Rails 4.1 - the brew pub - brewhouse software blog:



    'via Blog this'

    A  very good article for the rails 4 read. All new features are listed here.



    What's new in Rails 4.1 - the brew pub - brewhouse software blog:



    'via Blog this'
  • Adding a counter cache for fun and profit Adding a counter cache for fun and profit: "Adding a counter cache for fun and profit"



    'via Blog this'

    Adding a counter cache for fun and profit: "Adding a counter cache for fun and profit"



    'via Blog this'
  • Fun with Variants and Enums in Rails 4.1 This blog shows very good example of  variants for rails 4.1.



    This can be used for Mobile, Tables and Desktops and Can be used with ActionModel.



    Fun with Variants and Enums in Rails 4.1:


    This blog shows very good example of  variants for rails 4.1.



    This can be used for Mobile, Tables and Desktops and Can be used with ActionModel.



    Fun with Variants and Enums in Rails 4.1:


  • Create a devise user from Ruby console - Stack Overflow
    I was using ruby on rails with Devise gem. I needed to create and save some user's from console to gain more access

    I was using ruby on rails with Devise gem. I needed to create and save some user's from console to gain more access
  • How to use bootstrap, Devise and rails_layout for rails project.

    I wanted my new project with rails 4. So, i started with rails with following 

    tasks in mind.

    I wanted my new project with rails 4. So, i started with rails with following 

    tasks in mind.

  • Rails on Edge: Intro to the Rails Console Rails on Edge: Intro to the Rails Console

    Rails on Edge: Intro to the Rails Console
  • SEO and Robots.txt and sitemap SML for beginners.
    Hey, When i first created website for my client. It required SEO so, I started doing that and came across robots.txt and sitemap for better SEO. To accomplish my task I searched for some good references.

    Hey, When i first created website for my client. It required SEO so, I started doing that and came across robots.txt and sitemap for better SEO. To accomplish my task I searched for some good references.
  • Advanced Data Structures in Python | Pypix
    This is really good and may help.
    Advanced Data Structures in Python | Pypix:

    'via Blog this'


    This is really good and may help.
    Advanced Data Structures in Python | Pypix:

    'via Blog this'
  • Create a simple REST web service with Python
    This is a quick tutorial on how to create a simple RESTful web service using python.

    This is a quick tutorial on how to create a simple RESTful web service using python.
  • JavaScript and autosave with grunt, npm, node.js, bower, grunt, yeoman, coffeescript
    This is the link to make this work.

    This is the link to make this work.
  • @property in python.
    To understand i found some links to make it clear.

    To understand i found some links to make it clear.
  • Understanding Python Iterables and Iterators | Shut Up and Ship Understanding Python Iterables and Iterators | Shut Up and Ship:

    'via Blog this'

    Understanding Python Iterables and Iterators | Shut Up and Ship:

    'via Blog this'
  • Web scraping in python
    Here is a good presentation by a cool dude on "Web scrapping - Python".

    Here is a good presentation by a cool dude on "Web scrapping - Python".
  • Fill form using python
    I have searched the web for this topic. Here is the collection of some nice links and questions.

    I have searched the web for this topic. Here is the collection of some nice links and questions.
  • NDB for beginner's to get a start.
    NDB is the newest way to store data in GAE(Google AppEngine). I had to struggle with it to get a good start here is what i learned from my experiments.

    NDB is the newest way to store data in GAE(Google AppEngine). I had to struggle with it to get a good start here is what i learned from my experiments.
  • Routing in Google AppEngine using Webapp2.
    Hi,
    There are may things that are hidden on the google docs.

    Hi,
    There are may things that are hidden on the google docs.
  • PHP CURL and json encode and decode..
    HI , this is very simple but hard to start using CURL in php
    1. This is use to make http request to other sites like

    HI , this is very simple but hard to start using CURL in php
    1. This is use to make http request to other sites like
  • Timed Notifications with CSS Animations | Codrops Timed Notifications with CSS Animations | Codrops:

    This is amazing use of the css for the tickers. here. do follow this.
    For this follow this is link.


    'via Blog this'

    Timed Notifications with CSS Animations | Codrops:

    This is amazing use of the css for the tickers. here. do follow this.
    For this follow this is link.


    'via Blog this'
  • How to make Tool-tip arrow or dialog-arrow using css.
    We have some cool, tool-tips on some websites,
    This looks cool .

    Here is the css to create this cool tool-tip arrow.

    We have some cool, tool-tips on some websites,
    This looks cool .

    Here is the css to create this cool tool-tip arrow.
  • A Whole Bunch of Amazing Stuff Pseudo Elements Can Do | CSS-Tricks A Whole Bunch of Amazing Stuff Pseudo Elements Can Do | CSS-Tricks:

    A Whole Bunch of Amazing Stuff Pseudo Elements Can Do | CSS-Tricks:
  • jquery - How do I test for an empty Javascript object from JSON? - Stack Overflow

  • How to parse or escape html in javascript??/
    Sometimes we want to create html using JavaScript.

    Sometimes we want to create html using JavaScript.
  • Javascript class and object. know class of object .Iterate over json in javascript. Mostly that's due to JavaScript being a prototype-based language, as opposed to Java being a class-based

    Mostly that's due to JavaScript being a prototype-based language, as opposed to Java being a class-based
  • Some important topic in javasacript... like null, undefined, and event.
    use of null and false undefined in javascript.
    1. if variable may not be defined one so check it first.

    use of null and false undefined in javascript.
    1. if variable may not be defined one so check it first.
  • Problem with 'heredoc' in php and solution.

    you may get two types of error using heredoc in php.
    1.Parse error: syntax error, unexpected T_SL in.....

    you may get two types of error using heredoc in php.
    1.Parse error: syntax error, unexpected T_SL in.....

  • Problem with 'heredoc' in php and solution.

    you may get two types of error using heredoc in php.
    1.Parse error: syntax error, unexpected T_SL in.....

    you may get two types of error using heredoc in php.
    1.Parse error: syntax error, unexpected T_SL in.....

subscribe via RSS