I, the contributor, grant my contribution to this project under the Affero GNU Public License 3.0.
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
const GlobalMemberStore = (() => { | |
let _members = [] | |
return {} | |
})() |
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
const GlobalMembersArray = [] |
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
//global variable | |
var memArray =[]; | |
//object | |
function member(id, password){ | |
this.id = id; | |
this.pwd = password | |
} | |
var memObj1=new member("m001","123"); | |
memArray.push(memObj1); |
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
``` | |
➜ PROFILE=CLOUD npm run ships | |
> [email protected] ships /Users/sitapati/workspace/Camunda/zeebe-ecommerce-demo/microservices | |
> ts-node shipping/ships.ts | pino-pretty --colorize | |
[2019 Oct-25 21:05:37PM] INFO : | |
context: "/Users/sitapati/workspace/Camunda/zeebe-ecommerce-demo/microservices/node_modules/zeebe-node/dist/zb/ZBWorker.js:26" | |
id: "shipping-worker" | |
message: "Ready for ship-items..." |
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
const magik = magikcraft.io; | |
const Collectors = java.util.stream.Collectors; | |
import * as utils from 'utils' | |
console.log('Loaded track') | |
function main(name, period = 5000) { | |
const world = utils.world(magik.aspecto().world) | |
const target = world.getLivingEntities() | |
.stream() |
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
const magik = magikcraft.io; | |
function main () { | |
const MATERIAL = Java.type('org.bukkit.Material').COMPASS | |
const ItemStack = Java.type('org.bukkit.inventory.ItemStack') | |
const TheThing = new ItemStack(MATERIAL) | |
self.getInventory().addItem(TheThing) | |
} |
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
const magik = magikcraft.io; | |
function main() { | |
const Villager = Java.type("org.bukkit.entity.EntityType").VILLAGER; | |
const world = magik.getSender().getWorld(); | |
const start = magik.aspecto(); | |
const mob = world.spawnEntity(start, Villager); | |
mob.setCustomName('Curly') | |
mob.setCustomNameVisible(true) |
We'll email you as soon as it's ready.
In the meantime, take a look around in here.
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
const magik = magikcraft.io; | |
function main(power = 100) { | |
magik.exsultus(power); | |
} |