This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* It's pretty annoying that some .net applications cast null as { "@nill" : true } | |
* This could cause your application that expecting some string or integers but instead | |
* receiving that annoying @nill object. To remove this we have to transform the API response | |
* to remove those ugly objects to JS safe null's. | |
* | |
* @author Ilkin Baskan [email protected] - github.com/baskan | |
*/ | |
// a handy object/array detection you might find this useful too. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function log { | |
echo | |
echo "-- $1 --" | |
} | |
function run { | |
echo "# $1" | |
sh -c "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var base_path = __dirname.replace('resources/nodejs', ''); | |
require('dotenv').config({ | |
path: base_path+'.env' | |
}); | |
var port = process.env.NODE_SERVER_PORT, | |
redis = require('redis'), | |
redis_client = redis.createClient(), | |
cookie = require('cookie'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin,banka_kodu,banka_adi,type,sub_type,virtual,prepaid | |
413226,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,PLATINUM | |
444676,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,CLASSIC | |
444677,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,GOLD | |
444678,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,PLATINUM | |
453955,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, CLASSIC | |
453956,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, GOLD | |
454671,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, CLASSIC | |
454672,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, CLASSIC | |
454673,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, BUSINESS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Orginal Author: Ngo Minh Nam | |
function git_commits() | |
{ | |
$dir = base_path(); //for using with laravel | |
$output = array(); | |
chdir($dir); | |
exec("git log",$output); | |
$history = array(); | |
//dd($output); |