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

Search In

Page caching in Rails

Page caching is a technique  in which the output of an action is stored as a HTML file and when a request comes for that action,the web server can serve it without going through Action Pack. So basically in this approach we cache the content ins

Collapsed navigation for all screen sizes in Bootstrap 3

Hi there. Navigation bars have become really easy to work with in Bootstrap 3. Since Bootstrap 3 is mobile first, the navigation bar remains in place for a certain screen size, collapses at a certain screen size and a grid like button appears. Thi

Save image taken from device memory to a specific folder in Android

Step1: Permssion needed to save image. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> Step2: Saving image to the particular directory with new name as given by the user. This will make a seperate directory to th

How to Render Bound Django Form Which Has Arbitrary Text & HTML Injected, as HTML-Safe in the Template?

I am trying to return a bound form that has been modified and has some arbitrary text and HTML inserted into it. I have done some research and have been able to successfully insert some arbitrary text into a bound form but I haven't found any way

Javascript Array Properties and Methods

Basically Array is used to store multiple values in a single variables(only store a fixed size sequential collection of same type of element) . Syntax -> var names = new Array( "Mukesh" , "Ravi"); Parameter of an Array can be a list of string

Coding Standards and Conventions

Coding guidelines and Conventions Every object like datasets, class objects and other reference type variables must be declared with null assignment and must be set to null or Disposed if the object implements IDisposable interface, once they are d

Service Objects in Rails (Refactoring)

"Fat models, skinny controllers" has been the design style for Rails app development. However, with time this style has been outdated as with code growth the models become too fat to handle. Why not use concerns? ActiveSupport concern ca

HashSet<> in C#

In c#, HashSet is a disjoint group of an unique elements. We can a apply a multiple operation on HashSet such as Add, Remove, Contains etc. HashSet is also  allow to apply a standard set of operations such as union, intersection, and symmetric d

How to Encrypt and Decrypt a file in android using AES?

Encryption is the process of encoding plain text data(plaintext) using an encryption algorithm and generating some random and meaningless data (ciphertext) which can only be read after decryption. Decryption is the process of converting ciphertext ba

Finding Banned Words On A Page And Not Within Other Words!

Php Lovers! I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page. I am not actually looking for banned words within other words but within the page (meta tags, content).  And so,

1 55 115
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: