Skip to content

Instantly share code, notes, and snippets.

View ahmeturganci's full-sized avatar
👨‍🚀
Mayday Mayday Houston

Ahmet ahmeturganci

👨‍🚀
Mayday Mayday Houston
View GitHub Profile

Gün geçtikçe bir yenisinin eklendiği javascript çatılarının hangisini nerede kullanmalıyım. Hangisi ne işe yarar hakkında fikir edinmenize yardımcı repo

Şimdi ne geliştirmek istiyorsunuz.

WEB

MOBİLE

OYUN

@ahmeturganci
ahmeturganci / primary-key-restart
Created July 28, 2017 11:46
MSSQL de birincil anahtar sıfırlamak için gerekli sql komutu
/*Verileri sildikten sonra işlemi gerçekleştirilir.*/
DBCC CHECKIDENT ('[Tablo Adı]', RESEED, 0);
GO
@ahmeturganci
ahmeturganci / javascript-notlar
Created August 2, 2017 11:55
Javascript yazarken karşılaştığım basit hatalar ve çözümler.
1------------------------------------------
javascript float parse
1.634l32434 verinin 1.6 şeklinde görülmesi için
var deger = 1.634l32434
print(deger.toFixed(2));
2------------------------------------------
@ahmeturganci
ahmeturganci / database-restart
Created August 4, 2017 06:35
database all data delete
EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
GO
EXEC sp_MSForEachTable 'DELETE FROM ?'
GO
-- enable referential integrity again
EXEC sp_MSForEachTable 'ALTER TABLE ? WITH CHECK CHECK CONSTRAINT ALL'
GO
db.tableName.RemoveRange(db.tableName.Where(x => x.Id == key));
ilişkisel verileri silme entity framework
db.tableName.RemoveRange(db.tableName.Where(x => x.Id == key));
ilişkisel verileri silme entity framework
@ahmeturganci
ahmeturganci / gist:5b264f7455a1fdff471c8b0c8576c545
Created October 3, 2017 13:34
unable to load script from assets index.android.bundle on windows
mkdir android/app/src/main/assets
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
react-native run-android
@ahmeturganci
ahmeturganci / basic-stream-example-csharp
Created November 6, 2017 06:41
Basic stream exapmle for c# -> (file oparation ex. fileread, filewrite, for c#) Raw
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace StreamApp
{
class Program
{
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example Canvas Center Div</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script>
<?php
include 'Parsedown.php';
?>
<html>
<head>
<title>Reading a file using PHP</title>
<meta charset="UTF-8">
</head>
<style type="text/css">