Skip to content

Instantly share code, notes, and snippets.

View austa's full-sized avatar

Alaattin Usta austa

  • Istanbul/Turkey
View GitHub Profile
#include<stdio.h>
int main (void)
{
int sayilar[10] = {0,1,2,3,4,5,6,7,8,9};
char string[] = "";
int i = 0, j = 0;
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
int main(void)
{
char kelime[] = " ";
@austa
austa / thread.c
Last active December 17, 2015 12:09
#include <stdlib.h>
#include <pthread.h>
void *thread_proc(void *param);
int main(int argc, char *argv[])
{
pthread_t tid;
int result, i;
@austa
austa / extract.rb
Last active December 16, 2015 06:09
#!/usr/local/bin/ruby
class Base
def initialize(isim,uzanti)
base_url = '/home'
@dosya = "#{base_url}/#{isim}.#{uzanti}"
end
def information1
puts "#{@dosya} dosyasi okunuyor..."
@austa
austa / my_shell.c
Last active December 15, 2015 15:29
/*
* File: main.c
* Author: austa
*
* Created on 27 Mart 2013 Pazar, 22:03
*/
#include <stdio.h>
#include <stdlib.h>
#include<sys/types.h>
/*
* File: main.c
* Author: alaattin
*
* Created on 24 Mart 2013 Pazar, 16:18
*/
#include <stdio.h>
#include <stdlib.h>
/*
* File: main.c
* Author: alaattin
*
* Created on 22 Mart 2013 Cuma, 23:15
*/
#include <stdio.h>
#include <stdlib.h>
/*
* File: main.c
* Author: alaattin
*
* Created on 22 Mart 2013 Cuma, 22:41
*/
#include <stdio.h>
#include <stdlib.h>
#define NOTSAYISI 10
/*
* File: main.c
* Author: alaattin
*
* Created on 19 Mart 2013 Salı, 17:14
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* File: main.c
* Author: alaattin
*
* Created on 19 Mart 2013 Salı, 14:57
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>