Use !friday command to put a video here (only for trusted and subs).
Any video can be skipped if the streamer finds it boring.
Video Count: 2
| Date | Submitter | Video | Thumbnail |
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| typedef struct { | |
| int x; | |
| int y; | |
| } Point; | |
| int main(int argc, char *argv[]) |
| use std::io::prelude::*; | |
| fn epic_file_line_counter(file_path: String) -> std::io::Result<usize> { | |
| let file = std::fs::File::open(file_path)?; | |
| let buf_reader = std::io::BufReader::new(file); | |
| Ok(buf_reader.lines().count()) | |
| } | |
| fn virgin_single_threaded() { | |
| std::env::args() |
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <X11/Xlib.h> /* of course */ | |
| #include <X11/Xutil.h> /* duuuh */ | |
| #include <sys/ipc.h> | |
| #include <sys/shm.h> | |
| #include <X11/extensions/XShm.h> /* obviously */ |
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #define KILO 1024 | |
| #define MEGA (1024 * KILO) | |
| #define ARENA_CAPACITY 16 |
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <errno.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <sys/wait.h> |
Current User: Nothing
Video Count 1
| 2019-09-28 12:51:00.61148847 UTC | tsoding | https://www.youtube.com/watch?v=DZrg-dihRNo | ![]() |
| // gcc -nostdlib main.c | |
| inline static | |
| void write_syscall(int fd, const void *buf, unsigned int count) | |
| { | |
| asm("movq $1, %rax"); | |
| asm("syscall"); | |
| } | |
| inline static |
| void rebuild_if_modified(int argc, char *argv[]) | |
| { | |
| assert(argc > 0); | |
| const char *binary = argv[0]; | |
| const char *source = __FILE__; | |
| struct stat source_stat; | |
| stat(source, &source_stat); | |
| struct stat binary_stat; |
| // Copyright 2019 Alexey Kutepov <reximkut@gmail.com> | |
| // | |
| // Permission is hereby granted, free of charge, to any person | |
| // obtaining a copy of this software and associated documentation | |
| // files (the "Software"), to deal in the Software without | |
| // restriction, including without limitation the rights to use, copy, | |
| // modify, merge, publish, distribute, sublicense, and/or sell copies | |
| // of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // |