Skip to content

Instantly share code, notes, and snippets.

View rpt's full-sized avatar
🤘

Krzysztof Rutka rpt

🤘
View GitHub Profile
@rpt
rpt / 1_2005.c
Created June 1, 2010 20:22 — forked from rpt/1_2005.c
#include <stdio.h>
#include <string.h>
int strfindandblank( char *source, char *find ) {
int ile = 0;
int find_size = strlen(find);
char *pch;
pch = strstr(source, find);
while(pch!=NULL) {
# Debian lighttpd configuration file
#
############ Options you really have to take care of ####################
## modules to load
# mod_access, mod_accesslog and mod_alias are loaded by default
# all other module should only be loaded if neccesary
# - saves some time
# - saves memory
@rpt
rpt / imiona.c
Created May 16, 2010 20:28 — forked from rpt/imiona.c
#include <stdio.h>
#include <string.h>
void printHeader() {
printf("Content-Type: text/html; charset=UTF-8\n\n");
printf("<html>\n");
printf("<head>\n");
printf(" <title>Imiona</title>\n");
printf("</head>\n");
printf("<body>\n");