This file contains hidden or 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
| /* | |
| * Example of use: | |
| * | |
| * var bytes = new Uint8Array(blob); | |
| * img.src = 'data:image/png;base64,'+encode(bytes); | |
| */ | |
| function encode (input) { | |
| var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; | |
| var output = ""; |
This file contains hidden or 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
| package mathio; | |
| import java.util.*; | |
| import java.util.concurrent.CopyOnWriteArrayList; | |
| public class MathUtils { | |
| public PrimeNumbers primeNumbers() { | |
| return new PrimeNumbers(); | |
| } |
This file contains hidden or 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
| <?php | |
| function getAll() { | |
| $files = scandir("."); | |
| $folders = array(); | |
| $images = array(); | |
| $pack = array(); | |
| foreach($files as $current) { | |
| if($current == "." || $current == "..") { |