Skip to content

Instantly share code, notes, and snippets.

Tim Bielawa tbielawa

Block or report user

Report or block tbielawa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:52652
commit d0389e5ccf10d31ed01b862f70ea9f3822b0e932
Merge: e64c79f... 0fdab48...
Author: tbielawa <tim@ducksarepeople.com>
Date: Sun Jan 25 19:57:30 2009 -0500
Merge branch 'master' of git@github.com:tbielawa/tdf-os into makeinmakefiles
commit 0fdab482243e52abb8da69bea1d21044b061c356
Author: Tim Bielawa <tbielawa@fridge.(none)>
Date: Tue Jan 20 00:17:52 2009 -0500
View gist:58545
#include <stdio.h>
#include <string.h>
#define MAX_FUN_LEN 8
int foo();
int bar();
struct func_list {
int (*function)();
char fname[MAX_FUN_LEN];
View gist:59261
// FUNC_LIB.H
// Provides:
// (STRUCT) FUNC_ITEM
// (METHOD) FIND_FUNCTION((STRING) FUNC_NAME)
//
// TDF-OS http://ducksarepeople.com/tdf/
#include <stdio.h>
#include "FUNC_LIB.H"
#include "DATE.H"
View gist:91482
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
View gist:95468
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
View funny-commits
With project 3 winding down it seemed appropriate to browse through the svn commits. Here's some notable messages to hopefully brighten your day.
"load this up and enjoy yourself."
"oh bloody hell"
"Well, this is going somewhere..."
"woot"
View Vote.java
import java.text.DecimalFormat;
import java.util.Scanner;
public class Vote
{
//main method will collect data from the user and place it within arrays
public static void main (String[] args){
Scanner sc = new Scanner (System.in);
int row;
int col;
View Makefile
#!/usr/bin/make
clean:
find -regextype posix-extended . -maxdepth 1 \( -regex "^[.]?(.+)\~$$" -o -regex "./[.]?#.*#" \) -delete
View gen-proxy-web
#!/usr/bin/env python
import ldap
import re
from accounts import user
DEBUG = 1
def dn2uid(dn):
if "cn=" in dn or "uid=" in dn:
return user.dn2uid(dn)
You can’t perform that action at this time.