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
| using Microsoft.AspNetCore.Authentication; | |
| using Microsoft.AspNetCore.Authentication.Cookies; | |
| using Microsoft.AspNetCore.Authentication.OpenIdConnect; | |
| using Microsoft.IdentityModel.Protocols.OpenIdConnect; | |
| using Microsoft.IdentityModel.Tokens; | |
| using System.Reflection; | |
| using System.Security.Claims; | |
| using Microsoft.EntityFrameworkCore; | |
| using Sivasbeltr.WorkCollab.Web.Data; |
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
| from qgis.core import * | |
| from qgis.gui import * | |
| @qgsfunction(group='Custom', referenced_columns=[]) | |
| def get_park_id(geometry): | |
| layer = QgsProject.instance().mapLayersByName('Parklar')[0] # "Parklar" katmanını al | |
| for feature in layer.getFeatures(): | |
| if feature.geometry().intersects(geometry): # Kesişen parkı bul | |
| return feature['id'] # Parkın id'sini döndür | |
| return None # Kesişen park yoksa NULL döndü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
| 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" |