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 <stdio.h> /* printf() */ | |
#include <stdlib.h> /* exit(), malloc(), free() */ | |
#include <unistd.h> | |
#include <sys/types.h> /* key_t, sem_t, pid_t */ | |
#include <sys/wait.h> | |
#include <sys/shm.h> /* shmat(), IPC_RMID */ | |
#include <errno.h> /* errno, ECHILD */ | |
#include <semaphore.h> /* sem_open(), sem_destroy(), sem_wait().. */ | |
#include <fcntl.h> /* O_CREAT, O_EXEC */ |
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
# ArchLinux Kurulumu (UEFI ve Şifreli HDD) | |
# Translated and Modified: (https://gist.github.com/mattiaslundberg/8620837) | |
# Resmi Kurulum Dokümantasyonu için (https://wiki.archlinux.org/index.php/Installation_Guide) | |
# Son sürüm iso dosyasını resmi sitesinden indirin https://www.archlinux.org/ | |
# İso kalıbını USB diskimize yazdırıyoruz. | |
dd if=archlinux.img of=/dev/sdb bs=16M && sync # USB ismi ARCH_2015xx şeklinde olmalı örng: ARCH_201509 | |
# Ardından Secure Boot seçeneği devredışı bırakılmış bir şekilde Boot işlemini gerçekleştirin. |
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 | |
import pandas as pd | |
from collections import defaultdict | |
from scipy.stats import hmean | |
from scipy.spatial.distance import cdist | |
from scipy import stats | |
import numbers | |
def weighted_hamming(data): |