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
import java.sql.*; | |
public class Mysql { | |
public static void main(String[] args) { | |
System.out.println("MySQL connect example."); | |
Connection conn = null; | |
String url = "jdbc:mysql://localhost/"; | |
String dbname = "telrehberi"; | |
String driver = "com.mysql.jdbc.Driver"; | |
String username = "telrehberi"; |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import MySQLdb as may | |
#veritabanina baglaniyoruz | |
db = may.connect(host="localhost", user="telrehberi", passwd="123", db="telrehberi") | |
#c |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import MySQLdb | |
db = MySQLdb.Connection(host="localhost", user="abcd", passwd="123", db="telrehberi") | |
cur = db.cursor() | |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="LibrarySetting" type="LibraryConfigUtilities.ConfigurationSectionHandler, LibraryConfigUtilities" /> | |
</configSections> | |
<!-- Description, | |
Culture : string, valid to construct a CultureInfo object | |
Currency : string, ISO code of currency makes sense. | |
DailyPenaltyFee : Decimal, will be used in penalty fee calculation. | |
PenaltyAppliesAfter : int, number of days that the penalty fee will occur after. |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using LibraryConfigUtilities; | |
namespace LibraryBusiness | |
{ | |
/* Description, | |
* settingList member holds configuration parameters stored in the App.config file, | |
* please explore the properties and methods in the Country class to get a better understanding. |
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
Depo güncelleniyor... | |
Uzak depo [email protected]:hasayvaz/x | |
Üst depo git://github.com/00010011/x | |
Yerel depo uzak depo ile eşzamanlanıyor... | |
error: unknown option `no-edit' | |
usage: git fetch [<options>] [<repository> [<refspec>...]] | |
or: git fetch [<options>] <group> | |
or: git fetch --multiple [<options>] [(<repository> | <group>)...] | |
or: git fetch --all [<options>] |
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
#include<stdio.h> | |
int main(void) | |
{ | |
float ok_2;; | |
int ok_1, ok_3, ok_4, sayi = 2413; | |
ok_1 = sayi/1000; | |
ok_2 = (int)(sayi/100) % 10; | |
ok_3 = (sayi/10)%10; | |
ok_4 = (sayi%10); |
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
#include <stdio.h> | |
#include <stdlib.h> // calloc ve free fonksiyonlari icin gerekli kutuphane | |
#define BOYUT 5 // Carpimi bulunacak kare matrislerin boyutu | |
int i, j; // Global değiskenler. Hem fonksiyonlarda hem mainde ortak kullanildigindan global yapildi. | |
int **yap(int **h) | |
{ | |
for (i = 0;i < BOYUT;i++) | |
for (j = 0;j < BOYUT;j++) { |
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
#include<stdio.h> | |
#include<math.h> | |
#define BOYUT 50 | |
#define TUREV_K (double)0.0000001 | |
double f(double x) | |
{ | |
return 3 * x * x + 12 * x + 7; | |
//return x * x * x - 5 * x * x - 2 * x + 10; | |
} |
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
#!/usr/bin/php | |
<?php | |
$ayrisacak = "Tablet | |
Pfizer | |
Asetilsalisilikasit |
NewerOlder