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
fooooo | |
barr | |
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
$ sudo dmidecode -t 16 | |
# dmidecode 2.12 | |
SMBIOS 2.7 present. | |
Handle 0x0005, DMI type 16, 23 bytes | |
Physical Memory Array | |
Location: System Board Or Motherboard | |
Use: System Memory | |
Error Correction Type: None | |
Maximum Capacity: 12 GB |
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 bitmath | |
>>> a_big_kib = bitmath.KiB(102400) | |
>>> print "Default:", a_big_kib, "| Best-prefix:", a_big_kib.best_prefix() | |
Default: 102400.0 KiB | Best-prefix: 100.0 MiB | |
>>> print (a_big_kib/3.0).format("{value:.3f}/{unit}") | |
34133.333/KiB | |
>>> print a_big_kib.bits, a_big_kib.system |
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
config_opts['root'] = 'epel-6-sclpy27-x86_64' | |
config_opts['target_arch'] = 'x86_64' | |
config_opts['legal_host_arches'] = ('x86_64',) | |
config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build python27-build' | |
config_opts['dist'] = 'el6' # only useful for --resultdir variable subst | |
# beware RHEL use 6Server or 6Client | |
config_opts['releasever'] = '6' | |
config_opts['yum.conf'] = """ | |
[main] |
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 <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 |
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 |