Skip to content

Instantly share code, notes, and snippets.

View ardakazanci's full-sized avatar
:bowtie:
E=mc^2

Arda K. ardakazanci

:bowtie:
E=mc^2
View GitHub Profile
<html>
<head>
<script type="text/javascript">
var baslangicAdediText = 0;
var baslangicAdediDropDown = 0;
function addAllInputs(divName, inputType) {
var yeniDiv = document.createElement('div');
@ardakazanci
ardakazanci / class.database.php
Last active July 9, 2024 10:53
Php OOP - Database Operations - Veritabanı İşlemleri
<?php
/*
* Bir ürün listelsi üzerinde işlem yaptığımızı düşünelim.
* Buna ait listeleme , güncelleme vs. formlarının yapıldığını farz edelim.
* Bu sınıf ile kod karmaşasından kurtulabilirsiniz.
*
*/
class mySQL
<html>
<body>
<?php
for($i=1;$i<=10;$i++){
$demage = rand(0,1000);
$oyuncu_1 = $demage;
<?php
$oyuncu_isimleri = ['A','B','C','D','E','F','G'];
for($harf1=1;$harf1<=2;$harf1++){
$rastgele_indis = rand(0,6);
$isim = $oyuncu_isimleri[$rastgele_indis];
@ardakazanci
ardakazanci / Emulator - Phone Auth Gist Snippets
Last active June 20, 2019 11:59
Emulator - Firebase Phone Auth Snippets
private fun testPhoneVerify() {
// Beyaz Listeye eklenen telefon numarası
val phoneNum = "+16505554567"
val testVerificationCode = "123456"
// Whenever verification is triggered with the whitelisted number,
// provided it is not set for auto-retrieval, onCodeSent will be triggered.
PhoneAuthProvider.getInstance().verifyPhoneNumber(
phoneNum, 30L /*timeout*/, TimeUnit.SECONDS,
this, object : PhoneAuthProvider.OnVerificationStateChangedCallbacks() {
/*
Java's System.out.printf function can be used to print formatted output. The purpose of this exercise is to test your understanding of formatting output using printf.
To get you started, a portion of the solution is provided for you in the editor; you must format and print the input to complete the solution.
Input Format
Every line of input will contain a String followed by an integer.
Each String will have a maximum of alphabetic characters, and each integer will be in the inclusive range from to .
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
@ardakazanci
ardakazanci / Kata
Created January 24, 2020 05:34
Kata
fun main() {
var firstList = listOf<Int>(1, 2, 3, 4, 5)
var secondList = listOf<Int>(5, 4, 3, 2, 7)
var firstListString = ""
var secondListString = ""
var result: String? = null
var resultList = arrayListOf<String>()
Recent Activity
We couldn’t find that file to show.