Skip to content

Instantly share code, notes, and snippets.

@nesendal
nesendal / program.cs
Created April 11, 2022 10:51
Rakamlar, büyük harfler ya da küçük harflerden oluşacak ve sırası karışık gelecek şifreyi üretme
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
@nesendal
nesendal / Program.cs
Created February 2, 2022 08:35
Kullanıcıdan 5 tane karakter girmesini isteyelim,girilen her bir karakter için ayrı ayrı -> rakam ise ekrana rakamdır, harf ise harftir bilgisini yazan c# kodunu geliştiriniz.
using System;
namespace Ornek
{
class Program
{
static void Main(string[] args)
{
string deger;
Console.WriteLine("harfleri giriniz:");
@nesendal
nesendal / Program.cs
Created February 2, 2022 08:24
Kullanıcıdan bir sayı alalım. Eğer sayı 2 basamaklı ise ekrana tersten yazdıralım. diğer durumlarda giriş başarılı değildi mesajı verelim.
using System;
namespace Ornek
{
class Program
{
static void Main(string[] args)
{
//kullanıcıdan bir sayı alalım. Eğer sayı 2 basamaklı ise ekrana tersten yazdıralım. diğer durumlarda giriş başarılı değildi mesajı verelim.
int sayi;
@nesendal
nesendal / asistanpy.py
Last active May 8, 2021 20:07
Assistan
from neuralintents import GenericAssistant
import pandas_datareader as web
import sys
assistant = GenericAssistant('intents.json', model_name="test_model")
assistant.train_model()
assistant.save_model()
done = False
@nesendal
nesendal / Program.cs
Last active January 5, 2021 10:38
C# Virgüllü Sayıyı Yuvarlamadan Virgülden Sonra İki Basamak Alma
using System;
namespace virgullusayiOrnek
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Formatla(113.129));
@nesendal
nesendal / MainActivity.java
Last active June 4, 2020 23:46
ListViewOzellestirme
package com.example.deney;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class MainActivity extends AppCompatActivity {
String[] mobileArray = {"Android", "IPhone", "WindowsMobile", "Blackberry",
"WebOS", "Ubuntu", "Windows7", "Max OS X"};
@nesendal
nesendal / activity_listview.xml
Created April 3, 2020 11:41
ListViewOzelleştirme
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dip"
android:textSize="25dip"
android:textStyle="bold" >
@nesendal
nesendal / activity_main.xml
Last active April 3, 2020 11:37
ListView Özelleştirme Android
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ListView
android:id="@+id/listview"
@nesendal
nesendal / Form1.cs
Created May 8, 2019 11:02
RoundButton Kullanımı
private void Form1_Load(object sender, EventArgs e)
{
RoundButton rb = new RoundButton();
rb.Text = "round btn";
rb.BackColor = Color.Red;
this.Controls.Add(rb);
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassKullanimiOrnek
{
class PersonBilgi
{