mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 09:58:28 -04:00
update redirects
This commit is contained in:
parent
1018e6c206
commit
749b78327a
@ -13,7 +13,7 @@ type: home
|
|||||||
<p>My recent focus has been on <a href="https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks/" title=""The Brutal Lifecycle of JavaScript Frameworks" by Ian Allen" id="javascript" target="_blank" rel="noopener noreferrer nofollow">modern JavaScript frameworks</a> like <a href="https://reactjs.org/" title="React Official Website" id="react" target="_blank" rel="noopener noreferrer nofollow">React</a>, <a href="https://angular.io/" title="Angular Official Website" id="angular" target="_blank" rel="noopener noreferrer nofollow">Angular</a>, and <a href="https://vuejs.org/" title="Vue.js Official Website" id="vue" target="_blank" rel="noopener noreferrer nofollow">Vue</a> in front of <a href="https://nodejs.org/en/" title="Node.js Official Website" id="node" target="_blank" rel="noopener noreferrer nofollow">Node</a> and <a href="https://golang.org/" title="Golang Official Website" id="golang" target="_blank" rel="noopener noreferrer nofollow">Go</a> backends...</p>
|
<p>My recent focus has been on <a href="https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks/" title=""The Brutal Lifecycle of JavaScript Frameworks" by Ian Allen" id="javascript" target="_blank" rel="noopener noreferrer nofollow">modern JavaScript frameworks</a> like <a href="https://reactjs.org/" title="React Official Website" id="react" target="_blank" rel="noopener noreferrer nofollow">React</a>, <a href="https://angular.io/" title="Angular Official Website" id="angular" target="_blank" rel="noopener noreferrer nofollow">Angular</a>, and <a href="https://vuejs.org/" title="Vue.js Official Website" id="vue" target="_blank" rel="noopener noreferrer nofollow">Vue</a> in front of <a href="https://nodejs.org/en/" title="Node.js Official Website" id="node" target="_blank" rel="noopener noreferrer nofollow">Node</a> and <a href="https://golang.org/" title="Golang Official Website" id="golang" target="_blank" rel="noopener noreferrer nofollow">Go</a> backends...</p>
|
||||||
<p>...but I'm fluent in classics like <a href="https://stitcher.io/blog/php-in-2019" title=""PHP in 2019" by Brent Roose" id="php" target="_blank" rel="noopener noreferrer nofollow">PHP</a>, <a href="https://www.ruby-lang.org/en/" title="Ruby Official Website" id="ruby" target="_blank" rel="noopener noreferrer nofollow">Ruby</a>, <a href="https://go.java/index.html" title="Java Official Website" id="java" target="_blank" rel="noopener noreferrer nofollow">Java</a>, <a href="https://isocpp.org/" title="Standard C++ Official Website" id="cpp" target="_blank" rel="noopener noreferrer nofollow">C++</a>, and <a href="https://www.python.org/" title="Python Official Website" id="python" target="_blank" rel="noopener noreferrer nofollow">Python</a> as well.</p>
|
<p>...but I'm fluent in classics like <a href="https://stitcher.io/blog/php-in-2019" title=""PHP in 2019" by Brent Roose" id="php" target="_blank" rel="noopener noreferrer nofollow">PHP</a>, <a href="https://www.ruby-lang.org/en/" title="Ruby Official Website" id="ruby" target="_blank" rel="noopener noreferrer nofollow">Ruby</a>, <a href="https://go.java/index.html" title="Java Official Website" id="java" target="_blank" rel="noopener noreferrer nofollow">Java</a>, <a href="https://isocpp.org/" title="Standard C++ Official Website" id="cpp" target="_blank" rel="noopener noreferrer nofollow">C++</a>, and <a href="https://www.python.org/" title="Python Official Website" id="python" target="_blank" rel="noopener noreferrer nofollow">Python</a> as well.</p>
|
||||||
<p>Whenever possible, I also prioritize my experience with <a href="https://bugcrowd.com/jakejarvis" title="Jake Jarvis on Bugcrowd" id="infosec" target="_blank" rel="me noopener noreferrer">information security</a>, <a href="https://martinfowler.com/articles/serverless.html" title=""Serverless Architectures" by Mike Roberts" id="server" target="_blank" rel="noopener noreferrer nofollow">server<span id="serverless">(less)</span> architecture</a>, <a href="https://github.com/kamranahmedse/developer-roadmap/blob/67a72aab113e79c11e292ada394606f079f6a263/images/devops.png" title=""DevOps Roadmap" by Kamran Ahmed" id="devops" target="_blank" rel="noopener noreferrer nofollow">efficient DevOps & CI</a>, and the <a href="https://engineering.fb.com/data-center-engineering/tupperware/" title=""Containerized Deployment at Facebook" by Kenny Yu & Chunqiang Tang" id="containers" target="_blank" rel="noopener noreferrer nofollow">containerization of everything</a>.</p>
|
<p>Whenever possible, I also prioritize my experience with <a href="https://bugcrowd.com/jakejarvis" title="Jake Jarvis on Bugcrowd" id="infosec" target="_blank" rel="me noopener noreferrer">information security</a>, <a href="https://martinfowler.com/articles/serverless.html" title=""Serverless Architectures" by Mike Roberts" id="server" target="_blank" rel="noopener noreferrer nofollow">server<span id="serverless">(less)</span> architecture</a>, <a href="https://github.com/kamranahmedse/developer-roadmap/blob/67a72aab113e79c11e292ada394606f079f6a263/images/devops.png" title=""DevOps Roadmap" by Kamran Ahmed" id="devops" target="_blank" rel="noopener noreferrer nofollow">efficient DevOps & CI</a>, and the <a href="https://engineering.fb.com/data-center-engineering/tupperware/" title=""Containerized Deployment at Facebook" by Kenny Yu & Chunqiang Tang" id="containers" target="_blank" rel="noopener noreferrer nofollow">containerization of everything</a>.</p>
|
||||||
<p>I fell in love with <a href="https://y2k.jarv.is/" title="My Terrible, Horrible, No Good, Very Bad First Website" id="y2k" target="_blank" rel="noopener">frontend web design</a> and <a href="/notes/my-first-code/" title="Jake's Bulletin Board, circa 2003" id="jbb" target="_blank" rel="noopener">backend programming</a> when my only source of income was <a href="/birthday/" title="🎉 Cranky Birthday Boy on VHS Tape 📼" id="birthday" target="_blank" rel="noopener">the Tooth Fairy</a>. <span id="shh">(I've improved a little bit since those projects, I promise...)</span></p>
|
<p>I fell in love with <a href="/y2k/" title="My Terrible, Horrible, No Good, Very Bad First Website" id="y2k" target="_blank" rel="noopener">frontend web design</a> and <a href="/notes/my-first-code/" title="Jake's Bulletin Board, circa 2003" id="jbb" target="_blank" rel="noopener">backend programming</a> when my only source of income was <a href="/birthday/" title="🎉 Cranky Birthday Boy on VHS Tape 📼" id="birthday" target="_blank" rel="noopener">the Tooth Fairy</a>. <span id="shh">(I've improved a little bit since those projects, I promise...)</span></p>
|
||||||
<p>Since then, my side projects
|
<p>Since then, my side projects
|
||||||
<a href="https://tuftsdaily.com/news/2012/04/06/student-designs-iphone-joeytracker-app/" title=""Student designs iPhone JoeyTracker app" on The Tufts Daily" id="news-1" target="_blank" rel="noopener noreferrer nofollow">have</a> <!-- https://archive.fo/LZ3y0 --> <!-- /daily.pdf -->
|
<a href="https://tuftsdaily.com/news/2012/04/06/student-designs-iphone-joeytracker-app/" title=""Student designs iPhone JoeyTracker app" on The Tufts Daily" id="news-1" target="_blank" rel="noopener noreferrer nofollow">have</a> <!-- https://archive.fo/LZ3y0 --> <!-- /daily.pdf -->
|
||||||
<a href="/leo/" title="Powncer segment on The Lab with Leo Laporte (G4techTV)" id="news-2" target="_blank" rel="noopener">been</a>
|
<a href="/leo/" title="Powncer segment on The Lab with Leo Laporte (G4techTV)" id="news-2" target="_blank" rel="noopener">been</a>
|
||||||
|
@ -76,7 +76,7 @@ It makes sense that Netlify needs to subsidize the cost of providing free enterp
|
|||||||
|
|
||||||
Clearly, as much as I wish they did, 30,000+ visitors didn't type my website directly into the URL bar in the past week. Some of my articles have been circulating on Hacker News, Reddit, Twitter, etc. — none of which have even made a blip on the dashboard.
|
Clearly, as much as I wish they did, 30,000+ visitors didn't type my website directly into the URL bar in the past week. Some of my articles have been circulating on Hacker News, Reddit, Twitter, etc. — none of which have even made a blip on the dashboard.
|
||||||
|
|
||||||
There are various possible reasons that referrers aren't being sent, mostly relating to HTTP headers and [incresingly sensible](https://blog.mozilla.org/blog/2019/06/04/firefox-now-available-with-enhanced-tracking-protection-by-default/) browser defaults, that aren't Netlify's fault. But this section is the most obvious example of important data you can miss out on by not tracking incoming visitors via JavaScript.
|
There are various possible reasons that referrers aren't being sent, mostly relating to HTTP headers and [increasingly sensible](https://blog.mozilla.org/blog/2019/06/04/firefox-now-available-with-enhanced-tracking-protection-by-default/) browser defaults, that aren't Netlify's fault. But this section is the most obvious example of important data you can miss out on by not tracking incoming visitors via JavaScript.
|
||||||
|
|
||||||
Another benefit of using Google's own analytics service becomes glaringly apparent here: I have **no idea** which search terms were used to reach which page. Netlify could mitigate this a bit by separating out referrers for each individual page, though, so at least I'd know which pages were having the most organic success on search engines.
|
Another benefit of using Google's own analytics service becomes glaringly apparent here: I have **no idea** which search terms were used to reach which page. Netlify could mitigate this a bit by separating out referrers for each individual page, though, so at least I'd know which pages were having the most organic success on search engines.
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
{{ if eq hugo.Environment "production" }}User-Agent: *
|
User-Agent: *
|
||||||
|
{{- if eq hugo.Environment "production" }}
|
||||||
Disallow: /y2k/
|
Disallow: /y2k/
|
||||||
|
Disallow: /scrabble/
|
||||||
Disallow: /comp20/
|
Disallow: /comp20/
|
||||||
|
|
||||||
Sitemap: {{ "sitemap.xml" | absURL }}
|
Sitemap: {{ "sitemap.xml" | absURL }}
|
||||||
{{ else }}User-Agent: *
|
{{- else }}
|
||||||
Disallow: /
|
Disallow: /
|
||||||
{{ end }}
|
{{- end }}
|
||||||
|
34
netlify.toml
34
netlify.toml
@ -1,11 +1,11 @@
|
|||||||
# netlify.sh downloads my custom Hugo fork and builds the site independently.
|
# netlify.sh downloads Hugo fork and builds the site independently.
|
||||||
[build]
|
[build]
|
||||||
command = "./scripts/netlify-build.sh"
|
command = "./scripts/netlify-build.sh"
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
|
|
||||||
# The most important headers and redirects are specified in the _headers and
|
# The most important headers and redirects are specified in the _headers and
|
||||||
# _redirects files generated by Hugo. These are additional custom redirects.
|
# _redirects files generated by Hugo. These are additional custom rules.
|
||||||
|
|
||||||
# Redirect default Netlify subdomain to primary domain:
|
# Redirect default Netlify subdomain to primary domain:
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
@ -24,20 +24,34 @@
|
|||||||
to = "/index.xml"
|
to = "/index.xml"
|
||||||
status = 301
|
status = 301
|
||||||
|
|
||||||
# Moved Y2K site to its own subdomain:
|
# Mirror Y2K site from GitHub Pages:
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/y2k/*"
|
from = "/y2k/*"
|
||||||
to = "https://y2k.jarv.is/:splat"
|
to = "https://jakejarvis.github.io/y2k/:splat"
|
||||||
status = 302
|
status = 200
|
||||||
|
|
||||||
# Redirect iOS tracker files to their repo's GitHub Pages:
|
# Mirror iOS tracker files from GitHub Pages:
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/ios-trackers/*"
|
from = "/ios-trackers/*"
|
||||||
to = "https://jakejarvis.github.io/ios-trackers/:splat"
|
to = "https://jakejarvis.github.io/ios-trackers/:splat"
|
||||||
status = 200
|
status = 200
|
||||||
|
|
||||||
# H A C K E R M A N
|
# Mirror Princeton curriculum site from GitHub Pages:
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/wp-login.php"
|
from = "/scrabble/*"
|
||||||
to = "https://giphy.com/embed/RyXVu4ZW454IM"
|
to = "https://jakejarvis.github.io/scrabble/:splat"
|
||||||
status = 302
|
status = 200
|
||||||
|
|
||||||
|
# H A C K E R M A N ( ͡° ͜ʖ ͡°)
|
||||||
|
[[redirects]]
|
||||||
|
from = "*/wp-login.php"
|
||||||
|
to = "/h4x0rz.gif"
|
||||||
|
status = 200
|
||||||
|
[[redirects]]
|
||||||
|
from = "*/wp-admin/*"
|
||||||
|
to = "/h4x0rz.gif"
|
||||||
|
status = 200
|
||||||
|
[[redirects]]
|
||||||
|
from = "*/login"
|
||||||
|
to = "/h4x0rz.gif"
|
||||||
|
status = 200
|
||||||
|
BIN
static/h4x0rz.gif
Normal file
BIN
static/h4x0rz.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 MiB |
Loading…
x
Reference in New Issue
Block a user