Top "Seed" questions

Seed is a JavaScript interpreter and a library of the GNOME project.

Java random numbers using a seed

This is my code to generate random numbers using a seed as an argument: double randomGenerator(long seed) { Random generator = …

java random seed
Seedable JavaScript random number generator

The JavaScript Math.random() function returns a random value between 0 and 1, automatically seeded based on the current time (similar to …

javascript random seed
What is the best way to seed a database in Rails?

I have a rake task that populates some initial data in my rails app. For example, countries, states, mobile carriers, …

ruby-on-rails ruby database task seed
set random seed programwide in python

I have a rather big program, where I use functions from the random module in different files. I would like …

python random seed
How to re-seed a table identity in SQL Server 2008 and undo it all safely?

I need to do this for testing only, but then undo it when the test is done. I have seen …

sql-server-2008 seed
Seed multiple rows at once laravel 5

I'm currently trying to seed my users table. If I try it like this with 2 rows, it fails. It works …

php laravel schema eloquent seed
How to load db:seed data into test database automatically?

I'm attempting to use the new standard way of loading seed data in Rails 2.3.4+, the db:seed rake task. I'm …

ruby-on-rails testing seed
Adding a custom seed file

I want to populate a new feature with dummy data, but don't want to use the db/seeds.rb file …

ruby-on-rails ruby ruby-on-rails-3.2 rake seed
How to create ApplicationUser by UserManager in Seed method of ASP .NET MVC 5 Web application

I can create users in the old way: var users = new List<ApplicationUser> { new ApplicationUser{PasswordHash = hasher.HashPassword("…

c# .net asp.net-identity seed asp.net-mvc-5.1
Can I somehow execute my db/seeds.rb file from my rails app?

I am building a demo, and I want to make it very easy for a non-technical person to set up …

ruby-on-rails seed