Skip to content

Instantly share code, notes, and snippets.

Environment.js:255 Uncaught Error: No match for variant "undefined" (undefined type) in variants [true,false] found, and no default ("default") given
at Object.__pickFromValues (Environment.js:255)
at Object.select (Environment.js:201)
at /cboulanger/qx-cli/test/foo/source-output/transpiled//qx/core/Property.js:1031
at /cboulanger/qx-cli/test/foo/source-output/transpiled//qx/core/Property.js:1480
qx.core.Environment.__pickFromValues() @ Environment.js:255
qx.core.Environment.select() @ Environment.js:201
(anonymous) @ /cboulanger/qx-cli/test/foo/source-output/transpiled//qx/core/Property.js:1031
(anonymous) @ /cboulanger/qx-cli/test/foo/source-output/transpiled//qx/core/Property.js:1480
Environment.js:255 Uncaught Error: No match for variant "undefined" (undefined type) in variants [true,false] found, and no default ("default") given

How to set up a qooxdoo/NodeJS testing environment using c9.io

If you want to test the qooxdoo toolchain without installing anything on your computer, you can follow the steps below, using the awesome IDE-as-a-service cloud9.io

  1. Get a free account at https://c9.io/, using GitHub as an authentication provider
  2. Create a new public workspace, using the "NodeJS" template
  3. Delete all template files and folders except the .c9 folder so that they don't interfere with your installation. Close the opened editor tab with the readme file.
  4. Go the bash console
@cboulanger
cboulanger / tkbam-log.txt
Created August 10, 2017 19:05
Log of tklbam backup NextCloud appliance
root@nextcloud /# tklbam backup
warning: old backup record deleted, creating new ...
Creating /TKLBAM (contains backup metadata and database dumps)
==============================================================
mkdir -p /TKLBAM
mkdir /TKLBAM/etc
// needed to automatically detect and fix file ownership issues
@cboulanger
cboulanger / qx-contrib-publish.sh
Created October 8, 2017 22:01
qx contrib publish (patch|feat[ure]|break[ing]) --message "blah"
#!/bin/bash
# Create GitHub pages
set -e
cp -a demo/default/api /tmp/
cp -a demo/default/build /tmp/
current=$(git symbolic-ref --short HEAD)
git checkout gh-pages
mv /tmp/api .
mv /tmp/build .
@cboulanger
cboulanger / phpenv-osx.sh
Created October 14, 2017 11:04 — forked from eporama/phpenv-osx.sh
Setup multiple versions of PHP on OSX using homebrew
#!/usr/bin/env bash
# Use this script to install or re-install multiple versions of PHP
# You should be able to re-run the script multiple times; it will update/reinstall what it needs.
# Check OS
if [ "${OSTYPE//[0-9.]/}" != "darwin" ]; then
echo "This script is intended for OSX users."
exit
@cboulanger
cboulanger / bibliograph-sqldumb-2db.sql
Last active March 18, 2018 07:01
The initial bibliograph database content, two dabases ("bibliograph_admin", "bibliograph_user")
-- MySQL dump 10.13 Distrib 5.5.44, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: bibliograph_admin
-- ------------------------------------------------------
-- Server version 5.5.44-0ubuntu0.14.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@cboulanger
cboulanger / app.log
Last active May 18, 2018 10:38
Log information for isbn import from worldcat. scroll down to error.log to see errors.
2018-05-18 10:11:57 [info][application] ==========================================================
2018-05-18 10:11:57 [info][application] Testing ISBN import
2018-05-18 10:11:57 [info][application] ==========================================================
2018-05-18 10:12:01 [info][webservices] [√] ISBN 9780521137348 successfully imported (1/498)
2018-05-18 10:12:04 [info][webservices] [√] ISBN 9780521190268 successfully imported (2/498)
2018-05-18 10:12:08 [info][webservices] [√] ISBN 9780521873765 successfully imported (3/498)
2018-05-18 10:12:13 [info][webservices] [√] ISBN 9783531168548 successfully imported (4/498)
2018-05-18 10:12:17 [info][webservices] [√] ISBN 0-19-826798-3 successfully imported (5/498)
2018-05-18 10:12:21 [info][webservices] [√] ISBN 0-19-924466-9 successfully imported (6/498)
2018-05-18 10:12:24 [info][webservices] [√] ISBN 0-203-83135-7 successfully imported (7/498)
@cboulanger
cboulanger / failing-isbns.json
Created May 18, 2018 10:46
List of ISBNs that return invalid work IDs from Worldcat LinkedData
{
"failedIsbns": [
"0-674-03270-5",
"0-7100-9747-6",
"978-0-19-020355-9",
"978-0-19-251546-9",
"978-0-19-827725-5",
"978-0-19-871777-5",
"978-0-19-873217-4",
"978-0-19-879332-8",
#!/usr/bin/env bash
set -e # break on errors
echo
echo "Installing latest (development) version of Bibliograph"
echo "======================================================"
# ------- DEFAULT VALUES --------
@cboulanger
cboulanger / hetzner-proxmox-docker.sh
Created June 27, 2018 19:15 — forked from rwenz3l/hetzner-proxmox-docker.sh
Hetzner Dedicated with Debian 9 (Stretch) and Proxmox 5 (LXC) + Docker-CE + Portainer [NAT]
#############################################
### Proxmox V & Docker-CE + Portainer #
#############################################
## Rescue System
# Erase other disks
dd if=/dev/zero of=/dev/sda bs=1M count=100
dd if=/dev/zero of=/dev/sdb bs=1M count=100
# You can install debian 9 via the guide: