Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskyfung committed Dec 27, 2024
1 parent 6a98977 commit e5b394f
Show file tree
Hide file tree
Showing 158 changed files with 1,135 additions and 1,259 deletions.
Binary file added Thumbs.db
Binary file not shown.
4 changes: 2 additions & 2 deletions about.html

Large diffs are not rendered by default.

Binary file removed assets/images/hanuman.png
Binary file not shown.
Binary file removed assets/images/hanuman.webp
Binary file not shown.
Binary file removed assets/images/radhakrishna.jpg
Binary file not shown.
Binary file removed assets/images/radhakrishna.webp
Binary file not shown.
Binary file removed assets/images/shiva.jpg
Binary file not shown.
Binary file removed assets/images/shiva.thumb.jpg
Binary file not shown.
Binary file removed assets/images/shiva.thumb.webp
Binary file not shown.
Binary file removed assets/images/shiva.webp
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/2014/09/12/My-trip-of-AEPA-2014-conference.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/2015/11/27/template-OVITO-python-modifier.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/2016/01/18/Installation-of-Andriod-Studio.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/2017/02/26/new-site-is-opened.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/2019/10/22/Follow-Me-on-Medium.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/2020/06/01/enjoy-our-new-theme.html
100755 → 100644

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/amp-now.html

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions blog/comp-sci/fuzzy-logic.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/index.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/linux/Install-Chrome-Remote-Desktop-on-Kubuntu.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/linux/Useful-Ubuntu-Commands.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/matlab/Convert-MATLAB-Matrix-to-MS-Office-Equation.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/matlab/Working-MATLAB-with-MS-Excel.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/matlab/expand-twitter-short-url.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/matlab/file-io-and-file-system-in-matlab.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/matlab/matlab-packages-and-toolboxes.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/page2/index.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/page3/index.html

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions blog/page4/index.html

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions blog/page5/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions blog/qwiklabs/Build-a-Website-on-Google-Cloud-Challenge-Lab.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/qwiklabs/Controlling-Your-Costs-Quiz.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions blog/qwiklabs/Engineer-Data-in-Google-Cloud-Challenge-Lab.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/qwiklabs/Google-Cloud-Essential-Skills-Challenge-Lab.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/qwiklabs/Migrate-a-MySQL-Database-to-Google-Cloud-SQL.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/qwiklabs/Userscript-for-Labelling-Completed-Qwiklabs.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions blog/qwiklabs/qwiklab-completion-tracker-versions.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions blog/qwiklabs/serverless-firebase-development-challenge-lab.html

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blog/qwiklabs/where-does-my-bear-badge-go.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions blog/windows/fix-windows10-boot-loop-after-fail-upgrade.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/academic/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/announcement/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/cloud/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/computer-science/index.html

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions category/developer-tools/index.html

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions category/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/linux/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/project/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/web-development/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions category/windows/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contact.html

Large diffs are not rendered by default.

413 changes: 97 additions & 316 deletions feed.xml

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions github-cli-repo-clone-custom-completion/index.html

Large diffs are not rendered by default.

41 changes: 22 additions & 19 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ function build(cb) {

function test() {
return src('./_site/**/*.html')
// Validate the input and attach the validation result to the "amp" property
// of the file object.
.pipe(gulpAmpValidator.validate())
// Print the validation results to the console.
.pipe(gulpAmpValidator.format())
// Exit the process with error code (1) if an AMP validation error
// occurred.
.pipe(gulpAmpValidator.failAfterWarningOrError());
// Validate the input and attach the validation result to the "amp" property
// of the file object.
.pipe(gulpAmpValidator.validate())
// Print the validation results to the console.
.pipe(gulpAmpValidator.format())
// Exit the process with error code (1) if an AMP validation error
// occurred.
.pipe(gulpAmpValidator.failAfterWarningOrError());
}

function validate() {
Expand All @@ -45,18 +45,21 @@ function validate() {
through2.obj(async (file, _, cb) => {
if (file.isBuffer()) {
const validator = await amphtmlValidator.getInstance();
const result = validator.validateString(file.contents.toString());
if (result.status !== 'PASS') console.error(`\n${result.status}: ${file.relative}`);
// (result.status === 'PASS' ? console.log : console.error)(result.status);
for (var ii = 0; ii < result.errors.length; ii++) {
var error = result.errors[ii];
var msg =
'line ' + error.line + ', col ' + error.col + ': ' + error.message;
if (error.specUrl !== null) {
msg += ' (see ' + error.specUrl + ')';
const contents_in_string = `${file.contents.toString()}`;
if (contents_in_string.indexOf('<title>Redirecting&hellip;</title>') === -1) {
const result = validator.validateString(contents_in_string);
if (result.status !== 'PASS') console.error(`\n${result.status}: ${file.relative}`);
// (result.status === 'PASS' ? console.log : console.error)(result.status);
for (let ii = 0; ii < result.errors.length; ii++) {
const error = result.errors[ii];
let msg =
'line ' + error.line + ', col ' + error.col + ': ' + error.message;
if (error.specUrl !== null) {
msg += ' (see ' + error.specUrl + ')';
}
(error.severity === 'ERROR' ? console.error : console.warn)(msg);
}
(error.severity === 'ERROR' ? console.error : console.warn)(msg);
}
};
}
cb(null, file);
})
Expand Down
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.
Binary file not shown.
Binary file not shown.
11 changes: 5 additions & 6 deletions index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions privacy-policy.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions search.html

Large diffs are not rendered by default.

19 changes: 16 additions & 3 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@
<lastmod>2021-09-30T18:00:00+08:00</lastmod>
</url>
<url>
<loc>https://chriskyfung.github.io/github-cli-repo-clone-custom-completion/</loc>
<lastmod>2024-12-27T15:12:00+08:00</lastmod>
</url>
<url>
<loc>https://chriskyfung.github.io/about</loc>
</url>
<url>
Expand Down Expand Up @@ -434,6 +438,15 @@
<loc>https://chriskyfung.github.io/tag/tensorflow/</loc>
</url>
<url>
<loc>https://chriskyfung.github.io/tag/bash/</loc>
</url>
<url>
<loc>https://chriskyfung.github.io/tag/github-cli/</loc>
</url>
<url>
<loc>https://chriskyfung.github.io/tag/autocompletions/</loc>
</url>
<url>
<loc>https://chriskyfung.github.io/category/academic/</loc>
</url>
<url>
Expand Down Expand Up @@ -474,14 +487,14 @@
</url>
<url>
<loc>https://chriskyfung.github.io/google0274dbf4a33f8f07.html</loc>
<lastmod>2024-11-29T00:12:55+08:00</lastmod>
<lastmod>2024-12-27T17:22:00+08:00</lastmod>
</url>
<url>
<loc>https://chriskyfung.github.io/images/projects/qwiklabs-quests-map.html</loc>
<lastmod>2024-11-29T00:12:55+08:00</lastmod>
<lastmod>2024-12-27T17:22:00+08:00</lastmod>
</url>
<url>
<loc>https://chriskyfung.github.io/yandex_3e10a2d0cfd334f2.html</loc>
<lastmod>2024-11-29T00:12:55+08:00</lastmod>
<lastmod>2024-12-27T17:22:00+08:00</lastmod>
</url>
</urlset>
13 changes: 6 additions & 7 deletions tag/android-studio/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/apigee/index.html

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions tag/autocompletions/index.html

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions tag/bash/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/bigquery/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/changelog/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/cloud-ai/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/cloud-function/index.html

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions tag/command-line/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/computer-science/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/conference-paper/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/conference/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/custom-theme/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/data-science/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/docker/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/email/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/file-i-o/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/fuzzy-logic/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/gcloud/index.html

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions tag/github-cli/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/google-cloud/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/how-to-research/index.html

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions tag/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/jekyll/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/jenkins/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/journal-ranks/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/kde/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/kubernetes/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/lammps/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/learning-map/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/linux/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/logbook/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/machine-learning/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/matlab/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/medium/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/meta-tags/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/molecular-dynamics/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/ms-excel/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/ms-office/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/mysql/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/open-graph/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/ovito/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/python/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/qwiklabs/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/remote-desktop/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/research-tool/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/research/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/secure-vpc/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/shorthand/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/single-crystal-diamond/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/taiwan/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/ted/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/tensorflow/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/terraform/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/tumblr/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/twitter/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/ubuntu/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/user-tips/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/userscript/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/windows-10/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/windows-server/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/wordpress/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions tag/wsl2/index.html

Large diffs are not rendered by default.

0 comments on commit e5b394f

Please sign in to comment.