Skip to content

Instantly share code, notes, and snippets.

View bymustfa's full-sized avatar
💻
Coding 💻

Mustafa ÖZTÜRK bymustfa

💻
Coding 💻
View GitHub Profile
npm i serverless-mysql sql-template-strings
[Route("iletisim")]
public IActionResult Contact()
{
return View();
}
[Route("contact")]
[Route("bize-ulasin")]
[Route("iletisim")]
public IActionResult Contact()
{
return View();
}
function numToWord(number) {
const ones = ['', 'bir', 'iki', 'üç', 'dört', 'beş', 'altı', 'yedi', 'sekiz', 'dokuz'];
const tens = ['', 'on', 'yirmi', 'otuz', 'kırk', 'elli', 'altmış', 'yetmiş', 'seksen', 'doksan'];
const scales = ['', 'bin', 'milyon', 'milyar', 'trilyon', 'katrilyon'];
let integerPart = Math.floor(number);
let fractionalPart = Math.round((number - integerPart) * 100); // Kuruş için iki basamak
let result = '';
@bymustfa
bymustfa / countries.json
Created April 6, 2021 06:13
Global countries json file
[
{
"phoneCode": "93",
"isoCode": "AF"
},
{
"phoneCode": "355",
"isoCode": "AL"
},
{
@bymustfa
bymustfa / HtmlTable.php
Last active October 15, 2022 16:23
Use PHP generate html table
<?php
class HtmlTable
{
public $header = [];
public $body = [];
public $footer = [];
public $actionColumn = [];
@bymustfa
bymustfa / sayiTahmin.py
Created April 21, 2023 13:34
Sayı tahmin etmeni sağlayan python kodu
import random
rasgeleSayi = random.randint( 1, 1000 )
hak = 10
def sayiGir():
global hak
print("Sayı Gir:..")
sayi = input()
@bymustfa
bymustfa / rasgeleMouse.py
Created April 21, 2023 13:39
Mouse 5 saniyede 1 rasgele hareket ettiren python kodu.
import random
import time
import pyautogui
screenWidth, screenHeight = pyautogui.size()