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.Linq; | |
using System.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.SceneManagement; //!< 追加 | |
#endif | |
// 参考: https://qiita.com/sango/items/4b9035c3e75d497f91ef#_reference-00718cd16d3962c60da9 |
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
λ [boxp@Golyat] ~ | |
ルイ);゚ -゚ ノ) < curl --dump-header - http://sprix.jp | |
HTTP/1.1 503 Service Unavailable | |
Date: Fri, 26 Aug 2016 15:59:59 GMT | |
Server: Apache | |
Accept-Ranges: bytes | |
Content-Length: 175 | |
Connection: close | |
Content-Type: text/html |
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 System.Random | |
chimpo :: String -> String | |
randomString :: String -> String | |
chimpo c = if take 4 c == "ABCDE" | |
then c ++ ("なんか終わりました" ++ (show (length c ))) | |
else chimpo (randomString c) | |
randomString s = getStdRandom(randomR(0,4)) >>= \r -> case r of |
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
(reify Plugin | |
(get-name [this] nil) | |
(on-status [this status] nil) | |
(on-rt [this status] nil) | |
(on-unrt [this status] nil) | |
(on-fav [this source target status] nil) | |
(on-unfav [this source target status] nil) | |
(on-del [this status] nil) | |
(on-follow [this source user] nil) | |
(on-dm [this dm] nil) |
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
(do | |
(require '[gntp :as gp] | |
'[clojure.java.io :as io]) | |
(let [growler (gp/make-growler "Grimoire") | |
notifier (if (try (.. @main-stage isShowing) | |
(catch Exception e nil)) | |
(fn [& _] nil) | |
(growler :default {:icon (io/input-stream (io/resource "alice.png"))}))] | |
(reify Plugin | |
(get-name [this] nil) |
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
(reify Plugin | |
(get-name [this] "美容室で〜す^^") | |
(on-status [this status] nil) | |
(on-rt [this status] nil) | |
(on-unrt [this status] nil) | |
(on-fav [this source target status] nil) | |
(on-unfav [this source target status] nil) | |
(on-del [this status] nil) | |
(on-follow [this source user] nil) | |
(on-dm [this dm] nil) |
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
(do | |
; 名前空間の束縛はdo内で行なって下さい | |
(import '(javafx.scene.input Clipboard ClipboardContent)) | |
; プラグインを作成 | |
; それぞれnilの部分を書き換えて,プラグインの処理を書いて下さい. | |
(reify Plugin | |
; 右クリックメニューの名前を返します | |
(get-name [this] "クリップボードへコピー") | |
; ツイート(status)を受信した際に呼ばれる | |
(on-status [this status] nil) |
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
(ns atcoder.core | |
(:use [clojure.string :only (join split split-lines)])) | |
; don't fix me | |
(defn gen-args | |
[input] | |
(split-lines input)) | |
; start code section |
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
(ns atcoder.core | |
(:use [clojure.string :only (join split split-lines)])) | |
; don't fix me | |
(defn gen-args | |
[input] | |
(split-lines input)) | |
; start code section |
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
(ns atcoder.core | |
(:use [clojure.string :only (join split split-lines)])) | |
; don't fix me | |
(defn gen-args | |
[input] | |
(split-lines input)) | |
; start code section |
NewerOlder