The Linux Page
  • The following are some commands I use to read certificate and otherwise work with OpenSSL which I otherwise find somewhat difficult to use.

    To read a certificate, you use the -text and -noout to get the result in stdout. Use the -in to specify the

    openssl x509 -text -noout -in server.pem

    The first parameter is the type of of key. I'm not sure where you should use what, but in general you can use x509 (csr file) and rsa (rsa files). I'm not too sure why they cannot just detect what's what...

  • PAD File Module for Drupal


    You can find my PAD File module on Drupal.

    It is intended for any company and individual that has executable files for download but its customers and potential customers. The PAD File describes the content of such executable to the target machine (robots that spider the Internet for PAD Files).

    With the module you can create, import, update and delete PAD Files as necessary. It automatically generates the XML files and maintains them on your website without you having to do anything about it.

    It is also intended ...

  • I suppose we could talk about security all day and only barely touch the tip of the iceberg, if even more than a spec of it.

    Yet, I wanted to mention that in many instances, there are such limits to the characters you can use in a password that already the provider prevents you from creating a string password in the first place!

    So... what is it I'm talking about?

    I have one company I work with that does not support anything more than letters and digits. Not only that, they limit your password between 6 and 10 characters. Everyone knows that 6 characters is cracked very very quickly and

  • With Drupal, it is possible to have many sites defined in many different ways.

    These are the things you can have in your URL that Drupal will understand and use to configure your site. The configuration file is called settings.php and will reside in a folder of which the name is determined using the URL used to access the site.

    1. Fully qualified domain name

    2. Port

    3. Path withing the website

    Sites are expected to be found under the 'sites' folder found in the same directory as the index.php file.

  • Today I connected on PayPal to check out a sale and got a message from my system saying that a certificate could not be verified because it had a PayPal URL but pointed to

    You can see the message below:

    You have attempted to establish a connection with "". However, the security certificate presented belongs to "*". It is possible, though unlikely, that someone may be trying to intercept your communication with the web site.

    If you suspect the certificate shown does not belong to ...

  • If you are like me and write DTDs to check your XML files to make sure you don't have too many mistakes in them, then you probably have had this problem before.

    The #PCDATA has a very special behavior and it is really restrained as follow:

    • #PCDATA must appear at the start
    • #PCDATA must be repeated from zero to infinity, so only * work with it
    • #PCDATA cannot be used with sub-groups (things between parenthesis)

    Something like this:

    <!ELEMENT Z (P | (#PCDATA | A | B | C)* | Q)+>

    does not work because you use + and #PCDATA is within a sub-group.

    What you need ...

  • See attachment at the bottom for sample code that fails in different versions of PHP 5.2.x

    Today a customer told me that his pages disappeared on his Drupal site.

    I looked into it and after a few hours determined that a module was the cause. Then I looked in the module and the only part I could see that could possibly be wrong was the preg_replace_callback() call.

    So I got the input data from one of my customer pages and run the PCRE against it in an interactive version of PHP. That gave me the same result: nothing.

    The expression started with (?:<p.*?>)?\[ and it used the /s ...

  • Each customer has a different tool and at times the same customer changes the tools they are using to a better one.

    Here I now have to use Perforce. In general, it is fine, but this system is much more complicated to use than any other source control system I've used before. Does that make it better? It certainly makes me waste a lot more time!

    For one thing, I have to use it under MS-Windows and that does not make it any simpler.

    There are two ways to make use of the system: (1) with the GUI interface, which simply helps you with handling long lists and paths and offering most of ...

  • I recalled reading somewhere that you could see the performance of NVidia cards under MS-Windows. Looking around I could not really see how that would be done. Today, though, I found out that perfmon does it all!

    To start perfmon, click on your Start button and enter perfmon and click Run. You may also start it from a command line although perfmon is a graphical tool.

    Once in there, click on ":Performance Monitor", it should appear under Monitoring Tools.

    That won't give you the GPU information though, not by default.

    When you right click on the area with the graph, you see ...

  • Today, I found out that the current row in a MS-Access form is not so current.

    Somehow, it can extract the data from the current row, but trying to change some parameters on the current box actually affects the entire column. This is because a ContinuousForm includes only one box per column and that box is repeated for each row.

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.