Skip to content

Instantly share code, notes, and snippets.

View ramazansancar's full-sized avatar
📚
Study

Ramazan Sancar ramazansancar

📚
Study
View GitHub Profile
@ismailbaskin
ismailbaskin / turkce_isimler.sql
Last active May 11, 2024 07:47
Türkçe isim veritabanı
-- Turkce isimler sozlugu twitter : http://twitter.com/baskindev
CREATE TABLE `isimler` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`isimler` varchar(255) DEFAULT NULL,
`cinsiyet` varchar(255) DEFAULT NULL COMMENT 'erkek : E , kadın : K , uniseks : U',
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
-- ----------------------------
@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
@berkayunal
berkayunal / Alışveriş Kategori Veritabanı
Created February 14, 2012 09:56
Piyasada bulabileceğiniz en geniş ilan, alışveriş kategori veritabanı. Araba,motorsiklet marka, model, alt modellerinden tutun da hizmet ilanı kategorilerine kadar her şey burada tam 36540 kayıt. csv formatında
This file has been truncated, but you can view the full file.
"id","parentID","isim","haschild"
3518,0,"Emlak",1
3613,3518,"Konut",1
16623,3613,"Satılık",1
16633,16623,"Daire",0
152512,16623,"Residence",0
16635,16623,"Müstakil Ev",0
16636,16623,"Villa",0
152456,16623,"Çiftlik Evi",0
152480,16623,"Köşk & Konak",0
@berkayunal
berkayunal / country.php
Created March 21, 2012 13:19
Türkçe Ülke Kodları (ISO 3166-1) Alpha-2
<?php
$lang['country_AF'] = 'Afganistan';
$lang['country_DE'] = 'Almanya';
$lang['country_AD'] = 'Andorra';
$lang['country_AO'] = 'Angola';
$lang['country_AG'] = 'Antigua ve Barbuda';
$lang['country_AR'] = 'Arjantin';
$lang['country_AL'] = 'Arnavutluk';
$lang['country_AW'] = 'Aruba';
$lang['country_AU'] = 'Avustralya';
@jlong
jlong / uri.js
Created April 20, 2012 13:29
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active June 6, 2024 22:59
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@ziyahan
ziyahan / gist:3938729
Created October 23, 2012 13:28
Vergi Kimlik No Doğrulama Algoritması
function vergikimlik(kno) {
var v1 = 0;
var v2 = 0;
var v3 = 0;
var v4 = 0;
var v5 = 0;
var v6 = 0;
var v7 = 0;
var v8 = 0;
var v9 = 0;
#!/bin/bash
# Enter the names of the dbs to be backup
# Example: DBONLY=("database1" "cphulkd")
# If you want to backup all
# Example: DBONLY=()
DBONLY=("database1" "cphulkd")
# Enter minutes for file deletetion older than X
# Example 10 Minutes: DELFILESOLDERTHANMIN="10"
@bag-man
bag-man / cpu.js
Last active May 5, 2024 22:16
How to calculate the current CPU load with Node.js; without using any external modules or OS specific calls.
var os = require("os");
//Create function to get CPU information
function cpuAverage() {
//Initialise sum of idle and time of cores and fetch CPU info
var totalIdle = 0, totalTick = 0;
var cpus = os.cpus();
//Loop through CPU cores
@chilts
chilts / alexa.js
Created October 30, 2013 09:27
Getting the Alexa top 1 million sites directly from the server, unzipping it, parsing the csv and getting each line as an array.
var request = require('request');
var unzip = require('unzip');
var csv2 = require('csv2');
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip')
.pipe(unzip.Parse())
.on('entry', function (entry) {
entry.pipe(csv2()).on('data', console.log);
})
;