Skip to content

Instantly share code, notes, and snippets.

View melihbuyuk's full-sized avatar

Melih Buyukbayram melihbuyuk

View GitHub Profile
-- Turkce isimler sozlugu twitter : http://twitter.com/tserpico
CREATE TABLE `isimler` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`isimler` varchar(255) DEFAULT NULL,
`cinsiyet` varchar(255) DEFAULT NULL COMMENT 'erkek : E , kadın : K , uniseks : U',
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
-- ----------------------------
@import "compass";
// YOU HAVE TO VIEW FULL PAGE.
$default-transition-property: all;
$default-transition-duration: .2s;
$default-transition-function: ease-out;
$purple: #2a0d4c;
$dark-purple: #661995;
$very-dark-purple: #2c0b40;
@melihbuyuk
melihbuyuk / index.html
Created December 1, 2012 12:57
A CodePen by Glen Cheney. Mini Music Player - A mini music player with audio, RequestAnimationFrame, and CSS Animations. MUST BE VIEWED IN THE FULL PAGE! And I did everything without jQuery :) This was based off a dribbble shot from a friend: http://dri
<!-- This isn't working in result view... not sure why, but view it in the full page and it should work -->
<h1>Click play!</h1>
<h6><a href="http://codepen.io/Vestride/full/todAq" target="_blank">Go to full page first</a></h6>
<article class="player" data-length="326" data-start="0">
<audio>
<source src="https://dl.dropbox.com/u/5433200/we_can_make_the_world_stop.webma" type="audio/webm" />
<source src="https://dl.dropbox.com/u/5433200/we_can_make_the_world_stop.oga" type="audio/ogg" />
<source src="https://dl.dropbox.com/u/5433200/we_can_make_the_world_stop.m4a" type="audio/mp4" />
</audio>
<div class="title">The Glitch Mob - We Can Make the World Stop</div>
@melihbuyuk
melihbuyuk / awesome-php.md
Created November 9, 2012 11:30 — forked from ziadoz/awesome-php.md
Awesome PHP Libraries
@melihbuyuk
melihbuyuk / dabblet.css
Created May 4, 2012 17:07
A "deeper" indented text effect with the :before and :after pseudo-elements.
/**
* A "deeper" indented text effect with the :before and :after pseudo-elements.
*/
html, body {
height: 100%;
}
body {
margin: 0;
@melihbuyuk
melihbuyuk / dabblet.css
Created May 4, 2012 16:13
A "deeper" indented text effect with the :before and :after pseudo-elements.
/**
* A "deeper" indented text effect with the :before and :after pseudo-elements.
*/
html, body {
height: 100%;
}
body {
margin: 0;
<suras alias="chapters">
<sura index="1" ayas="7" start="0" name="الفاتحة" tname="Al-Faatiha" ename="The Opening" type="Meccan" order="5" rukus="1" />
<sura index="2" ayas="286" start="7" name="البقرة" tname="Al-Baqara" ename="The Cow" type="Medinan" order="87" rukus="40" />
<sura index="3" ayas="200" start="293" name="آل عمران" tname="Aal-i-Imraan" ename="The Family of Imraan" type="Medinan" order="89" rukus="20" />
</sura>
<sura id="2">
<aya id="1" text="Alif Lam Mim."/>
<aya id="2" text="This Book, there is no doubt in it, is a guide to those who guard (against evil)."/>
</sura>
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@melihbuyuk
melihbuyuk / gist:1830433
Created February 14, 2012 21:05
php exif
public function upload($localFile, $name, $attributes = array())
{
$id = $this->user->getNextId('photo');
if($id === false)
{
$this->logger->crit('Could not fetch next photo ID');
return false;
}
$tagObj = new Tag;
$attributes = $this->whitelistParams($attributes);