First set up your keyboard layout. For example, in Spanish:
# loadkeys es
For a list of all acceptable keymaps:
# localectl list-keymaps
accountsservice | |
acpi | |
acpid | |
alsa-firmware | |
alsa-plugins | |
alsa-utils | |
antigen | |
apparmor | |
arandr | |
artwork-i3 |
[ | |
{ | |
"id": 7, | |
"name": "Garrosh Hellscream", | |
"description": "", | |
"image": "http:\/\/wow.zamimg.com\/images\/hearthstone\/cards\/enus\/medium\/HERO_01.png", | |
"class": "warrior", | |
"type": "hero", | |
"quality": "free", | |
"race": "none", |
#!/bin/bash | |
. /home/nea/.nvm/nvm.sh | |
npm run run |
interface Person { | |
name: string; | |
surname: string; | |
} | |
type StringKeys<T> = string & keyof T; | |
type KeyChangedCallback<T> = (key: StringKeys<T>, obj: T) => void; | |
type UnsubscribeFn = () => void; | |
type KeyChangeObservable<T> = T & { onKeyChanged: (keyName: StringKeys<T>, cb: KeyChangedCallback<T>) => UnsubscribeFn } |
import { IsString, validateOrReject } from 'class-validator' | |
interface ICommandPackage { | |
kind: 'commandPackage' | |
command: string | |
} | |
interface IMessagePackage { | |
kind: 'messagePackage' | |
message: string |
type Class<Instance extends any> = (new (...args: any[]) => Instance) & { [key: string]: any } | |
function MySingleton() { | |
return function decorator<Instance extends any>(constructor: Class<Instance>) { | |
let instance: Instance | null = null | |
let decoratedConstructor = function (...args: any[]) { | |
if (!instance) { | |
instance = new constructor(...args) | |
} |
1. Put app.ico in directory. | |
2. Create app.rc in same directory with one line: | |
IDI_ICON1 ICON DISCARDABLE "app.ico" | |
3. Run command (Warning: it's app.o, not app.res, how it is mentioned in other manuals!) | |
windres app.rc -o app.o | |
4. add_executable(app | |
... |