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
what does this actually do? |
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
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 |
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 <string.h> | |
#define MAX_FUN_LEN 8 | |
int foo(); | |
int bar(); | |
struct func_list { | |
int (*function)(); | |
char fname[MAX_FUN_LEN]; |
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
// 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" |
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
# | |
# 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. |
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
# | |
# 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 |
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
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" |
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 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; |
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
#!/usr/bin/make | |
clean: | |
find -regextype posix-extended . -maxdepth 1 \( -regex "^[.]?(.+)\~$$" -o -regex "./[.]?#.*#" \) -delete |
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
#!/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) |
OlderNewer