01.27.10
Posted in EditPadPro, tools at 7:14 am by Toby
Following on from my previous post about setting Editpadpro up to run your php script, I wondered whether I could get it to run any command line command. It was wonderfully easy.
- Create a new Tool called ‘Command Line’

- Set the Command Line to ‘cmd’

- On The Standard I/O tab, set the Selected text to be sent to the standard input .
- Set the tools output to be sent to the message pane (or a new document if you wish).
- Save the tool

Type your command and select then click on Tools|Command Line to run the command and you get your output in the message window.

Permalink
01.19.10
Posted in Uncategorized at 2:04 pm by Toby
Magento is great, but it takes quite a bit of setting up, I’ve found some good resources in my digging so I’ll record them here so I dont forget.
Setting Up Magento: So you want a REAL store and not a demo?
jsdifflib – A Javascript Visual Diff Tool & Library
Permalink
Posted in EditPadPro, Programming, tools at 1:39 pm by Toby
As mentioned in a previous post I am a fan of Editpadpro, it is now my text tool of choice, I find it very powerful, quick and easy to use. I have recently made an addition which is a nice little improvement. I set up an Editpadpro tool to run the current file as a php script and dump the output to a new file in Editpadpro. No more need to jump to your webbrowser and keep refreshing windows.
Follow the steps below to get this up and running.
- Create a new tool by going to Tools – Configure Tools – New
- Give it a name (I’ve called mine PHP File)

Set the options on the first screen
- Command line – path to php.exe and the %FILE% placeholder (places the current filename on command line).
- We must set the Working folder or any included files in your script wont be found. – use %Path% to set to the currently selected files path.
- Select any file type this should apply to probably just php.

If you wish ask Editpadpro to Save your current file to take advantage of any changes you might have made.

Now comes the fun bit,
- In the ‘How to capture the tool’s standard output’ select Into new tab to give us the output of our phpscript.
- Dump any error into the message pane.
This works a treat and for many text processing tasks I no longer need to go near a browser which makes me happy.
Permalink
01.15.10
Posted in fossil-scm at 1:45 pm by Toby
This wasn’t difficult, but there was few bits and pieces so I will put it down here and maybe it will help someone. My current host is dreamhost.com so these are the steps for that host but I would image its probably pretty close for any other host.
Assumptions
Linux Host – Intel
Perl Scripts can be run on your shared hosting.
Steps
- Download the linux binary for intel or amd from fossil-scm.org and unzip.
- Upload fossil linux binary to your webspace – uploaded into a subdirectory bin
- Create a file with a .pl extension to run your script (I called mine fossil.pl)
- Put the code below into your fossil.pl file
#!/home/user/domain/bin/fossil
repository: /home/user/domain/fossilrepository.fossil
- Obviously replacing user and domain with the path to the directory you put the fossil binary in.
- Next you need to change the permissions on the following files to 755
Navigate to www.yourdomain.com/fossil.pl and you should see the familiar fossil web ui.
Permalink