Skip to content

Instantly share code, notes, and snippets.

View test.c
#include <stdio.h>
typedef struct Tree {
int value;
struct Tree* left;
struct Tree* right;
} Tree;
View test.c
#include <stdio.h>
int main() {
int i=1;
int j=1;
printf("i : %d j : %d\n", i, j);
printf("i post : %d j pre: %d\n", i++, ++j);
printf("i : %d j : %d\n", i, j);
View foo.c
*pdquot_freed_blocks = 0;
sbi = EXT3_SB(sb);
es = sbi->s_es;
if (block < le32_to_cpu(es->s_first_data_block) ||
block + count < block ||
block + count > le32_to_cpu(es->s_blocks_count)) {
ext3_error (sb, "ext3_free_blocks",
"Freeing blocks not in datazone - "
"block = "E3FSBLK", count = %lu", block, count);
goto error_return;
View c
*pdquot_freed_blocks = 0;
sbi = EXT3_SB(sb);
es = sbi->s_es;
if (block < le32_to_cpu(es->s_first_data_block) ||
block + count < block ||
block + count > le32_to_cpu(es->s_blocks_count)) {
ext3_error (sb, "ext3_free_blocks",
"Freeing blocks not in datazone - "
"block = "E3FSBLK", count = %lu", block, count);
goto error_return;
View plot_votes.R
#!/usr/bin/Rscript
# Author: (c) Ulrich Dangel <uli@debian.org>
# License: BSD
library(getopt)
spec = matrix(c(
'help', 'h', 0, "logical", "Usage information",
'csv', 'i', 1, "character", "Input csv file",
'output', 'o', 1, "character", "output file (png)"
You can’t perform that action at this time.