Junp to the file: https://gist.github.com/MartinMuzatko/4bfc559a0158c4652c2c#file-interact-js
<my-tag>
<div name="items" each={set in data}>{set}</div>
Junp to the file: https://gist.github.com/MartinMuzatko/4bfc559a0158c4652c2c#file-interact-js
<my-tag>
<div name="items" each={set in data}>{set}</div>
// Part of a class | |
apply(compiler) { | |
compiler.plugin('emit', (compilation, callback) => { | |
this.valid = true | |
for (var filename in compilation.assets) { | |
if (this.valid) { | |
this.upload(filename, filename.replace(compilation.options.theme, '')) | |
} | |
} | |
console.log('upload done'); |
navigator.mediaDevices.getUserMedia({audio:0,video:1}) | |
.then(function(mediaStream) { | |
document.body.innerHTML='<video>' | |
var video = document.querySelector('video') | |
video.srcObject = mediaStream | |
video.onloadedmetadata = function(e) { | |
video.play() | |
} | |
}) |
{} |
ProcessWire ProcessWire hat viele Anwendungen. Man verwendet ein existierendes framework als Grundlage um ein eigenes System zu erschaffen. CMF - Content Management Framework statt CMSystem. Das kann aber in alle Richtungen gehen:
Blog
Shop
Eventsystem
Booking
jede WebApp (With ProcessWire as Backend)
Man bestimmt per Oberfläche eigene Datentypen (Felder). Welche in Templates wieder verwendet werden.
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="bureau" |
Cause | |
com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/page.vm'. | |
at com.k15t.scroll.viewport.infra.render.VelocityTemplateAdapter.render(VelocityTemplateAdapter.java:33) | |
caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'template' in class com.k15t.scroll.viewport.api.placeholder.IncludePlaceholder threw exception com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/templates/modules/product/banner.vm'. at templates/modules_template.vm[line 5, column 42] | |
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) | |
caused by: com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/templates/modules/product/banner.vm'. | |
at com.k15t.scroll.viewport.infra.render.VelocityTemplateAdapter.render(VelocityTemplateAdapter.java:33) | |
caused by: org.apache.velocity.exceptio |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
Personal growth