Author Topic: Scripting sites?  (Read 5652 times)

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Scripting sites?
« 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
On Aid at Pinns... It's all A1 til it crumbles. - Munge

salad

  • Mudders
  • **
  • Posts: 690
Re: Scripting sites?
« Reply #1 on: July 10, 2008, 02:00:52 PM »
eow!

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Re: Scripting sites?
« Reply #2 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.




On Aid at Pinns... It's all A1 til it crumbles. - Munge

mudworm

  • Head Mistress
  • *
  • Posts: 1738
    • http://www.mxi2000.net
Re: Scripting sites?
« Reply #3 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).
Inch by inch, I will get there.

mynameismud

  • unworthy
  • Posts: 5986
    • Mudncrud
Re: Scripting sites?
« Reply #4 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.
Here's to sweat in your eye

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Re: Scripting sites?
« Reply #5 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.
On Aid at Pinns... It's all A1 til it crumbles. - Munge

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Re: Scripting sites?
« Reply #6 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
On Aid at Pinns... It's all A1 til it crumbles. - Munge

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Re: Scripting sites?
« Reply #7 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. 

On Aid at Pinns... It's all A1 til it crumbles. - Munge

mynameismud

  • unworthy
  • Posts: 5986
    • Mudncrud
Re: Scripting sites?
« Reply #8 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
Here's to sweat in your eye

mudworm

  • Head Mistress
  • *
  • Posts: 1738
    • http://www.mxi2000.net
Re: Scripting sites?
« Reply #9 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}
Inch by inch, I will get there.

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Re: Scripting sites?
« Reply #10 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


On Aid at Pinns... It's all A1 til it crumbles. - Munge

Ubergoober

  • Mudders
  • **
  • Posts: 712
Re: Scripting sites?
« Reply #11 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.
SCREWD4LYFE!!

mungeclimber

  • PermaBan
  • ***
  • Posts: 6713
    • http://www.sonorapassclimbing.com
Re: Scripting sites?
« Reply #12 on: July 10, 2008, 10:08:40 PM »
kewl, thx
On Aid at Pinns... It's all A1 til it crumbles. - Munge