Skip to content

Instantly share code, notes, and snippets.

Murat Çorlu muratcorlu

Block or report user

Report or block muratcorlu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
muratcorlu /
Created Jan 26, 2012
Python command line script to JSON parse
#!/usr/bin python
requires simplejson module (
Usage example:
tail -f /var/log/json.log | grep "" | python log.url
"2011.12.14 14:21" ""
"2011.12.14 14:29" ""
muratcorlu / flashEvent.js
Created Oct 19, 2010
Fire events that can listen by Javascript from Flash
View flashEvent.js
* Flash runs fireFlashEvent function with a event name parameter and
* several optional parameters. Javascript can listen these events by
* binding with addFlashEventListener function.
* Requires jQuery
// Global Document object for caching $(document) selector
Document = null;
muratcorlu / simpletimer.js
Created Oct 10, 2010
Simple timer with javascript
View simpletimer.js
var timer = {
started: 0,
end: 0,
now: function(){ return new Date(); },
start: function(){ return this.started =; },
since: function(){ this.end =; return; }
// Usage:
View jsonencode.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang="tr" lang="tr">
<title> JSON Encoder </title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
if($_POST) {
$unicodes = array('\u015f', '\u015e', '\u011f', '\u011e', '\u0130', '\u0131', '\u00fc', '\u00dc', '\u00d6', '\u00f6', '\u00c7', '\u00e7');
muratcorlu / tabmenu.css
Created Sep 29, 2010
A simple tabmenu implementation with jQuery
View tabmenu.css
div.tabcontent {
} {
You can’t perform that action at this time.