- /etc/fstab
/hostshare /mnt/shared 9p trans=virtio,version=9p2000.L 0 0
This file contains 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
import statsmodels.api as sm | |
# Veriler | |
y = np.array([500.0, 550.0, 556.4, 600.0, 450.0, 425.0, 300.0, 725.0, 315.0, 621.1]) | |
x = np.array([70.00, 72.00, 72.56, 77.00, 66.40, 65.10, 41.20, 82.10, 43.00, 80.00]) | |
# Doğrusal regresyon modeli | |
x = sm.add_constant(x) # Model için sabit ekleniyor | |
model = sm.OLS(y, x) | |
results = model.fit() |
This file contains 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
import numpy as np | |
from scipy.stats import ttest_ind | |
# Verilen veriler | |
sample_1 = np.array([500.0, 550.0, 556.4, 600.0, 450.0, 425.0, 300.0, 725.0, 315.0, 621.1]) | |
sample_2 = np.array([70.00, 72.00, 72.56, 77.00, 66.40, 65.10, 41.20, 82.10, 43.00, 80.00]) | |
# İki bağımsız örneklemin t-testi | |
t_stat, p_value = ttest_ind(sample_1, sample_2, equal_var=False) # Varyansların eşit olmadığını varsayarak | |
t_stat, p_value |
This file contains 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
1..254 | ForEach-Object { | |
$ip = "192.168.24.$_" | |
try { | |
$currenthost = [System.Net.DNS]::GetHostEntry( $ip ).Hostname.ToUpper() | |
"$ip - $currenthost" | |
} catch {} | |
} |
This file contains 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
<VirtualHost *:80> | |
DocumentRoot /srv/www | |
Alias /comics /srv/www/wordpress | |
<Directory /srv/www> | |
Require all granted | |
</Directory> | |
<Directory /srv/www/wordpress> | |
Options FollowSymLinks | |
AllowOverride Limit Options FileInfo |
This file contains 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
openssl genrsa -out rmm.megasaray.local.key 4096 | |
openssl req -new -sha512 -key rmm.megasaray.local.key -out rmm.megasaray.local.csr | |
certreq -submit -attrib "CertificateTemplate:WebServer" -attrib "san:dns=*.rmm.megasaray.local&dns=rmm.megasaray.local" rmm.megasaray.local.csr rmm.megasaray.local.cer | |
certreq -submit -attrib "CertificateTemplate:WebServer" -attrib "san:dns=sifre.megasaray.local" sifre.megasaray.local.csr sifre.megasaray.local.cer |
This file contains 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
eksisozluk.com##body:style(background-color: black !important) | |
eksisozluk.com##a:style(color: #007FFF !important) | |
eksisozluk2023.com##body:style(background-color: black !important) | |
eksisozluk2023.com##a:style(color: #007FFF !important) |
This file contains 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
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/1997040/pfx/ ./.local/share/Steam/steamapps/common/Proton\ 7.0/dist/bin/wine winecfg | |
WINEFSYNC=1 WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/1997040/pfx/ ./.local/share/Steam/steamapps/common/Proton\ 7.0/dist/bin/wine explorer | |
WINEFSYNC=1 WINEPREFIX=/mnt/84900c3e-2911-43af-800e-80e8c972a78e/games/steamapps/compatdata/1262060/pfx/ ./.local/share/Steam/steamapps/common/Proton\ 7.0/dist/bin/wine output.exe > output.txt | |
This file contains 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
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main() { | |
float ilkKoordinatX, ilkKoordinatY; | |
float ikinciKoordinatX, ikinciKoordinatY; | |
float ucuncuKoordinatX, ucuncuKoordinatY; | |
float ilkEgim, ikinciEgim; | |
float cemberMerkeziX, cemberMerkeziY, cemberYaricapi; |
This is a gist used in the following blog posts:
NewerOlder