development

Python 3 on MacOS

python

Python 3 on MacOS

I recently had the need to create a small python script to run a process.  I quickly looked up a process I could utilize to read a Rest API then do some work based on that content.

I fired up Visual Studio code and wrote out the framework of the program I needed in about 10 min.  (NOTE: I have not used Python in a long time and it was fun to quickly put something together).

Once I was done writing the code I jumped into a term terminal and ran the program “python GetAPIData.py”.  It worked well – opened a file of records added to an array and displayed the line items and did a count.

I then added some code that referenced how to call an API and it used the “requests”, knowing I needed to run “pip install requests” before I ran the program, I was rewarded with an error.

 zsh: command not found: pip

Read more

IIS Server Headers – Clickjacking – X-Frame-Options

Configure IIS to use – X-Frame-Options I recently had a request to update a server to correct a few audit findings.  One finding was related to “clickjacking” (More info from Wikipedia and OWASP) Clickjacking is a process where a malicious link is injected on the page that takes you to what you would think is a normal page but is hijacking …

Read more

Bolt CMS – Great Simple CMS engine – Review

Bolt CMS Discovery I recently had a need to setup a site with a content management system. In the past I would just use WordPress. However, recently it seems that WordPress has become more overhead than needed. Don’t get me wrong I love WordPress, and all the features it provides like woocommerce, SEO, and every other plugin. In this particular case …

Read more

Magento Patch 7405 – Broken Image and Image Upload

Magento

Magento Images Broken after Upload I recently updated a few sites using Magento with the new security patch 7405 (note that link is for the patch info – not a download – more on that later). After the update any images uploaded or added resulted in a broken image link. I was able to troubleshoot and while looking on the server, …

Read more

ShellShock – How to test your system

In the past few weeks the number of security incidents in the news has increased.  Home depot, Jimmy John’s and also Shellshock.  From credit card theft via malware to online security vulnerabilities you need to keep on guard. This most recent ShellShock vulnerability is going to be big.  Since a very large portion of the web is using Linux or some …

Read more

Install phonegap 3 on Windows 8

PhoneGap 3 I recently wanted to test an idea on an android device.  To quickly write up a proof of concept I decided to use PhoneGap.  I have used PhoneGap in the past but the current Version 3.1 (at the time of writing) is more mature than when I previously developed with it. I was prepared to walk through a few …

Read more

Magento 1.8 has been released

Magento

Magento 1.8 I am a huge fan of Magento.  It is a great ecommerce and shopping cart system.   In the last year I have launched a few sites using this system.   The flexibility of Magento allowed me to create a B2B site and also B2C.    eBay purchased Magento and I have heard a few people trying to figure …

Read more

Favicon–What / Why / and How

If you do not know what a favicon is , it would be hard to explain with out a picture.  The Favicon is the little icon that shows up in your browsers tab for a website. In this picture the favicon is highlighted, it happens to be my site’s icon.  I also have a few well known sites open;  Google, Facebook, …

Read more

Mobile Screenshots for presentations

I often have to do presentations or showcase a site or an application.   I find taking pictures or showcasing the application can help many people get a sense of what I am talking about.  I recently discovered a great tool to take a screenshot of your app or website using multiple devices.    http://placeit.breezi.com/ has Mobile devices, tablets, pc’s and  other great …

Read more

Web Developer Checklist

Update for 2023 The team at TopTal has revised and updated the web checklist – Here is the updated link https://www.toptal.com/developers/webdevchecklist  Great Improvement: this is a great tool to prepare for a website or application launch. — I was reading some of my news feeds and came across this great site called http://webdevchecklist.com/. It is a creation of Sayed Ibrahim Hashimi …

Read more

Magento : Premature end of script headers: index.php

Magento

I recently had an error show on a Magento site. The error showing was : Premature end of script headers: index.php After some searching I found that this is a common error with a few different solutions. In my case I logged into the server and looked at the apache error log. What I found was the error and also what …

Read more

Thinkpad x1 Touch

I am a ThinkPad junkie (proof 1, 2). I currently have 3 active thinkpads in our home. My primary laptop T410, My wife’s T410, and our home server (everything PC) t61p. Today I just purchased another thinkpad to add to the collection. I got a Thinkpad X1 Carbon Touch. This is the first touch laptop I have purchased. I have had …

Read more

Ubuntu or Mint

I have been using ubuntu for a while. In fact, the last Linux box I had prior was Fedora 10. My current primary linux box is running Ubuntu 10.4 (a bit outdated). I recently upgraded to 12 and found some performance issues on my dual core Dell Box. The majority of my development Virtual Box images are Mint Linux , I …

Read more

RIP Google Reader

Google recently announced that it is going to turn off Google reader. Reader.google.com I can remember when it launched in 2005 and I was amazed that I could take all these RSS feeds (web news) and put them in one place. It was not sexy or even good looking, but it allowed me to consume a lot of great info fast. …

Read more

Backup Script for SQL Express

I like the usability of Microsoft SQL especially the SQL Express versions. The only few limitations I have ran into have been some of the enterprise feature and things like backup scripts. There is a great Codeplex package that can help http://expressmaint.codeplex.com/ I have used a version of expressmaint for long time. The package from code plex also includes a windows2008 …

Read more