Skip to content

Instantly share code, notes, and snippets.

@fahrio
fahrio / keybase.md
Created July 15, 2015 20:17
Keybase Proof

Keybase proof

I hereby claim:

  • I am fahrio on github.
  • I am fahrio (https://keybase.io/fahrio) on keybase.
  • I have a public key whose fingerprint is 21DE 9241 F6D1 3EF2 A536 FD2A B6FA 08AF 3CF2 2D9E

To claim this, I am signing this object:

@fahrio
fahrio / gist:6891204
Last active December 25, 2015 00:58
Turkish Translation file for Kirby Panel http://getkirby.com/docs/panel
<?php
/*
* author: Fahri Özkaramanlı <http://fahrio.com>
*/
l::set(array(
// global
'ok' => 'Tamam',
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////// RULERS ////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// taskbar_height variable from application.js
var ruler_template = "<div id=\"ruler_c\">&nbsp;</div><div id=\"ruler_fv\">&nbsp;</div><div id=\"ruler_fh\">&nbsp;</div><div id=\"ruler_h_holder\"><div id=\"ruler_h\"></div></div><div id=\"ruler_v_holder\"><div id=\"ruler_v\"></div></div>";
function rulers_init(){
// remove previous template divs
$('#ruler_c').remove();
@fahrio
fahrio / gridalicious-independent-column-scroll.js
Created October 23, 2012 00:14
Demonstrates a possible relative column scrolling feature for Grid-A-Licious on http://suprb.com/apps/gridalicious/. Relative column scrolling ensures that the scrolling ends with galcolumns' bottoms alligned.
var shortest_height = $("#device").outerHeight();
var scrolldistance;
$("#device .galcolumn").each(function(){
if ($(this).outerHeight() < shortest_height) {
shortest_height = $(this).outerHeight();
scrolldistance = shortest_height - $(window).height();
}
})