Skip to content

Instantly share code, notes, and snippets.

Sebastian Meyer bastimeyer

Block or report user

Report or block bastimeyer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tests.foo-test.js
import { module, test, todo } from "ember-qunit";
import EmberObject from "@ember/object";
import Mixin from "@ember/object/mixin";
module( "simple es6 classes with .extend", {
before() {
// Works
this.A = class A extends EmberObject {
foo = 1;
View tests.foo-test.js
import { module, test, setupTest } from "ember-qunit";
import { default as EmberObject, computed, observer, set } from "@ember/object";
import { addObserver } from "@ember/object/observers";
module( "value observer", function( hooks ) {
setupTest( hooks );
hooks.beforeEach(function() {
// no value observer
@bastimeyer
bastimeyer / errors.txt
Created Feb 15, 2018
destroyRecord and unloadRecord in EmberData 3.0.1 (broken since 2.12)
View errors.txt
7. one is unregistered
Expected: false
Result: true
8. one doesn't exist
Expected: false
Result: true
11. two doesn't exist
Expected: false
@bastimeyer
bastimeyer / webm
Created Sep 5, 2017
WebM (vp8 / no audio) bash script
View webm
#!/usr/bin/env bash
INPUT="${1}"
OUTPUT="${2:-video.webm}"
MAXSIZE="${3:-3}"
START="${4}"
LENGTH="${5}"
@bastimeyer
bastimeyer / index.html
Last active Aug 29, 2015
Node-Webkit v0.10.0 bug / -webkit-app-region: drag
View index.html
notice the mouseout event: this will only fire when the cursor is leaving the drag region
You can’t perform that action at this time.