Skip to content

Instantly share code, notes, and snippets.

View tbielawa's full-sized avatar
💭
bitmath!

Tim Bielawa tbielawa

💭
bitmath!
View GitHub Profile
what does this actually do?
commit d0389e5ccf10d31ed01b862f70ea9f3822b0e932
Merge: e64c79f... 0fdab48...
Author: tbielawa <[email protected]>
Date: Sun Jan 25 19:57:30 2009 -0500
Merge branch 'master' of [email protected]:tbielawa/tdf-os into makeinmakefiles
commit 0fdab482243e52abb8da69bea1d21044b061c356
Author: Tim Bielawa <tbielawa@fridge.(none)>
Date: Tue Jan 20 00:17:52 2009 -0500
#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];
// 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"
#
# 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.
#
# 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
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"
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;
#!/usr/bin/make
clean:
find -regextype posix-extended . -maxdepth 1 \( -regex "^[.]?(.+)\~$$" -o -regex "./[.]?#.*#" \) -delete
#!/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)