Skip to content

Instantly share code, notes, and snippets.

View rssems's full-sized avatar

Selçuk Saydam rssems

View GitHub Profile
@v0lkan
v0lkan / Egitim_Sart.md
Created August 18, 2012 06:39
Webrazzi "IT’de nitelikli işgücü krizi ve çözümü" yazisina yorum olarak
@starstuck
starstuck / compass-retina-sprites.scss
Created August 3, 2012 15:33 — forked from thulstrup/compass-retina-sprites.scss
Using Compass to generate normal and retina sprite maps
/**
* Setup images sprite having high resolution variant for retina displays.
*
* It will create class names for all available icons.
*
* This uses custom function to prefix selectors from array. To get it working you will need to include following snippet in your config.rb
*
* module Sass::Script::Functions
* def prefix_each(array, prefix)
* return Sass::Script::String.new array.to_a.map{|item| prefix.value + item.value}.join(", ")
@mhammonds
mhammonds / HideMobileAddressBar.js
Created September 3, 2011 03:23
Hide Browser Address Bar - Android + iPhone
function hideAddressBar()
{
if(!window.location.hash)
{
if(document.height < window.outerHeight)
{
document.body.style.height = (window.outerHeight + 50) + 'px';
}
setTimeout( function(){ window.scrollTo(0, 1); }, 50 );