JSON-Mockup für http://blogs.dpa-newslab.com/dpa-nextlab-formatheke/
Das Original-JSON kommt von Wordpress:
http://blogs.dpa-newslab.com/dpa-nextlab-formatheke/wp-json/posts
Hinzugefügt:
JSON-Mockup für http://blogs.dpa-newslab.com/dpa-nextlab-formatheke/
Das Original-JSON kommt von Wordpress:
http://blogs.dpa-newslab.com/dpa-nextlab-formatheke/wp-json/posts
Hinzugefügt:
Influxdb doesn't recognize databases after restart. This is the test case. Yo need a working docker installation to run it.
cd into the directory where you cloned this gist.
run ./start-and-fill-influx.sh
run ./restart-and-query-influx.sh
The data from step 2 seems not to be there.
| # Dockerfile for Node-RED - pulls latest master code from git | |
| # Use the node.js v0.10.36 engine | |
| # based on the Dockerfile from ceejay | |
| FROM node:0.10-slim | |
| MAINTAINER mvtango | |
| # download latest stable node-red | |
| RUN npm install -g mongodb \ | |
| node-red \ | |
| node-red-admin \ | 
JSFIDDLE Vorlage
Ein simpler HTML-Rahmen, um JSFIDDLE-Code zu veröffentlichen. Einfach clonen und ausfüllen und genießen! Anleitung siehe Bild.
Danach - gist hier anschauen:
http://bl.ocks.org/*username*/*gist-ID*
Z.B.
| /** | |
| * Clase del Máster en Periodismo BCN_NY 2014/2015 | |
| */ | |
| body { | |
| background: #fff; | |
| min-height: 100%; | |
| } | |
| p.invisible { | 
| ### Keybase proof | |
| I hereby claim: | |
| * I am mvtango on github. | |
| * I am mvtango (https://keybase.io/mvtango) on keybase. | |
| * I have a public key whose fingerprint is ADD0 B190 E900 D9E0 D364 137E F846 1BC7 AEF5 6E58 | |
| To claim this, I am signing this object: | 
| <html> | |
| <head><title>Two Twitter List Widgets</title></head> | |
| <body> | |
| <h2>Twitter Anleitung: | |
| <a href="https://dev.twitter.com/web/embedded-timelines#timeline-selection">Eine Widget ID, mehrere Listen</a> | |
| </h2> | |
| <div style="width:50%; height: 500px; float:left"> | |
| <a class="twitter-timeline" href="https://twitter.com/dpa/lists/erdogan-in-koeln" data-list-slug="erdogan-in-koeln" data-list-owner-screen-name="dpa" data-widget-id="432176307640606720">Erdogan in Koeln</a> | |
| </div> | 
| DROP PROCEDURE IF EXISTS redate_order; | |
| delimiter // | |
| CREATE PROCEDURE redate_order (INOUT orderid INT, INOUT stamp VARCHAR(255)) | |
| proc:BEGIN | |
| START TRANSACTION; | |
| update wp_wpsg_order set cdate=stamp where id=orderid; | |
| insert into wp_wpsg_orderlog set o_id=orderid,cdate=now(),title="dummy"; | |
| SET @neworder=LAST_INSERT_ID(); | |
| update wp_wpsg_orderlog set title=concat("Datum manuell geändert auf ",stamp) where id=@neworder; | |
| SET stamp=(select title from wp_wpsg_orderlog where id=@neworder); | 
| <html> | |
| <head> | |
| <title>Javascript Tabletop Test</title> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script src="tabletop.js"></script> | |
| </head> | |
| <body> | |
| <div id="data"> | |
| </div> |