-
Notifications
You must be signed in to change notification settings - Fork 0
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
5 changed files
with
15 additions
and
9 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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# About Me | ||
# About Nico | ||
|
||
I'm a software engineer who holds some *pretty radical beliefs* about code and software: | ||
I'm a software developer with that loves writing *beautiful code*. | ||
|
||
- If your code is not making the world a better place, then it's probably making it worse. | ||
- Software is both an art and a science. | ||
- Code can - and should - be beautiful. | ||
I have a firm belief that writing code is about more than *implementing features*. Writing code is a creative process that is equal parts art and science. | ||
|
||
My principle goal, when writing code, is to create software that improves the lives of whoever interacts with it. This includes customers, other developers, and fo course, myself. |
File renamed without changes.
Empty 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,13 @@ self.addEventListener("install", (event) => { | |
"/static/styles.css", | ||
"/static/reset.css", | ||
"/static/nico-bako.png", | ||
"/pages/about_me/about_me.md", | ||
"/pages/about_me/index.html", | ||
"/pages/about_site/index.html", | ||
"/pages/buttons_demo/index.html", | ||
"https://md-block.verou.me/md-block.js", | ||
"https://unpkg.com/[email protected]", | ||
"https://unpkg.com/[email protected]", | ||
"https://unpkg.com/[email protected]", | ||
"https://unpkg.com/[email protected]", | ||
]), | ||
), | ||
); | ||
|
@@ -36,10 +40,12 @@ self.addEventListener("fetch", (event) => { | |
// If we found a match in the cache, return it, but also | ||
// update the entry in the cache in the background. | ||
event.waitUntil(cache.add(event.request)); | ||
console.log("resource found in cache"); | ||
return cachedResponse; | ||
} | ||
|
||
// If we didn't find a match in the cache, use the network. | ||
console.log("resource not found in cache"); | ||
return fetch(event.request); | ||
})(), | ||
); | ||
|