Skip to content

Instantly share code, notes, and snippets.

View muhasturk's full-sized avatar
🇹🇷
🧿👨🏼‍💻

Mustafa Hastürk muhasturk

🇹🇷
🧿👨🏼‍💻
View GitHub Profile
@muhasturk
muhasturk / main.c
Created July 19, 2015 14:38
Find Highest Value and Its Indexes
//
// main.c
// Gokay -> Find Highest Value and Indexes in Multidimensional Array
//
// Created by Mustafa Hastürk on 19/07/15.
// Copyright (c) 2015 Mustafa Hastürk. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
@muhasturk
muhasturk / reverse_file.c
Last active September 18, 2023 03:13
Reverse File
#include <stdio.h>
#include <stdlib.h>
int main(int argc, const char * argv[]) {
FILE *file;
file = fopen("./oz.txt", "r+");
if (file == NULL)
{
#!/usr/bin/env python3
import time
class Crypto():
def __init__(self):
self.start_time = time.clock()
def gcd_recursive(self, n, m):
@muhasturk
muhasturk / windows10activation
Created November 23, 2020 22:06
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH