Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Rails custom ordering of record

Sometimes we need to display the records in a specific order. For that, we need some method Suppose I have the priorities ['0', '8', '4'] .And I have a model event with priority column. Now I need to get all the events order

How to change EditText cursor color?

Hello, This blog will help you to change the cursor color of Android EditText View by creating custom XML file under app's drawable folder. By using following steps you can do it. Step-1 Create a custom xml file custom_edit_text.xml under res/

how can i insert a value into foreign key in mysql table using php?

I am having a problem when I try to push value into a foreign key in MySQL table I don't know if it's correct but I have used the  GET method to pass the primary key through a link but it didn't work so how can I use the right way to

Browsernizer gem integration

We can use browsernizer gem to restrict an application to open on old version of browsers or we can notify user to upgrade browser. Add gem to Gemfile gem 'browsernizer' Run bundel install rails generate browsernizer:install This will be crea

Files actually to be committed in source control

Hello Reader, In Visual Studio, while you are working on a project. Many files i.e. source files and visual studio generated files etc are present in the directory of project on your machine. If you want to use source control,  there is always

Use of json_encode() function in php

 Hi Reader's,  Welcome to FindNerd, today we are going to discuss use of json_encode() function in php. json_encode() is used to convert the array given as it's argument into a JSON string. JSON full form is JavaScript Object Notat

multiple angular app in one page

While working in jsp with some parts common in few pages and ran into a problem to attach multiple apps to a single jsp page. After doing lot of search I found this one the best solution. Create a new app and take all other apps as an parameter. Exam

How to use short code in Wordpress

Hello Friends, If you are new in WP and you would like to use short code, get the knowledge of this as below. Short code is a simple piece of code use in POST or PAGE to invoke set of functionality. For example Contact Form 7 provide [contact-for

Authentication Using PassportJS in express node.js

PassportJS is a flexible Authentication middleware that allows users to login. PassportJS library is fully customizable and works well with ExpressJS. It is flexible in the sense that it allows the user for different login strategies such as LocalSt

Discussion on in-build modules of Nodejs

Welcome to FindNerd. Today we are going to discuss in-build modules in nodejs. If you work in nodejs then you should be familiar with modules. There are many in-build modules available in core libraries of nodejs. You can also get the modules from np

1 121 409
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: