See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
mat4 rotationMatrix(vec3 axis, float angle) | |
{ | |
axis = normalize(axis); | |
float s = sin(angle); | |
float c = cos(angle); | |
float oc = 1.0 - c; | |
return mat4(oc * axis.x * axis.x + c, oc * axis.x * axis.y - axis.z * s, oc * axis.z * axis.x + axis.y * s, 0.0, | |
oc * axis.x * axis.y + axis.z * s, oc * axis.y * axis.y + c, oc * axis.y * axis.z - axis.x * s, 0.0, | |
oc * axis.z * axis.x - axis.y * s, oc * axis.y * axis.z + axis.x * s, oc * axis.z * axis.z + c, 0.0, |
<!doctype html> | |
<html> | |
<head> | |
<title>This is the title of the webpage!</title> | |
</head> | |
<body> | |
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p> | |
</body> | |
</html> |
<html><head><script src="script.js" type="text/javascript"></script><script id="fs" type="x-shader/x-fragment">precision mediump float; | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
// const ========================================================================================== | |
const vec3 cPos = vec3(0.0, 0.0, 3.0); | |
const vec3 cDir = vec3(0.0, 0.0, -1.0); | |
const vec3 cUp = vec3(0.0, 1.0, 0.0); | |
const float targetDepth = 1.0; |
// Based on https://github.com/ecadlabs/taquito/blob/master/packages/taquito-remote-signer/src/taquito-remote-signer.ts#L155 | |
const { | |
b58cdecode, | |
b58cencode, | |
buf2hex, | |
hex2buf, | |
isValidPrefix, | |
mergebuf, | |
prefix, |
import { | |
AdditiveBlending, | |
Color, | |
LinearFilter, | |
MeshBasicMaterial, | |
RGBAFormat, | |
ShaderMaterial, | |
UniformsUtils, | |
Vector2, | |
Vector3, |
interface ITokenMetadata {
struct tokenOutput {
// text/html, image/svg+xml, image/png, ...
string mimeType;
bytes output;
};
function getTokenPreview(uint256 tokenId) external view returns (string memory);
The guides online will tell you that this isn't easy, but it's actually really easy and only a simple process that takes about 10 minutes to complete.
This guide takes from raw shared hosting service with a domain attached to it and no HTTPS support, to full SSL support that auto-renews every 60 days for FREE.
The key is acme.sh
Thank you so much to that team. Support them if you can.