<!DOCTYPE html>
<html>
<head>
<title> Challenge Time! </title>
<link type='text/css' rel='stylesheet' href='style.css'/>
</head>
<body>
<p>
<?php
// Your code here
class Cat
{
public $isAlive = true;
public $numLegs = 4;
public $name;
function __construct($name){
$this->name = $name;
}
public function meow(){
return "Meow meow";
}
}
$myCat = new Cat("CodeCat");
echo $myCat->meow();
?>
</p>
</body>
</html>
This blog is about my history as a software engineer utilizing technologies C#, Java, React, JavaScript, .NET Core, SQL Server , Oracle, GIT, GitHub, Jira, Azure, AWS and HTML5. “I have not failed. I've just found 10,000 ways that won't work.” Thomas A. Edison. Please click on all my ADVERTISING links to help support this blog. Thank you.
Monday, August 31, 2015
Wednesday, August 19, 2015
IIS Blowout Corruption
Had IIS on TEST go corrupted yesterday and had to remove and re-install. I do not know why, but the following firewall setting got cut off and I had to ensure it was enabled.
PORT :443 Insure inbound traffic rule was turned ON. This was preventing me from accessing the Web site remotely.
PORT :443 Insure inbound traffic rule was turned ON. This was preventing me from accessing the Web site remotely.
Tuesday, August 18, 2015
Friday, August 14, 2015
Awesome Disclaimer
Disclaimer ###### Inc., provides this publication as is
without warranty of any kind, either expressed or implied. This publication
could include technical inaccuracies or typographical errors. Changes are
periodically made to the information herein. These changes will be incorporated
in new editions of the publication. ######, Inc. may make improvement and/or
changes in the product(s) and/or programs(s) described in this publication at
any time.
Hmm would you use their software for Credit Card Transactions? Ifffffffyyyyyyy.
Thursday, August 13, 2015
ThreadAbortException with ASP.NET redirect
Response.Redirect("/newpage.aspx", False)
HttpContext.Current.ApplicationInstance.CompleteRequest()
Monday, August 10, 2015
Log Date: 8/10/2015 1619 Hours - Never trust another persons code who no longer works with you or cannot be talked to.
15 years and you would think that I would have learned not to trust another developers code who no longer works for the company. I am at the closing of a very tough conversion for responsive design and the jQuery is not right from the original developers.
UGH 3 hours on this, but got it figured out.
UGH 3 hours on this, but got it figured out.
Friday, August 07, 2015
Wednesday, August 05, 2015
Bootstrap implementation disclaimer
Disclaimer – All BootStrap(http://getbootstrap.com/)
Framework changes being made for the
mobile upgrade to the www.domain.com
Web site require the following testing once the change is made – All testing is
performed in all configurations to include Internet Explorer, Firefox, Chrome Web browsers and on all devices from iPhone, iPad, Android devices, desktop computers and more. If
the change does not look correct the time to debug and fix the design can take
anywhere from 5 minutes to great number of hours or even days to research and fix in order
to ensure the responsive design works for all devices.
Tuesday, August 04, 2015
SQL Server Table Size Report
SELECT
t.NAME AS TableName,
s.Name AS SchemaName,
p.rows AS RowCounts,
SUM(a.total_pages) * 8 AS TotalSpaceKB,
SUM(a.used_pages) * 8 AS UsedSpaceKB,
(SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB
FROM
sys.tables t
INNER JOIN
sys.indexes i ON t.OBJECT_ID = i.object_id
INNER JOIN
sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id
INNER JOIN
sys.allocation_units a ON p.partition_id = a.container_id
LEFT OUTER JOIN
sys.schemas s ON t.schema_id = s.schema_id
WHERE
t.NAME NOT LIKE 'dt%'
AND t.is_ms_shipped = 0
AND i.OBJECT_ID > 255
GROUP BY
t.Name, s.Name, p.Rows
ORDER BY
t.Name
t.NAME AS TableName,
s.Name AS SchemaName,
p.rows AS RowCounts,
SUM(a.total_pages) * 8 AS TotalSpaceKB,
SUM(a.used_pages) * 8 AS UsedSpaceKB,
(SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB
FROM
sys.tables t
INNER JOIN
sys.indexes i ON t.OBJECT_ID = i.object_id
INNER JOIN
sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id
INNER JOIN
sys.allocation_units a ON p.partition_id = a.container_id
LEFT OUTER JOIN
sys.schemas s ON t.schema_id = s.schema_id
WHERE
t.NAME NOT LIKE 'dt%'
AND t.is_ms_shipped = 0
AND i.OBJECT_ID > 255
GROUP BY
t.Name, s.Name, p.Rows
ORDER BY
t.Name
Subscribe to:
Posts (Atom)