Thread: [Assorted-commits] SF.net SVN: assorted:[898] configs/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-07-18 08:38:18
|
Revision: 898 http://assorted.svn.sourceforge.net/assorted/?rev=898&view=rev Author: yangzhang Date: 2008-07-18 08:38:25 +0000 (Fri, 18 Jul 2008) Log Message: ----------- added abcde cd ripper config Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/abcde.conf Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2008-07-18 08:38:09 UTC (rev 897) +++ configs/trunk/setup-yang.bash 2008-07-18 08:38:25 UTC (rev 898) @@ -19,6 +19,7 @@ install .synergy.conf synergy.conf install .unison unison install .signature signature +install .abcde.conf abcde.conf install .aspell.en.prepl aspell/aspell.en.prepl install .aspell.en.pws aspell/aspell.en.pws # TODO figure out a place to put the .profile Added: configs/trunk/src/abcde.conf =================================================================== --- configs/trunk/src/abcde.conf (rev 0) +++ configs/trunk/src/abcde.conf 2008-07-18 08:38:25 UTC (rev 898) @@ -0,0 +1,12 @@ +# Make sure you have cdparanoia, metaflac, flac! +OUTPUTTYPE=flac +INTERACTIVE=n +FLACOPTS='-f -8' +PADTRACKS=y +OUTPUTDIR="$HOME/tmp/new/abcde" +EJECTCD=y +EXTRAVERBOSE=y +OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE} - ${ALBUMFILE}/${TRACKNUM} - ${TRACKFILE}' +mungefilename() { + echo "$@" | tr ':/' '-_' | tr -d '"?[:cntrl:]'\' +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-07-26 04:19:10
|
Revision: 908 http://assorted.svn.sourceforge.net/assorted/?rev=908&view=rev Author: yangzhang Date: 2008-07-26 04:19:19 +0000 (Sat, 26 Jul 2008) Log Message: ----------- added supybot configuration Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/supybot/ configs/trunk/src/supybot/yangbot.conf Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2008-07-25 02:04:25 UTC (rev 907) +++ configs/trunk/setup-yang.bash 2008-07-26 04:19:19 UTC (rev 908) @@ -22,4 +22,5 @@ install .abcde.conf abcde.conf install .aspell.en.prepl aspell/aspell.en.prepl install .aspell.en.pws aspell/aspell.en.pws +install .supybot/ supybot/yangbot.conf # TODO figure out a place to put the .profile Added: configs/trunk/src/supybot/yangbot.conf =================================================================== --- configs/trunk/src/supybot/yangbot.conf (rev 0) +++ configs/trunk/src/supybot/yangbot.conf 2008-07-26 04:19:19 UTC (rev 908) @@ -0,0 +1,1302 @@ +### +# Determines the bot's default nick. +# +# Default value: supybot +### +supybot.nick: yangbot + +### +# Determines what alternative nicks will be used if the primary nick +# (supybot.nick) isn't available. A %s in this nick is replaced by the +# value of supybot.nick when used. If no alternates are given, or if all +# are used, the supybot.nick will be perturbed appropriately until an +# unused nick is found. +# +# Default value: %s` %s_ +### +supybot.nick.alternates: %s` %s_ + +### +# Determines the bot's ident string, if the server doesn't provide one +# by default. +# +# Default value: supybot +### +supybot.ident: supybot + +### +# Determines the user the bot sends to the server. A standard user using +# the current version of the bot will be generated if this is left +# empty. +# +# Default value: +### +supybot.user: + +### +# Determines what networks the bot will connect to. +# +# Default value: +### +supybot.networks: freenode + +### +# Determines what password will be used on freenode. Yes, we know that +# technically passwords are server-specific and not network-specific, +# but this is the best we can do right now. +# +# Default value: +### +supybot.networks.freenode.password: + +### +# Determines what servers the bot will connect to for freenode. Each +# will be tried in order, wrapping back to the first when the cycle is +# completed. +# +# Default value: +### +supybot.networks.freenode.servers: irc.freenode.org:6667 + +### +# Determines what channels the bot will join only on freenode. +# +# Default value: +### +supybot.networks.freenode.channels: #hz + +### +# Determines what key (if any) will be used to join the channel. +# +# Default value: +### +supybot.networks.freenode.channels.key: + +### +# Determines whether the bot will attempt to connect with SSL sockets to +# freenode. +# +# Default value: False +### +supybot.networks.freenode.ssl: False + +### +# Determines how timestamps printed for human reading should be +# formatted. Refer to the Python documentation for the time module to +# see valid formatting characters for time formats. +# +# Default value: %I:%M %p, %B %d, %Y +### +supybot.reply.format.time: %I:%M %p, %B %d, %Y + +### +# Determines whether elapsed times will be given as "1 day, 2 hours, 3 +# minutes, and 15 seconds" or as "1d 2h 3m 15s". +# +# Default value: False +### +supybot.reply.format.time.elapsed.short: False + +### +# Determines the absolute maximum length of the bot's reply -- no reply +# will be passed through the bot with a length greater than this. +# +# Default value: 131072 +### +supybot.reply.maximumLength: 131072 + +### +# Determines whether the bot will break up long messages into chunks and +# allow users to use the 'more' command to get the remaining chunks. +# +# Default value: True +### +supybot.reply.mores: True + +### +# Determines what the maximum number of chunks (for use with the 'more' +# command) will be. +# +# Default value: 50 +### +supybot.reply.mores.maximum: 50 + +### +# Determines how long individual chunks will be. If set to 0, uses our +# super-tweaked, get-the-most-out-of-an-individual-message default. +# +# Default value: 0 +### +supybot.reply.mores.length: 0 + +### +# Determines how many mores will be sent instantly (i.e., without the +# use of the more command, immediately when they are formed). Defaults +# to 1, which means that a more command will be required for all but the +# first chunk. +# +# Default value: 1 +### +supybot.reply.mores.instant: 1 + +### +# Determines whether the bot will send multi-message replies in a single +# message or in multiple messages. For safety purposes (so the bot is +# less likely to flood) it will normally send everything in a single +# message, using mores if necessary. +# +# Default value: True +### +supybot.reply.oneToOne: True + +### +# Determines whether the bot will reply with an error message when it is +# addressed but not given a valid command. If this value is False, the +# bot will remain silent, as long as no other plugins override the +# normal behavior. +# +# Default value: True +### +supybot.reply.whenNotCommand: True + +### +# Determines whether error messages that result from bugs in the bot +# will show a detailed error message (the uncaught exception) or a +# generic error message. +# +# Default value: False +### +supybot.reply.error.detailed: False + +### +# Determines whether the bot will send error messages to users in +# private. You might want to do this in order to keep channel traffic to +# minimum. This can be used in combination with +# supybot.reply.error.withNotice. +# +# Default value: False +### +supybot.reply.error.inPrivate: False + +### +# Determines whether the bot will send error messages to users via +# NOTICE instead of PRIVMSG. You might want to do this so users can +# ignore NOTICEs from the bot and not have to see error messages; or you +# might want to use it in combination with supybot.reply.errorInPrivate +# so private errors don't open a query window in most IRC clients. +# +# Default value: False +### +supybot.reply.error.withNotice: False + +### +# Determines whether the bot will send an error message to users who +# attempt to call a command for which they do not have the necessary +# capability. You may wish to make this True if you don't want users to +# understand the underlying security system preventing them from running +# certain commands. +# +# Default value: False +### +supybot.reply.error.noCapability: False + +### +# Determines whether the bot will reply privately when replying in a +# channel, rather than replying to the whole channel. +# +# Default value: False +### +supybot.reply.inPrivate: False + +### +# Determines whether the bot will reply with a notice when replying in a +# channel, rather than replying with a privmsg as normal. +# +# Default value: False +### +supybot.reply.withNotice: False + +### +# Determines whether the bot will reply with a notice when it is sending +# a private message, in order not to open a /query window in clients. +# This can be overridden by individual users via the user configuration +# variable reply.withNoticeWhenPrivate. +# +# Default value: False +### +supybot.reply.withNoticeWhenPrivate: False + +### +# Determines whether the bot will always prefix the user's nick to its +# reply to that user's command. +# +# Default value: True +### +supybot.reply.withNickPrefix: True + +### +# Determines whether the bot should attempt to reply to all messages +# even if they don't address it (either via its nick or a prefix +# character). If you set this to True, you almost certainly want to set +# supybot.reply.whenNotCommand to False. +# +# Default value: False +### +supybot.reply.whenNotAddressed: False + +### +# Determines whether the bot will allow you to send channel-related +# commands outside of that channel. Sometimes people find it confusing +# if a channel-related command (like Filter.outfilter) changes the +# behavior of the channel but was sent outside the channel itself. +# +# Default value: False +### +supybot.reply.requireChannelCommandsToBeSentInChannel: False + +### +# Supybot normally replies with the full help whenever a user misuses a +# command. If this value is set to True, the bot will only reply with +# the syntax of the command (the first line of the help) rather than the +# full help. +# +# Default value: False +### +supybot.reply.showSimpleSyntax: False + +### +# Determines what prefix characters the bot will reply to. A prefix +# character is a single character that the bot will use to determine +# what messages are addressed to it; when there are no prefix characters +# set, it just uses its nick. Each character in this string is +# interpreted individually; you can have multiple prefix chars +# simultaneously, and if any one of them is used as a prefix the bot +# will assume it is being addressed. +# +# Default value: +### +supybot.reply.whenAddressedBy.chars: , + +### +# Determines what strings the bot will reply to when they are at the +# beginning of the message. Whereas prefix.chars can only be one +# character (although there can be many of them), this variable is a +# space-separated list of strings, so you can set something like '@@ ??' +# and the bot will reply when a message is prefixed by either @@ or ??. +# +# Default value: +### +supybot.reply.whenAddressedBy.strings: + +### +# Determines whether the bot will reply when people address it by its +# nick, rather than with a prefix character. +# +# Default value: True +### +supybot.reply.whenAddressedBy.nick: True + +### +# Determines whether the bot will reply when people address it by its +# nick at the end of the message, rather than at the beginning. +# +# Default value: False +### +supybot.reply.whenAddressedBy.nick.atEnd: False + +### +# Determines what extra nicks the bot will always respond to when +# addressed by, even if its current nick is something else. +# +# Default value: +### +supybot.reply.whenAddressedBy.nicks: + +### +# Determines whether the bot will unidentify someone when that person +# changes his or her nick. Setting this to True will cause the bot to +# track such changes. It defaults to False for a little greater +# security. +# +# Default value: False +### +supybot.followIdentificationThroughNickChanges: False + +### +# Determines whether the bot will always join a channel when it's +# invited. If this value is False, the bot will only join a channel if +# the user inviting it has the 'admin' capability (or if it's explicitly +# told to join the channel using the Admin.join command) +# +# Default value: False +### +supybot.alwaysJoinOnInvite: False + +### +# Determines what message the bot replies with when a command succeeded. +# If this configuration variable is empty, no success message will be +# sent. +### +supybot.replies.success: The operation succeeded. + +### +# Determines what error message the bot gives when it wants to be +# ambiguous. +### +supybot.replies.error: An error has occurred and has been logged. Please\ + contact this bot's administrator for more\ + information. + +### +# Determines what message the bot replies with when someone tries to use +# a command that requires being identified or having a password and +# neither credential is correct. +### +supybot.replies.incorrectAuthentication: Your hostmask doesn't match or your\ + password is wrong. + +### +# Determines what error message the bot replies with when someone tries +# to accessing some information on a user the bot doesn't know about. +### +supybot.replies.noUser: I can't find %s in my user database. If you didn't\ + give a user name, then I might not know what your\ + user is, and you'll need to identify before this\ + command might work. + +### +# Determines what error message the bot replies with when someone tries +# to do something that requires them to be registered but they're not +# currently recognized. +### +supybot.replies.notRegistered: You must be registered to use this command.\ + If you are already registered, you must\ + either identify (using the identify command)\ + or add a hostmask matching your current\ + hostmask (using the "hostmask add" command). + +### +# Determines what error message is given when the bot is telling someone +# they aren't cool enough to use the command they tried to use. +### +supybot.replies.noCapability: You don't have the %s capability. If you think\ + that you should have this capability, be sure\ + that you are identified before trying again.\ + The 'whoami' command can tell you if you're\ + identified. + +### +# Determines what generic error message is given when the bot is telling +# someone that they aren't cool enough to use the command they tried to +# use, and the author of the code calling errorNoCapability didn't +# provide an explicit capability for whatever reason. +### +supybot.replies.genericNoCapability: You're missing some capability you\ + need. This could be because you\ + actually possess the anti-capability\ + for the capability that's required of\ + you, or because the channel provides\ + that anti-capability by default, or\ + because the global capabilities include\ + that anti-capability. Or, it could be\ + because the channel or\ + supybot.capabilities.default is set to\ + False, meaning that no commands are\ + allowed unless explicitly in your\ + capabilities. Either way, you can't do\ + what you want to do. + +### +# Determines what error messages the bot sends to people who try to do +# things in a channel that really should be done in private. +### +supybot.replies.requiresPrivacy: That operation cannot be done in a channel. + +### +# Determines what message the bot sends when it thinks you've +# encountered a bug that the developers don't know about. +### +supybot.replies.possibleBug: This may be a bug. If you think it is, please\ + file a bug report at <http://sourceforge.net/tr\ + acker/?func=add&group_id=58965&atid=489447>. + +### +# A floating point number of seconds to throttle snarfed URLs, in order +# to prevent loops between two bots snarfing the same URLs and having +# the snarfed URL in the output of the snarf message. +# +# Default value: 10.0 +### +supybot.snarfThrottle: 10.0 + +### +# Determines the number of seconds between running the upkeep function +# that flushes (commits) open databases, collects garbage, and records +# some useful statistics at the debugging level. +# +# Default value: 3600 +### +supybot.upkeepInterval: 3600 + +### +# Determines whether the bot will periodically flush data and +# configuration files to disk. Generally, the only time you'll want to +# set this to False is when you want to modify those configuration files +# by hand and don't want the bot to flush its current version over your +# modifications. Do note that if you change this to False inside the +# bot, your changes won't be flushed. To make this change permanent, you +# must edit the registry yourself. +# +# Default value: True +### +supybot.flush: True + +### +# Determines what characters are valid for quoting arguments to commands +# in order to prevent them from being tokenized. +# +# Default value: " +### +supybot.commands.quotes: " + +### +# Determines whether the bot will allow nested commands, which rule. You +# definitely should keep this on. +# +# Default value: True +### +supybot.commands.nested: True + +### +# Determines what the maximum number of nested commands will be; users +# will receive an error if they attempt commands more nested than this. +# +# Default value: 10 +### +supybot.commands.nested.maximum: 10 + +### +# Supybot allows you to specify what brackets are used for your nested +# commands. Valid sets of brackets include [], <>, and {} (). [] has +# strong historical motivation, as well as being the brackets that don't +# require shift. <> or () might be slightly superior because they cannot +# occur in a nick. If this string is empty, nested commands will not be +# allowed in this channel. +# +# Default value: [] +### +supybot.commands.nested.brackets: [] + +### +# Supybot allows nested commands. Enabling this option will allow nested +# commands with a syntax similar to UNIX pipes, for example: 'bot: foo | +# bar'. +# +# Default value: False +### +supybot.commands.nested.pipeSyntax: False + +### +# Determines what commands have default plugins set, and which plugins +# are set to be the default for each of those commands. +### + +### +# Determines what plugins automatically get precedence over all other +# plugins when selecting a default plugin for a command. By default, +# this includes the standard loaded plugins. You probably shouldn't +# change this if you don't know what you're doing; if you do know what +# you're doing, then also know that this set is case-sensitive. +# +# Default value: Plugin Admin Misc User Owner Config Channel +### +supybot.commands.defaultPlugins.importantPlugins: Plugin Admin Misc User Owner Config Channel + +### +# Determines what commands are currently disabled. Such commands will +# not appear in command lists, etc. They will appear not even to exist. +# +# Default value: +### +supybot.commands.disabled: + +### +# Determines whether the bot will defend itself against command- +# flooding. +# +# Default value: True +### +supybot.abuse.flood.command: True + +### +# Determines how many commands users are allowed per minute. If a user +# sends more than this many commands in any 60 second period, he or she +# will be ignored for supybot.abuse.flood.command.punishment seconds. +# +# Default value: 12 +### +supybot.abuse.flood.command.maximum: 12 + +### +# Determines how many seconds the bot will ignore users who flood it +# with commands. +# +# Default value: 300 +### +supybot.abuse.flood.command.punishment: 300 + +### +# Determines whether the bot will defend itself against invalid command- +# flooding. +# +# Default value: True +### +supybot.abuse.flood.command.invalid: True + +### +# Determines how many invalid commands users are allowed per minute. If +# a user sends more than this many invalid commands in any 60 second +# period, he or she will be ignored for +# supybot.abuse.flood.command.invalid.punishment seconds. Typically, +# this value is lower than supybot.abuse.flood.command.maximum, since +# it's far less likely (and far more annoying) for users to flood with +# invalid commands than for them to flood with valid commands. +# +# Default value: 5 +### +supybot.abuse.flood.command.invalid.maximum: 5 + +### +# Determines how many seconds the bot will ignore users who flood it +# with invalid commands. Typically, this value is higher than +# supybot.abuse.flood.command.punishment, since it's far less likely +# (and far more annoying) for users to flood witih invalid commands than +# for them to flood with valid commands. +# +# Default value: 600 +### +supybot.abuse.flood.command.invalid.punishment: 600 + +### +# Determines the default length of time a driver should block waiting +# for input. +# +# Default value: 1.0 +### +supybot.drivers.poll: 1.0 + +### +# Determines what driver module the bot will use. Socket, a simple +# driver based on timeout sockets, is used by default because it's +# simple and stable. Twisted is very stable and simple, and if you've +# got Twisted installed, is probably your best bet. If this setting is +# left as default and Twisted-support is detected, the Twisted driver +# will be used in favor of the Socket driver. +# +# Default value: default +### +supybot.drivers.module: default + +### +# Determines the maximum time the bot will wait before attempting to +# reconnect to an IRC server. The bot may, of course, reconnect earlier +# if possible. +# +# Default value: 300.0 +### +supybot.drivers.maxReconnectWait: 300.0 + +### +# Determines what directory configuration data is put into. +# +# Default value: conf +### +supybot.directories.conf: /home/yang/.supybot/conf + +### +# Determines what directory data is put into. +# +# Default value: data +### +supybot.directories.data: /home/yang/.supybot/data + +### +# Determines what directory temporary files are put into. +# +# Default value: tmp +### +supybot.directories.data.tmp: /home/yang/.supybot/data/tmp + +### +# Determines what directory backup data is put into. +# +# Default value: backup +### +supybot.directories.backup: /home/yang/.supybot/backup + +### +# Determines what directories the bot will look for plugins in. Accepts +# a comma-separated list of strings. This means that to add another +# directory, you can nest the former value and add a new one. E.g. you +# can say: bot: 'config supybot.directories.plugins [config +# supybot.directories.plugins], newPluginDirectory'. +# +# Default value: /var/lib/python-support/python2.5/supybot/plugins +### +supybot.directories.plugins: /var/lib/python-support/python2.5/supybot/plugins, /home/yang/.supybot/plugins + +### +# Determines what directory the bot will store its logfiles in. +# +# Default value: logs +### +supybot.directories.log: /home/yang/.supybot/logs + +### +# Determines what plugins will be loaded. +# +# Default value: +### +supybot.plugins: ChannelStats Admin ChannelLogger Misc User Config Channel + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.Admin: True + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.Admin.public: True + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.Channel: True + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.Channel.public: True + +### +# Determines whether the bot will always try to rejoin a channel +# whenever it's kicked from the channel. +# +# Default value: True +### +supybot.plugins.Channel.alwaysRejoin: True + +### +# Determines what will be used as the default banmask style. +# +# Default value: host user +### +supybot.plugins.Channel.banmask: host user + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.ChannelLogger: True + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.ChannelLogger.public: True + +### +# Determines whether channel logfiles will be flushed anytime they're +# written to, rather than being buffered by the operating system. +# +# Default value: False +### +supybot.plugins.ChannelLogger.flushImmediately: False + +### +# Determines whether formatting characters (such as bolding, color, +# etc.) are removed when writing the logs to disk. +# +# Default value: True +### +supybot.plugins.ChannelLogger.stripFormatting: True + +### +# Determines whether the logs for this channel are timestamped with the +# timestamp in supybot.log.timestampFormat. +# +# Default value: True +### +supybot.plugins.ChannelLogger.timestamp: True + +### +# Determines what string a message should be prefixed with in order not +# to be logged. If you don't want any such prefix, just set it to the +# empty string. +# +# Default value: [nolog] +### +supybot.plugins.ChannelLogger.noLogPrefix: [nolog] + +### +# Determines whether the bot will automatically rotate the logs for this +# channel. The bot will rotate logs when the timestamp for the log +# changes. The timestamp is set according to the 'filenameTimestamp' +# configuration variable. +# +# Default value: False +### +supybot.plugins.ChannelLogger.rotateLogs: False + +### +# Determines how to represent the timestamp used for the filename in +# rotated logs. When this timestamp changes, the old logfiles will be +# closed and a new one started. The format characters for the timestamp +# are in the time.strftime docs at python.org. In order for your logs to +# be rotated, you'll also have to enable +# supybot.plugins.ChannelLogger.rotateLogs. +# +# Default value: %d-%a-%Y +### +supybot.plugins.ChannelLogger.filenameTimestamp: %d-%a-%Y + +### +# Determines whether the bot will partition its channel logs into +# separate directories based on different criteria. +# +# Default value: True +### +supybot.plugins.ChannelLogger.directories: True + +### +# Determines whether the bot will use a network directory if using +# directories. +# +# Default value: True +### +supybot.plugins.ChannelLogger.directories.network: True + +### +# Determines whether the bot will use a channel directory if using +# directories. +# +# Default value: True +### +supybot.plugins.ChannelLogger.directories.channel: True + +### +# Determines whether the bot will use a timestamp (determined by +# supybot.plugins.ChannelLogger.directories.timestamp.format) if using +# directories. +# +# Default value: False +### +supybot.plugins.ChannelLogger.directories.timestamp: False + +### +# Determines what timestamp format will be used in the directory +# stucture for channel logs if +# supybot.plugins.ChannelLogger.directories.timestamp is True. +# +# Default value: %B +### +supybot.plugins.ChannelLogger.directories.timestamp.format: %B + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.ChannelStats: False + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.ChannelStats.public: True + +### +# Determines whether the bot will keep channel statistics on itself, +# possibly skewing the channel stats (especially in cases where the bot +# is relaying between channels on a network). +# +# Default value: True +### +supybot.plugins.ChannelStats.selfStats: True + +### +# Determines what words (i.e., pieces of text with no spaces in them) +# are considered 'smileys' for the purposes of stats-keeping. +# +# Default value: :) ;) ;] :-) :-D :D :P :p (= =) +### +supybot.plugins.ChannelStats.smileys: :) ;) ;] :-) :-D :D :P :p (= =) + +### +# Determines what words (i.e., pieces of text with no spaces in them ) +# are considered 'frowns' for the purposes of stats-keeping. +# +# Default value: :| :-/ :-\ :\ :/ :( :-( :'( +### +supybot.plugins.ChannelStats.frowns: :| :-/ :-\\ :\\ :/ :( :-( :'( + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.Config: True + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.Config.public: True + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.Misc: True + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.Misc.public: True + +### +# Determines whether the bot will list private plugins with the list +# command if given the --private switch. If this is disabled, non-owner +# users should be unable to see what private plugins are loaded. +# +# Default value: True +### +supybot.plugins.Misc.listPrivatePlugins: True + +### +# Determines the format string for timestamps in the Misc.last command. +# Refer to the Python documentation for the time module to see what +# formats are accepted. If you set this variable to the empty string, +# the timestamp will not be shown. +# +# Default value: [%H:%M:%S] +### +supybot.plugins.Misc.timestampFormat: [%H:%M:%S] + +### +# Determines whether or not the timestamp will be included in the output +# of last when it is part of a nested command +# +# Default value: False +### +supybot.plugins.Misc.last.nested.includeTimestamp: False + +### +# Determines whether or not the nick will be included in the output of +# last when it is part of a nested command +# +# Default value: False +### +supybot.plugins.Misc.last.nested.includeNick: False + +### +# Determines whether this plugin is loaded by default. +### +supybot.plugins.User: True + +### +# Determines whether this plugin is publicly visible. +# +# Default value: True +### +supybot.plugins.User.public: True + +### +# Determines whether the bot will always load important plugins (Admin, +# Channel, Config, Misc, Owner, and User) regardless of what their +# configured state is. Generally, if these plugins are configured not to +# load, you didn't do it on purpose, and you still want them to load. +# Users who don't want to load these plugins are smart enough to change +# the value of this variable appropriately :) +# +# Default value: True +### +supybot.plugins.alwaysLoadImportant: True + +### +# Determines what databases are available for use. If this value is not +# configured (that is, if its value is empty) then sane defaults will be +# provided. +# +# Default value: anydbm cdb flat pickle +### +supybot.databases: + +### +# Determines what filename will be used for the users database. This +# file will go into the directory specified by the +# supybot.directories.conf variable. +# +# Default value: users.conf +### +supybot.databases.users.filename: users.conf + +### +# Determines how long it takes identification to time out. If the value +# is less than or equal to zero, identification never times out. +# +# Default value: 0 +### +supybot.databases.users.timeoutIdentification: 0 + +### +# Determines whether the bot will allow users to unregister their users. +# This can wreak havoc with already-existing databases, so by default we +# don't allow it. Enable this at your own risk. (Do also note that this +# does not prevent the owner of the bot from using the unregister +# command.) +# +# Default value: False +### +supybot.databases.users.allowUnregistration: False + +### +# Determines what filename will be used for the ignores database. This +# file will go into the directory specified by the +# supybot.directories.conf variable. +# +# Default value: ignores.conf +### +supybot.databases.ignores.filename: ignores.conf + +### +# Determines what filename will be used for the channels database. This +# file will go into the directory specified by the +# supybot.directories.conf variable. +# +# Default value: channels.conf +### +supybot.databases.channels.filename: channels.conf + +### +# Determines whether database-based plugins that can be channel-specific +# will be so. This can be overridden by individual channels. Do note +# that the bot needs to be restarted immediately after changing this +# variable or your db plugins may not work for your channel; also note +# that you may wish to set +# supybot.databases.plugins.channelSpecific.link appropriately if you +# wish to share a certain channel's databases globally. +# +# Default value: True +### +supybot.databases.plugins.channelSpecific: True + +### +# Determines what channel global (non-channel-specific) databases will +# be considered a part of. This is helpful if you've been running +# channel-specific for awhile and want to turn the databases for your +# primary channel into global databases. If +# supybot.databases.plugins.channelSpecific.link.allow prevents linking, +# the current channel will be used. Do note that the bot needs to be +# restarted immediately after changing this variable or your db plugins +# may not work for your channel. +# +# Default value: # +### +supybot.databases.plugins.channelSpecific.link: # + +### +# Determines whether another channel's global (non-channel-specific) +# databases will be allowed to link to this channel's databases. Do note +# that the bot needs to be restarted immediately after changing this +# variable or your db plugins may not work for your channel. +# +# Default value: True +### +supybot.databases.plugins.channelSpecific.link.allow: True + +### +# Determines whether CDB databases will be allowed as a database +# implementation. +# +# Default value: True +### +supybot.databases.types.cdb: True + +### +# Determines how often CDB databases will have their modifications +# flushed to disk. When the number of modified records is greater than +# this part of the number of unmodified records, the database will be +# entirely flushed to disk. +# +# Default value: 0.5 +### +supybot.databases.types.cdb.maximumModifications: 0.5 + +### +# Determines whether the bot will strictly follow the RFC; currently +# this only affects what strings are considered to be nicks. If you're +# using a server or a network that requires you to message a nick such +# as ser...@th...rver then you you should set this to False. +# +# Default value: False +### +supybot.protocols.irc.strictRfc: False + +### +# Determines what user modes the bot will request from the server when +# it first connects. Many people might choose +i; some networks allow +# +x, which indicates to the auth services on those networks that you +# should be given a fake host. +# +# Default value: +### +supybot.protocols.irc.umodes: + +### +# Determines what vhost the bot will bind to before connecting to the +# IRC server. +# +# Default value: +### +supybot.protocols.irc.vhost: + +### +# Determines how many old messages the bot will keep around in its +# history. Changing this variable will not take effect until the bot is +# restarted. +# +# Default value: 1000 +### +supybot.protocols.irc.maxHistoryLength: 1000 + +### +# A floating point number of seconds to throttle queued messages -- that +# is, messages will not be sent faster than once per throttleTime +# seconds. +# +# Default value: 1.0 +### +supybot.protocols.irc.throttleTime: 1.0 + +### +# Determines whether the bot will send PINGs to the server it's +# connected to in order to keep the connection alive and discover +# earlier when it breaks. Really, this option only exists for debugging +# purposes: you always should make it True unless you're testing some +# strange server issues. +# +# Default value: True +### +supybot.protocols.irc.ping: True + +### +# Determines the number of seconds between sending pings to the server, +# if pings are being sent to the server. +# +# Default value: 120 +### +supybot.protocols.irc.ping.interval: 120 + +### +# Determines whether the bot will refuse duplicate messages to be queued +# for delivery to the server. This is a safety mechanism put in place to +# prevent plugins from sending the same message multiple times; most of +# the time it doesn't matter, unless you're doing certain kinds of +# plugin hacking. +# +# Default value: False +### +supybot.protocols.irc.queuing.duplicates: False + +### +# Determines how many seconds must elapse between JOINs sent to the +# server. +# +# Default value: 0.0 +### +supybot.protocols.irc.queuing.rateLimit.join: 0.0 + +### +# Determines how many bytes the bot will 'peek' at when looking through +# a URL for a doctype or title or something similar. It'll give up after +# it reads this many bytes, even if it hasn't found what it was looking +# for. +# +# Default value: 4096 +### +supybot.protocols.http.peekSize: 4096 + +### +# Determines what proxy all HTTP requests should go through. The value +# should be of the form 'host:port'. +# +# Default value: +### +supybot.protocols.http.proxy: + +### +# Determines whether the bot will ignore unregistered users by default. +# Of course, that'll make it particularly hard for those users to +# register or identify with the bot, but that's your problem to solve. +# +# Default value: False +### +supybot.defaultIgnore: False + +### +# A string that is the external IP of the bot. If this is the empty +# string, the bot will attempt to find out its IP dynamically (though +# sometimes that doesn't work, hence this variable). +# +# Default value: +### +supybot.externalIP: + +### +# Determines what the default timeout for socket objects will be. This +# means that *all* sockets will timeout when this many seconds has gone +# by (unless otherwise modified by the author of the code that uses the +# sockets). +# +# Default value: 10 +### +supybot.defaultSocketTimeout: 10 + +### +# Determines what file the bot should write its PID (Process ID) to, so +# you can kill it more easily. If it's left unset (as is the default) +# then no PID file will be written. A restart is required for changes to +# this variable to take effect. +# +# Default value: +### +supybot.pidFile: + +### +# Determines whether the bot will automatically thread all commands. +# +# Default value: False +### +supybot.debug.threadAllCommands: False + +### +# Determines whether the bot will automatically flush all flushers +# *very* often. Useful for debugging when you don't know what's breaking +# or when, but think that it might be logged. +# +# Default value: False +### +supybot.debug.flushVeryOften: False + +### +# Determines what the bot's logging format will be. The relevant +# documentation on the available formattings is Python's documentation +# on its logging module. +# +# Default value: %(levelname)s %(asctime)s %(name)s %(message)s +### +supybot.log.format: %(levelname)s %(asctime)s %(name)s %(message)s + +### +# Determines what the minimum priority level logged will be. Valid +# values are DEBUG, INFO, WARNING, ERROR, and CRITICAL, in order of +# increasing priority. +# +# Default value: INFO +### +supybot.log.level: INFO + +### +# Determines the format string for timestamps in logfiles. Refer to the +# Python documentation for the time module to see what formats are +# accepted. If you set this variable to the empty string, times will be +# logged in a simple seconds-since-epoch format. +# +# Default value: %Y-%m-%dT%H:%M:%S +### +supybot.log.timestampFormat: %Y-%m-%dT%H:%M:%S + +### +# Determines whether the bot will log to stdout. +# +# Default value: True +### +supybot.log.stdout: True + +### +# Determines whether the bot's logs to stdout (if enabled) will be +# colorized with ANSI color. +# +# Default value: False +### +supybot.log.stdout.colorized: False + +### +# Determines whether the bot will wrap its logs when they're output to +# stdout. +# +# Default value: True +### +supybot.log.stdout.wrap: True + +### +# Determines what the bot's logging format will be. The relevant +# documentation on the available formattings is Python's documentation +# on its logging module. +# +# Default value: %(levelname)s %(asctime)s %(message)s +### +supybot.log.stdout.format: %(levelname)s %(asctime)s %(message)s + +### +# Determines what the minimum priority level logged will be. Valid +# values are DEBUG, INFO, WARNING, ERROR, and CRITICAL, in order of +# increasing priority. +# +# Default value: INFO +### +supybot.log.stdout.level: INFO + +### +# Determines whether the bot will separate plugin logs into their own +# individual logfiles. +# +# Default value: False +### +supybot.log.plugins.individualLogfiles: False + +### +# Determines what the bot's logging format will be. The relevant +# documentation on the available formattings is Python's documentation +# on its logging module. +# +# Default value: %(levelname)s %(asctime)s %(message)s +### +supybot.log.plugins.format: %(levelname)s %(asctime)s %(message)s + +### +# These are the capabilities that are given to everyone by default. If +# they are normal capabilities, then the user will have to have the +# appropriate anti-capability if you want to override these +# capabilities; if they are anti-capabilities, then the user will have +# to have the actual capability to override these capabilities. See +# docs/CAPABILITIES if you don't understand why these default to what +# they do. +# +# Default value: -owner -admin -trusted +### +supybot.capabilities: -owner -admin -trusted + +### +# Determines whether the bot by default will allow users to have a +# capability. If this is disabled, a user must explicitly have the +# capability for whatever command he wishes to run. +# +# Default value: True +### +supybot.capabilities.default: True This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-07-27 23:05:37
|
Revision: 909 http://assorted.svn.sourceforge.net/assorted/?rev=909&view=rev Author: yangzhang Date: 2008-07-27 23:05:45 +0000 (Sun, 27 Jul 2008) Log Message: ----------- added .devscripts Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/devscripts Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2008-07-26 04:19:19 UTC (rev 908) +++ configs/trunk/setup-yang.bash 2008-07-27 23:05:45 UTC (rev 909) @@ -23,4 +23,5 @@ install .aspell.en.prepl aspell/aspell.en.prepl install .aspell.en.pws aspell/aspell.en.pws install .supybot/ supybot/yangbot.conf +install .devscripts devscripts # TODO figure out a place to put the .profile Added: configs/trunk/src/devscripts =================================================================== --- configs/trunk/src/devscripts (rev 0) +++ configs/trunk/src/devscripts 2008-07-27 23:05:45 UTC (rev 909) @@ -0,0 +1 @@ +DEBUILD_DPKG_BUILDPACKAGE_OPTS='-us -uc -sa' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-08-02 04:06:47
|
Revision: 921 http://assorted.svn.sourceforge.net/assorted/?rev=921&view=rev Author: yangzhang Date: 2008-08-02 04:06:42 +0000 (Sat, 02 Aug 2008) Log Message: ----------- added zephyr and barnowl configs Modified Paths: -------------- configs/trunk/setup-yang.bash configs/trunk/src/ssh/config Added Paths: ----------- configs/trunk/src/owl/ configs/trunk/src/owl/startup configs/trunk/src/zephyr/ configs/trunk/src/zephyr/anyone configs/trunk/src/zephyr/zephyr.subs Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2008-08-01 16:17:16 UTC (rev 920) +++ configs/trunk/setup-yang.bash 2008-08-02 04:06:42 UTC (rev 921) @@ -8,20 +8,23 @@ . simple-setup.bash cd src -install .ssh/ ssh/config +install .Xdefaults Xdefaults +install .abcde.conf abcde.conf +install .anyone zephyr/anyone +install .aspell.en.prepl aspell/aspell.en.prepl +install .aspell.en.pws aspell/aspell.en.pws +install .astylerc astylerc +install .darcs/ darcs/boring +install .devscripts devscripts install .inputrc inputrc -install .astylerc astylerc +install .owl/ owl/startup +install .pythonrc.py pythonrc.py install .screenrc screenrc -install .pythonrc.py pythonrc.py -install .darcs/ darcs/boring +install .signature signature +install .ssh/ ssh/config install .subversion/ subversion/config -install .Xdefaults Xdefaults +install .supybot/ supybot/yangbot.conf install .synergy.conf synergy.conf install .unison unison -install .signature signature -install .abcde.conf abcde.conf -install .aspell.en.prepl aspell/aspell.en.prepl -install .aspell.en.pws aspell/aspell.en.pws -install .supybot/ supybot/yangbot.conf -install .devscripts devscripts +install .zephyr.subs zephyr/zephyr.subs # TODO figure out a place to put the .profile Added: configs/trunk/src/owl/startup =================================================================== --- configs/trunk/src/owl/startup (rev 0) +++ configs/trunk/src/owl/startup 2008-08-02 04:06:42 UTC (rev 921) @@ -0,0 +1,2 @@ +set logging on +set classlogging on Modified: configs/trunk/src/ssh/config =================================================================== --- configs/trunk/src/ssh/config 2008-08-01 16:17:16 UTC (rev 920) +++ configs/trunk/src/ssh/config 2008-08-02 04:06:42 UTC (rev 921) @@ -5,6 +5,18 @@ # StrictHostKeyChecking no +Host rem + HostName remote.mit.edu + User root + +Host bm + HostName black-mesa.mit.edu + User root + +Host sx + HostName sx-blade-2.mit.edu + User root + Host blokus HostName blokus.csail.mit.edu User y_z Added: configs/trunk/src/zephyr/anyone =================================================================== --- configs/trunk/src/zephyr/anyone (rev 0) +++ configs/trunk/src/zephyr/anyone 2008-08-02 04:06:42 UTC (rev 921) @@ -0,0 +1,5 @@ +dheera +emkim +kchen +pawan +y_z Added: configs/trunk/src/zephyr/zephyr.subs =================================================================== --- configs/trunk/src/zephyr/zephyr.subs (rev 0) +++ configs/trunk/src/zephyr/zephyr.subs 2008-08-02 04:06:42 UTC (rev 921) @@ -0,0 +1,3 @@ +sipb,*,* +xvm,*,* +sipb-auto,door,* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-11-11 18:49:21
|
Revision: 1073 http://assorted.svn.sourceforge.net/assorted/?rev=1073&view=rev Author: yangzhang Date: 2008-11-11 18:49:10 +0000 (Tue, 11 Nov 2008) Log Message: ----------- adding more barnowl config Modified Paths: -------------- configs/trunk/setup-yang.bash configs/trunk/src/owl/startup Added Paths: ----------- configs/trunk/src/owl/modules/ configs/trunk/src/owl/modules/ColorUtils.par Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2008-11-07 21:11:32 UTC (rev 1072) +++ configs/trunk/setup-yang.bash 2008-11-11 18:49:10 UTC (rev 1073) @@ -19,7 +19,7 @@ install .inputrc inputrc install .gitconfig gitconfig install .gitignore gitignore -install .owl/ owl/startup +install .owl owl install .pythonrc.py pythonrc.py install .screenrc screenrc install .signature signature Added: configs/trunk/src/owl/modules/ColorUtils.par =================================================================== (Binary files differ) Property changes on: configs/trunk/src/owl/modules/ColorUtils.par ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: configs/trunk/src/owl/startup =================================================================== --- configs/trunk/src/owl/startup 2008-11-07 21:11:32 UTC (rev 1072) +++ configs/trunk/src/owl/startup 2008-11-11 18:49:10 UTC (rev 1073) @@ -1,2 +1,10 @@ -set logging on -set classlogging on +set logging +set classlogging +unset fancylines + +# colors +viewclass xvm +filter class-xvm -c blue +viewclass sipb +filter class-sipb -c cyan +view all This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2009-01-09 08:43:32
|
Revision: 1126 http://assorted.svn.sourceforge.net/assorted/?rev=1126&view=rev Author: yangzhang Date: 2009-01-09 08:43:21 +0000 (Fri, 09 Jan 2009) Log Message: ----------- tweaks Modified Paths: -------------- configs/trunk/setup-yang.bash configs/trunk/src/devscripts configs/trunk/src/pythonrc.py Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2009-01-09 08:39:19 UTC (rev 1125) +++ configs/trunk/setup-yang.bash 2009-01-09 08:43:21 UTC (rev 1126) @@ -16,6 +16,7 @@ install .astylerc astylerc install .darcs/ darcs/boring install .devscripts devscripts +install .dput.cf dput.cf install .inputrc inputrc install .gitconfig gitconfig install .gitignore gitignore Modified: configs/trunk/src/devscripts =================================================================== --- configs/trunk/src/devscripts 2009-01-09 08:39:19 UTC (rev 1125) +++ configs/trunk/src/devscripts 2009-01-09 08:43:21 UTC (rev 1126) @@ -1 +1 @@ -DEBUILD_DPKG_BUILDPACKAGE_OPTS='-us -uc -sa' +# DEBUILD_DPKG_BUILDPACKAGE_OPTS='-us -uc -sa' Modified: configs/trunk/src/pythonrc.py =================================================================== --- configs/trunk/src/pythonrc.py 2009-01-09 08:39:19 UTC (rev 1125) +++ configs/trunk/src/pythonrc.py 2009-01-09 08:43:21 UTC (rev 1126) @@ -1,6 +1,6 @@ from __future__ import ( generators, with_statement ) import os, sys -from cStringIO import * +#from cStringIO import * from itertools import * import readline, rlcompleter readline.parse_and_bind( 'tab: complete' ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2011-04-14 05:30:05
|
Revision: 1781 http://assorted.svn.sourceforge.net/assorted/?rev=1781&view=rev Author: yangzhang Date: 2011-04-14 05:29:59 +0000 (Thu, 14 Apr 2011) Log Message: ----------- Add .Rprofile Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/Rprofile Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2011-04-14 05:01:14 UTC (rev 1780) +++ configs/trunk/setup-yang.bash 2011-04-14 05:29:59 UTC (rev 1781) @@ -8,6 +8,7 @@ . simple-setup.bash cd src +install .Rprofile Rprofile install .Xdefaults Xdefaults install .abcde.conf abcde.conf install .anyone zephyr/anyone Added: configs/trunk/src/Rprofile =================================================================== --- configs/trunk/src/Rprofile (rev 0) +++ configs/trunk/src/Rprofile 2011-04-14 05:29:59 UTC (rev 1781) @@ -0,0 +1 @@ +options(repos='http://cran.cnr.Berkeley.edu') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2013-03-29 01:25:31
|
Revision: 1848 http://sourceforge.net/p/assorted/svn/1848 Author: yangzhang Date: 2013-03-29 01:25:29 +0000 (Fri, 29 Mar 2013) Log Message: ----------- Add .psqlrc Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/psqlrc Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2013-03-23 19:53:30 UTC (rev 1847) +++ configs/trunk/setup-yang.bash 2013-03-29 01:25:29 UTC (rev 1848) @@ -26,6 +26,7 @@ install .lyx/bind/ lyx/bind/user.bind install .matplotlib/matplotlibrc matplotlib/matplotlibrc install .owl owl +install .psqlrc psqlrc install .pythonrc.py pythonrc.py install .quiltrc quiltrc install .screenrc screenrc Added: configs/trunk/src/psqlrc =================================================================== --- configs/trunk/src/psqlrc (rev 0) +++ configs/trunk/src/psqlrc 2013-03-29 01:25:29 UTC (rev 1848) @@ -0,0 +1 @@ +\pset null ¤ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2009-01-08 06:15:32
|
Revision: 1117 http://assorted.svn.sourceforge.net/assorted/?rev=1117&view=rev Author: yangzhang Date: 2009-01-08 06:15:24 +0000 (Thu, 08 Jan 2009) Log Message: ----------- added quiltrc Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/quiltrc Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2009-01-04 10:45:25 UTC (rev 1116) +++ configs/trunk/setup-yang.bash 2009-01-08 06:15:24 UTC (rev 1117) @@ -21,6 +21,7 @@ install .gitignore gitignore install .owl owl install .pythonrc.py pythonrc.py +install .quiltrc quiltrc install .screenrc screenrc install .signature signature install .ssh/ ssh/config Added: configs/trunk/src/quiltrc =================================================================== --- configs/trunk/src/quiltrc (rev 0) +++ configs/trunk/src/quiltrc 2009-01-08 06:15:24 UTC (rev 1117) @@ -0,0 +1 @@ +QUILT_PATCHES=debian/patches This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2009-04-27 21:16:15
|
Revision: 1342 http://assorted.svn.sourceforge.net/assorted/?rev=1342&view=rev Author: yangzhang Date: 2009-04-27 21:16:07 +0000 (Mon, 27 Apr 2009) Log Message: ----------- added gdbinit for stl structures Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/gdbinit Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2009-04-17 19:52:31 UTC (rev 1341) +++ configs/trunk/setup-yang.bash 2009-04-27 21:16:07 UTC (rev 1342) @@ -17,9 +17,10 @@ install .darcs/ darcs/boring install .devscripts devscripts install .dput.cf dput.cf -install .inputrc inputrc +install .gdbinit gdbinit install .gitconfig gitconfig install .gitignore gitignore +install .inputrc inputrc install .owl owl install .pythonrc.py pythonrc.py install .quiltrc quiltrc Added: configs/trunk/src/gdbinit =================================================================== --- configs/trunk/src/gdbinit (rev 0) +++ configs/trunk/src/gdbinit 2009-04-27 21:16:07 UTC (rev 1342) @@ -0,0 +1,695 @@ +# From http://www.yolinux.com/TUTORIALS/src/dbinit_stl_views-1.03.txt +# +# STL GDB evaluators/views/utilities - 1.03 +# +# The new GDB commands: +# are entirely non instrumental +# do not depend on any "inline"(s) - e.g. size(), [], etc +# are extremely tolerant to debugger settings +# +# This file should be "included" in .gdbinit as following: +# source stl-views.gdb or just paste it into your .gdbinit file +# +# The following STL containers are currently supported: +# +# std::vector<T> -- via pvector command +# std::list<T> -- via plist or plist_member command +# std::map<T,T> -- via pmap or pmap_member command +# std::multimap<T,T> -- via pmap or pmap_member command +# std::set<T> -- via pset command +# std::multiset<T> -- via pset command +# std::deque<T> -- via pdequeue command +# std::stack<T> -- via pstack command +# std::queue<T> -- via pqueue command +# std::priority_queue<T> -- via ppqueue command +# std::bitset<n> -- via pbitset command +# std::string -- via pstring command +# std::widestring -- via pwstring command +# +# The end of this file contains (optional) C++ beautifiers +# Make sure your debugger supports $argc +# +# Simple GDB Macros writen by Dan Marinescu (H-PhD) - License GPL +# Inspired by intial work of Tom Malnar, +# Tony Novac (PhD) / Cornell / Stanford, +# Gilad Mishne (PhD) and Many Many Others. +# Contact: dan...@ya... (Subject: STL) +# +# Modified to work with g++ 4.3 by Anders Elton +# Also added _member functions, that instead of printing the entire class in map, prints a member. + + + +# +# std::vector<> +# + +define pvector + if $argc == 0 + help pvector + else + set $size = $arg0._M_impl._M_finish - $arg0._M_impl._M_start + set $capacity = $arg0._M_impl._M_end_of_storage - $arg0._M_impl._M_start + set $size_max = $size - 1 + end + if $argc == 1 + set $i = 0 + while $i < $size + printf "elem[%u]: ", $i + p *($arg0._M_impl._M_start + $i) + set $i++ + end + end + if $argc == 2 + set $idx = $arg1 + if $idx < 0 || $idx > $size_max + printf "idx1, idx2 are not in acceptable range: [0..%u].\n", $size_max + else + printf "elem[%u]: ", $idx + p *($arg0._M_impl._M_start + $idx) + end + end + if $argc == 3 + set $start_idx = $arg1 + set $stop_idx = $arg2 + if $start_idx > $stop_idx + set $tmp_idx = $start_idx + set $start_idx = $stop_idx + set $stop_idx = $tmp_idx + end + if $start_idx < 0 || $stop_idx < 0 || $start_idx > $size_max || $stop_idx > $size_max + printf "idx1, idx2 are not in acceptable range: [0..%u].\n", $size_max + else + set $i = $start_idx + while $i <= $stop_idx + printf "elem[%u]: ", $i + p *($arg0._M_impl._M_start + $i) + set $i++ + end + end + end + if $argc > 0 + printf "Vector size = %u\n", $size + printf "Vector capacity = %u\n", $capacity + printf "Element " + whatis $arg0._M_impl._M_start + end +end + +document pvector + Prints std::vector<T> information. + Syntax: pvector <vector> <idx1> <idx2> + Note: idx, idx1 and idx2 must be in acceptable range [0..<vector>.size()-1]. + Examples: + pvector v - Prints vector content, size, capacity and T typedef + pvector v 0 - Prints element[idx] from vector + pvector v 1 2 - Prints elements in range [idx1..idx2] from vector +end + +# +# std::list<> +# + +define plist + if $argc == 0 + help plist + else + set $head = &$arg0._M_impl._M_node + set $current = $arg0._M_impl._M_node._M_next + set $size = 0 + while $current != $head + if $argc == 2 + printf "elem[%u]: ", $size + p *($arg1*)($current + 1) + end + if $argc == 3 + if $size == $arg2 + printf "elem[%u]: ", $size + p *($arg1*)($current + 1) + end + end + set $current = $current._M_next + set $size++ + end + printf "List size = %u \n", $size + if $argc == 1 + printf "List " + whatis $arg0 + printf "Use plist <variable_name> <element_type> to see the elements in the list.\n" + end + end +end + +document plist + Prints std::list<T> information. + Syntax: plist <list> <T> <idx>: Prints list size, if T defined all elements or just element at idx + Examples: + plist l - prints list size and definition + plist l int - prints all elements and list size + plist l int 2 - prints the third element in the list (if exists) and list size +end + +define plist_member + if $argc == 0 + help plist_member + else + set $head = &$arg0._M_impl._M_node + set $current = $arg0._M_impl._M_node._M_next + set $size = 0 + while $current != $head + if $argc == 3 + printf "elem[%u]: ", $size + p (*($arg1*)($current + 1)).$arg2 + end + if $argc == 4 + if $size == $arg3 + printf "elem[%u]: ", $size + p (*($arg1*)($current + 1)).$arg2 + end + end + set $current = $current._M_next + set $size++ + end + printf "List size = %u \n", $size + if $argc == 1 + printf "List " + whatis $arg0 + printf "Use plist_member <variable_name> <element_type> <member> to see the elements in the list.\n" + end + end +end + +document plist_member + Prints std::list<T> information. + Syntax: plist <list> <T> <idx>: Prints list size, if T defined all elements or just element at idx + Examples: + plist_member l int member - prints all elements and list size + plist_member l int member 2 - prints the third element in the list (if exists) and list size +end + + +# +# std::map and std::multimap +# + +define pmap + if $argc == 0 + help pmap + else + set $tree = $arg0 + set $i = 0 + set $node = $tree._M_t._M_impl._M_header._M_left + set $end = $tree._M_t._M_impl._M_header + set $tree_size = $tree._M_t._M_impl._M_node_count + if $argc == 1 + printf "Map " + whatis $tree + printf "Use pmap <variable_name> <left_element_type> <right_element_type> to see the elements in the map.\n" + end + if $argc == 3 + while $i < $tree_size + set $value = (void *)($node + 1) + printf "elem[%u].left: ", $i + p *($arg1*)$value + set $value = $value + sizeof($arg1) + printf "elem[%u].right: ", $i + p *($arg2*)$value + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + end + if $argc == 4 + set $idx = $arg3 + set $ElementsFound = 0 + while $i < $tree_size + set $value = (void *)($node + 1) + if *($arg1*)$value == $idx + printf "elem[%u].left: ", $i + p *($arg1*)$value + set $value = $value + sizeof($arg1) + printf "elem[%u].right: ", $i + p *($arg2*)$value + set $ElementsFound++ + end + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + printf "Number of elements found = %u\n", $ElementsFound + end + if $argc == 5 + set $idx1 = $arg3 + set $idx2 = $arg4 + set $ElementsFound = 0 + while $i < $tree_size + set $value = (void *)($node + 1) + set $valueLeft = *($arg1*)$value + set $valueRight = *($arg2*)($value + sizeof($arg1)) + if $valueLeft == $idx1 && $valueRight == $idx2 + printf "elem[%u].left: ", $i + p $valueLeft + printf "elem[%u].right: ", $i + p $valueRight + set $ElementsFound++ + end + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + printf "Number of elements found = %u\n", $ElementsFound + end + printf "Map size = %u\n", $tree_size + end +end + +document pmap + Prints std::map<TLeft and TRight> or std::multimap<TLeft and TRight> information. Works for std::multimap as well. + Syntax: pmap <map> <TtypeLeft> <TypeRight> <valLeft> <valRight>: Prints map size, if T defined all elements or just element(s) with val(s) + Examples: + pmap m - prints map size and definition + pmap m int int - prints all elements and map size + pmap m int int 20 - prints the element(s) with left-value = 20 (if any) and map size + pmap m int int 20 200 - prints the element(s) with left-value = 20 and right-value = 200 (if any) and map size +end + + +define pmap_member + if $argc == 0 + help pmap_member + else + set $tree = $arg0 + set $i = 0 + set $node = $tree._M_t._M_impl._M_header._M_left + set $end = $tree._M_t._M_impl._M_header + set $tree_size = $tree._M_t._M_impl._M_node_count + if $argc == 1 + printf "Map " + whatis $tree + printf "Use pmap <variable_name> <left_element_type> <right_element_type> to see the elements in the map.\n" + end + if $argc == 5 + while $i < $tree_size + set $value = (void *)($node + 1) + printf "elem[%u].left: ", $i + p (*($arg1*)$value).$arg2 + set $value = $value + sizeof($arg1) + printf "elem[%u].right: ", $i + p (*($arg3*)$value).$arg4 + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + end + if $argc == 6 + set $idx = $arg5 + set $ElementsFound = 0 + while $i < $tree_size + set $value = (void *)($node + 1) + if *($arg1*)$value == $idx + printf "elem[%u].left: ", $i + p (*($arg1*)$value).$arg2 + set $value = $value + sizeof($arg1) + printf "elem[%u].right: ", $i + p (*($arg3*)$value).$arg4 + set $ElementsFound++ + end + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + printf "Number of elements found = %u\n", $ElementsFound + end + printf "Map size = %u\n", $tree_size + end +end + +document pmap_member + Prints std::map<TLeft and TRight> or std::multimap<TLeft and TRight> information. Works for std::multimap as well. + Syntax: pmap <map> <TtypeLeft> <TypeRight> <valLeft> <valRight>: Prints map size, if T defined all elements or just element(s) with val(s) + Examples: + pmap_member m class1 member1 class2 member2 - prints class1.member1 : class2.member2 + pmap_member m class1 member1 class2 member2 lvalue - prints class1.member1 : class2.member2 where class1 == lvalue +end + + +# +# std::set and std::multiset +# + +define pset + if $argc == 0 + help pset + else + set $tree = $arg0 + set $i = 0 + set $node = $tree._M_t._M_impl._M_header._M_left + set $end = $tree._M_t._M_impl._M_header + set $tree_size = $tree._M_t._M_impl._M_node_count + if $argc == 1 + printf "Set " + whatis $tree + printf "Use pset <variable_name> <element_type> to see the elements in the set.\n" + end + if $argc == 2 + while $i < $tree_size + set $value = (void *)($node + 1) + printf "elem[%u]: ", $i + p *($arg1*)$value + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + end + if $argc == 3 + set $idx = $arg2 + set $ElementsFound = 0 + while $i < $tree_size + set $value = (void *)($node + 1) + if *($arg1*)$value == $idx + printf "elem[%u]: ", $i + p *($arg1*)$value + set $ElementsFound++ + end + if $node._M_right != 0 + set $node = $node._M_right + while $node._M_left != 0 + set $node = $node._M_left + end + else + set $tmp_node = $node._M_parent + while $node == $tmp_node._M_right + set $node = $tmp_node + set $tmp_node = $tmp_node._M_parent + end + if $node._M_right != $tmp_node + set $node = $tmp_node + end + end + set $i++ + end + printf "Number of elements found = %u\n", $ElementsFound + end + printf "Set size = %u\n", $tree_size + end +end + +document pset + Prints std::set<T> or std::multiset<T> information. Works for std::multiset as well. + Syntax: pset <set> <T> <val>: Prints set size, if T defined all elements or just element(s) having val + Examples: + pset s - prints set size and definition + pset s int - prints all elements and the size of s + pset s int 20 - prints the element(s) with value = 20 (if any) and the size of s +end + + + +# +# std::dequeue +# + +define pdequeue + if $argc == 0 + help pdequeue + else + set $size = 0 + set $start_cur = $arg0._M_impl._M_start._M_cur + set $start_last = $arg0._M_impl._M_start._M_last + set $start_stop = $start_last + while $start_cur != $start_stop + p *$start_cur + set $start_cur++ + set $size++ + end + set $finish_first = $arg0._M_impl._M_finish._M_first + set $finish_cur = $arg0._M_impl._M_finish._M_cur + set $finish_last = $arg0._M_impl._M_finish._M_last + if $finish_cur < $finish_last + set $finish_stop = $finish_cur + else + set $finish_stop = $finish_last + end + while $finish_first != $finish_stop + p *$finish_first + set $finish_first++ + set $size++ + end + printf "Dequeue size = %u\n", $size + end +end + +document pdequeue + Prints std::dequeue<T> information. + Syntax: pdequeue <dequeue>: Prints dequeue size, if T defined all elements + Deque elements are listed "left to right" (left-most stands for front and right-most stands for back) + Example: + pdequeue d - prints all elements and size of d +end + + + +# +# std::stack +# + +define pstack + if $argc == 0 + help pstack + else + set $start_cur = $arg0.c._M_impl._M_start._M_cur + set $finish_cur = $arg0.c._M_impl._M_finish._M_cur + set $size = $finish_cur - $start_cur + set $i = $size - 1 + while $i >= 0 + p *($start_cur + $i) + set $i-- + end + printf "Stack size = %u\n", $size + end +end + +document pstack + Prints std::stack<T> information. + Syntax: pstack <stack>: Prints all elements and size of the stack + Stack elements are listed "top to buttom" (top-most element is the first to come on pop) + Example: + pstack s - prints all elements and the size of s +end + + + +# +# std::queue +# + +define pqueue + if $argc == 0 + help pqueue + else + set $start_cur = $arg0.c._M_impl._M_start._M_cur + set $finish_cur = $arg0.c._M_impl._M_finish._M_cur + set $size = $finish_cur - $start_cur + set $i = 0 + while $i < $size + p *($start_cur + $i) + set $i++ + end + printf "Queue size = %u\n", $size + end +end + +document pqueue + Prints std::queue<T> information. + Syntax: pqueue <queue>: Prints all elements and the size of the queue + Queue elements are listed "top to bottom" (top-most element is the first to come on pop) + Example: + pqueue q - prints all elements and the size of q +end + + + +# +# std::priority_queue +# + +define ppqueue + if $argc == 0 + help ppqueue + else + set $size = $arg0.c._M_impl._M_finish - $arg0.c._M_impl._M_start + set $capacity = $arg0.c._M_impl._M_end_of_storage - $arg0.c._M_impl._M_start + set $i = $size - 1 + while $i >= 0 + p *($arg0.c._M_impl._M_start + $i) + set $i-- + end + printf "Priority queue size = %u\n", $size + printf "Priority queue capacity = %u\n", $capacity + end +end + +document ppqueue + Prints std::priority_queue<T> information. + Syntax: ppqueue <priority_queue>: Prints all elements, size and capacity of the priority_queue + Priority_queue elements are listed "top to buttom" (top-most element is the first to come on pop) + Example: + ppqueue pq - prints all elements, size and capacity of pq +end + + + +# +# std::bitset +# + +define pbitset + if $argc == 0 + help pbitset + else + p /t $arg0._M_w + end +end + +document pbitset + Prints std::bitset<n> information. + Syntax: pbitset <bitset>: Prints all bits in bitset + Example: + pbitset b - prints all bits in b +end + + + +# +# std::string +# + +define pstring + if $argc == 0 + help pstring + else + printf "String \t\t\t= \"%s\"\n", $arg0._M_data() + printf "String size/length \t= %u\n", $arg0._M_rep()._M_length + printf "String capacity \t= %u\n", $arg0._M_rep()._M_capacity + printf "String ref-count \t= %d\n", $arg0._M_rep()._M_refcount + end +end + +document pstring + Prints std::string information. + Syntax: pstring <string> + Example: + pstring s - Prints content, size/length, capacity and ref-count of string s +end + +# +# std::wstring +# + +define pwstring + if $argc == 0 + help pwstring + else + call printf("WString \t\t= \"%ls\"\n", $arg0._M_data()) + printf "WString size/length \t= %u\n", $arg0._M_rep()._M_length + printf "WString capacity \t= %u\n", $arg0._M_rep()._M_capacity + printf "WString ref-count \t= %d\n", $arg0._M_rep()._M_refcount + end +end + +document pwstring + Prints std::wstring information. + Syntax: pwstring <wstring> + Example: + pwstring s - Prints content, size/length, capacity and ref-count of wstring s +end + +# +# C++ related beautifiers (optional) +# + +set print pretty on +set print object on +set print static-members on +set print vtbl on +set print demangle on +set demangle-style gnu-v3 +set print sevenbit-strings off This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2009-05-05 16:11:17
|
Revision: 1366 http://assorted.svn.sourceforge.net/assorted/?rev=1366&view=rev Author: yangzhang Date: 2009-05-05 16:11:09 +0000 (Tue, 05 May 2009) Log Message: ----------- added setup-root.bash and tweaked setup-yang.bash comments Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/setup-root.bash Copied: configs/trunk/setup-root.bash (from rev 1342, configs/trunk/setup-yang.bash) =================================================================== --- configs/trunk/setup-root.bash (rev 0) +++ configs/trunk/setup-root.bash 2009-05-05 16:11:09 UTC (rev 1366) @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Installs my personal configuration files that need to be installed as root +# (e.g. because they go in /etc/). + +. common.bash || exit 1 + +pkg=configs +. simple-setup.bash + +cd src +install etc/blockcontrol/ blockcontrol/asdfasdf Property changes on: configs/trunk/setup-root.bash ___________________________________________________________________ Added: svn:executable + * Added: svn:mergeinfo + Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2009-05-05 16:10:44 UTC (rev 1365) +++ configs/trunk/setup-yang.bash 2009-05-05 16:11:09 UTC (rev 1366) @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Installs files that I personally use (most likely not useful to others). +# Installs my personal configuration files that go into the home directory. . common.bash || exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2011-02-24 22:53:12
|
Revision: 1760 http://assorted.svn.sourceforge.net/assorted/?rev=1760&view=rev Author: yangzhang Date: 2011-02-24 22:53:05 +0000 (Thu, 24 Feb 2011) Log Message: ----------- Add .subversion/servers Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/subversion/servers Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2011-02-24 22:50:06 UTC (rev 1759) +++ configs/trunk/setup-yang.bash 2011-02-24 22:53:05 UTC (rev 1760) @@ -28,7 +28,7 @@ install .screenrc screenrc install .signature signature install .ssh/ ssh/config -install .subversion/ subversion/config +install .subversion/ subversion/{config,servers} install .supybot/ supybot/yangbot.conf install .synergy.conf synergy.conf install .unison unison Added: configs/trunk/src/subversion/servers =================================================================== --- configs/trunk/src/subversion/servers (rev 0) +++ configs/trunk/src/subversion/servers 2011-02-24 22:53:05 UTC (rev 1760) @@ -0,0 +1,158 @@ +### This file specifies server-specific parameters, +### including HTTP proxy information, HTTP timeout settings, +### and authentication settings. +### +### The currently defined server options are: +### http-proxy-host Proxy host for HTTP connection +### http-proxy-port Port number of proxy host service +### http-proxy-username Username for auth to proxy service +### http-proxy-password Password for auth to proxy service +### http-proxy-exceptions List of sites that do not use proxy +### http-timeout Timeout for HTTP requests in seconds +### http-compression Whether to compress HTTP requests +### neon-debug-mask Debug mask for Neon HTTP library +### http-auth-types Auth types to use for HTTP library +### ssl-authority-files List of files, each of a trusted CA +### ssl-trust-default-ca Trust the system 'default' CAs +### ssl-client-cert-file PKCS#12 format client certificate file +### ssl-client-cert-password Client Key password, if needed. +### ssl-pkcs11-provider Name of PKCS#11 provider to use. +### http-library Which library to use for http/https +### connections (neon or serf) +### store-passwords Specifies whether passwords used +### to authenticate against a +### Subversion server may be cached +### to disk in any way. +### store-plaintext-passwords Specifies whether passwords may +### be cached on disk unencrypted. +### store-ssl-client-cert-pp Specifies whether passphrase used +### to authenticate against a client +### certificate may be cached to disk +### in any way +### store-ssl-client-cert-pp-plaintext +### Specifies whether client cert +### passphrases may be cached on disk +### unencrypted (i.e., as plaintext). +### store-auth-creds Specifies whether any auth info +### (passwords as well as server certs) +### may be cached to disk. +### username Specifies the default username. +### +### Set store-passwords to 'no' to avoid storing passwords in the +### auth/ area of your config directory. It defaults to 'yes', +### but Subversion will never save your password to disk in +### plaintext unless you tell it to. +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +### +### Set store-plaintext-passwords to 'no' to avoid storing +### passwords in unencrypted form in the auth/ area of your config +### directory. Set it to 'yes' to allow Subversion to store +### unencrypted passwords in the auth/ area. The default is +### 'ask', which means that Subversion will ask you before +### saving a password to disk in unencrypted form. Note that +### this option has no effect if either 'store-passwords' or +### 'store-auth-creds' is set to 'no'. +### +### Set store-ssl-client-cert-pp to 'no' to avoid storing ssl +### client certificate passphrases in the auth/ area of your +### config directory. It defaults to 'yes', but Subversion will +### never save your passphrase to disk in plaintext unless you tell +### it to via 'store-ssl-client-cert-pp-plaintext' (see below). +### +### Note store-ssl-client-cert-pp only prevents the saving of *new* +### passphrases; it doesn't invalidate existing passphrases. To do +### that, remove the cache files by hand as described in the +### Subversion book at http://svnbook.red-bean.com/nightly/en/\ +### svn.serverconfig.netmodel.html\ +### #svn.serverconfig.netmodel.credcache +### +### Set store-ssl-client-cert-pp-plaintext to 'no' to avoid storing +### passphrases in unencrypted form in the auth/ area of your +### config directory. Set it to 'yes' to allow Subversion to +### store unencrypted passphrases in the auth/ area. The default +### is 'ask', which means that Subversion will prompt before +### saving a passphrase to disk in unencrypted form. Note that +### this option has no effect if either 'store-auth-creds' or +### 'store-ssl-client-cert-pp' is set to 'no'. +### +### Set store-auth-creds to 'no' to avoid storing any Subversion +### credentials in the auth/ area of your config directory. +### Note that this includes SSL server certificates. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +### +### HTTP timeouts, if given, are specified in seconds. A timeout +### of 0, i.e. zero, causes a builtin default to be used. +### +### The commented-out examples below are intended only to +### demonstrate how to use this file; any resemblance to actual +### servers, living or dead, is entirely coincidental. + +### In the 'groups' section, the URL of the repository you're +### trying to access is matched against the patterns on the right. +### If a match is found, the server options are taken from the +### section with the corresponding name on the left. + +[groups] +# group1 = *.collab.net +# othergroup = repository.blarggitywhoomph.com +# thirdgroup = *.example.com + +### Information for the first group: +# [group1] +# http-proxy-host = proxy1.some-domain-name.com +# http-proxy-port = 80 +# http-proxy-username = blah +# http-proxy-password = doubleblah +# http-timeout = 60 +# http-auth-types = basic;digest;negotiate +# neon-debug-mask = 130 +# store-plaintext-passwords = no +# username = harry + +### Information for the second group: +# [othergroup] +# http-proxy-host = proxy2.some-domain-name.com +# http-proxy-port = 9000 +# No username and password for the proxy, so use the defaults below. + +### You can set default parameters in the 'global' section. +### These parameters apply if no corresponding parameter is set in +### a specifically matched group as shown above. Thus, if you go +### through the same proxy server to reach every site on the +### Internet, you probably just want to put that server's +### information in the 'global' section and not bother with +### 'groups' or any other sections. +### +### Most people might want to configure password caching +### parameters here, but you can also configure them per server +### group (per-group settings override global settings). +### +### If you go through a proxy for all but a few sites, you can +### list those exceptions under 'http-proxy-exceptions'. This only +### overrides defaults, not explicitly matched server names. +### +### 'ssl-authority-files' is a semicolon-delimited list of files, +### each pointing to a PEM-encoded Certificate Authority (CA) +### SSL certificate. See details above for overriding security +### due to SSL. +[global] +# http-proxy-exceptions = *.exception.com, www.internal-site.org +# http-proxy-host = defaultproxy.whatever.com +# http-proxy-port = 7000 +# http-proxy-username = defaultusername +# http-proxy-password = defaultpassword +# http-compression = no +# http-auth-types = basic;digest;negotiate +# No http-timeout, so just use the builtin default. +# No neon-debug-mask, so neon debugging is disabled. +# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem +# +# Password / passphrase caching parameters: +store-passwords = no +# store-plaintext-passwords = no +# store-ssl-client-cert-pp = no +# store-ssl-client-cert-pp-plaintext = no This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2011-03-15 01:22:26
|
Revision: 1764 http://assorted.svn.sourceforge.net/assorted/?rev=1764&view=rev Author: yangzhang Date: 2011-03-15 01:22:19 +0000 (Tue, 15 Mar 2011) Log Message: ----------- Add .matplotlibrc Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/matplotlib/ configs/trunk/src/matplotlib/matplotlibrc Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2011-02-26 21:48:46 UTC (rev 1763) +++ configs/trunk/setup-yang.bash 2011-03-15 01:22:19 UTC (rev 1764) @@ -22,6 +22,7 @@ install .gitignore gitignore install .hgrc hgrc install .inputrc inputrc +install .matplotlib/matplotlibrc matplotlib/matplotlibrc install .owl owl install .pythonrc.py pythonrc.py install .quiltrc quiltrc Added: configs/trunk/src/matplotlib/matplotlibrc =================================================================== --- configs/trunk/src/matplotlib/matplotlibrc (rev 0) +++ configs/trunk/src/matplotlib/matplotlibrc 2011-03-15 01:22:19 UTC (rev 1764) @@ -0,0 +1,380 @@ +# From <https://gist.github.com/816622> + +### MATPLOTLIBRC FORMAT + +# This is a sample matplotlib configuration file - you can find a copy +# of it on your system in +# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it +# there, please note that it will be overridden in your next install. +# If you want to keep a permanent local copy that will not be +# over-written, place it in HOME/.matplotlib/matplotlibrc (unix/linux +# like systems) and C:\Documents and Settings\yourname\.matplotlib +# (win32 systems). +# +# This file is best viewed in a editor which supports python mode +# syntax highlighting. Blank lines, or lines starting with a comment +# symbol, are ignored, as are trailing comments. Other lines must +# have the format +# key : val # optional comment +# +# Colors: for the color values below, you can either use - a +# matplotlib color string, such as r, k, or b - an rgb tuple, such as +# (1.0, 0.5, 0.0) - a hex string, such as ff00ff or #ff00ff - a scalar +# grayscale intensity such as 0.75 - a legal html color name, eg red, +# blue, darkslategray + +#### CONFIGURATION BEGINS HERE + +# the default backend; one of GTK GTKAgg GTKCairo CocoaAgg FltkAgg +# MacOSX QtAgg Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG Template +# You can also deploy your own backend outside of matplotlib by +# referring to the module name (which must be in the PYTHONPATH) as +# 'module://my_backend' +backend : MacOSX + +# if you are runing pyplot inside a GUI and your backend choice +# conflicts, we will automatically try and find a compatible one for +# you if backend_fallback is True +#backend_fallback: True +interactive : True +toolbar : toolbar2 # None | classic | toolbar2 +timezone : UTC # a pytz timezone string, eg US/Central or Europe/Paris + +# Where your matplotlib data lives if you installed to a non-default +# location. This is where the matplotlib fonts, bitmaps, etc reside +#datapath : /home/jdhunter/mpldata + + +### LINES +# See http://matplotlib.sourceforge.net/api/artist_api.html#module-matplotlib.lines for more +# information on line properties. +lines.linewidth : 1.0 # line width in points +#lines.linestyle : - # solid line +# lines.color : purple +#lines.marker : None # the default marker +#lines.markeredgewidth : 0.5 # the line width around the marker symbol +#lines.markersize : 6 # markersize, in points +#lines.dash_joinstyle : miter # miter|round|bevel +#lines.dash_capstyle : butt # butt|round|projecting +#lines.solid_joinstyle : miter # miter|round|bevel +#lines.solid_capstyle : projecting # butt|round|projecting +lines.antialiased : True # render lines in antialised (no jaggies) + +### PATCHES +# Patches are graphical objects that fill 2D space, like polygons or +# circles. See +# http://matplotlib.sourceforge.net/api/artist_api.html#module-matplotlib.patches +# information on patch properties +patch.linewidth : 0.5 # edge width in points +patch.facecolor : 348ABD # blue +patch.edgecolor : eeeeee +patch.antialiased : True # render patches in antialised (no jaggies) + +### FONT +# +# font properties used by text.Text. See +# http://matplotlib.sourceforge.net/api/font_manager_api.html for more +# information on font properties. The 6 font properties used for font +# matching are given below with their default values. +# +# The font.family property has five values: 'serif' (e.g. Times), +# 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery), +# 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier). Each of +# these font families has a default list of font names in decreasing +# order of priority associated with them. +# +# The font.style property has three values: normal (or roman), italic +# or oblique. The oblique style will be used for italic, if it is not +# present. +# +# The font.variant property has two values: normal or small-caps. For +# TrueType fonts, which are scalable fonts, small-caps is equivalent +# to using a font size of 'smaller', or about 83% of the current font +# size. +# +# The font.weight property has effectively 13 values: normal, bold, +# bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as +# 400, and bold is 700. bolder and lighter are relative values with +# respect to the current weight. +# +# The font.stretch property has 11 values: ultra-condensed, +# extra-condensed, condensed, semi-condensed, normal, semi-expanded, +# expanded, extra-expanded, ultra-expanded, wider, and narrower. This +# property is not currently implemented. +# +# The font.size property is the default font size for text, given in pts. +# 12pt is the standard value. +# +font.family : monospace +#font.style : normal +#font.variant : normal +#font.weight : medium +#font.stretch : normal +# note that font.size controls default text sizes. To configure +# special text sizes tick labels, axes, labels, title, etc, see the rc +# settings for axes and ticks. Special text sizes can be defined +# relative to font.size, using the following values: xx-small, x-small, +# small, medium, large, x-large, xx-large, larger, or smaller +font.size : 10.0 +# font.serif : Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif +#font.sans-serif : Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif +#font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, cursive +#font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy +font.monospace : Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace + +### TEXT +# text properties used by text.Text. See +# http://matplotlib.sourceforge.net/api/artist_api.html#module-matplotlib.text for more +# information on text properties + +#text.color : black + +### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex +#text.usetex : False # use latex for all text handling. The following fonts + # are supported through the usual rc parameter settings: + # new century schoolbook, bookman, times, palatino, + # zapf chancery, charter, serif, sans-serif, helvetica, + # avant garde, courier, monospace, computer modern roman, + # computer modern sans serif, computer modern typewriter + # If another font is desired which can loaded using the + # LaTeX \usepackage command, please inquire at the + # matplotlib mailing list +#text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling + # unicode strings. +#text.latex.preamble : # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES + # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP + # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO. + # preamble is a comma separated list of LaTeX statements + # that are included in the LaTeX document preamble. + # An example: + # text.latex.preamble : \usepackage{bm},\usepackage{euler} + # The following packages are always loaded with usetex, so + # beware of package collisions: color, geometry, graphicx, + # type1cm, textcomp. Adobe Postscript (PSSNFS) font packages + # may also be loaded, depending on your font settings + +#text.dvipnghack : None # some versions of dvipng don't handle alpha + # channel properly. Use True to correct + # and flush ~/.matplotlib/tex.cache + # before testing and False to force + # correction off. None will try and + # guess based on your dvipng version + +#text.markup : 'plain' # Affects how text, such as titles and labels, are + # interpreted by default. + # 'plain': As plain, unformatted text + # 'tex': As TeX-like text. Text between $'s will be + # formatted as a TeX math expression. + # This setting has no effect when text.usetex is True. + # In that case, all text will be sent to TeX for + # processing. + +#text.hinting : True # If True, text will be hinted, otherwise not. This only + # affects the Agg backend. + +# The following settings allow you to select the fonts in math mode. +# They map from a TeX font name to a fontconfig font pattern. +# These settings are only used if mathtext.fontset is 'custom'. +# Note that this "custom" mode is unsupported and may go away in the +# future. +#mathtext.cal : cursive +#mathtext.rm : serif +#mathtext.tt : monospace +#mathtext.it : serif:italic +#mathtext.bf : serif:bold +#mathtext.sf : sans +#mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix', + # 'stixsans' or 'custom' +#mathtext.fallback_to_cm : True # When True, use symbols from the Computer Modern + # fonts when a symbol can not be found in one of + # the custom math fonts. + +#mathtext.default : it # The default font to use for math. + # Can be any of the LaTeX font names, including + # the special name "regular" for the same font + # used in regular text. + +### AXES +# default face and edge color, default tick sizes, +# default fontsizes for ticklabels, and so on. See +# http://matplotlib.sourceforge.net/api/axes_api.html#module-matplotlib.axes +#axes.hold : True # whether to clear the axes by default on +axes.facecolor : eeeeee # axes background color +axes.edgecolor : bcbcbc # axes edge color +axes.linewidth : 1 # edge linewidth +axes.grid : True # display grid or not +axes.titlesize : x-large # fontsize of the axes title +axes.labelsize : large # fontsize of the x any y labels +axes.labelcolor : 555555 +axes.axisbelow : True # whether axis gridlines and ticks are below + # the axes elements (lines, text, etc) +#axes.formatter.limits : -7, 7 # use scientific notation if log10 + # of the axis range is smaller than the + # first or larger than the second +#axes.unicode_minus : True # use unicode for the minus symbol + # rather than hypen. See http://en.wikipedia.org/wiki/Plus_sign#Plus_sign +axes.color_cycle : 348ABD, 7A68A6, A60628, 467821, CF4457, 188487, E24A33 + # E24A33 : orange + # 7A68A6 : purple + # 348ABD : blue + # 188487 : turquoise + # A60628 : red + # CF4457 : pink + # 467821 : green + + + + + # color cycle for plot lines + # as list of string colorspecs: + # single letter, long name, or + # web-style hex + +#polaraxes.grid : True # display grid on polar axes +#axes3d.grid : True # display grid on 3d axes + +### TICKS +# see http://matplotlib.sourceforge.net/api/axis_api.html#matplotlib.axis.Tick +xtick.major.size : 0 # major tick size in points +xtick.minor.size : 0 # minor tick size in points +xtick.major.pad : 6 # distance to major tick label in points +xtick.minor.pad : 6 # distance to the minor tick label in pointsck.labelsize : medium # fontsize of the tick labels +ytick.direction : in # direction: in or out + + +### GRIDS +#grid.color : black # grid color +#grid.linestyle : : # dotted +#grid.linewidth : 0.5 # in points + +### Legend +legend.fancybox : True # if True, use a rounded box for the + # legend, else a rectangle +#legend.isaxes : True +#legend.numpoints : 2 # the number of points in the legend line +#legend.fontsize : large +#legend.pad : 0.0 # deprecated; the fractional whitespace inside the legend border +#legend.borderpad : 0.5 # border whitspace in fontsize units +#legend.markerscale : 1.0 # the relative size of legend markers vs. original +# the following dimensions are in axes coords +#legend.labelsep : 0.010 # the vertical space between the legend entries +#legend.handlelen : 0.05 # the length of the legend lines +#legend.handletextsep : 0.02 # the space between the legend line and legend text +#legend.axespad : 0.02 # the border between the axes and legend edge +#legend.shadow : False + +### FIGURE +# See http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure +figure.figsize : 11, 8 # figure size in inches +#figure.dpi : 80 # figure dots per inch +figure.facecolor : 0.85 # figure facecolor; 0.75 is scalar gray +figure.edgecolor : 0.50 # figure edgecolor + +# The figure subplot parameters. All dimensions are fraction of the +# figure width or height +#figure.subplot.left : 0.125 # the left side of the subplots of the figure +#figure.subplot.right : 0.9 # the right side of the subplots of the figure +#figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure +#figure.subplot.top : 0.9 # the top of the subplots of the figure +#figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots +figure.subplot.hspace : 0.5 # the amount of height reserved for white space between subplots + +### IMAGES +#image.aspect : equal # equal | auto | a number +#image.interpolation : bilinear # see help(imshow) for options +#image.cmap : jet # gray | jet etc... +#image.lut : 256 # the size of the colormap lookup table +#image.origin : upper # lower | upper +#image.resample : False + +### CONTOUR PLOTS +#contour.negative_linestyle : dashed # dashed | solid + +### Agg rendering +### Warning: experimental, 2008/10/10 +#agg.path.chunksize : 0 # 0 to disable; values in the range + # 10000 to 100000 can improve speed slightly + # and prevent an Agg rendering failure + # when plotting very large data sets, + # especially if they are very gappy. + # It may cause minor artifacts, though. + # A value of 20000 is probably a good + # starting point. +### SAVING FIGURES +#path.simplify : True # When True, simplify paths by removing "invisible" + # points to reduce file size and increase rendering + # speed +#path.simplify_threshold : 0.1 # The threshold of similarity below which + # vertices will be removed in the simplification + # process +#path.snap : True # When True, rectilinear axis-aligned paths will be snapped to + # the nearest pixel when certain criteria are met. When False, + # paths will never be snapped. + +# the default savefig params can be different from the display params +# Eg, you may want a higher resolution, or to make the figure +# background white +#savefig.dpi : 100 # figure dots per inch +#savefig.facecolor : white # figure facecolor when saving +#savefig.edgecolor : white # figure edgecolor when saving +#savefig.extension : auto # what extension to use for savefig('foo'), otain shell focus for TkAgg + +# ps backend params +#ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10 +#ps.useafm : False # use of afm fonts, results in small files +#ps.usedistiller : False # can be: None, ghostscript or xpdf + # Experimental: may produce smaller files. + # xpdf intended for production of publication quality files, + # but requires ghostscript, xpdf and ps2eps +#ps.distiller.res : 6000 # dpi +#ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType) + +# pdf backend params +#pdf.compression : 6 # integer from 0 to 9 + # 0 disables compression (good for debugging) +#pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType) + +# svg backend params +#svg.image_inline : True # write raster image data directly into the svg file +#svg.image_noscale : False # suppress scaling of raster data embedded in SVG +#svg.embed_char_paths : True # embed character outlines in the SVG file + +# docstring params +#docstring.hardcopy = False # set this when you want to generate hardcopy docstring + +# Set the verbose flags. This controls how much information +# matplotlib gives you at runtime and where it goes. The verbosity +# levels are: silent, helpful, debug, debug-annoying. Any level is +# inclusive of all the levels below it. If your setting is "debug", +# you'll get all the debug and helpful messages. When submitting +# problems to the mailing-list, please set verbose to "helpful" or "debug" +# and paste the output into your report. +# +# The "fileo" gives the destination for any calls to verbose.report. +# These objects can a filename, or a filehandle like sys.stdout. +# +# You can override the rc default verbosity from the command line by +# giving the flags --verbose-LEVEL where LEVEL is one of the legal +# levels, eg --verbose-helpful. +# +# You can access the verbose instance in your code +# from matplotlib import verbose. +#verbose.level : silent # one of silent, helpful, debug, debug-annoying +#verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr + +# Event keys to interact with figures/plots via keyboard. +# Customize these settings according to your needs. +# Leave the field(s) empty if you don't need a key-map. (i.e., fullscreen : '') + +keymap.fullscreen : f # toggling +keymap.home : h, r, home # home or reset mnemonic +keymap.back : left, c, backspace # forward / backward keys to enable +keymap.forward : right, v # left handed quick navigation +keymap.pan : p # pan mnemonic +keymap.zoom : o # zoom mnemonic +keymap.save : s # saving current figure +keymap.grid : g # switching on/off a grid in current axes +keymap.yscale : l # toggle scaling of y-axes ('log'/'linear') +keymap.xscale : L, k # toggle scaling of x-axes ('log'/'linear') +keymap.all_axes : a # enable all axes + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2011-04-13 20:15:49
|
Revision: 1779 http://assorted.svn.sourceforge.net/assorted/?rev=1779&view=rev Author: yangzhang Date: 2011-04-13 20:15:43 +0000 (Wed, 13 Apr 2011) Log Message: ----------- Add lyx bindings Modified Paths: -------------- configs/trunk/setup-yang.bash Added Paths: ----------- configs/trunk/src/lyx/ configs/trunk/src/lyx/bind/ configs/trunk/src/lyx/bind/user.bind Modified: configs/trunk/setup-yang.bash =================================================================== --- configs/trunk/setup-yang.bash 2011-04-12 00:41:03 UTC (rev 1778) +++ configs/trunk/setup-yang.bash 2011-04-13 20:15:43 UTC (rev 1779) @@ -22,6 +22,7 @@ install .gitignore gitignore install .hgrc hgrc install .inputrc inputrc +install .lyx/bind/ lyx/bind/user.bind install .matplotlib/matplotlibrc matplotlib/matplotlibrc install .owl owl install .pythonrc.py pythonrc.py Added: configs/trunk/src/lyx/bind/user.bind =================================================================== --- configs/trunk/src/lyx/bind/user.bind (rev 0) +++ configs/trunk/src/lyx/bind/user.bind 2011-04-13 20:15:43 UTC (rev 1779) @@ -0,0 +1,6 @@ +## This file is automatically generated by lyx +## All modifications will be lost + + +\bind "M-m M-m ~C-~M-~S-bar" "math-delim Vert Vert" + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |