This file contains hidden or 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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"> | |
</script> | |
<script type="text/javascript" src="jquery.chained.js" charset="utf-8"></script> | |
</head> | |
<body>asdasd | |
<select id="mark" name="mark"> | |
<option value="">--</option> |
This file contains hidden or 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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"> | |
</script> | |
<script type="text/javascript" src="jquery.chained.js" charset="utf-8"></script> | |
</head> | |
<body> | |
<select id="mark" name="mark"> | |
<option value="">--</option> |
This file contains hidden or 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 <pthread.h> | |
#include <stdio.h> | |
void *kare_al(void * p){ | |
int a; | |
a = (int *) p | |
printf(" %d\n", a * a); | |
pthread_exit(NULL); | |
} |
This file contains hidden or 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
class Queue: | |
def __init__(self): | |
self.liste = [] | |
def isEmpty(self): | |
return self.liste == [] | |
def enqueue(self, item): | |
self.liste.insert(0, item) |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"github.com/ActiveState/golor" | |
"math/rand" | |
"os" | |
"strconv" | |
"strings" | |
"time" |
This file contains hidden or 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> | |
#include <pthread.h> | |
#define LIMIT 1000 | |
#define THREAD_SAYISI 4 | |
static pthread_mutex_t kilit; | |
void *dongu(void *p) { |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"strings" | |
) | |
var tokens []string |
This file contains hidden or 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 java.math.BigInteger; | |
import java.util.Random; | |
public class MillerRabin { | |
public static final BigInteger ZERO = BigInteger.ZERO; | |
public static final BigInteger ONE = BigInteger.ONE; | |
public static final BigInteger TWO = BigInteger.valueOf(2); | |
public static final int[] aValues = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, | |
31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, |
This file contains hidden or 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 java.math.BigInteger; | |
import java.util.Random; | |
public class MillerRabin { | |
public static final BigInteger ZERO = BigInteger.ZERO; | |
public static final BigInteger ONE = BigInteger.ONE; | |
public static final BigInteger TWO = BigInteger.valueOf(2); |
This file contains hidden or 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
#!/usr/bin/bash | |
DOSYA=$1 | |
OLDIFS=$IFS | |
IFS=, | |
[ ! -f $DOSYA ] && { echo "$DOSYA bulunamadi"; exit 99; } | |
toplam=0 | |
sayac=0 | |
while read ad soyad no not | |
do |