-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
6,533 additions
and
20 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions
71
public/2019/07/writing-technical-content-in-markdown/line-chart.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"uid": "babced", | ||
"fill": "tonexty", | ||
"mode": "none", | ||
"name": "Col2", | ||
"type": "scatter", | ||
"x": [ | ||
"2000-01-01", | ||
"2001-01-01", | ||
"2002-01-01", | ||
"2003-01-01", | ||
"2004-01-01", | ||
"2005-01-01", | ||
"2006-01-01", | ||
"2007-01-01", | ||
"2008-01-01", | ||
"2009-01-01", | ||
"2010-01-01", | ||
"2011-01-01", | ||
"2012-01-01", | ||
"2013-01-01", | ||
"2014-01-01", | ||
"2015-01-01", | ||
"2016-01-01" | ||
], | ||
"y": [ | ||
"17087182", | ||
"29354370", | ||
"38760373", | ||
"40912332", | ||
"51611646", | ||
"64780617", | ||
"85507314", | ||
"121892559", | ||
"172338726", | ||
"238027855", | ||
"206956723", | ||
"346004403", | ||
"697089489", | ||
"672985183", | ||
"968882453", | ||
"863105652", | ||
"1068513050" | ||
], | ||
"fillcolor": "rgb(224, 102, 102)" | ||
} | ||
], | ||
"layout": { | ||
"title": "Total Number of Websites", | ||
"width": 800, | ||
"xaxis": { | ||
"type": "date", | ||
"range": [946702800000, 1451624400000], | ||
"title": "Source: <a href=\"http://www.scribblrs.com/\">Scribblrs</a><br>Source: <a href=\"http://www.internetlivestats.com/total-number-of-websites/\">Internet Live Stats</a>", | ||
"showgrid": false, | ||
"autorange": true, | ||
"tickformat": "%Y" | ||
}, | ||
"yaxis": { | ||
"type": "linear", | ||
"range": [0, 1124750578.9473684], | ||
"title": "", | ||
"autorange": true | ||
}, | ||
"height": 500, | ||
"autosize": false | ||
}, | ||
"frames": [] | ||
} |
4 changes: 4 additions & 0 deletions
4
public/2019/07/writing-technical-content-in-markdown/results.csv
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
customer_id, score | ||
1,0 | ||
2,0.5 | ||
3,1 |
Binary file added
BIN
+236 KB
.../2020/12/welcome-to-hugo-blox-builder-the-website-builder-for-hugo/featured.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// MathJax Configuration | ||
// | ||
// v2 to v3 upgrade notes: | ||
// - The CommonHTML.linebreaks option is not yet implemented (but may be in a future release) | ||
// - The TeX.noUndefined.attributes option is not yet implemented (but may be in a future release) | ||
window.MathJax = { | ||
options: { | ||
// Don't render math in mindmaps as Markmap has its own math renderer. | ||
ignoreHtmlClass: 'markmap', | ||
}, | ||
tex: { | ||
inlineMath: [ | ||
['$', '$'], | ||
['\\(', '\\)'], | ||
], | ||
displayMath: [ | ||
['$$', '$$'], | ||
['\\[', '\\]'], | ||
], | ||
processEscapes: false, | ||
packages: {'[+]': ['noerrors']}, | ||
}, | ||
loader: { | ||
load: ['[tex]/noerrors'], | ||
}, | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
(() => { | ||
// ns-params:@params | ||
var slides = { highlight_style: "dracula", theme: "black" }; | ||
|
||
// <stdin> | ||
var enabledPlugins = [RevealMarkdown, RevealSearch, RevealNotes, RevealMath.KaTeX, RevealZoom]; | ||
var isObject = function(o) { | ||
return o === Object(o) && !isArray(o) && typeof o !== "function"; | ||
}; | ||
var isArray = function(a) { | ||
return Array.isArray(a); | ||
}; | ||
var toCamelCase = function(s) { | ||
return s.replace(/([-_][a-z])/gi, function(term) { | ||
return term.toUpperCase().replace("-", "").replace("_", ""); | ||
}); | ||
}; | ||
var keysToCamelCase = function(o) { | ||
if (isObject(o)) { | ||
const n = {}; | ||
Object.keys(o).forEach(function(k) { | ||
n[toCamelCase(k)] = keysToCamelCase(o[k]); | ||
}); | ||
return n; | ||
} else if (isArray(o)) { | ||
return o.map(function(i) { | ||
return keysToCamelCase(i); | ||
}); | ||
} | ||
return o; | ||
}; | ||
var pluginOptions = {}; | ||
if (typeof slides.reveal_options !== "undefined") { | ||
pluginOptions = slides.reveal_options; | ||
} | ||
pluginOptions = keysToCamelCase(pluginOptions); | ||
if (typeof pluginOptions.menu_enabled === "undefined") { | ||
pluginOptions.menu_enabled = true; | ||
} | ||
if (pluginOptions.menu_enabled) { | ||
enabledPlugins.push(RevealMenu); | ||
} | ||
pluginOptions["plugins"] = enabledPlugins; | ||
Reveal.initialize(pluginOptions); | ||
if (typeof slides.diagram === "undefined") { | ||
slides.diagram = false; | ||
} | ||
if (slides.diagram) { | ||
mermaidOptions = {}; | ||
if (typeof slides.diagram_options !== "undefined") { | ||
mermaidOptions = slides.diagram_options; | ||
} | ||
mermaidOptions["startOnLoad"] = false; | ||
mermaid.initialize(mermaidOptions); | ||
let renderMermaidDiagrams = function renderMermaidDiagrams2(event) { | ||
let mermaidDivs = event.currentSlide.querySelectorAll(".mermaid:not(.done)"); | ||
let indices = Reveal.getIndices(); | ||
let pageno = `${indices.h}-${indices.v}`; | ||
mermaidDivs.forEach(function(mermaidDiv, i) { | ||
let insertSvg = function(svgCode) { | ||
mermaidDiv.innerHTML = svgCode; | ||
mermaidDiv.classList.add("done"); | ||
}; | ||
let graphDefinition = mermaidDiv.textContent; | ||
mermaid.mermaidAPI.render(`mermaid${pageno}-${i}`, graphDefinition, insertSvg); | ||
}); | ||
Reveal.layout(); | ||
}; | ||
Reveal.on("ready", (event) => renderMermaidDiagrams(event)); | ||
Reveal.on("slidechanged", (event) => renderMermaidDiagrams(event)); | ||
} | ||
var mermaidOptions; | ||
})(); |
Binary file added
BIN
+3.59 KB
...edia/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_box_center_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+661 Bytes
.../media/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_32x32_fill_box_center_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@inproceedings{example1, | ||
title={An example conference paper}, | ||
author={Bighetti, Nelson and Ford, Robert}, | ||
booktitle={Source Themes Conference}, | ||
pages={1--6}, | ||
year={2013}, | ||
organization={IEEE} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@article{example2, | ||
title = {An example journal article}, | ||
author={Bighetti, Nelson and Ford, Robert}, | ||
journal = {Journal of Source Themes}, | ||
year = 2015, | ||
volume = 1, | ||
number = 1 | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.