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
/* A Russian Roulette Game */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <unistd.h> | |
#include <termios.h> | |
#include <fcntl.h> | |
/* prototypes */ | |
void introduction( int a); |
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
allFiles: fee.c | |
gcc -Wall fee.c -o fee.out -lm | |
clean: | |
rm *.o fee.out |
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
/*Yu Gi Oh Card Game*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
/* prototypes */ | |
void introduction(); | |
void game(); | |
void credit(); | |
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 sys | |
import requests | |
import os | |
from bs4 import BeautifulSoup | |
def main(): | |
os.system('clear') # on linux / os x | |
#Gathering necessary input from user | |
choice = int( input("1 to use the basic function, 2 for the advance crawling, 3 for exit\n") ) |
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
allFiles: roulette.c | |
gcc -Wall roulette.c -o roulette.out -lm | |
clean: | |
rm *.o roulette.out |
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
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” |
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
allFiles: statistic.c | |
gcc -Wall statistic.c -o statistic.out -lm | |
clean: | |
rm *.o statistic.out |
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
allFiles: histogram.c | |
gcc -Wall histogram.c -o histogram.out -lm | |
clean: | |
rm *.o histogram.out |
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
allFiles: guess.c | |
gcc -Wall guess.c -o guess.out -lm | |
clean: | |
rm *.o guess.out |
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
;simple print program | |
;testing variable declaration and simple print | |
;testing print i/o | |
;easiest program to see whether or not it is assembled correct | |
;if it is not assembled correctly, there the output will be wrong | |
;standard header | |
.model tiny | |
.data | |
hello db "hello$" ; creating a variable hello with the string hello | |
.code |