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
/* | |
* Copyright 2017 John Yeary <[email protected]>. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
public class Utils { | |
/** | |
* Default Constructor | |
*/ | |
public Utils() { | |
} | |
/** | |
* Determines the caller class. This method should be invoked within a |
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
/* | |
* Copyright 2016 John Yeary <[email protected]>. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
/* | |
* Copyright 2016 Blue Lotus Software, LLC. | |
* Copyright 2015 John Yeary <[email protected]>. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
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
/* | |
* Copyright 2015-2016 Blue Lotus Software, LLC. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Example Search</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style type="text/css"> | |
#input1 { | |
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AABwGklEQVR42u2dB3gU5dbHg0lICCFW1KsowqUoMjObBBA7il69FhAVQVqyM5PQRMXuFcWC9eq193Lxs117Q0WkWei9C4iIdAKk7Ya0mfPNu5mJQ0h2N8ns7Mzuf5/nfSiZ/W32nfec/5m3nJOQgBdeeDn6RfnZyepI4UQ1j8tSZf4SVeIHqZIwUpWFOxVZeFSRhJe19oEiCl9rbYYi83O1tlyRuA3av7dqf9+ryFyh9vdS7f/KtPdUaP+uJlkg1tjfA//HfsauYdey97D3MgZjMSZjs89gn8U+U/ts9jsEfhf2O7HfTeQz2e/KfmfcObzwivHXRRf1aaG1w0ytBXjggReaRwkJLVSvp22NsHv6a0J6gya0jzOBJYmfrf19rSay+wyhZk2tp1EzWiR51drvXh34DtwsLXB4n3039h2179uPBQpakHAM6wOMF/DAcwavsR+eWLeBBx54f/EmX3FZy/1eT6cyMfOSCpEfWy0JTyki/4UicqvZE3djxFWppzVHrJ3A02ckVgX6RBaeVGV+lCp5LtYChw7vXXl5S4w/8MCzh9fYqCNJa8mmltTU6AM88NzOo4EDEzXx6qI9+Q7QnuDvKfcKH1RI/IpKr1CuiT6x1hxxNRjmFuu8Skk4UOHllpdL/Adam6CIwlXqSE9n1tcYf+CBZw2vKR/OPrC |
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.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.nio.charset.Charset; | |
public class CheckEncoding { | |
public static void main(String[] args) { | |
System.out.println("Default Charset = " + getDefaultCharset()); |
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
/* | |
* Copyright 2015 Blue Lotus Software, LLC. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
//<![CDATA[ | |
/** | |
* This function returns the named cookie if it exists. | |
* @param {type} cname The name of the cookie. | |
* @returns {String} The cookie value. | |
*/ | |
function getCookie(cname) { | |
var name = cname + "="; | |
var ca = document.cookie.split(';'); | |
for (var i = 0; i < ca.length; i++) { |