BCS frm013 Memo Data Entry

There are those times when memo text need to be handled.  This utility will do just that.

mde01

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Django Using MySQL Backend

To use a MySQL database with Django change the settings file to depict the following.

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', 
        'NAME': 'DB_NAME',
        'USER': 'DB_USER',
        'PASSWORD': 'DB_PASSWORD',
        'HOST': 'localhost',   # Or an IP Address that your DB is hosted on
        'PORT': '3306',
    }
}

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Get Picture Field

A picture field can accommodate many types of formatted input such as a phone number or a social security number.

gpf01

The TurboPower Orpheus component must be installed before using this product.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS frm011 Skeleton

sdt01

This application allows the user to select a date and time graphically.  Mechanisms are in place that allows for initialization by existing data values or manually.

Parameters to the application are as follows:

/// Dialog Record Area
  frm011_area = record
    /// Caption
    Caption: string;
    /// DatesTime
    dt: TDateTime;
    /// Data ID
    did: Boolean;
    /// DataSource
    ds: TDataSource;
    /// Field Name
    fn: string;
  end;

To activate data source use the “did” parameter must be set to true and a valid data source must be passed through the “ds” parameter.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS frm001 Demonstration

This application demonstrates the function of frm001 the styles unit.

f0101

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Determine Server Status

To determine the version of the server the following command can be issued.

http://archbrooks.us/info.php

The contents of info.php is as follows:

<?php
phpinfo();
?>

By using this command you can determine the status of your Ubuntu server or any server running Apache and PHP.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS frm000 Skeleton

This is the base skeleton for Delphi software that does not employ the dfm.

frm001

Below s the typical calling sequence for this program.

{*-----------------------------------------------------------------------------
 Program Name: frm000ml
 Date:      25-May-2015
 Purpose:
 History:
 @Author    Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC
 @version    1.0.0.0
 -----------------------------------------------------------------------------}
 
program frm000ml;
 
uses
  Vcl.Forms,
  Vcl.Styles,
  Vcl.Themes,
  frm000u in 'frm000u.pas',
  frm001u in 'frm001u.pas';
 
{$R *.res}
 
begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  TStyleManager.TrySetStyle('Amethyst Kamri');
  rp0.Caption := 'BCS Default Cpation';
  frm000c.frmShowModal;
  Application.Run;
  Application.Terminate;
end.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Ubuntu Admin For System Boot

To store certain command you would like executed at boot time consider using the “/etc/rc.local” file.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
 
sudo iptables -A INPUT -p tcp --dport 10000 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 21 -j ACCEPT
 
exit 0

These two commands make sure the ports are open and ready for use.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Delphi Most Popular Author

Delphi is an programming language and IDE that allows for object-oriented pascal software development.  Delphi supported space travel and the efforts of NASA as well as other important agencies.  Today I was added to the Most Popular Author’s list for Delphi.  Delphi authors are global and I am certainly honored that the community recognizes my software creation efforts using Delphi.  Thanks to all the individuals who downloaded the software I authored.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.