This file contains hidden or 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 <codecvt> | |
#include <iomanip> | |
#include <iostream> | |
#include <locale> | |
#include <string> | |
#include "zip.h" // See https://gist.github.com/mortehu/373069390c75b02f98b655e3f7dbef9a | |
const auto low = u8"abcæøåαβγ"; | |
const auto upp = u8"ABCÆØÅΑΒΓ"; |
This file contains hidden or 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
let loaded_matchparen = 1 | |
syntax on | |
map <Down> gj | |
map <Up> gk | |
filetype indent on | |
set cryptmethod=blowfish2 | |
set tags=tags;/ | |
set bg=dark |
This file contains hidden or 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/env python3 | |
import fractions | |
import sys | |
def is_prime(n): | |
for d in range(2, int(n**0.5)): | |
if n % d == 0: | |
return False |
OlderNewer