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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using Freee; | |
public class FreeeEventHandler : MonoBehaviour { | |
Freee.Client client; |
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
using System.Collections; | |
using System.Collections.Generic; | |
using System; | |
using UnityEngine; | |
public class JsonHelper { | |
public static string ArrayToObject (string arrayString) { | |
if (arrayString.StartsWith ("[")) { | |
arrayString = "{\"items\":" + arrayString + "}"; |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Socket.IO chat</title> | |
<style> | |
* { margin: 0; padding: 0; box-sizing: border-box; } | |
body { font: 13px "Source Sans Pro", Helvetica, Arial, 游ゴシック体, YuGothic, メイリオ, Meiryo, sans-serif; } | |
#top-fixed {padding 5px 0px; position: fixed; top: 0; width: 100%;} | |
#bottom-fixed {padding 5px; position: fixed; bottom: 0; width: 100%;} | |
#container { padding: 15px 5px;} |
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
'use strict'; | |
// Tumblr Authenticate | |
const Tumblr = require('tumblr.js'); | |
const tumblr = Tumblr.createClient({ | |
consumer_key: '...', | |
consumer_secret: '...', | |
token: '...', | |
token_secret: '...' | |
}); |
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
"use strict"; | |
const client = require("cheerio-httpcli"); | |
const URL = require("url"); | |
const fs = require("fs"); | |
// 共通変数 | |
const MAX_LEVEL = 5; // 最大遷移回数 | |
// URL | |
if (!process.argv[2]) console.log("No argument"); |