Choosing a Web Host for a simple E-Commerce setup
Introduction
If you are creating a web site with the intention of selling products there are a few things you might like to consider when choosing how you host the site. I have created a few sites for customers so would like to share my experiences and things to look out for here.
PrestaShop Modules Standard Functions. Version 1.2.5
Standard Prestashop Module Functions
Prestashop uses a system of plug in modules to add new functionality to the basic "default" install. For example it will allow a store owner to add a new payment or shipping module. To assist a developer in creating modules the plugin system has a set of standard functions. I have found some and am listing them here. As I discover more I will add them to this document. I hope they prove useful to others.
function __construct()
Creating a PrestaShop Payment Module
Introduction
Having been looking for a Open Source shopping cart solution I stumbled on prestashop. It is a good solution which seemed to be what I was looking for. Like a lot of modern carts and CMSes it uses system of plug-in modules to add extra functionality that doesn't come as standard. The only slight problem with this module system, is how do you create a plug-in module!? It isn't exactly obvious.
Comment Spam from http://www.real-exams.com/MCPD.htm
Hello,
This is just a simple note to say that the following website www.real-exams.com is using comment spam to promote itself. It carefully places "convincing" and often topical spam in amongst the pages on this site. Comment spam is nothing new but I just felt I should point out that this outfit, real-exams.com are using it - which doesn't suggest a reputable company imho. Anyone who was thinking of using them can use this information when they assess whether to purchase from them or not.
Thank you
A Basic Shell Script for FTP
Basic FTP Shell Script for uploading files
Introduction
There are occasions where you might want to FTP data off site from a server or other host onto an FTP server
NOTE! Think a little before using FTP. It doesn't send login credentials (username / password) it an encrypted form and the data it transfers is not encrypted either. There are some security implications to using FTP as transfer protocol over public links.
#!/bin/bash
List of standard hooks in Prestashop version 1.2.5
Prestashop Module Hooks
The following is a list of hooks standard in prestashop 1.2.5. You can obtain this list from prestashop's database in under the table
| payment | Payment |
| newOrder | New orders |
| paymentConfirm | Payment confirmation |
| paymentReturn | Payment return |
| updateQuantity | Quantity update |
| rightColumn | Right column blocks |
Running non configuration commands in config mode Cisco IOS using DO
Cisco IOS "do" command
When you are configuring a cisco router you are in config mode. Often you need to check what you are doing and that means leaving config mode and entering into priviledged mode. This can be a pain in the neck. Users of Cisco Pix and Cisco ASAs have don't have to do this. Pix and ASA users can run commands like show run when in config mode.
Well there is some good news - if you run IOS 12(8) or later you will find you have a new command called "do".
Removing peer from correlator table failed, no match!
When you are setting a site to site VPN between two Cisco ASA IPSEC peers you may find it useful to turn on the debug command for phase 1 tunnel initiation. Phase 1 uses a key exchange protocol called ISAKMP. With this in mind I often turn on the Crypto ISAKMP debugging on the command line to provide me with useful feedback when setting up a vpn. This is done using the following command:
debug crypto isakmp 8Please note the trailing 8 is the level of debugging information you want sent to your console. This is configurable between 1-255.
Import a list of Windows computer names into a text file
Import Network Windows Hosts into a text file
2r4cksg78d
If you wish to import all of the computers in a domain or workgroup displayed under the Windows Network into a text file there isn't always an obvious way of doing it. However with a simple cmd prompt command you can get a listing of the machines registered in the domain.
In my example I am going to output the computer names into a file called hostnames.txt
Obtain the listing
Open a command prompt
Start->Run->cmd
Type
net view > hostnames.txt
