This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Activate Guest account. | |
2. Install the Windows 2003 Server Resource Kit Tools from: http://go.microsoft.com/fwlink/?LinkId=4544. | |
3. Run Windows Resource Kit Tools' Command Shell. | |
4. Type: | |
> ntrights +r SeNetworkLogonRight -u Guest | |
> ntrights -r SeDenyNetworkLogonRight -u Guest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -pi -e 's/\r\n/\n/g' input.file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cnt=0 | |
ZERO=0 | |
for i in {1..10} | |
do | |
if [ -f $1.out ] | |
then | |
rm $1.out | |
fi | |
cp test-data/$1/$1.in.$i $1.in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for usage: ruby timecard.rb --help | |
require 'rubygems' | |
require 'optparse' | |
# This requires the 'cyberfox-gchart' gem (0.5.4), as the standard | |
# gchart gem is woefully broken for this kind of graph. Broken to the | |
# point that it's an inherent design choice that doesn't work well for | |
# this kind of chart. I'm sure that the cyberfox-gchart gem won't |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUILDIN_FUNC(callnpcevent) | |
{ | |
int i, j; | |
const char *event_name = script_getstr(st, 2); | |
struct event_data *event = 0; | |
struct script_retinfo *ri; | |
event = strdb_get(ev_db, event_name); | |
if (!event) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in pydev/.project:) | |
<?xml version="1.0" encoding="UTF-8"?> | |
<projectDescription> | |
<name>pydev</name> | |
<comment></comment> | |
<projects> | |
</projects> | |
<buildSpec> | |
<buildCommand> | |
<name>org.python.pydev.PyDevBuilder</name> |
NewerOlder