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
// | |
// AppDelegate.swift | |
// FirebaseSample | |
// | |
// Created by Yoonchul Koh on 2018/10/01. | |
// Copyright © 2018 Yoonchul Koh. All rights reserved. | |
// | |
import UIKit |
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
// https://qiita.com/howdy39/items/b92c9ba0b050151a889b | |
var scriptProperties = PropertiesService.getScriptProperties(); | |
var nextSyncTokenKey = 'NEXT_SYNC_TOKEN'; | |
var otherDestinationCalendarId = '[コピー先のカレンダーのメールアドレス]'; | |
function calendarUpdatedSample(e) { | |
console.info('calendarUpdatedSample() ------------------------------'); | |
console.log('authMode:%s/calendarId:%s/triggerUid:%s', e.authMode, e.calendarId, e.triggerUid); |
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
Public Const COLUMN_NAME_X = 10 | |
Public Const COLUMN_TYPE_X = 18 | |
Public Const COLUMN_DIGIT_X = 24 | |
Public Const COLUMN_NULL_X = 28 | |
Public Const COLUMN_UNIQUE_X = 30 | |
Public Const COLUMN_TYPE_START = 18 | |
Public Const COLUMN_LIMIT_START = 45 | |
Public Const COLUMN_NULL_START = 60 | |
Public Type ColumnData |
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
/* | |
* DMM英会話のスケジュールを登録する | |
*/ | |
var CALENDAR_NAME = 'YOUR CALENDAR NAME'; | |
var SEARCH_QUERY = 'is:unread subject:"【DMM英会話】レッスン予約完了のお知らせ"'; | |
function registDMMEikaiwaCalendar() { | |
// 指定したカレンダーを取得 | |
var calendars = CalendarApp.getCalendarsByName(CALENDAR_NAME); | |
var calendar; |
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 'open-uri' | |
require 'nokogiri' | |
require 'mechanize' | |
namespace :scrape do | |
desc '健康診断ページから空き情報一覧を取得する' | |
task :medical_checkup => :environment do | |
@courses = { | |
# 1 => "1日人間ドック(午前)", | |
2 => "健保指定ドック(午前)", |
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
import UIKit | |
import Bond | |
class ViewController: UIViewController { | |
let items: MutableObservableArray<String> = MutableObservableArray<String>([]) | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
This file has been truncated, but you can view the full file.
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
ab_IS, "February 14, 2016", MDY | |
ab_IE, "February 14, 2016", MDY | |
ab_AZ, "February 14, 2016", MDY | |
ab_AF, "Bahman 25, 1394 AP", MDY | |
ab_US, "February 14, 2016", MDY | |
ab_VI, "February 14, 2016", MDY | |
ab_AS, "February 14, 2016", MDY | |
ab_AE, "February 14, 2016", MDY | |
ab_DZ, "February 14, 2016", MDY | |
ab_AR, "February 14, 2016", MDY |
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
/* | |
* メルマガ、堀江貴文のブログでは言えない話よりスケジュールを抜き出し | |
* Google Calendarに登録する。 | |
*/ | |
var CALENDAR_NAME = 'ホリエモンのメディアスケジュール'; | |
var SEARCH_QUERY = '堀江貴文のブログでは言えない話 3/'; | |
var PUNCTUATION_HEADER = '■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■'; | |
var SCHEDULE_HEADER = '今週のメディアスケジュール'; | |
var PARTS_OF_SCHEDULE_HEADER = '◆◇'; | |
var PARTS_OF_SCHEDULE_FOOTER = '------------------------------'; |
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 "mechanize" | |
require "yaml" | |
# 設定ファイル | |
config = YAML.load_file("config.yml") | |
# スクレイピング準備 | |
agent = Mechanize.new | |
agent.user_agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36" | |
agent.max_history = 1 |
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="user-scalable=no width=200px initial-scale=0.7" > | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
<title>Slide Puzzle</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script> | |
<style> | |
.grid { |
NewerOlder