Skip to content

Instantly share code, notes, and snippets.

View burakerdem's full-sized avatar
🏠
Working from home

Burak Erdem burakerdem

🏠
Working from home
View GitHub Profile
@burakerdem
burakerdem / github_issues_to_csv.rb
Created June 13, 2012 09:25 — forked from tkarpinski/github_issues_to_csv.rb
Exports Github issues to CSV (API v3)
require 'octokit'
require 'csv'
require 'date'
# Github credentials to access your private project
USERNAME="USER_NAME"
PASSWORD="SEKRIT"
# Project you want to export issues from
USER="REPO_OWNER"
PROJECT="REPO_NAME"
@burakerdem
burakerdem / gist:2118088
Created March 19, 2012 16:27 — forked from o/gist:2116905
PHP: Localized date time example
<?php
// Check your supported locales with $ locale -a
setlocale(LC_TIME, 'tr_TR.UTF-8');
echo strftime("%d %B %Y %A");
// 19 Mart 2012 Pazartesi
@burakerdem
burakerdem / gist:1046201
Created June 25, 2011 05:38 — forked from brianblakely/gist:581868
HTML: Helpful HEAD content
<!DOCTYPE html>
<!-- Helpful things to keep in your <head/>
// Brian Blakely, 360i
// http://twitter.com/brianblakely/
-->
<head>
<!-- Disable automatic DNS prefetching.