Skip to content

Instantly share code, notes, and snippets.

View cem766's full-sized avatar

cem766 cem766

View GitHub Profile
@berkayunal
berkayunal / Kredi Kartı BIN Listesi - CSV
Created January 11, 2012 17:16
Kredi Kartı BIN Listesi
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
@jonsuh
jonsuh / js-ajax-php-json-return.html
Last active September 17, 2022 02:57
jQuery AJAX Call to PHP Script with JSON Return
<div class="the-return">
[HTML is replaced when successful.]
</div>
@barryvdh
barryvdh / _ide_helper.php
Last active May 6, 2024 07:45
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");
@yemrekeskin
yemrekeskin / Sample.TemplateMethod.cs
Created January 6, 2014 13:03
Sample Template Method Design Pattern
class Program
{
static void Main(string[] args)
{
BaseProcessor reportProcessor = new ReportProcessor();
reportProcessor.ProcessorCompleted += reportProcessor_ProcessorCompleted;
reportProcessor.ProcessorStarting += reportProcessor_ProcessorStarting;
reportProcessor.ProcessorStarted += reportProcessor_ProcessorStarted;
@yemrekeskin
yemrekeskin / Sample2.TemplateMethod.cs
Last active January 2, 2016 11:49
Sample 2 : Template Method Design Pattern
class Program
{
static void Main(string[] args)
{
BaseProcessor reportProcessor = null;
reportProcessor = new ImportReportProcessor();
reportProcessor.ProcessorCompleted += reportProcessor_ProcessorCompleted;
reportProcessor.ProcessorStarting += reportProcessor_ProcessorStarting;
reportProcessor.ProcessorStarted += reportProcessor_ProcessorStarted;
@sametatabasch
sametatabasch / ajax.php
Last active January 12, 2021 11:47
CKEditor Ajax Post
<?php
$content = $_POST['editor1'];
if(empty($content)){
$response= array('status'=>'danger','msg'=>'İçerik Boş');
header('Content-Type: application/json');
echo json_encode($response);
}else{
$response= array('status'=>'success','msg'=>$content);
header('Content-Type: application/json');
anonymous
anonymous / config.json
Created December 19, 2014 00:44
Bootstrap Customizer Config
{
"vars": {
"@ Gri-baz": "#000",
"@ Gri-koyu": "lighten(@gray-base, 20%)",
"gray": "lighten(@gray-base, 33.5%)",
"@ Gri-ışık": "lighten(@gray-base, 46.7%)",
"@ Gri-çakmak": "lighten(@gray-base, 93.5%)",
"@ Marka birincil": "darken(#428bca, 6.5%)",
"@ Marka başarı": "#5cb85c",
"@ Marka bilgi": "#5bc0de",
@sonerufler
sonerufler / conn.php
Last active October 26, 2023 07:04
PHP PDO MYSQL SİMPLE LOGİN SYSTEM
<?php // veri tabanı bağlantısı
$ip = "localhost"; //host
$user = "root"; // host id
$password = ""; // password local olduğu için varsayılan şifre boş
$db = "dbtest"; // db adı
//bağlantı
try{
$db = new PDO("mysql:host=$ip;dbname=$db",$user,$password);
// türkçe karakter için utf8
@Scarygami
Scarygami / QuickStats.gs
Created April 8, 2015 17:36
G+ Quick Stats
/**
* Creates a menu entry in the Google Sheets UI when the document is opened.
*/
function onOpen(e) {
SpreadsheetApp.getUi().createAddonMenu()
.addItem('Start', 'showSidebar')
.addToUi();
}
/**
@cem766
cem766 / conn.php
Created February 23, 2016 20:48 — forked from sonerufler/conn.php
PHP PDO MYSQL SİMPLE LOGİN SYSTEM
<?php // veri tabanı bağlantısı
$ip = "localhost"; //host
$user = "root"; // host id
$password = ""; // password local olduğu için varsayılan şifre boş
$db = "dbtest"; // db adı
//bağlantı
try{
$db = new PDO("mysql:host=$ip;dbname=$db",$user,$password);
// türkçe karakter için utf8