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
//Zafer Çavdar | |
#include<stdlib.h> | |
#include<stdio.h> | |
int main() { | |
printf("Give me N: "); | |
int N; | |
int i, j,k; | |
scanf("%d",&N); | |
int maxNum = 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
// ==UserScript== | |
// @name VortexScript | |
// @namespace http://localhost | |
// @description auto pokemon finder | |
// @include http://zeta.pokemon-vortex.com/map.php?map=* | |
// @include http://theta.pokemon-vortex.com/map.php?map=* | |
// @require http://code.jquery.com/jquery-2.1.4.js | |
// @version 1.0 | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name VortexScript | |
// @namespace http://localhost | |
// @description auto pokemon finder | |
// @include http://zeta.pokemon-vortex.com/map.php?map=* | |
// @include http://theta.pokemon-vortex.com/map.php?map=* | |
// @require http://code.jquery.com/jquery-2.1.4.js | |
// @version 1.0 | |
// @grant none | |
// ==/UserScript== |
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
---------------------------------------------------------------------------------- | |
-- Company: Koc University | |
-- Engineer: Zafer Cavdar & Cisem Altan | |
-- | |
-- Create Date: 23:11:44 04/30/2016 | |
-- Design Name: PSWG | |
-- Module Name: ProjectCode - Behavioral | |
-- Project Name: Programmable Square Wave Generator | |
-- Target Devices: Basys 2 Spartan 3E CP 132 FPGA Board | |
-- Tool versions: |
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
// ==UserScript== | |
// @name VortexScript | |
// @namespace http://localhost | |
// @description auto pokemon finder | |
// @include http://zeta.pokemon-vortex.com/map.php?map=* | |
// @include http://theta.pokemon-vortex.com/map.php?map=* | |
// @require http://code.jquery.com/jquery-2.1.4.js | |
// @version 1.0 | |
// @grant none | |
// ==/UserScript== |
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
##################################################################### | |
# # | |
# Names: Zafer Çavdar # | |
# KUSIS IDs: 0049995 # | |
##################################################################### | |
# Use this template and develop your program for Assignment 2 | |
# MIPS assembly code for Affine cipher | |
# Developed by Najeeb Ahmad and Pirah Noor Smooro |
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
;;; [email protected] Wed Oct 19 12:48:37 2016 | |
#lang sicp | |
(#%require (only racket/base random)) | |
(define your-answer-here -1) | |
;;; +mod takes two numbers and modulo n | |
;;; it adds up to numbers and return the value of this number in modulo n | |
(define +mod |
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
#lang racket | |
; Zafer Cavdar | |
; Scheme implementation of natural numbers using BigNum representation | |
(define zero | |
(lambda () | |
(cons 0 '()))) | |
(define is-zero? | |
(lambda (n) |
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
from random import randint | |
class Node(object): | |
def __init__(self, id=None): | |
self.children = [] | |
self.id = id | |
def add_child(self, child): | |
self.children.append(child) |
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
from pyspark import SparkContext, StorageLevel as SL | |
from timeit import repeat | |
from time import sleep as delay | |
data = [x for x in range(1000000)] | |
sc = SparkContext('local[*]') | |
rdd = sc.parallelize(data) \ | |
.map(lambda x: 2*x - 1) \ | |
.filter(lambda x: x > 100000) \ |
OlderNewer