Skip to content

Instantly share code, notes, and snippets.

View bymustfa's full-sized avatar
💻
Coding 💻

Mustafa ÖZTÜRK bymustfa

💻
Coding 💻
View GitHub Profile
@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()
@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 / 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 / countries.json
Created April 6, 2021 06:13
Global countries json file
[
{
"phoneCode": "93",
"isoCode": "AF"
},
{
"phoneCode": "355",
"isoCode": "AL"
},
{
function numToWord(number) {
const list1 = ['', 'bir', 'iki', 'üç', 'dört', 'beş', 'altı', 'yedi', 'sekiz', 'dokuz', 'on', 'onbir ', 'oniki ', 'onüç', 'ondört', 'onbeş', 'onaltı', 'onyedi', 'onsekiz', 'ondokuz'];
const list2 = ['', '', 'yirmi', 'otuz', 'kırk', 'elli', 'altmış', 'yetmiş', 'seksen', 'doksan'];
const list3 = ['', 'bin', 'milyon', 'milyar', 'trilyon', 'katrilyon'];
let string = '';
for (let i = 0; i < list3.length; i++) {
let number = number % (100 * Math.pow(1000, i));
if (Math.floor(number / Math.pow(1000, i)) !== 0) {
if (Math.floor(number / Math.pow(1000, i)) < 20) {
string = list1[Math.floor(number / Math.pow(1000, i))] + list3[i] + '' + string;
[Route("contact")]
[Route("bize-ulasin")]
[Route("iletisim")]
public IActionResult Contact()
{
return View();
}
[Route("iletisim")]
public IActionResult Contact()
{
return View();
}
npm i serverless-mysql sql-template-strings