Skip to content

Instantly share code, notes, and snippets.


Onur Yılmaz csonuryilmaz

Block or report user

Report or block csonuryilmaz

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
csonuryilmaz / test-date.php
Created Dec 25, 2018
Comparing input date with today and decide given input ise history || today || future
View test-date.php
$post = strtotime($data['day']."-".$data['month']."-".$data['year']);
echo $post;
echo "<br/>";
$ctrl = strtotime(date('d-m-Y'));
echo $ctrl;
echo "<br/>";
csonuryilmaz /
Last active Jun 18, 2017 — forked from mkllnk/
Ruby 2 for Debian Wheezy

Ruby 2 for Debian Wheezy

The Problem

Debian Wheezy provides Ruby version 1.9.3. If you want to install a newer version, you need to do that manually. But you don't want to mess with your system Ruby. There are Ruby version managers like rbenv to solve that problem. Unfortunately, Debian's rbenv is out of date as well. You will need to install a newer version of [rbenv] and the [ruby-build] plugin.

csonuryilmaz /
Last active Jul 26, 2019 — forked from christopher-hopper/
Clone a MySQL database to a new database on the same server without using a dump file. This is much faster than using mysqldump.
DBCONN="--host=${DBHOST} --user=${DBUSER} --password=${DBPASS}";
You can’t perform that action at this time.