RDBMSでよくね?
本1冊ぐらい読んで判断してください
https://neo4j.com/book-graph-databases/
http://www.allthingsdistributed.com/2015/08/titan-graphdb-integration-in-dynamodb.html
with SampleAssistant(lang, device_model_id, device_id, | |
conversation_stream, display, | |
grpc_channel, grpc_deadline, | |
device_handler) as assistant: | |
wait_for_user_trigger = not once | |
import snowboydecoder | |
model = 'resources/models/anpanman.pmdl' # アンパンマンのホットワードモデル | |
detector = snowboydecoder.HotwordDetector(model, sensitivity=0.5) |
Rails.application.eager_load! | |
ActiveRecord::Base.descendants.each do |model| | |
model.reflect_on_all_associations.each do |association| | |
begin | |
klass = model.reflect_on_association(association.name).klass | |
p "#{model.name} #{klass.name}" | |
rescue | |
p "error: #{model.name} #{association.name}" | |
end | |
end |
namespace :db do | |
desc 'Make migration with output' | |
namespace :migrate_with_sql do | |
task(:down => :environment) do | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
Rake::Task['db:migrate:down'].invoke | |
end | |
task(:up => :environment) do | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
Rake::Task['db:migrate:up'].invoke |
cat ./urls.txt | xargs -L 1 -P 4 youtube-dl -i --write-thumbnail -o "./%(uploader)s/%(title)s-%(id)s.%(ext)s" $line |
// HOBBY AND CRAFTS - WEB ONLY | |
// var sites = [ | |
// { | |
// name: "Michaels Stores", | |
// url: "http://www.michaels.com/" | |
// }, { | |
// name: "Hobby Lobby", | |
// url: "http://www.hobbylobby.com/home.cfm" | |
// }, { | |
// name: "Jo-Ann Fabric and Craft Stores", |
public gist |