-
Leads: https://app.futuresimple.com/apis/leads/api/v1/custom_fields.json
-
Contacts:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def taci | |
| sample :loop_amen, start: 0.75, finish: 1, rate: 1.5 | |
| end | |
| def cita | |
| sample :loop_amen, start: 0.5, finish: 0.75, rate: 1.5 | |
| end | |
| def puci | |
| sample :loop_amen, start: 0.0, finish: 0.25, rate: 1.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Color Scheme - Default/Espresso Libre.tmTheme", | |
| "font_face": "Menlo", | |
| "font_size": 19, | |
| "highlight_line": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def make_random_time | |
| date1 = Time.new | |
| date2 = Time.new - 50000000 # Beginning of time range | |
| Time.at((date2.to_f - date1.to_f) * rand + date1.to_f).to_s | |
| end | |
| contacts = Contact.where(...) | |
| contacts.each { |contact| contact.update_attribute(:last_activity_date, make_random_time) } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'faker' | |
| modules = [Faker::Name, Faker::Company, Faker::Address, Faker::PhoneNumber, Faker::Internet] | |
| puts modules.map { |x| x.methods(false).map { |y| "#{x.to_s.gsub("Faker::", "")} #{y}"} }.flatten.join(',') | |
| data = (0...ARGV[0].to_i).map do | |
| modules.map { |x| x.methods(false).map { |y| x.send(y) if x.method(y).arity < 1} }.flatten.join(',') | |
| end | |
| puts data.join("\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "font_size": 15.0, | |
| "highlight_line": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "scroll_past_end": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'pry' | |
| require 'calabash-cucumber/launch/simulator_helper' | |
| require 'sim_launcher' | |
| After( '@developing' ) do |scenario| | |
| binding.pry if scenario.failed? | |
| end | |
| After do |scenario| | |
| if scenario.failed? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'pry' | |
| After( '@developing' ) do |scenario| | |
| binding.pry if scenario.failed? | |
| end |