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
mocha --delay --exit ./test/suite.js |
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 depcheck from 'depcheck'; | |
import path from "path"; | |
const options = { | |
withoutDev: false, // [DEPRECATED] check against devDependencies | |
ignoreBinPackage: false, // ignore the packages with bin entry | |
skipMissing: false, // skip calculation of missing dependencies | |
ignoreDirs: [ // folder with these names will be ignored | |
'dist' | |
], |
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 'vue-material/dist/vue-material.css' | |
import 'vue-material/dist/theme/default-dark.css' | |
export default { | |
data:()=>({ | |
message: "Now it is for real", | |
title: "Jackie R. Gleason", | |
menuVisible: false | |
}), | |
methods: { | |
toggleMenu () { |
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
// Express Node app | |
app.use('/vue', express.static(__dirname + '/node_modules/vue/dist/vue.esm.browser.js')); | |
app.use('/vue-router', express.static(__dirname + '/node_modules/vue-router/dist/vue-router.esm.js')); |
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 {Other} from "./Other" | |
export class BasePage{ | |
constructor(){ | |
} | |
} |
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 webdriver from "selenium-webdriver"; | |
const url = process.env.TEST_UI_URL || "http://localhost:9090/"; | |
const { By } = webdriver; | |
export class BasePage{ | |
constructor(driver){ | |
if(driver) this.driver = driver; | |
else{ | |
console.log("Driver is undefined"); | |
const builder = new webdriver.Builder() | |
.forBrowser("chrome"); |
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 A{ | |
static get name(){ | |
return "Hello World"; | |
} | |
} | |
export default A; |
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 void uploadFile(MultipartFile file) throws IOException{ | |
long contentLength = file.getBytes().length; | |
long partSize = 5 * 1024 * 1024; | |
String key = file.getOriginalFilename(); | |
InitiateMultipartUploadRequest initRequest = new InitiateMultipartUploadRequest( | |
bucket, key); | |
InitiateMultipartUploadResult initResponse = | |
client.initiateMultipartUpload(initRequest); | |
List<PartETag> partETags = new ArrayList<>(); | |
int partNumber = 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
var http = require('http'), | |
Promise = require('bluebird'); | |
var PromiseRequest = Promise.method(function(data){ | |
return new Promise(function(resolve,reject){ | |
var request = http.request(data.options, function(res){ | |
var response = null; | |
res.setEncoding('utf8'); | |
res.on('data', function (chunk) { | |
console.log('Response: ' + chunk); | |
if(response) |
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
Microsoft Windows [Version 6.1.7601] | |
Copyright (c) 2009 Microsoft Corporation. All rights reserved. | |
java -cp lib/*;structr-ui-1.1-SNAPSHOT-201507052310.b4e80.jar org.structr.Server | |
Jul 13, 2015 1:59:22 PM org.structr.core.Services initialize | |
INFO: Reading structr.conf.. | |
Jul 13, 2015 1:59:22 PM org.structr.core.Services getResources | |
INFO: Found 0 possible resources: [] | |
Jul 13, 2015 1:59:23 PM org.structr.module.JarConfigurationProvider scanResource |