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
@ahmeturganci
ahmeturganci / text-box.html
Created November 10, 2018 22:02
For helping murat app
<!DOCTYPE html>
<html>
<style>
#container{
display: flex;
flex-direction: row;
background-color: antiquewhite;
}
</style>
@ahmeturganci
ahmeturganci / index.html
Created November 7, 2018 14:01
Card-Example-Css-Html
<html>
<head>
<title>Card Example With Flex Css</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<img src="https://s3.amazonaws.com/f.cl.ly/items/2z3C3Z0L2Q0R282p1V0z/Image%202014-12-19%20at%2010.07.09%20AM.png"
const sozVerdik = new Promise(function(resolve, reject){
if (herseyYolunda) {
resolve('İşlem tamam!');
} else {
reject('Bir sıkıntı var...');
}
})
sozVerdik.then(function(cevap){
console.log(cevap) // 'İşlem tamam!' yazısını basar

Hello this archive for How to install react-native on windows?

Step 1: Prerequisites & Prep Work

then you should add Environment variables a new path for SDK and JDK;

JAVA_HOME: C:\path\to\JavaSDK

@ahmeturganci
ahmeturganci / HtmlHelperExtensions.cs
Created July 13, 2018 12:55
Custom razor component example
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ComponentDemo.Helper
{
public static class HtmlHelperExtensions
{
@ahmeturganci
ahmeturganci / SoundEx Algoritması
Last active July 13, 2018 11:04
Did you mean mantalitesinin arkasında yatan algoritmik yapı.
Karakter katarının ilk harfi alınır.
Eğer ilk harf “a, e, h, i, o, u, w, y” harflerinden herhangi biri değilse, bu harfler string değerden silinir.
Sırasıyla tüm harflere aşağıdaki numaralar atanır.
b, f, p, v = 1
c, g, j, k, q, s, x, z = 2
d, t = 3
l = 4
m, n = 5
r = 6
Eğer numaralandırmada aynı numarayı almış iki ya da daha fazla harf yan yanaysa (ilk işlemden önce) ya da bu harflerin arasında h veya w harfi varsa aynı olanlar çıkartılır.
function getClock(){
var date = new Date();
return date.toLocaleTimeString();
}
<!-- Created by ahmeturganci -->
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="256px" height="512px" viewBox="0 0 256 512" enable-background="new 0 0 256 512" xml:space="preserve">
<path fill="#333333" d="M199.379,52.875c0,0-5.744-28.171-9.437-29.812c0,0-9.846-8.205-23.795-8.615s-13.538-3.692-13.538-3.692
H98.454l-0.821,4.103c0,0-33.231-2.872-38.154,13.128l-3.282,24.889c0,0-20.513,11.761-20.513,14.77s20.513-2.188,20.513-2.188
s-1.641,87.794,0,89.162c0,0,0.41,3.556,4.376,3.83c3.967,0.273,14.496,0,14.496,0v4.376H50.864l-0.103,339.114l159.079-0.103
V163.099l-30.292,0.273l-0.82-4.103l16.41-0.82c0,0,4.379,0.273,4.924-5.744c0.548-6.017-0.272-86.975-0.272-86.975
s18.051,3.282,19.692,4.103C221.122,70.654,214.559,55.61,199.379,52.875z M169.225,16.362c10.583,0,30.753,21.197,20.17,21.197
EMs are relative to their parent's font size
REMs are relative to a base font-size
@ahmeturganci
ahmeturganci / docfx.json - example
Created March 30, 2018 11:02
Configure the API reference
{
"metadata": [
{
"src": [
{
"files": [
"Source/**.sln"
],
"exclude": [
"**/obj/**",