Skip to content

Instantly share code, notes, and snippets.

View AbinashBishoyi's full-sized avatar
😊

Abinash Bishoyi AbinashBishoyi

😊
View GitHub Profile
// Invert the color spectrum
Surface::Iter iter(newSurface.getIter());
while(iter.line()) {
while(iter.pixel()) {
iter.r() = 255 - iter.r();
iter.g() = 255 - iter.g();
iter.b() = 255 - iter.b();
}
}
RewriteEngine on
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1 [L]