Skip to content

Instantly share code, notes, and snippets.

View marek-saji's full-sized avatar
:shipit:

Marek ‘saji’ Augustynowicz marek-saji

:shipit:
View GitHub Profile
@xiaochengh
xiaochengh / explainer.md
Last active December 14, 2022 09:21
Explainer: Font Metrics Override Descriptors

Explainer: Font Metrics Override Descriptors

(A newer version is at here, where a new descriptor advance-override is added)

Spec

This doc explains descriptors ascent-override, descent-override and line-gap-override for CSS @font-face rule.

Basic usage:

@marek-saji
marek-saji / gadugadu-stare.yaml
Last active April 26, 2017 11:00
Classic emojis from Gadu-Gadu for Slack. See https://github.com/lambtron/emojipacks on how to import.
title: Gadu-Gadu-stare
emojis:
- name: 3m_sie
src: http://aqq.wapster.pl/EmotsImgSrv.aspx?uid=-1&pid=1755&eid=18472
- name: 8P
src: http://aqq.wapster.pl/EmotsImgSrv.aspx?uid=-1&pid=1755&eid=18473
- name: aniolek
src: http://aqq.wapster.pl/EmotsImgSrv.aspx?uid=-1&pid=1755&eid=18474
- name: beksa
src: http://aqq.wapster.pl/EmotsImgSrv.aspx?uid=-1&pid=1755&eid=18333
@marek-saji
marek-saji / .gitconfig
Last active July 4, 2016 14:27
Useful things to put in your ~/.gitconfig
[user]
email = your-email@example.com
name = Your Name
[github]
user = your-login
[color]
ui = auto
[diff]
@marek-saji
marek-saji / config
Created February 27, 2014 10:17
Add this to ~/.ssh/config to be able to connect to your koding.com VM via vm-{N}.{NAME}.koding.kd.io
Host *.kd.io
User saji
ProxyCommand ssh %r@ssh.koding.com nc %h %p
window.onerror = function(message, url, linenumber) {
try{
_gaq.push(['_trackEvent', 'Error', 'JS', JSON.stringify({'refurl': document.location.href, 'url': url.replace(/\?\d+$/, ''), 'line': linenumber, 'message': message})]);
} catch (e) {}
return true;
};