Commit Graph

18 Commits (433a989c7461830f20c73db9b0fe36186731b692)

Author SHA1 Message Date
Daniel Bech a8c91a8ffc Update HexToASCII.pm 2016-05-01 23:17:45 +08:00
Daniel Bech 4db00f2ec4 Updated to full template
Changed from simple structured answer to text template
2016-05-01 22:36:57 +08:00
Daniel Bech 629bba3493 Now case insensitive
popped a little 'i' in there, made the matching of to as in 0 or 1
2016-05-01 21:22:46 +08:00
Daniel Bech 288926d1d2 Added regex to strip out to|as|in
added some regex that would strip off ' to' if the IA was triggered off of '0x74657374 to asci'
2016-04-30 21:05:14 +08:00
Daniel Bech 33f8d4db0b Update HexToASCII.pm 2016-04-30 20:59:07 +08:00
Daniel Bech 5c1ca8191d Improved triggers
triggers startend => 'ascii', 'hex to ascii';
triggers end => 'to ascii', 'as ascii';
2016-04-30 17:12:17 +08:00
Zach Thompson 07b9def34a Goodbye metadata...mostly 2015-11-11 11:14:02 -07:00
Rob Emery 56c5ea4a5e Goodies: Enabling `use strict` on all goodies 2015-02-22 20:09:29 +00:00
Chris Wilson 8571122893 Update Case for HextoASCII, HexToDec, LeetSpeak, Lowercase, MoonPhases, Paper 2015-01-09 19:03:10 +11:00
Russell Holt fa5a969037 attribution cleanup 2015-01-07 13:37:42 -05:00
Russell Holt 019264656c HexToASCII: encode chars in html 2014-12-12 00:14:19 -05:00
Matt Miller 99bd3dd6cb HexToASCII: add structured answer. 2014-11-15 21:32:59 +02:00
Matt Miller a264977d0d HexToASCII: Improve implementation and comments.
- Do not even process characters which we aren't going to include.
- Move guard against non-ASCII inside the printable_chr function.
- Add a test to show that it doesn't handle queries which contain
  non-ASCII characters.
- Add comments to clarify intent.

This is less clever than the previous version, which implies the
answer to my question from a previous commit.

Turns out that adding comments will actually make me do a slightly
better implementation!  Who knew?!
2014-01-09 03:37:40 +08:00
Matt Miller 91117a9eb7 HexToASCII: improve and standardize output
- With code tags (thanks, @mintsoft!), we'll count on the user agent
  rendering the codes slightly differently, so we do not need to style.
- Returning both 'pure ASCII' and 'html' representations.

The code layout now feels either slightly over-clever or slightly
under-clever and I am not sure which!
2014-01-06 18:41:30 +08:00
Matt Miller f6588301cf HexToASCII: fix silly typo 2014-01-04 08:56:50 +08:00
Matt Miller ea6662ef38 HexToASCII: display information about invisible characters
- Reduce the number of entered characters to 128, since we can't be sure
  of the display width any more.
- Show "invisible characters" (unprintable + non-space whitespace) in a
  special format
2014-01-04 08:36:56 +08:00
Koosha Khajeh Moogahi 6e02789eaf Make a minor change to the format of the output 2012-12-03 14:07:54 +03:30
Koosha Khajeh Moogahi 8faf48358c The goodie to convert a given hex value to its equivalent ASCII representation 2012-12-02 15:58:49 +03:30