Skip to content

Instantly share code, notes, and snippets.

View hitecherik-gist's full-sized avatar

hitecherik-gist

View GitHub Profile
@mhail
mhail / php_csv_parse.php
Created December 5, 2012 19:51
PHP parse csv file
$line = 0; $header = array();
if (false !== ($handle = fopen($file_name, "r"))) {
while (false !== ($data = fgetcsv($handle))) {
if (0 === $line) {
$header = $data;
} else {
$data = array_combine($header, $data);
@dziudek
dziudek / dabblet.css
Created December 5, 2012 19:30
Image :hover animation I
/**
* Image :hover animation I
*/
figure {
height: 300px;
overflow: hidden;
perspective: 600;
position: relative;
width: 400px;