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
#include <stdio.h> | |
#include <string.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#include <ncurses.h> | |
void main(){ | |
srand(time(NULL)); | |
int a; |
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
def dikdortgen_alan(point1, point2, point3, point4): | |
""" | |
* * * 2 * * *\n | |
* * * * * * *\n | |
1 * * * * * 4\n | |
* * * * * * *\n | |
* * * 3 * * *\n | |
kenar1 * kenar2\n | |
pisagor teoremi der ki sqrt(a^2 + b^2) = c\n | |
kenar1 => nokta2 x - nokta1 x = a, nokta2 y - nokta1 y = b\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
#include <stdio.h> | |
#include <sys/ioctl.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <libavformat/avformat.h> | |
#include <unistd.h> | |
void draw_bmp(uint32_t frame_count, char *filename, uint8_t framerate){ | |
FILE *bmp_handle; | |
FILE *buffer_handle; |
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
#!/bin/sh | |
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |
# Wine settings | |
export WINEESYNC=1 | |
export WINEFSYNC=1 | |
export WINEARCH=win32 | |
export WINEPREFIX="$SCRIPT_DIR/pfx" | |
export WINEDLLOVERRIDES="mscoree=d;mshtml=d;" | |
export WINE="$(command -v wine)" |