Current User: Just “Travis”
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
Name | Description | Location |
---|---|---|
addalias | Add command alias | Source↗ |
addcmd | Add custom command | Source↗ |
addperiodic | Add periodic command | Source↗ |
addquote | Add quote to quote database | Source↗ |
addtimer | Add Periodic Timer | Source↗ |
addvar | Add variable | Source↗ |
amitrusted | Check if you are a trusted user | [[https://github.com/tsoding/HyperNerd/blob/8c6db8e9494a6a1cc4ba7026eee482bd |
// 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: | |
// |
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; |
// 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 |
Current User: Nothing
Video Count 1
2019-09-28 12:51:00.61148847 UTC | tsoding | https://www.youtube.com/watch?v=DZrg-dihRNo |
#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> |
#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 <X11/Xlib.h> /* of course */ | |
#include <X11/Xutil.h> /* duuuh */ | |
#include <sys/ipc.h> | |
#include <sys/shm.h> | |
#include <X11/extensions/XShm.h> /* obviously */ |
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() |