Matthew Steven Kelly

bbPress Sitemap (Updated)

April15

This is an example bbPress Sitemap created with the bbPress Sitemap WordPress plugin.
Simply install the plugin and then add [bbpress_sitemap] or [bbpress_sitemap forum_id="3"] to your WordPress post/page.

posted under Random | No Comments »

Windows 8 Review

January28

A long video, but well worth the watch as I had similar experiences after playing around on a few Windows 8 machines post-Christmas.

CivicScience

September23

This is neat: http://www.civicscienceinc.com/

posted under Random | No Comments »

CompTIA SSL Certificate Error

May9

Going to https://support.comptia.org gives the following error. You would think that the organization that certifies computer security would have SSL certificates figured out…

posted under Random | No Comments »

Checking is a site is malware blacklisted

April15

Google Safe Browing is a service Google uses in FireFox and Chrome to detect malicious websites: https://developers.google.com/safe-browsing/

Individual sites can be checked by replacing the site=google.com with the site you would like to check:

http://www.google.com/safebrowsing/diagnostic?site=google.com

First page visit test

March31

This page displays the first time any page on www.matthewstevenkelly.com is visited, when the below code is enabled. I have it disabled right now, but if you would like to create a landing page on your site using javascript, simple add the code below to your page <head> and replace the url= with your sites landing page. You can enable this on an entire site by adding it to the <head> of every page, or just add it to a single page. It uses cookies to detect if the site has been visited before.

<script language=”Javascript” type=”text/javascript”>
<!–
function GetCookie(name) {
var arg=name+”=”;
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if (document.cookie.substring(i,j)==arg)
return “here”;
i=document.cookie.indexOf(” “,i)+1;
if (i==0) break;
}
return null;
}
var visit=GetCookie(“COOKIE1″);
if (visit==null){
var expire=new Date()+60*60*24*30;
document.cookie=”COOKIE1=here; expires=”+expire;
url = “http://www.matthewstevenkelly.com/blog/random/first-page-visit-test.html”;
if(document.referrer!=url){window.location = url;}
}
// –>
</script>

posted under Random | 3 Comments »

CSV Test

February4

Test file: 1.csv
strlen($ins[1]); // 9
strlen(trim($ins[1])); // 7
$w = preg_replace(‘/[^0-9\.]/Uis’, ”, trim($ins[1]));
strlen($w); // 4
echo $w; // 1.02
echo is_numeric($w); // TRUE
floatval($w); // 1.02

posted under Random | No Comments »

Stop American Censorship

January2

For more information: http://fightforthefuture.org/pipa/

PROTECT IP Act Breaks the Internet

October25

For more information: http://americancensorship.org/

The right to petition your government…

September30

“The right to petition your government is guaranteed by the First Amendment to the U.S. Constitution. Throughout our history, Americans have used petitions to organize around issues they care about from ending slavery, to guaranteeing women’s right to vote, to the civil rights movement.”

So why not sign this one:

https://wwws.whitehouse.gov/petitions#!/petition/revisit-its-decision-retired-space-shuttle-enterprise-and-award-it-national-museum-usaf-oh/gm68DlS3

 

 

 

« Older Entries