View python2lua_regex.txt
The substitute following commands are made for Vim.
Convert function declarations (prototypes):
Convert "for i in range(a, b):" to "for i = a, b":
:%s/\(for\s\+[_A-Za-z][_A-Za-z0-9]*\s\)\s*in\s*range\s*(\s*\([^)]\+\)\s*)\s*:\(.*\)$/\1= \2\3/g
Convert "True" and "False" to "true" and "false":
View config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
# i3 config file (v4)
# Please see for a complete reference!
View behead.c
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void behead(FILE *f);
void *end_of_line(char *line, size_t size, FILE *f);
void append(char *tmp, size_t size, const char *line, size_t len);
View rot13.c
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
char rot13_letter(char letter);
int main(int argc, char **argv)
int i;
char *c;
View euler.c
Copyright 2016 strupo
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
View ex19a.c
* Ce programme compte le nombre des mots dans une phrase.
#include <string.h>
#include <stdio.h>
#define MAX_TABLEAU 100001
/* Function prototypes */