CHOWN

Chown is the Linux tool to change ownership of a file or directory. The general chown user group filename syntax is all that is needed.. $ sudo su # cd /var/mail # for x in * # do # chown $x $x # done # exit can fix a mail system that has ownership problems …

Continue reading

SCHEDULED CHRON TASKS

Linux has the ability to run a shell script whenever desired. We use one to automatically install updates and if necessary reboot the system. sudo apt-get needrestart adding this program makes it easier to test for reboot required due to a kernel update etc. needrestart -k will reboot if the system is prompting for a …

Continue reading

#PRAGMA ONCE

While not part of the standard yet, the widespread use of #pragma once is likely to find more support down the road. The big advantage is the simplicity for novice developers, no worrying about problems. The old #ifndef approach has a disadvantage of cluttering the global namespace as well. We recommend for new code that #pragma …

Continue reading

SECURING IFRAME CONTENT

Generally speaking the iframe tags are supposed to sandbox and lockdown the contents. Recently this was breached by Microsoft Live who broke out of the <iframe> sandbox and redirected the site to live.com Microsoft used at least 2 frame busting techniques to break out of the sandbox. Both of which show that browser security is …

Continue reading

HTTP 301 REDIRECT

Ordinarily when a web site URL changes HTTP 301 permanent redirect is used tell a search engine where to look, HTTP 404 errors can be categorically sent to the home page. There is a full search capability with any SQL driven system and WordPress supports it with all themes. Given some URL errors we estimate …

Continue reading

HTML 5.1

HTML 5.1 is now published, it adds a few more tags for images etc to make it easier for search engines to find an image for mobile phones etc. Among the more interesting new bits, the <picture> and srcset attributes .The <menuitem> and “context” can change menus which might affect dome dynamic site designs. WordPress …

Continue reading

CONVERTING COBOL TO WEB

Cobol is still used with many legacy shops. The system is standardized around the 80×25 character terminal which is typical for 1970s period systems, The database is usually DB2. IBM has moved DB2 to the cloud so it’s possible to leverage existing databases directly. Conversion from database vendors can be done as well. SQL is …

Continue reading

CRIMINALIZING A LINUX SITE?

This site has numerous records in the database. Some of the articles contain embedded spreadsheet images such as pie graphs or line charts. We have dozens of posts with embedded dynamic images. All of the game benchmarks are Excel spreadsheets. We use OneDrive which allows us to embed worksheets and graphics. For some reason Microsoft …

Continue reading

ADVERTISEMENTS Q4 2016

Most websites are funded with advertisements. Income is needed to feed the author etc. For many years some sites used paid for click ads. These are no longer widely used. We have used Amazon for a long time who are a commissioned ad. We only earn if somebody actually buys. CPM ads have slowly recovered but valuations …

Continue reading

SHOP FOCUS

Linux server is fairly arcane which is why we established this site. The server variant is a command line based platform. We use Azure so we use Putty to connect to our servers. Among the skills developed with LInux server is the BASH shell language. Generally its a text file with assorted commands. It’s possible …

Continue reading