View SSFD4 Species Statistics
Wolf: 25
Drache: 15
Fuchs: 12
Husky: 11
no species: 9
Tiger: 4
Löwe: 4
Katze: 4
Gepard: 3
Hyäne: 3
View error.log
root@martin ~/dev/github/vuepress-test [13:05:42]
> # vuepress dev
VuePress dev server listening at http://localhost:8080/
✖ 「wdm」: Hash: 482d59b7699f3b63f858
Version: webpack 4.5.0
Time: 14647ms
Built at: 2018-4-16 12:05:56
Asset Size Chunks Chunk Names
View gist:18bfb4f72de5abca72c40c22a202ba9c
How do you get that JSON?
Data is what drives our apps and tools.
Whenever you need data, you need to figure out what is the best way to use that data in the front-end.
Depending on your options and the way you use that data, you can figure out what to do with it.
Control over the data
Does it belong to you? Have you created the data?
Can you host it?
Is it static?
Is it dynamic?
Does it have to be managed? By Who?
View beautify-sql-schema.js
const sqlFormatter = require('sql-formatter')
const promisify = require('promisify-node')
const fs = promisify('fs')
const path = require('path')
const INDENT = '\t'
const SCHEMAFILE = path.resolve(__dirname, 'schema.sql')
(async () => {
try {
View init.coffee
# 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 ->
View Events.php
<?php namespace ProcessWire;
class Events extends PagesType {
/**
* Construct the Events manager for the given parent and template
*
* @param Template|int|string|array $templates Template object or array of template objects, names or IDs
* @param int|Page|array $parents Parent ID or array of parent IDs (may also be Page or array of Page objects)
*/
View stacktrace.java
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
View iframeCSSinject.html
<script>
var Arrive=function(e,t,n){"use strict";function r(e,t,n){l.addMethod(t,n,e.unbindEvent),l.addMethod(t,n,e.unbindEventWithSelectorOrCallback),l.addMethod(t,n,e.unbindEventWithSelectorAndCallback)}function i(e){e.arrive=f.bindEvent,r(f,e,"unbindArrive"),e.leave=d.bindEvent,r(d,e,"unbindLeave")}if(e.MutationObserver&&"undefined"!=typeof HTMLElement){var o=0,l=function(){var t=HTMLElement.prototype.matches||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector;return{matchesSelector:function(e,n){return e instanceof HTMLElement&&t.call(e,n)},addMethod:function(e,t,r){var i=e[t];e[t]=function(){return r.length==arguments.length?r.apply(this,arguments):"function"==typeof i?i.apply(this,arguments):n}},callCallbacks:function(e,t){t&&t.options.onceOnly&&1==t.firedElems.length&&(e=[e[0]]);for(var n,r=0;n=e[r];r++)n&&n.callback&&n.callback.call(n.elem,n.elem);t&&t.options.onceOnly&&1==t.firedElems.length&&t.me.unbindEventWithSelectorAndC
View page.vm
## place somewhere at the bottom before </body> - doesn't matter
<script>
window.spaceKey = '$repository.key'
</script>