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
export function enableFullScreen() { | |
const doc = window.document; | |
return ( | |
doc.fullscreenEnabled || | |
doc.webkitFullscreenEnabled || | |
doc.mozFullscreenEnabled || | |
doc.msFullscreenEnabled | |
); | |
} |
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
● Test suite failed to run | |
Configuration error: | |
Could not locate module Core/api/server/BaseApi (mapped as /home/jenkins/workspace/bsr4b/BsrLib/src/js/core//api/server/BaseApi) | |
"resolver": undefined |
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
// first we need to create a stage | |
var stage = new Konva.Stage({ | |
container: 'container', // id of container <div> | |
width: 500, | |
height: 500 | |
}); | |
// then create layer | |
var layer = new Konva.Layer(); |
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
sips -Z 16 source.png --out icon16.png |
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
var mc = new Hammer(document.getElementById("swiper")); | |
mc.on("swipe", function(e){処理}); |
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
String [] keys = {"u","email"}; | |
String ret = checkKeys(request,keys); |
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
var uuid = getUniqueStr() |
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
let pattern = "http://([a-zA-Z0-9]|.)+" | |
let str:String = "銘柄コード:1557,銘柄名:SPDR S&P500 ETF TRUST板価格:25270.0,板数量:10000にいびつな板(寄与率:81.20178%)を検出しました。http://oreore.com/servlets/Action?SRC=1234" | |
Regexp(pattern).isMatch(str) //マッチした結果 ここではtrue | |
let ret:[String] = Regexp(pattern).matches(str)! //http以下を取得 |
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
class LoginController < ApplicationController | |
def getPath | |
#何もしない | |
end | |
def in | |
path = session[:member_contents_path] | |
#保存したパスがあれば | |
if path.blank? |
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
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
// for APNs | |
let settings = UIUserNotificationSettings(forTypes: [.Alert, .Badge], categories: nil) | |
application.registerUserNotificationSettings(settings) | |
application.registerForRemoteNotifications() | |
// Override point for customization after application launch. | |
return true | |
} |
NewerOlder