# 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 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 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 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
/** | |
* <p>Desc:竞彩类</p> | |
* <p>Author: luochang</p> | |
* <p>Copyright: Copyright (c) 2012</p> | |
* <p>Company: 北京中科易达科技发展有限责任公司</p> | |
* Added by Luochang at 2014/3/6 Version 1.0 | |
*/ | |
function Guess(lienseId, playId) { | |
this.licenseId = lienseId; // 彩种,9-竞彩足球,10-竞彩篮球 |
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>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 has been truncated, but you can view the full file.
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(window) { | |
var g, da = {}; | |
if (!window.document || void 0 === window.document.createElement("canvas").getContext) { | |
throw window.console && window.console.log("The HTML Canvas element is not supported in this browser,or this browser is in Compatibility mode."), Error("The HTML Canvas element is not supported in this browser,or this browser is in Compatibility mode.") | |
} | |
if (!Object.defineProperty) { | |
throw Error("GoJS requires a newer version of JavaScript") | |
} | |
Function.prototype.bind || (Function.prototype.bind = function(a) { | |
function b() { |
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
html, | |
body { | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
top: 0; | |
left: 0; | |
margin: 0; | |
padding: 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
jQuery.extend({ | |
createUploadIframe: function(id, uri) { | |
//create frame | |
var frameId = 'jUploadFrame' + id; | |
var iframeHtml = '<iframe id="' + frameId + '" name="' + frameId + '" style="position:absolute; top:-9999px; left:-9999px"'; | |
if (window.ActiveXObject) { | |
if (typeof uri == 'boolean') { | |
iframeHtml += ' src="' + 'javascript:false' + '"'; | |
} else if (typeof uri == 'string') { | |
iframeHtml += ' src="' + uri + '"'; |
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
var moment = require('moment'); | |
require('moment-range'); | |
function getEventStart(event) | |
{ | |
var date = typeof this.options.eventStartDate === 'function' ? | |
this.options.eventStartDate(event) : event[this.options.eventStartDate]; | |
if (date) { | |
return moment(date) |
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
// ================================== | |
// linear regression trainer in rust | |
// @author 6174 | |
// ================================== | |
// use std::cell::RefCell; | |
use std::vec::Vec; | |
fn main() { | |
// linear_regression(); |
NewerOlder