To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading)
so your link should look like so:
[create an anchor](#anchors-in-markdown)
<html> | |
<!-- You may need to download them from https://github.com/brix/crypto-js/tree/release-3.1.2/build --> | |
<script src="rollups/sha1.js"></script> | |
<script src='components/lib-typedarrays-min.js'></script> | |
<body> | |
<script> | |
function sha1sum() { | |
var oFile = document.getElementById('uploadFile').files[0]; | |
var sha1 = CryptoJS.algo.SHA1.create(); | |
var read = 0; |
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
#!/usr/bin/php | |
<?php | |
// USAGE: | |
// $ php update_moodle_photo.php <user-id-number> | |
// | |
// to be able to run this file as command line script | |
define('CLI_SCRIPT', true); | |
// include config.php from your moodle's docroot | |
require_once('/var/www/moodle/config.php'); |
Merged from https://github.com/joelparkerhenderson/git_commit_message and https://chris.beams.io/posts/git-commit/
<?php | |
if (!function_exists('each')) { | |
function each(array &$array) { | |
$value = current($array); | |
$key = key($array); | |
if (is_null($key)) { | |
return false; | |
} |