|
Passing variables to js files inline |
Ever wanted to pass a variables to a javascript file within the code?
You can declare JavaScript variables globally, but in this case a non technical person was editing the sites code base, so getting them to construct
JavaScript variables was going to be an issue. How about passing them through within the script tag?
|
Chroma circuit Android game review |
I've been waiting for Bowler Hat games Chroma Circuit for a while now. It was demonstrated at Scotch on the Rocks last year, and it looked like quite an innovative mobile puzzle game.
|
The Coldfusion Hash() function decoded - kind of |
I've always believed that using the hash() function in ColdFusion is a one way process. If I wanted to reverse a string I had to use encode() and decode(). The Adobe documentation states that "It is not possible to convert the hash result back to the source string" - Adobe Docs for Hash().
Strictly speaking this is still true, but some bright spark has decided to host an MD5 string database and provide a lookup service.
|
It is all about the punctuation |
I've noticed more and more that in documents its often not what you say, but the manner in which you say it. I'm sure there are dozens of best practices for writing good business documents, things like keeping it succinct or not too flowery or overly wordy.
One thing I have noticed is that my punctuation is mediocre at best. After mentioning this to a colleague he sent me the text below.