# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Mathcha</title> | |
| <link rel="stylesheet" href="/resources/fonts-8fdb539.css" /> | |
| <link rel="icon" | |
| type="image/png" | |
| href="/resources/logo.png"/> | |
| <meta name=viewport content="width=device-width, height=device-height, initial-scale=1"> |
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
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
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
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
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
| /* ------------------------------------------- *\ | |
| Main | |
| \* ------------------------------------------- */ | |
| html { | |
| background: #DAD8DB; | |
| text-align: center; | |
| } | |
| body { | |
| font: 16px sans-serif; | |
| color: #000; |
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
| // Domain Public by Eric Wendelin http://eriwen.com/ (2008) | |
| // Luke Smith http://lucassmith.name/ (2008) | |
| // Loic Dachary <loic@dachary.org> (2008) | |
| // Johan Euphrosine <proppy@aminche.com> (2008) | |
| // Oyvind Sean Kinsey http://kinsey.no/blog (2010) | |
| // Victor Homyakov <victor-homyakov@users.sourceforge.net> (2010) | |
| /*global module, exports, define, ActiveXObject*/ | |
| (function(global, factory) { | |
| if (typeof exports === 'object') { | |
| // Node |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>DEMO</title> | |
| <script type="text/javascript" src="simple_javascript_templating.js"></script> | |
| </head> | |
| <body> | |
| <table id="table_1"> | |
| </table> | |
| <script type="text/html" id="tmpl_1"> |
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
| /* | |
| * Javascript Diff Algorithm | |
| * By John Resig (http://ejohn.org/) | |
| * Modified by Chu Alan "sprite" | |
| * | |
| * Released under the MIT license. | |
| * | |
| * More Info: | |
| * http://ejohn.org/projects/javascript-diff-algorithm/ | |
| */ |
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
| (function(doc) { | |
| const TWO_PI = Math.PI * 2; | |
| const HALF_PI = Math.PI / 2; | |
| const RADIUS_SCALE = 0.05; | |
| const RADIUS_SD = 15; | |
| const POLYGON_SIDES = 5; | |
| const POSITION_SD = 0.04; | |
| const BASE_DEFORMATIONS = 3; | |
| const LAYER_DEFORMATIONS = 3; | |
| const LAYERS = 40; |
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
| /** | |
| * Light layer on top of a canvas element to represent an image displayed | |
| * within. Pass in a canvas element and an Image object and you'll see the | |
| * image within the canvas element. Use the provided methods (e.g. blur) to | |
| * manipulate it. | |
| * | |
| * @constructor | |
| * @param {HTMLElement} element HTML canvas element. | |
| * @param {Image} image Image object. | |
| */ |
NewerOlder