Each git commit has a field called Author which consists ‘user.name’ and ‘user.email’. We usually set these variables once, after installing git, with git config --global so that each repo gets the variables from the global definition. We can also set them locally for a …
I’ve been using WSL-2 on Windows for over a year. It’s very useful because some Python packages are just a headache to install on Windows. Also, docker. It’s just better on Linux. Yet, WSL-2 can also be problematic. I remember trying a dual-boot setup when things just went way too …
In this post, I’ll share how to install geopandas and some other gis related packages on Windows. If you are on Mac or Linux you can probably just pip install those without any issue. I usually had to do a google search every time I wanted to install these packages on Windows environment. Of …
edited on 03.03.2022
In this post, I am going to share quick steps that will help you customize your Windows Terminal. Because everyone needs a good looking terminal. I’ll use Powershell not bash (Linux subsystem). You may use other shells with Windows Terminal if you like to. […] Get Windows Terminal from …
edited on 10.04.2022
Looping through a dataframe row by row is not something you want to do. […] import pandas as pd t = pd.DataFrame({'a': range(0, 100), 'b': range(0, 100)}) C = [] for i,r in t.iterrows(): C.append((r['a'], r['b'])) C = [] for ir in t.itertuples(): …
Bir küme içerisinden seçilen her bir iki nokta için; bu iki nokta bir doğru ile birleştirildiğinde eğer bu doğru küme içerisinde kalıyorsa bu set convex settir. […] Any two convex set that don’t touch each other(don’t intersect) can be seperated by a simple straight line. …
m is the slope of the line. How to find the slope of a line or the equation of a line where you have 2 points? […] returns the slope of a tangent line to at . […] , Find the equation of the tangent line to graph at . Let’s say is the tangent line. This means the slope of …
I’ve prepared a cheap tutorial for newbies. Git Simple Guide is so far the best git guide I’ve seen. Go, check it out. Don’t waste your time here. There is nothing useful here. […] Well, looks like you are still here… Start configuring git then, assuming you have …