Rob DiNardo - Web Development Tips

WordPress updates without providing FTP credentials

admin — May 16, 2012 - 23:32

If you are like me and want to have WordPress perform updates from the admin section (and not provide FTP credentials) then you will probably want to know a few linux commands.

  • Linux
  • WordPress
  • admin's blog
  • Read more

2453 Sutton Drive Burlington Ontario Freehold Town Home For Sale

admin — January 24, 2012 - 14:47


Listing is now on ComFree, please see: http://comfree.com/2-storey-for-sale-burlington-ontario-306910

Photos Added (see ComFree listing using above link)!

  • for sale
  • admin's blog
  • Read more

Convert string to DateTime or output DateTime to string using .NET

Rob — December 1, 2010 - 20:14

I often times come across a situation where I have a string in a certain date time format and wish to convert that string into a .NET DateTime object for further manipulation.  In one recent situation, a date was supplied in an XML node (without a specified data type) as a string, but the output of the date had to be in a specific format for my client. 

Example:  We need to convert <submit_date>2010-12-04 13:22:32</submit_date> and output it as December 4, 2010 at 1:22 PM 

  • .NET
  • c#
  • coding
  • csharp
  • Reference
  • Rob's blog
  • Read more

Useful Linux Commands

Rob — November 28, 2010 - 22:37

This blog entry is going to be my collection of useful Linux commands that I wish to refer back to in the future. I hope you find them useful as well.

Finding files

Find all files in the home folder (and its subfolders) with a 'txt' extension, sort the results, then output to a file:

find /home -name '*.txt' | sort >> text-files.txt

Renaming files

The following will rename the extension of all files in the current working directory from 'avi' to 'AVI':

rename 's/\.avi/.AVI/' *.avi

  • Linux
  • Shell
  • Rob's blog

JavaScript Pagination with jQuery

Rob — November 27, 2010 - 16:06

I have seen many examples of JavaScript and jQuery pagination on the web, but none of them was what I wanted. I like to use small, compact code to perform simple actions such as paginating a list of items using JavaScript and jQuery. So I decided to write my own version. The JavaScript is about 100 lines of code (less if you removed the empty lines and comments) and works quite well for what I needed it for. So I would like to share my code with other coders and web developers.

  • coding
  • JavaScript
  • jQuery
  • Rob's blog
  • Read more

Configuring the GXT NAS 2 Port USB Dongle Print Server on Windows 7

Rob — November 26, 2010 - 23:59

I purchased a GXT 2-Ports NAS USB Dongle model number NAS-R104A from future shop about a week ago hoping to allow network printing to my USB printer with little configuration.  But, much to my surprise, I could not get the printer to print.

  • Hardware
  • Linux
  • Windows 7
  • Rob's blog
  • Read more

Credit Card Numbers For Testing Your Applications

Rob — November 5, 2010 - 16:36

I have made a couple of apps that require credit cards numbers.  To save time and hits to your merchant account, it is a good idea to validate the user credit card number BEFORE sending to your authorization service.  Below is a list of some common credit card carriers and some test credit card numbers.  These credit card numbers can be used to validate your credit card validation algorithm.  

Credit Card Type - Credit Card Number

  • coding
  • Reference
  • Rob's blog
  • Read more

Get Drupal 6 working with Windows Live Writer

Rob — November 5, 2010 - 14:37

This is my fist blog post using Windows Live Writer 2011 on Drupal.  I must say, so far, it is quite slick.  I am wondering if I can just paste an image from my clipboard right on the canvas?

Wow!  I just pasted the screen shot below (from Snipping Tool) and it even scaled the image down for me!  That is too cool!  Anyway, I followed the instructions on this page to get it working.

  • Blogging
  • Drupal
  • Rob's blog
  • Read more

How to sort XSL output in order of custom string list or arbitrary strings

Rob — November 5, 2010 - 10:00

Have you ever wanted to sort the output of XSL using a custom string list or arbitrary text? Well, I came across such a situation with one of my clients where the order of nodes in an XML feed did not match the order that my client wanted. The answer is to use XPATH to test if the iterator is at the node you want (testing for a true or false), then use that boolean value and multiply by the intended position. Let's demonstrate this with an example.

The following is an example XML feed that we can use to demonstrate XSL arbitrary text sorting in action.

  • coding
  • xml
  • XSLT
  • Rob's blog
  • Read more

Custom Date Range Selection for Basecamp Time Reporting

Rob — October 15, 2010 - 16:50

I use Basecamp at work and I love it. We use the time reporting feature of Basecamp extensively, so I have to be sure I have added my time for the day. I find there are too many clicks needed to get the hours for yesterday or the day before. So I came up with this handy tool that allows you to choose and view today's logged in just one click. It also allows you to select a date range with only a few clicks. Maybe in the future I can add more features.

  • BaseCamp
  • JavaScript
  • jQuery
  • Rob's blog
  • Read more
  • 1
  • 2
  • next ›
  • last »
Syndicate content

User login

  • Request new password

Code

  • WordPress Plugins