» Home » Create » Page 1
C# - MCTS - Create a generic linked list class to create a chain of objects
by Mariocki in Programming Languages

please explain what this task is about?

"create a generic linked list class that enables us to create a chain objects of different types."

Do we need to create a class of type linkedlist and implement list interface?

class LinkedList<T>:IList<T>
//implement interface methods here?

Please give example.<

How to user factory girl to create associated lists with a has_many with a validation that requires it on create
by Javed in Programming Languages

In a Rails application, given three models User, Article and Reviewer with the following relationships and validations:

class User < ActiveRecord::Base
has_many :articles
has_many :reviewers
class Reviewer < ActiveRecord::Base
belongs_to :user
belongs_to :article
class Article < ActiveRecord::Base

For my website, is it possible to create a button where users can click on it to create an ICON on their iPhone desktop?
by Funkwarrior in Web Design

User clicks the button, and an icon is added to the iPhone desktop.
If possible, can I activate this button manually?

create html elements on the serverside VS get data as JSON and create tags with javascript
by keyed in Javascript

I want to create a AJAX search to find and list topics in a forum (just topic link and subject).
The question is: Which one of the methods is better and faster?

GET threads list as a JSON string and convert it to an object, then loop over items and create a <li/> or <tr>, write data (link, subject) and append it to threads list. (jQuery Pow

How to create components (labels) on the fly? (or how to create facebook/hotmail-style to add contacts to message)
by ISAslot in Programming Languages

What I want to do is to create something like that hotmail/facebook-style list of selected contacts.. with 1 little block and a "X" for removing each item.

How could I achieve that in .NET?

I thought of creating new labels "on the fly" and use .NET's Ajax UpdatePanel..

But, can I do it? if yes, how can i create a label on the fly, and put it just where I want

MVC3.0+c#+razor: How to create ONE page where posts are shown and comment create part
by Excessi0n in Programming Languages

I'm trying to create a weblog with mvc. I made a database code first with EF. Now I have a page where you can see one post per page. Below I want to show all comments on the post. Thats all working fine. But now I want to make a create comment functionality on that same page.

I'm not sure how to do this? Because this has to create a new object 'comment' instead of the 'post' object

How do I create a call back which runs after the final save in the create method in Rails?
by amosk in Web Design

I have the following create method for a Contact controller:

def create
puts "in create method"
@contact = Contact.create(params[:contact])
unless @contact.vcard.path.blank?
paperclip_vcard = File.new(@contact.vcard.path)
@vcard = Vpim::Vcard.decode(paperclip_vcard).first
@contact.title = @vcard.title

In Mongoose how do I create a MongooseArray/Collection in a model that has .create(), .id(), and .remove() functionality
by soulcougher73 in Development Tools & Services

My Schemas:

Account: mongoose.model('Account', new Schema({
account_name: String,
company: String,
notes: String,
contact_info: [this.ContactInfo]
ContactInfo: mongoose.model('ContactInfo', new Schema({
name: String,
email: String,
phone: String,
notes: String


How do I create a script that appends the file create date to filename using python?
by Ingoschi in Programming Languages

I would like to create a python script that
appends the file created date to the end of the filename while retaining the oringinal file name ("Report") for a batch of pdf documents.

directory = T:WISAARD_Web Portal ProjectsPortalLoggingWebLogExpert
filenames = Report.pdf

Thank you for your help.

How do I create a development tool to create custom object instances for iphone os
by tommy in Programming Languages

I'm setting out to create an app where it will use 7-10 instances of a custom class, lets call them "books" each class will consist of a number of pages, a title, a int of how many pages a book contains and possibly some notes of the author associated with a specific page.

My question is what is the best way of creating these objects. it seems weak to just hard-code all the books to


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .