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
cipherText = "KUHPVIBQKVOSHWHXBPOFUXHRPVLLDDWVOSKWPREDDVVIDWQRBHBGLLBBPKQUNRVOHQEIRLWOKKRDD" | |
println("Begin to decrypt cipher text: ", cipherText) | |
#https://en.wikipedia.org/wiki/Letter_frequency | |
frequencies = Dict( "A" => 8.167, | |
"B" => 1.492, | |
"C" => 2.782, | |
"D" => 4.253, | |
"E" => 12.702, |
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
const ltrMap = []; | |
ltrMap[" "] = [ | |
[0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 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 to Shen Huang, you can reach me out at [email protected]> | |
<!DOCTYPE html> | |
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0"> | |
<html> | |
<head> | |
<title>HEART DEMO</title> | |
<style> | |
body { | |
background-color : #ffceed; |
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 to Shen Huang, you can reach me out at [email protected]> | |
<!DOCTYPE html> | |
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0"> | |
<html> | |
<head> | |
<title>BUBBLE DEMO</title> | |
<style> | |
body { | |
background-color : #a3d2ff; |
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 to Shen Huang, you can reach me out at [email protected]> | |
<!DOCTYPE html> | |
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0"> | |
<html> | |
<head> | |
<title>BEACH</title> | |
<style> | |
body { | |
background-color : #a3d2ff; |
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 to Shen Huang, you can reach me out at [email protected]> | |
<!DOCTYPE html> | |
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0"> | |
<html> | |
<head> | |
<title>FIREWORK DEMO</title> | |
<style> | |
body { | |
background-color : #001126; |