#Test credit card numbers to use when developing with Stripe
4242424242424242 Visa
4012888888881881 Visa
4000056655665556 Visa (debit)
Please contact your system administrator. | |
Add correct host key in /Users/user_name/.ssh/known_hosts to get rid of this message. | |
Offending RSA key in /Users/user_name/.ssh/known_hosts | |
Host key for github.com has changed and you have requested strict checking. | |
Host key verification failed. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. |
#Test credit card numbers to use when developing with Stripe
4242424242424242 Visa
4012888888881881 Visa
4000056655665556 Visa (debit)
The first thing you should do, if you haven’t already, is assign a static IP address to your EC2 instance. You can do this in the Amazon EC2 control panel (go to Elastic IPs -> Allocate New Address). Assign the IP address to your instance, and write it down for later.
So, the next step is to go ahead and point your URL at your EC2 IP address. Log into your domain hosting account. In this case, I’ll describe how to do it for Go Daddy. Launch the Domains control panel and click the first domain that you want to point to your EC2 server.
https://aws.amazon.com/premiumsupport/knowledge-center/redirect-http-https-elb/#
Command to restart apache httpd:
sudo service httpd restart
First thing you have to connect to ssh using macos or putty for windows by added the downloaded key file. Run the following command:
sudo yum update -y
The above command ensure that all of your software packages are up to date.
Anyone who knows a little bit about the Linux and UNIX platforms, he/she must be heard about the LAMP Stack. LAMP Stack is the group of services that work together in order to serve the dynamic websites and web apps. The LAMP stack can be installed and configured on almost all Linux variants such as Amazon Linux, Ubuntu, Red Hat, and Fedora. In this tutorials, we will explain how to install LAMP on Ubuntu 16.04 EC2 instance. Generally, LAMP stack consists of the following components:
## To remove the /index.php/ part from all URLs, add two lines after the RewriteEngine statement: | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/index\.php/ | |
RewriteRule ^index.php/(.*) /$1 [R,L] | |
## You can also add two lines to remove the .html suffix if it has been turned on before: | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} \.html$ | |
RewriteRule (.*)\.html$ /$1 [R,L] |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>Textbox Value to Switch Selectbox</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<input id="textvalue" type="text" value="Boy"> | |
<select id="mySelect"> |
<?php | |
define( '_JEXEC', 1 ); | |
// JPATH_BASE should point to Joomla!'s root directory | |
define( 'JPATH_BASE', realpath(dirname(__FILE__) .'/' ) ); | |
define( 'DS', DIRECTORY_SEPARATOR ); | |
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); | |
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); | |
$mainframe =& JFactory::getApplication('site'); | |
$mainframe->initialise(); | |
$user =& JFactory::getUser(); |