Looking for a jQuery tooltips plugin for your web project? Look no more! qTip is a right choice for you. qTip is an advanced tooltip plugin for the ever popular jQuery JavaScript framework. Built from the ground up to be user friendly, yet feature rich, qTip provides you with tonnes of features like rounded corners and speech bubble tips, and best of all… it’s completely free under the MIT...
Looking for an jQuery auto complete plugin that has similar effect like Facebook? Here you are: AutoSuggest, a very lightweight jQuery plugin that makes auto-completing extremely easy. Their example might be a little bit complex to understand. Here is a simpler one that i did: auto_suggest You can take a look. Have fun! How It Works AutoSuggest will turn any regular text input box into a rad auto-complete box. It will dynamically create all the HTML elements that it needs to function. You don’t need to add any extra HTML to work with AutoSuggest. Also, AutoSuggest uses ZERO images! All styling is done 100% in the included CSS file. This means it is super easy to customize the look of everything! You only need to edit the included CSS file. You can even use images if you want, just add the appropriate lines of code into the CSS file. As you type into the AutoSuggest input box, it will filter through it’s Data and “suggest” matched Data items to you. You can pass in an Object of Data to AutoSuggest or you can have it call a URL as you type to get it’s Data from. AutoSuggest will display the matched Data items in a selectable list, which is 100% customizable. You have the option of structuring the HTML elements of that list however you want via the formatList callback function. You case an example of this in the second example above. When you type into the input box and the “suggestion” dropdown list appears, a few things happen: A class of “loading” is applied to the main AutoSuggest...
It’s a fact that Ruby on Rails programmers don’t buy books! Really! Ruby and Rails are changing fast. Books getting outdated in just a couple of months. Buying books is just a waste of time and money for nothing. At the time the books come out, Ruby on Rails developers already read blogs/saw screencasts or even get hands dirty committing to the rails core source code. Books are just for students, not for RoR...
We can makes Git’s status, branch, and diff commands much more readable by ading the following to ~/.gitconfig: [color] branch = auto diff = auto status = auto [color “branch”] current = yellow reverse local = yellow remote = green [color “diff”] meta = yellow bold frag = magenta bold old = red bold new = green bold [color “status”] added = yellow changed = green untracked =...
Just wanna share with you guys some of the common ruby array functions that I used every day. 1. Summing elements: This is a fairly common task. We’ll use Ruby’s inject method to sum all the items in the array and then print out the sum: my_array.inject(0){|sum,item| sum + item} 2. Double every item: This is a class of problem where we want to preform an operation on every element of the array. Again, this is fairly simple using Ruby’s map method. Think of performing a “mapping” from the first array to the second based on the function in the block. Keep in mind, this will return a new array and will NOT effect the original array. If we want to do a destructive map (change the initial array) we would use map!. This is a common convention in Ruby: my_array.map{|item| item*2 } 3. Finding all items that meet your criteria: If you want to collect all the values in the array that meet some criteria, we can do this using the (duh) find_all method. Again, this will return an array. The code below finds all items that are multiple’s of three : my_array.find_all{|item| item % 3 == 0 } 4. Combine techniques: Let’s now say we want to find the sume of all elements in our array that are multiples of 3. Ruby to the rescue! This is very simple because we can chain methods together gracefully in Ruby. Check it out: my_array.find_all{|item| item % 3 == 0 }.inject(0){|sum,item| sum + item } 5. Sorting: We can sort items in an array quite easily. Below, I will show...
singapore web design,design agency singapore,mobile game developer singapore,ruby on rails developer singapore,singapore web design services,developer in singapore,mobile apps singapore,developers in singapore,mobile application developer singapore,design firms in singapore,android developer singapore,website designer singapore,mobile app developer singapore,mobile developer singapore,website design singapore,ios developer singapore,web development singapore,web design singapore,singapore mobile app developer,web development company singapore,singapore website design,mobile apps development singapore,singapore web development,mobile application development singapore,ios app development singapore,website developer singapore,graphic designer in singapore,web design company singapore,app developer singapore,web application singapore,app development singapore,website development singapore,singapore app developer,web design services singapore,web designer singapore,mobile app development singapore,singapore mobile application developer