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
From dc515c42fbb7181e03bf0b228b78dd091696d1c5 Mon Sep 17 00:00:00 2001 | |
From: mordka <[email protected]> | |
Date: Tue, 14 Jan 2020 17:52:08 +0000 | |
Subject: [PATCH] fix gcc err | |
--- | |
PotreeConverter/src/PotreeWriter.cpp | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
diff --git a/PotreeConverter/src/PotreeWriter.cpp b/PotreeConverter/src/PotreeWriter.cpp |
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
Potree.KeyCodes = { | |
DELETE: 46 | |
}; | |
THREE.EventDispatcher.prototype.removeEventListeners = function (type) { | |
if (this._listeners === undefined) { | |
return; | |
} | |
if (this._listeners[ type ]) { |
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
const cacheName = 'blogCache'; | |
const offlineUrl = '/offline/'; | |
const adminPageSlug = '/ghost'; | |
/** | |
* The event listener for the service worker installation | |
*/ | |
self.addEventListener('install', event => { | |
event.waitUntil( | |
caches.open(cacheName) |
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
alizarin | |
amaranth | |
amber | |
amethyst | |
apricot | |
aqua | |
aquamarine | |
asparagus | |
auburn | |
azure |
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
// This file will be auto-imported in the app-test context, | |
// ensuring the method is always available | |
import { Meteor } from 'meteor/meteor'; | |
import { sinon } from 'meteor/practicalmeteor:sinon'; | |
function stubUser(currentUserId) { | |
if (!Meteor.userId()) { //dont stub twice just in case | |
sinon.stub(Meteor, 'userId', () => currentUserId); | |
sinon.stub(Meteor, 'user', () => Meteor.users.findOne({ _id: currentUserId })); |
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 Rounding { | |
public BigDecimal round(int n) { | |
return setScale(n, BigDecimal.ROUND_HALF_UP); | |
} | |
} | |
class Taxable { | |
def defaultTaxRate = 0.2 | |
public afterTax(taxRate=defaultTaxRate) { | |
return this * (1-taxRate); |