Skip to content

Instantly share code, notes, and snippets.

View basti1302's full-sized avatar

Bastian Krol basti1302

View GitHub Profile
@basti1302
basti1302 / parameterizable.spec.coffee
Last active March 1, 2018 13:17
An example of a parameterized test suite using the Jasmine BDD framework for JavaScript. This example is in CoffeeScript.
describe "The suit", ->
beforeEach ->
console.log('non-parameterized#beforeEach')
afterEach ->
console.log('non-parameterized#afterEach')
it "should execute specs in the non-parameterized part", ->
console.log('spec in non-parameterized')
@basti1302
basti1302 / change_keyboard_us_to_de.txt
Last active December 11, 2015 05:18
What you need to type to change the keyboard layout from "us" to "de" on CentOS, Fedora and similar Linux systems, when the actual keyboard has a German layout. There are quite a number of pages out there explaining what you need to *do*, but it's quite annoying to find the right keys to *type* while OS's keyboard layout does not match the actua…
# Lines beginning with # are not to be typed :-)
# Type this:
vi -etc-szsconfig-kezboard # vi /etc/sysconfig/keyboard
# The file probably looks like this:
KEYBOARDTYPE="pc"
KEYTABLE="us"
# Now type this: