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
/****************************************************************************** | |
* FILE circular_buffer.c | |
* | |
* DESCRIPTION | |
* | |
* | |
* AUTHOR(S) | |
* C. Schniedermeier | |
******************************************************************************/ |
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
import os | |
import shutil | |
import subprocess | |
from time import sleep | |
class ExecutionError(Exception): | |
""" Raised by run() if command returns non-zero exit code. """ | |
pass |
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
GTK_CFLAGS = $(shell pkg-config gtk+-2.0 --cflags) | |
GTK_LIBS = $(shell pkg-config gtk+-2.0 --libs) | |
all: key_file | |
key_file: key_file.o | |
gcc -o key_file.exe key_file.o $(GTK_LIBS) | |
key_file.o: key_file.c |
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 <stdio.h> | |
#include <windows.h> | |
#include <direct.h> | |
#include <string> | |
#include <vector> | |
#define REQUIRE_ARG if (opt >= argc) err(); return 1 |
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
position.height=990 | |
position.width=850 | |
split.vertical=0 | |
tabbar.multiline=1 | |
toolbar.visible=1 | |
statusbar.visible=1 |
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
all: sorted_list.exe | |
sorted_list.exe: sorted_list.c sorted_list.h | |
gcc sorted_list.c -o sorted_list.exe | |
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
syntax on | |
set autoindent | |
set cindent | |
set sw=4 | |
set ts=4 | |
" Wrap too long lines | |
set wrap | |
" Tabs are 2 characters |
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
% Vorlage fuer Prüfungsprotokolle, Version vom 10.08.2010 | |
\documentclass[11pt, a4paper]{article} | |
\usepackage[utf8x]{inputenc} | |
% Fuer Windows: \usepackage[Latin1]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{ngerman} |
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
import os, os.path | |
dir = 'E:\\profiler\\' | |
suffix = ('.c', '.h', '.rc', 'Makefile') | |
comment_start = '/*' | |
comment_end = '*/' | |
comment_line = '//' |
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
du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh | less |
OlderNewer