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
if (canvas.tokens.controlled.length === 0) | |
ui.notifications.error("Please select a token"); | |
if (game.modules.get("about-time").active != true) | |
ui.notifications.error("About Time isn't loaded"); | |
let namedfields = (...fields) => { | |
return (...arr) => { | |
var obj = {}; | |
fields.forEach((field, index) => { |
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 a script from the repository using a name-based path: | |
<import resource="/Company Home/Data Dictionary/Scripts/library.js"> | |
Import a script from the repository using a NodeRef reference: | |
<import resource="workspace://SpacesStore/6f73de1b-d3b4-11db-80cb-112e6c2ea048"> | |
Import a script from a Java classpath location: |
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
package org.alfresco.sample; | |
import org.springframework.context.ApplicationContext; | |
import org.alfresco.util.ApplicationContextHelper; | |
import org.alfresco.service.ServiceRegistry; | |
import org.alfresco.service.cmr.security.AuthenticationService; | |
import org.alfresco.repo.security.authentication.AuthenticationException; | |
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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
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 { Component, OnInit } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.scss'] | |
}) | |
export class AppComponent implements OnInit { | |
title = 'jitsi'; | |
private jitsi: any; |
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 org.apache.cxf.configuration.jsse.TLSClientParameters; | |
import org.apache.cxf.helpers.IOUtils; | |
import org.apache.cxf.jaxrs.client.WebClient; | |
import org.apache.cxf.transport.http.HTTPConduit; | |
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy; | |
... | |
WebClient client = WebClient.create(uri); |
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
<!-- | |
<project-directory> | |
- src | |
-main | |
- axis2 | |
<all-wsdl-and-xsd-files> | |
- java | |
<all-src-code> | |
- resources | |
- META-INF |
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
package com.app.web; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.stereotype.Service; | |
import com.google.web.bindery.requestfactory.server.ServiceLayerDecorator; | |
import com.google.web.bindery.requestfactory.shared.Locator; | |
import com.google.web.bindery.requestfactory.shared.RequestContext; | |
import com.google.web.bindery.requestfactory.shared.ServiceLocator; |
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 class HttpService { | |
constructor(private http: Http) {} | |
public getSingle<T>(clazz: { new(): T }, url: string, headers?: {}): Promise<T> { | |
return new Promise((resolve, reject) => { | |
this.http.get(url, this.getHeaders(headers)).toPromise().then((response: any) => { | |
let body = response.json(); | |
if (body) { | |
resolve(MapUtils.deserialize(clazz, body)); | |
} else { |
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
//FumbleTables | |
roll20API.processAPI_FGM = function() { | |
var fumble = new Array(); | |
fumble[0] = "Fumbler’s movements put them off balance. They take a -1 penalty to \ | |
their armor class for the next round."; | |
fumble[1] = "Fumbler’s movements put them severely off balance. They lose Dexterity \ | |
and Shield bonuses to AC for the next round. If losing these bonuses does not \ | |
reduce the fumbler’s AC by -2 (or more), then they still must take a -2 penalty."; | |
fumble[2] = "Fumbler trips, and falls prone. They lose Dexterity and Shield bonuses \ | |
to AC for the current round and the next round. If losing these bonuses does not \ |