run (13,093)


Calling shell commands from Ruby

Calling shell commands from Ruby

How do I call shell commands from inside of a Ruby program? How do I then get output from these commands back into Ruby?…


What are your favorite Powershell Cmdlets?

I just found/n softwares free Powershell NetCmdlets, and after playing with them I love the functionality they bring to the command line. So it raises the question what are your favorite Cmdlets, a…


How to setup a crontab to execute at specific time

How can I set up my crontab to execute X script at 11:59PM every day without emailing me or creating any logs? Right now my crontab looks something like this @daily/path/to/script.sh…



How do I run Rake tasks within a Ruby script?

I have a Rakefile with a Rake task that I would normally call from the command line: rake blog:post Title I'd like to write a Ruby script that calls that Rake task multiple times, but the only solutio…


flex - Can you access the windows registry from Adobe Air?

(y/N) Edit: Read-only access is fine.…


Sharepoint: executing stsadm from a timer job+SHAREPOINT\System rights

I have an unusual situation in which I need a SharePoint timer job to both have local administrator windows privileges and to have SHAREPOINT\System SharePoint privileges. I can get the windows privi…


javascript - Http Auth in a Firefox 3 bookmarklet

Im trying to create a bookmarklet for posting del.icio.us bookmarks to a seperate account. I tested it from the command line like: wget-O---no-check-certificate \ "https://seconduser:[email protected]


How can I evaluate C# code dynamically?

I can do an eval("something()"); to execute the code dynamically in JavaScript. Is there a way for me to do the same thing in C#? An example of what I am trying to do is: I have an integer variable(sa…


How do you set up Python scripts to work in Apache 2.0?

I tried to follow a couple of googled up tutorials on setting up mod_python, but failed every time. Do you have a good, step-by step, rock-solid howto? My dev box is OS X, production-Centos.…


javascript - How Do I Post and then redirect to an external URL from ASP.Net?

ASP.NET server-side controls postback to their own page. This makes cases where you want to redirect a user to an external page, but need to post to that page for some reason(for authentication, fo…




how command from example not file script windows with for