This file contains hidden or 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
| FROM golang:1.9.0 | |
| ENV _HOME=/root | |
| RUN apt-get update | |
| RUN apt-get install -y unzip | |
| RUN curl https://glide.sh/get | sh | |
| RUN mkdir $_HOME/download | |
| RUN curl -o $_HOME/download/go_appengine_sdk_1.9.58.zip https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.58.zip |
This file contains hidden or 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
| <apex:page | |
| sidebar="false" | |
| showHeader="false" | |
| standardStylesheets="false" | |
| applyBodyTag="false" | |
| applyHtmlTag="false" | |
| docType="html-5.0"> | |
| <html> |
This file contains hidden or 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
| apply plugin: 'kotlin' | |
| version '1.0-SNAPSHOT' | |
| buildscript { | |
| ext.kotlin_version = '1.0.6' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { |
This file contains hidden or 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
| curl -X POST \ | |
| -H 'Content-Type:application/json' \ | |
| -H 'Authorization: Bearer 0Sw81tcX82eGuKkMPYRgbvDUeAIbgPC+wKR8T1aKaWy4+7dpUzR2t9XpVDQw1cKivU1AVBD6tE/DIWSz60QTW9UCyC7lJgE+u74XvEceuoMqmZkZdAxw/DMybh6hffSwUhDg74qcrlRZLPRIcahC/wdB04t89/1O/w1cDnyilFU=' \ | |
| -d '{ | |
| "to": "C23fcbe8d92b0e428298ae1e32585fb36", | |
| "messages":[ | |
| { | |
| "type":"text", | |
| "text":"Hello, world1" | |
| }, |
This file contains hidden or 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
| drop.get("*") { request in | |
| var path = request.uri.path.characters | |
| path.removeFirst() | |
| return try drop.view(String(path)) | |
| } |
This file contains hidden or 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
| class EditViewController: UIViewController { | |
| var resultHandler: ((String) -> Void)? | |
| // 何らかの処理をするメソッド | |
| func hogeMethod() { | |
| let data = "テスト" | |
| // handlerに関数がセットされているか確認 | |
| if let handler = self.resultHandler { | |
| handler(data) |
This file contains hidden or 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
| class Thread<Type_> { | |
| fun run(Background_: ((Type_?) -> Any) -> Any, Main_: (Type_?, Throwable?) -> Unit) { | |
| var result: Type_? = null | |
| var err: Throwable? = null | |
| Observable | |
| .create<Type_> { subscriber_ -> | |
| Background_ { value_ -> | |
| subscriber_.onNext(value_) | |
| subscriber_.onCompleted() | |
| } |
This file contains hidden or 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
| <apex:page | |
| cache="false" | |
| sidebar="false" | |
| showHeader="false" | |
| standardStylesheets="false" | |
| applyBodyTag="false" | |
| applyHtmlTag="false" | |
| docType="html-5.0"> | |
| <html> |
This file contains hidden or 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
| sudo npm i --save-dev postcss-loader sugarss precss autoprefixer |
This file contains hidden or 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
| cd deploy_salesforce_using_gulp_webpack-1.0 | |
| sudo npm install gulp gulp-jsforce-deploy gulp-watch gulp-webpack gulp-webpack gulp-zip jquery --save-dev |
NewerOlder