Skip to content

Instantly share code, notes, and snippets.

@deanrad
Last active August 29, 2015 14:06

Revisions

  1. deanrad revised this gist Sep 29, 2014. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions seed_users.js
    Original file line number Diff line number Diff line change
    @@ -2,20 +2,20 @@ if(Meteor.isServer){
    _.each(["Angelo Paramo",
    "Demarcus Drouin",
    "Suzie Magwood",
    "Caron Wilcoxo", 
    "Caron Wilcoxo",
    "Orville Manns",
    "Tashia Taber",
    "Nickie Buchman",
    "Scotty Monette",
    "Clare Murillo",
    "Avis Adkisson",
    "Kizzie Delucia", 
    "Kizzie Delucia",
    "Onie Pettitt",
    "Maxie Copas",
    "Guillermo Vernon",
    "Wes Guardiola",
    "Pasty Poole",
    "Tammi Widger", 
    "Tammi Widger",
    "Alta Whisenhunt",
    "Millie Cronk",
    "Ashlee Hartgrove"], function(u){
  2. deanrad revised this gist Sep 26, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions seed_users.js
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    if(false && Meteor.isServer){
    if(Meteor.isServer){
    _.each(["Angelo Paramo",
    "Demarcus Drouin",
    "Suzie Magwood",
    @@ -24,7 +24,7 @@ if(false && Meteor.isServer){
    var email = uname + "@example.com";
    var pwd = "password";

    Accounts.createUser({
    var uid = Accounts.createUser({
    username: uname,
    email: email,
    password: pwd,
  3. deanrad created this gist Sep 26, 2014.
    36 changes: 36 additions & 0 deletions seed_users.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    if(false && Meteor.isServer){
    _.each(["Angelo Paramo",
    "Demarcus Drouin",
    "Suzie Magwood",
    "Caron Wilcoxo", 
    "Orville Manns",
    "Tashia Taber",
    "Nickie Buchman",
    "Scotty Monette",
    "Clare Murillo",
    "Avis Adkisson",
    "Kizzie Delucia", 
    "Onie Pettitt",
    "Maxie Copas",
    "Guillermo Vernon",
    "Wes Guardiola",
    "Pasty Poole",
    "Tammi Widger", 
    "Alta Whisenhunt",
    "Millie Cronk",
    "Ashlee Hartgrove"], function(u){
    var uname = u.split(" ")[0][0] + u.split(" ")[1];
    var dname = u.split(" ")[0][0] + " " + u.split(" ")[1];
    var email = uname + "@example.com";
    var pwd = "password";

    Accounts.createUser({
    username: uname,
    email: email,
    password: pwd,
    profile: {
    name: dname
    }
    });
    });
    }