Skip to content

Instantly share code, notes, and snippets.

View dayt0n's full-sized avatar
🎧
vibing

dayt0n dayt0n

🎧
vibing
View GitHub Profile
@dayt0n
dayt0n / random_number_generator.c
Created November 19, 2015 03:05
Generate a random integer.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
int main(int argc, char* argv[]) {
srand(time(NULL));
unsigned seed = rand() % 1024;
int r;
srand(seed);

Keybase proof

I hereby claim:

  • I am dayt0n on github.
  • I am dayt0n (https://keybase.io/dayt0n) on keybase.
  • I have a public key whose fingerprint is 8A79 56D1 20F0 CB11 9114 B498 EE9D 4D84 EDBC 06AF

To claim this, I am signing this object: