This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Written by: patpawlowski | |
Created On: Oct 26, 2015 at 4:51:52 PM | |
Description: This is a rough attempt to create a funciton to strip the markup from | |
the Act TBL_NOTE.NOTETEXT field. It appears to work for what I need | |
but could probably use some work with the escaped characters. | |
It's not particularly fast but it is faster than other solutions I've come | |
across. It takes about 4 seconds to parse 2700 records. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Map; | |
import java.util.Comparator; | |
import java.util.Collections; | |
int index = 0; | |
// sprite sheet | |
PImage pokemon; | |
// current pokemon sprite | |
PImage current; | |
// current pie chart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
FUNCTION URLDecoder(str) | |
'// This function: | |
'// - decodes any utf-8 encoded characters into unicode characters eg. (%C3%A5 = å) | |
'// - replaces any plus sign separators with a space character | |
'// | |
'// IMPORTANT: | |
'// Your webpage must use the UTF-8 character set. Easiest method is to use this META tag: | |
'// <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
'// |