This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object NumberExtension { | |
| private val birler = arrayOf("", "Bir", "İki", "Üç", "Dört", "Beş", "Altı", "Yedi", "Sekiz", "Dokuz") | |
| private val onlar = arrayOf("", "On", "Yirmi", "Otuz", "Kırk", "Elli", "Altmış", "Yetmiş", "Seksen", "Doksan") | |
| private val gruplar = arrayOf("", "Bin", "Milyon", "Milyar", "Trilyon", "Katrilyon") | |
| @JvmStatic | |
| fun Long.humanize(): String { | |
| if (this == 0L) return "Sıfır" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.demo.services; | |
| import io.jsonwebtoken.Claims; | |
| import io.jsonwebtoken.Jws; | |
| import io.jsonwebtoken.Jwts; | |
| import io.jsonwebtoken.SignatureAlgorithm; | |
| import io.jsonwebtoken.security.Keys; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.stereotype.Service; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class BirthDay | |
| { | |
| private const string Template = | |
| """ | |
| Hey, | |
| {name}'s birthday is on {dob}, which is in {month}. | |
| Let's plan a party! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class NumberExtension | |
| { | |
| static string[] birler = { "", "Bir", "İki", "Üç", "Dört", "Beş", "Altı", "Yedi", "Sekiz", "Dokuz" }; | |
| static string[] onlar = { "", "On", "Yirmi", "Otuz", "Kırk", "Elli", "Altmış", "Yetmiş", "Seksen", "Doksan" }; | |
| static string[] gruplar = { "", "Bin", "Milyon", "Milyar", "Trilyon", "Katrilyon" }; | |
| public static String Humanize(this long sayi) | |
| { | |
| if (sayi == 0) | |
| return "Sıfır"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | |
| <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk> | |
| </PropertyGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <_MauiForceXamlCForDebug Condition="$(Configuration.Contains('Release'))">true</_MauiForceXamlCForDebug> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Word | |
| bir | |
| bu | |
| ve | |
| ne | |
| için | |
| mi | |
| ben | |
| çok | |
| de |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "database/sql" | |
| "log" | |
| "math/rand" | |
| "os" | |
| "time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/xml" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Birim(models.Model): | |
| kisa_ad = models.CharField(_("Kısa Ad"), max_length=50) | |
| ad = models.CharField(_("Ad"), max_length=50) | |
| class Meta: | |
| verbose_name = _("Birim") | |
| verbose_name_plural = _("Birimler") | |
| def __str__(self): | |
| return self.ad |