this repo contains two analogous script prototypes for screencasting to livecoding.tv
- ffmpeg implementation - full-featured and works quite well
- gstreamer implementetion - work in progress
| {"blocks":{"air":0, | |
| "stone":1, | |
| "grass":1, | |
| "dirt":1, | |
| "cobblestone":1, | |
| "planks":1, | |
| "sapling":0, | |
| "bedrock":1, | |
| "flowing_water":0, | |
| "water":0, |
| {"blocks":{"air":0, | |
| "stone":1, | |
| "granite":1, | |
| "polished_granite":1, | |
| "diorite":1, | |
| "polished_diorite":1, | |
| "andesite":1, | |
| "polished_andesite":1, | |
| "grass_block":1, | |
| "dirt":1, |
| {"blocks":{"air":0, | |
| "stone":1, | |
| "granite":1, | |
| "polished_granite":1, | |
| "diorite":1, | |
| "polished_diorite":1, | |
| "andesite":1, | |
| "polished_andesite":1, | |
| "grass_block":1, | |
| "dirt":1, |
| #You probably want to do this in root to reduce the amount of sudos required | |
| su - | |
| #Clean out any existing rules and allow incoming traffic to begin with | |
| iptables -P INPUT ACCEPT | |
| iptables -F | |
| #Allow all internal connections | |
| iptables -A INPUT -i lo -j ACCEPT |
| <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
| <link type="text/css" rel="stylesheet" href="Styles/style.css"/> | |
| <style type="text/css"> | |
| path.arc { | |
| cursor: move; | |
| fill: #fff; |
| function onFormSubmit(e) { | |
| var fields = []; | |
| for (i = 0; i < e.response.getItemResponses().length; i++) { | |
| var response = e.response.getItemResponses()[i]; | |
| fields.push({ | |
| "name": response.getItem().getTitle(), | |
| "value": JSON.stringify(response.getResponse()), | |
| "inline": false | |
| }); |
| """A simple implementation of a greedy transition-based parser. Released under BSD license.""" | |
| from os import path | |
| import os | |
| import sys | |
| from collections import defaultdict | |
| import random | |
| import time | |
| import pickle | |
| SHIFT = 0; RIGHT = 1; LEFT = 2; |
| #![feature(macro_rules)] | |
| /// MIT license etc. etc. | |
| /// | |
| /// Experimenting with Python-like list comprehensions. | |
| /// | |
| /// An attempt to explore the possibility space for ergonomic improvements | |
| /// in Rust that can come post v1.0. Notice that there are not type declerations. | |
| /// Aside from the "c!" macro invocation, Rust allows for an exact copy of the | |
| /// Python comprehension syntax. |
this repo contains two analogous script prototypes for screencasting to livecoding.tv
#Reload examples Original code
###Minimal example Reload when '.' key is pressed.
class Leaderboard(Subscriber, Reloadable):
# There is no __init__() with args and no state, so
# neither capture_args() nor _persistent_attributes