Skip to content

Instantly share code, notes, and snippets.

View aliharis's full-sized avatar
💀

haris aliharis

💀
View GitHub Profile
@aliharis
aliharis / stdio.h
Created November 19, 2012 18:14
Standard Input Output for C (Header)
/* stdio.h
Definitions for stream input/output.
Copyright (c) Borland International 1987,1988,1990,1991
All Rights Reserved.
*/
#ifndef __STDIO_H
#define __STDIO_H
@aliharis
aliharis / getYTEmbedUrl.php
Created November 15, 2012 15:11
Get YouTube Embed URL
<?php
/**
* Get YouTube Embed URL
* @author Ali Haris (cyberatoll.com)
*/
/**
* @param url
* @return youtube embed url
@aliharis
aliharis / clearfix.css
Created October 5, 2012 08:17
CSS Clearfix Hack
/* clearfix hack */
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.clearfix {
@aliharis
aliharis / wordpress_featured_image.php
Created October 2, 2012 07:42
Wordpress Theme: Featured Image / Post Thumbnail