- Routing Diagram
- Afspraken
- Livesessie workflow
- Gebruik Midas M32 console
- Gebruik Powerplay P16 (monitor mixertjes)
- Materiaallijst
| #!/bin/bash | |
| #Install any packages required by an R file that aren't already installed | |
| if [ $# -ne 1 ]; then | |
| echo $0: usage: installAllRPackages.bash file | |
| exit 1 | |
| fi | |
| file=$1 |
| library(shiny) | |
| library(shinyjs) | |
| # Get table metadata. For now, just the fields | |
| # Further development: also define field types | |
| # and create inputs generically | |
| GetTableMetadata <- function() { | |
| fields <- c(id = "Id", |
| from peewee import * | |
| class BModel(Model): | |
| class Meta: | |
| database = db | |
| @classmethod | |
| def create_table(cls, *args, **kwargs): | |
| for field in cls._meta.get_fields(): | |
| if hasattr(field, "pre_field_create"): |
Spurred by recent events (https://news.ycombinator.com/item?id=8244700), this is a quick set of jotted-down thoughts about the state of "Semantic" Versioning, and why we should be fighting the good fight against it.
For a long time in the history of software, version numbers indicated the relative progress and change in a given piece of software. A major release (1.x.x) was major, a minor release (x.1.x) was minor, and a patch release was just a small patch. You could evaluate a given piece of software by name + version, and get a feeling for how far away version 2.0.1 was from version 2.8.0.
But Semantic Versioning (henceforth, SemVer), as specified at http://semver.org/, changes this to prioritize a mechanistic understanding of a codebase over a human one. Any "breaking" change to the software must be accompanied with a new major version number. It's alright for robots, but bad for us.
SemVer tries to compress a huge amount of information — the nature of the change, the percentage of users that wil
| import java.util.*; | |
| import java.io.*; | |
| import java.security.*; | |
| public class ChangePassword | |
| { | |
| private final static JKS j = new JKS(); | |
| public static void main(String[] args) throws Exception | |
| { |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| """ | |
| Exports Issues from a specified repository to a CSV file | |
| Uses basic authentication (Github username + password) to retrieve Issues | |
| from a repository that username has access to. Supports Github API v3. | |
| """ | |
| import csv | |
| import requests |