I hereby claim:
- I am jackd942 on github.
- I am jackd942 (https://keybase.io/jackd942) on keybase.
- I have a public key ASDnCCzRsyWAYGUfrc1AZOhuZS0_PIzH7f1N5LN6zCz0jAo
To claim this, I am signing this object:
| // | |
| // DATextField.swift | |
| // devslopes-app | |
| // | |
| // Created by Jack Davis on 2/26/16. | |
| // Copyright © 2016 Devslopes. All rights reserved. | |
| // | |
| import UIKit |
| // | |
| // CGFloatExt.swift | |
| // devslopes-app | |
| // | |
| // Created by Jack Davis on 2/21/16. | |
| // Copyright © 2016 Devslopes. All rights reserved. | |
| // | |
| import UIKit |
| // | |
| // Color+DAButton.swift | |
| // | |
| // Created by Jack Davis on 2/21/16. | |
| // Copyright © 2016 Nine-42 LLC. All rights reserved. | |
| // | |
| import UIKit | |
| // Desired unique index: | |
| // db.collection.ensureIndex({ firstField: 1, secondField: 1 }, { unique: true}) | |
| db.collection.aggregate([ | |
| { $group: { | |
| _id: { firstField: "$firstField", secondField: "$secondField" }, | |
| uniqueIds: { $addToSet: "$_id" }, | |
| count: { $sum: 1 } | |
| }}, | |
| { $match: { |
| //server/controllers/_ticket-control.js | |
| 'use strict'; | |
| const Tickets = require('../models/tickets'); | |
| //=================== | |
| // Create Tickets Route | |
| //=================== | |
| exports.createTicket = function(req, res, next) { |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import "fmt" | |
| func main() { | |
| s := []int{2, 3, 5, 7, 11, 13} | |
| printSlice(s) | |
| // Slice the slice to give it zero length | |
| s = s[:0] |
First, Create a folder inside of lib called seeds
Put your CSV file example.csv into the lib/seeds folder. In the example below, the file is called real_estate_transactions.csv
Make sure you've created a resource with the appropriate columns to match your seed data. The names don't have to match up.