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
## You should mount /etc/dovecot if you want to | |
## manage this file | |
mail_home=/srv/mail/%Lu | |
mail_location=sdbox:~/Mail | |
mail_uid=1000 | |
mail_gid=1000 | |
protocols = imap pop3 submission sieve lmtp |
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 "helpers.h" | |
#include <math.h> | |
#include <stdlib.h> | |
uint64_t* sievePrimes(uint64_t* n) | |
{ | |
if (*n < 2) return NULL; | |
char *primes = malloc(sizeof(char)*(*n+1)/2); | |
const uint64_t loop_limit = (sqrt(*n) + 1) /2; |
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
/* Find the greatest product of five consecutive digits in the 1000-digit number. | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#define DIGITS 1000 | |
#define SUBSEQUENCE_SIZE 5 | |
int main() |
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
/* Find the greatest product of five consecutive digits in the 1000-digit number. | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#define DIGITS 1000 | |
#define SUBSEQUENCE_SIZE 5 | |
int main() |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Digest::SHA qw(hmac_sha1_hex); | |
print hmac_sha1_hex("my data", "secret key") . "\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
⨀_⨀ | |
⨂_⨂ | |
(/◔ ◡ ◔)/ | |
°ﺑ° | |
(¬_¬) | |
(´・ω・`) | |
(ʘ_ʘ) | |
(ʘ‿ʘ) | |
(๏̯͡๏ ) | |
(◕_◕) |