GnuPG on Raspberry Pi

March 2nd, 2013

Overview

 

GnuPG itself is a commandline tool without any graphical stuff.
It is the real crypto engine which can be used directly from a command prompt, from shell scripts or by other programs. Therefore it can be considered as a backend for other applications.

 

Public Keys is a concept where two keys are involved.
One key is a Public Key that can be spread through all sorts of media and may be obtained by anyone.
The other key is the Private Key. This key is secret and is only available to the owner.

 

Now the sender will… Read More

Indexed DB API

February 24th, 2013

IndexedDB is an API for client-side storage of significant amounts of structured data and for high performance searches on this data using indexes.

 

This seems to be allot more supported than other offline storage options out there being available on the latest versions of Chrome, Firefox and IE

http://caniuse.com/indexeddb

 

A full working Demo is available here

This demo will allow you to add records and delete records to your internal storage.

… Read More

Filesystem API

February 23rd, 2013

Filesystem API is a neat method to write/read files and directories to the users sandboxed local file system.

 

This allows a host of possibilities for offline activity on mobile devices.

 

This isn't widly supported at this point so you are looking into the future of web app development.

Currently only supported on Chrome http://caniuse.com/filesystem

 

A full working Demo is available here

This demo will allow (on Chrome)… Read More

App Cache

February 8th, 2013

App Cache allows your website to be available offline to your users so perfect for those that wish to build web apps for mobile devices.

This is all controlled with your browser in HTML5 and is widley supported by most browsers for smartphones.

Expect 5MB available to store your files. Some browsers allow more.

 

A quick tip if you are building in chrome: open another tab and paste in
chrome://appcache-internals/

This will allow you to remove old cached files easily during your development.

 

 

Benefits of App Cache:

… Read More

WebSQL

January 27th, 2013

Another option for saving data offline in a browser is WebSQL

 

The Web SQL database API isn’t actually part of the HTML5 specification, but it is part of the suite of specifications
W3C is no longer actively working on the Web SQL Database specification.

 

Not many browsers support this so only use Chrome or Safari to see examples working

Web SQL database stats: http://caniuse.com/sql-storage

 

Working demo available at: http://glynrob.com/webapp/websql/Read More

Calculate localStorage space

January 12th, 2013

Simple localStorage Calculator

 

 

Here is a quick webpage I built to calculate these actual localStorage space is available and display a bar of how much of this space you have currently used.

 

Demo can be found at http://glynrob.com/webapp/lscalc/index.php

Code can be viewed and downloaded from https://github.com/glynrob/localStorageCalc

 

 

By… Read More

Web Storage

January 6th, 2013

Web Storage takes the principles of older storage mechanisms such as cookies, and makes them more powerful and flexible.
With this you can store information in the browser for users to continue working when offline.

 

Why use Web Storage instead of Web SQL?
Web storage is supported on 91.9% of browsers where Web SQL is only supported on 46.39%
Though Web SQL allows much more functionality, due to the lack of support on browsers I can not use it.
To see the breakdown of which browsers are supported:
Web Storage stats: Read More

Does NFC work when…

December 9th, 2012

A few tests to see what conditions standard NFC tags can take and still work.

Do not try the fire or the washing machine one at home.

 

 

 

These tests were done on NTAG203 MiniTrack 18mm x 36mm

 

There are other… Read More