Skip to content

Instantly share code, notes, and snippets.

View michelbalzer's full-sized avatar

Michel Balzer michelbalzer

View GitHub Profile
/*
A Revised Font Stack
from A Way Back
http://www.awayback.com/revised-font-stack/
*/
/*
@dalethedeveloper
dalethedeveloper / gist:1846552
Created February 16, 2012 17:18
Techniques for Anti-Aliasing @font-face on Windows

#Techniques for Anti-Aliasing @font-face on Windows

It all started with an email from a client: Do these fonts look funky to you? The title is prickly.

The font in question was Port Lligat Sans from Google Web Fonts.

The "prickly" is aliasing caused by lack of hinting

@kevinSuttle
kevinSuttle / meta-tags.md
Last active July 3, 2024 14:23 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags
@leofeyer
leofeyer / contao-db-update.php
Created August 9, 2012 13:04
Update path in database
<?php
// Database credentials
$strHost = 'localhost';
$strUser = '';
$strPassword = '';
$strDatabase = '';
// From and to path
$strFrom = 'tl_files/';
@whitingx
whitingx / meta-tags.md
Created October 5, 2012 16:41 — forked from kevinSuttle/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@brandonb927
brandonb927 / rem.less
Created May 28, 2013 19:40
REM units mixin with PX fallback
/**
* REM units mixin with PX fallback for legacy browsers with no REM unit support
* https://github.com/christopher-ramirez/remixings
*/
// ===== REM UNIT MIXINS ====
@base-font-size-px: 16; // root's font size. @base-font-size-px MUST ME AN INTEGER.
@pxtorem-js-function: ~`pxtorem = function(px){ if (typeof rmxsBaseFontSize == 'undefined') rmxsBaseFontSize = @{base-font-size-px}; return (parseInt(px.replace(/(^\d+)(.+$)/i,'$1')) / rmxsBaseFontSize + 'rem') }`;
// ===== FONT MIXINS =====
.font-size(@value) {
@rubo77
rubo77 / upgrade oscommerce database from v2.2 to v2.3
Last active December 27, 2015 13:09
needed changes to upgrade oscommerce database from v2.2 to v2.3
-- needed changes to upgrade oscommerce database from v2.2 to v2.3:
-- missing keys:
-- ALTER TABLE `$table` ADD $indextype ( `$field` )
-- orders_products :
-- KEY idx_orders_products_orders_id (orders_id)
ALTER TABLE orders_products ADD INDEX (orders_id);
-- KEY idx_orders_products_products_id (products_id)
ALTER TABLE orders_products ADD INDEX (products_id);
@stefansl
stefansl / langconfig.php
Last active March 4, 2016 14:19
Anrede "Du" in Contao-Formularfeldern
<?php
if (TL_MODE == 'FE') {
if ($GLOBALS['TL_LANGUAGE'] == 'de') {
$GLOBALS['TL_LANG']['SEC']['question1'] = 'Bitte addiere %d und %d.';
$GLOBALS['TL_LANG']['SEC']['question2'] = 'Bitte addiere %d und %d.';
$GLOBALS['TL_LANG']['SEC']['question3'] = 'Bitte rechne %d plus %d.';
$GLOBALS['TL_LANG']['MSC']['confirmation'] = 'Passwort bestätigen';
webranking-optimierung.net
agentur-opt.com
agentur-optimierung.net
seowebagentur.net
agentur-marketing.com
opt-support.net
seoagentur-marketing.net
seoagenturmarketing.net
se-seo.net
seoagentur-rank.net