Skip to content

Instantly share code, notes, and snippets.

View cobanov's full-sized avatar
🦊
Focusing

Mert Cobanov cobanov

🦊
Focusing
View GitHub Profile

Öğrenmek

Görece serbest ve ciddiyetsiz bir açılış

Ben genellikle yeni bir şey öğrenirken müziği kapatıyorum, çünkü bu alıgıyı bölüyor, fakat aksine iş yaparken açıyorum çünkü konsantrasyonu artırıyor.

Her şey kabul etmek ile alakalı

Öğrenmenin bir süreç olduğunu ve gelişimini aslında senin fark edemeyeceğin kadar yavaş olduğunu kabul etmelisin. Burada bence umutsuzluğa sürüklenilen konu, bir şeyi öğrenmeye ilk başladığındaki heyecan her şeyi yapma hevesi doğuruyor, fakat kapabiliten henüz hazır olmadığı için kendini küçük görme sendromuna kapılabiliyorsun. Bunu kabul etmeli ve gerekli parçaların zamanla bu yolda ancak yürüyerek oturacağını anlamak gerek. Eğer bir şey çok hızlı başarılıyorsa muhtemelen bu basit bir şeydir ve herkes tarafından yapılabilir.

import pandas as pd
import numpy as np
PATH = "cekilis.csv"
def katilimcilar(path):
""" Google froms'dan alınan csv dosyasını
çekiliş yapmak için hazırlar """
first_eight_percent = int(boston.shape[0]* 0.8)
boston_train, boston_test = boston.iloc[:first_eight_percent, :], boston.iloc[first_eight_percent:, :]
boston_train.to_csv("boston_train.csv")
boston_test.to_csv("boston_test.csv")
import numpy as np
import matplotlib.pyplot as plt
def create_signal(f):
w = 2 * np.pi * f
t = np.linspace(0, 0.1, 1000)
value = np.sin(w * t)
return t, value
t1, v1 = create_signal(10)
import pandas as pd
import numpy as np
PATH = "katilimcilar.csv"
def katilimcilar(path):
""" Google froms'dan alınan csv dosyasını
çekiliş yapmak için hazırlar """
def validation(user_input):
colons = user_input.count(":")
semicolons = user_input.count(";")
if user_input[-1:] == ":":
print("Invalid input, please try again!")
return False
if colons != (semicolons + 1):
@cobanov
cobanov / gaih_cekilis.py
Last active October 4, 2021 11:33
gaih cekilisi
import pandas as pd
import numpy as np
PATH = "katilimlar.csv"
def katilimcilar(path):
""" Google froms'dan alınan csv dosyasını
çekiliş yapmak için hazırlar """
# Window
CTRL + B C create window
CTRL + B 0 … 9 select window by number
CTRL + B & kill window
# Pane
CTRL + B % vertical split
CTRL + B “ horizontal split
CTRL + B X kill pane
# Cursor movement
h - move cursor left
j - move cursor down
k - move cursor up
l - move cursor right
H - move to top of screen
M - move to middle of screen
L - move to bottom of screen
w - jump forwards to the start of a word
W - jump forwards to the start of a word (words can contain punctuation)
# Create a new repository on the command line
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cobanov/test.git
git push -u origin main
# Push an existing repository from the command line