MudNCrud Forums

Sitting and Day Dreaming => Mud Puddle => Topic started by: mungeclimber on July 10, 2008, 01:11:51 PM

Title: Scripting sites?
Post by: mungeclimber on July 10, 2008, 01:11:51 PM
question for the IT and code minded:

do you have a good reputable site where I can get cmd line scripts for basic and not so basic tasks?

e.g. I just used one that removes spaces between rows



Also, is there a free 'learn C#' site out there?

thx
Title: Re: Scripting sites?
Post by: salad on July 10, 2008, 02:00:52 PM
try

www.doityerfugginself.com


 >:D
Title: Re: Scripting sites?
Post by: mungeclimber on July 10, 2008, 02:27:58 PM
not a real good site, that site only has porn scripts for pulling together mpgs and avi files.




Title: Re: Scripting sites?
Post by: mudworm on July 10, 2008, 04:27:32 PM
Don't know about C#. I doubt you like shell scripting. How about doing a "Replace All" in MS Word. Expand "Special Format" and replace double line returns with single line return? If your blank rows have spaces, get rid of those first (also through Replace All).
Title: Re: Scripting sites?
Post by: mynameismud on July 10, 2008, 05:01:57 PM
For C# I would try and find a sybex book.  They are usually fairly good.

For scripts I can only recommend UNIX stuff which you probably do not care about.  There is quite a bit of random stuff out there.

 As you can tell, mudworm is an incredible source of knowledge with windows related quetions.
Title: Re: Scripting sites?
Post by: mungeclimber on July 10, 2008, 07:18:58 PM
why does no one think I'd like Unix or Shell Scripting?

that's what I'm talking about.

sheesh, "replace all" oh brother.


I'll check for Sybex, thx.
Title: Re: Scripting sites?
Post by: mungeclimber on July 10, 2008, 07:22:36 PM
http://www.tek-tips.com/threadcategory.cfm?lev2=4



F, it, going back to my VB book tonight. 

I can make a browser. WOOT!

hahaha
Title: Re: Scripting sites?
Post by: mungeclimber on July 10, 2008, 08:06:14 PM
I've actually got a project in mind. I want to develop a script that deletes 2 columns, 15k rows long in an html page without affecting the rest of the page otherwise.

it uses css, so it seems like there should be a way to leverage that consistency. but it's probably far easier than that.

values in between the td tags vary, so I can't key off that. 

Title: Re: Scripting sites?
Post by: mynameismud on July 10, 2008, 08:09:59 PM
Lot's of cool stuff on tech-tips.  You can get a Sun account for free and their java forum has a lot of good information.  Red Hat ain't bad.

There are a bunch of forums. If you are looking for something specific then search on that.  blogs are good too.

This should get you started.  It is all ksh which is probably a better start than csh or tcsh.  If you want to go bourne or bash I guess that is good too.

http://www.bolthole.com/solaris/ksh.html
http://www.well.ox.ac.uk/~johnb/comp/unix/ksh.html
http://www.ibm.com/developerworks/aix/library/au-kornshellscripting/
http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml

http://members.tripod.com/b62/doc/docksh.htm
http://developers.sun.com/solaris/articles/korn_shell.html
http://www.context-switch.com/reference/exscripts/index.htm
http://www.sikh-history.com/computers/unix/scripts.html

://www.devdaily.com/unix/edu/un010001/  -  Sample .profile
Title: Re: Scripting sites?
Post by: mudworm on July 10, 2008, 08:34:20 PM
Quote from: mungeclimber
why does no one think I'd like Unix or Shell Scripting?

Sorry, my bad. Didn't think you work on Unix at all. The simplest came to my mind is something like:

/scratch/mexi {44} cat a
ad;flk adf;kja
aald;kjf


   
;aldjf
  df;lkj
adkfj  kj34j
343


/scratch/mexi {45} egrep -v '^$|^ *$' a
ad;flk adf;kja
aald;kjf
;aldjf
  df;lkj
adkfj  kj34j
343
/scratch/mexi {46}
Title: Re: Scripting sites?
Post by: mungeclimber on July 10, 2008, 09:15:03 PM
i haven't worked on unix lately, and know next to nothing.  I'm going to start learning more tho, unix is part of it.  all BITD at SJSU we all used to have unix accounts for storing files in and checking email and such. Santa Cruz geek houses were a trip back then.

I need to be able to call bullshit on developers.  "oh that will take weeks"  my response will be "uh, no, that will take you weeks if don't how to write simple .net app"

thx for the linkages


Title: Re: Scripting sites?
Post by: Ubergoober on July 10, 2008, 09:20:40 PM
Don't you freaking work for Microsoft?? Don't they have C# books just laying around????


Actually, I have a C# book if you want to borrow it.
Title: Re: Scripting sites?
Post by: mungeclimber on July 10, 2008, 10:08:40 PM
kewl, thx