This file contains 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
{ | |
"SearchResult": { | |
"Items": [ | |
{ | |
"ASIN": "B01M9IY6RS", | |
"DetailPageURL": "https://www.amazon.co.jp/dp/B01M9IY6RS?tag=dsea-22&linkCode=osi&th=1&psc=1", | |
"Images": { | |
"Primary": { | |
"Medium": { | |
"Height": 109, |
This file contains 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
// | |
// MyPageTableViewController.swift | |
// Futsal-Kakekomi | |
// | |
// Created by Hiro Fukami on 2019/05/03. | |
// Copyright © 2019 Hiro Fukami. All rights reserved. | |
// | |
import UIKit | |
import Firebase |
This file contains 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
// | |
// FormViewController.swift | |
// Futsal-Kakekomi | |
// | |
// Created by Hiro Fukami on 2019/05/01. | |
// Copyright © 2019 Hiro Fukami. All rights reserved. | |
// | |
import UIKit | |
import Eureka |
This file contains 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
// | |
// ViewController.swift | |
// Futsal-Kakekomi | |
// | |
// Created by Hiro Fukami on 2019/04/22. | |
// Copyright © 2019 Hiro Fukami. All rights reserved. | |
// | |
import UIKit | |
import Firebase |
This file contains 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 'date' | |
require 'mail' | |
require 'json' | |
notify_term = 5 | |
File.open("item-list.json", "r+") do |f| | |
f.each_line { |line| | |
item = JSON.parse(line) |
This file contains 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
version: '2' | |
services: | |
web: | |
depends_on: | |
- db | |
image: ruby:2.3.0 | |
ports: | |
- "3000:3000" | |
links: | |
- db |
This file contains 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
{ | |
"userinfo" : { | |
"username" : [your username], | |
"accessley_id" : [your accesskey_id], | |
"secret-accesskey_id" : [your secret-accesskey_id] | |
}, | |
"s3fs" : { | |
"version" : "1.74" | |
}, | |
"run_list":[ |
This file contains 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
# | |
# Cookbook Name:: swp_setup | |
# Recipe:: default | |
# | |
# Copyright 2014, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
######### create SWAP for micro instance of AWS EC2 ########## |
This file contains 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
# | |
# Cookbook Name:: swp_scale-org | |
# Recipe:: default | |
# | |
# Copyright 2014, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
############## s3fs install ########### |
This file contains 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 'twitter' | |
# login | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = ENV['CONSUMER_KEY'] | |
config.consumer_secret = ENV['CONSUMER_SECRET'] | |
config.access_token = ENV['ACCESS_TOKEN'] | |
config.access_token_secret = ENV['ACCESS_TOKEN_SECRET'] | |
end |