mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Add titles, fix dates, more tumblr
This commit is contained in:
parent
7526c4f73d
commit
05e0e09636
19 changed files with 88 additions and 27 deletions
|
@ -31,7 +31,8 @@ paginate = 36
|
|||
dateform = "Jan 2, 2006"
|
||||
dateformShort = "Jan 2"
|
||||
dateformNum = "2006-01-02"
|
||||
dateformNumTime = "2006-01-02 15:04 -0700"
|
||||
dateformNumTime = "2006-01-02 15:04 MST"
|
||||
dateformHTML = "2006-01-02T15:04:05-0700"
|
||||
|
||||
# Metadata mostly used in document's head
|
||||
description = "JP Hastings-Spital: Software Engineer"
|
||||
|
|
|
@ -5,7 +5,7 @@ media:
|
|||
- media-1.jpg
|
||||
- media-2.jpg
|
||||
- media-3.jpg
|
||||
date: "2023-02-10T19:53:25Z"
|
||||
date: "2023-02-10T15:53:00-04:00"
|
||||
draft: false
|
||||
tags: []
|
||||
---
|
||||
|
|
BIN
content/posts/blinkers/facebook-with-blinkers.jpg
Normal file
BIN
content/posts/blinkers/facebook-with-blinkers.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
18
content/posts/blinkers/index.md
Normal file
18
content/posts/blinkers/index.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
title: Blinkers
|
||||
date: 2010-05-10T16:37:00+01:00
|
||||
draft: false
|
||||
emoji: 😈
|
||||
tags:
|
||||
- thimblr
|
||||
- code
|
||||
- ruby
|
||||
- facebook
|
||||
- from-tumblr
|
||||
---
|
||||
|
||||

|
||||
|
||||
I built [Blinkers](https://github.com/jphastings/blinkers), a little greasemonkey script/Firefox extension that will prevent you from seeing your own Facebook news feed. Why? Because we all know it _eats time_ and poops procrastination guilt.
|
||||
|
||||
If you're still having difficulty avoiding the internets while you work, consider using my [DialUp](http://vimeo.com/9632924) application (or help me make it better!)
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: Hey Google
|
||||
date: 2009-05-26T00:21:00+01:00
|
||||
draft: false
|
||||
emoji: 📸
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: Hot weather pleasure
|
||||
date: 2009-05-27T00:19:00+01:00
|
||||
draft: false
|
||||
emoji: 💬
|
||||
emoji: 🧊
|
||||
images:
|
||||
tags:
|
||||
- from-tumblr
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: It's Okay
|
||||
date: 2009-07-17T15:20:00+01:00
|
||||
draft: false
|
||||
emoji: 📺
|
||||
emoji: 🎸
|
||||
images:
|
||||
tags:
|
||||
- plug
|
||||
|
|
20
content/posts/tumblr-musings/pottymouth.md
Normal file
20
content/posts/tumblr-musings/pottymouth.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: Pottymouth
|
||||
date: 2010-06-24T12:22:00+01:00
|
||||
draft: false
|
||||
emoji: 💩
|
||||
tags:
|
||||
- code
|
||||
- project
|
||||
- pottymouth
|
||||
- ruby
|
||||
- from-tumblr
|
||||
---
|
||||
|
||||
I had some time to kill on a lazy summer's day and I noticed that splendid chap [Max](http://twitter.com/mxcl), had [posed a question](http://twitter.com/mxcl/status/16838493726) to the lazy web:
|
||||
|
||||
> Is there a tool for measuring profanity in code-bases? If not, can someone write it and call it "pottymouth"? Ta.
|
||||
|
||||
So I did.
|
||||
|
||||
If you know ruby then maybe to can help it be a little better, fork [the repo](https://github.com/jphastings/pottymouth) and see what you can do.
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: Short lived
|
||||
date: 2009-05-17T13:02:00+01:00
|
||||
draft: false
|
||||
emoji: 🫥
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Twitter links in Tumblr
|
||||
title: SlyPIs out in the wild
|
||||
date: 2009-05-24T20:52:00+01:00
|
||||
draft: false
|
||||
emoji: 🕵️
|
||||
|
|
20
content/posts/tumblr-musings/thimblr.md
Normal file
20
content/posts/tumblr-musings/thimblr.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: Thimblr
|
||||
date: 2010-04-12T14:47:00+01:00
|
||||
draft: false
|
||||
emoji: 📐
|
||||
tags:
|
||||
- thimblr
|
||||
- code
|
||||
- ruby
|
||||
- tumblr
|
||||
- from-tumblr
|
||||
---
|
||||
|
||||
{{< vimeo 10866898 >}}
|
||||
|
||||
I've released [Thimblr](https://github.com/jphastings/thimblr) -- a tool to speed up your Tumblr theme development. Its a Ruby gem, so it's very simple to install, with `gem install Thimblr`, once that's done you just need to run `thimblr`, as a binary is installed for you with the gem.
|
||||
|
||||
This screencast should help you with the basics, though I've designed it to be totally self explanatory, but if you have any problems please open an [issue on github](http://github.com/jphastings/thimblr/issues) and I'll get right on it!
|
||||
|
||||
Please note, because I don't have a windows box to test on at the moment it just plain won't work at the moment. If anyone knows of a good place to store settings files etc. in windows then let me know and I'll get it working.
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: Time flies
|
||||
date: 2009-05-29T17:06:00+01:00
|
||||
draft: false
|
||||
emoji: 📛
|
||||
emoji: 🕰️
|
||||
images:
|
||||
tags:
|
||||
- from-tumblr
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: Video snippet ideas
|
||||
date: 2009-03-31T00:32:00+01:00
|
||||
draft: false
|
||||
emoji: 🎥
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: Where on the Web gets better!
|
||||
date: 2009-04-21T22:47:00+01:00
|
||||
draft: false
|
||||
emoji: 🌐
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: Where on the Web screencast
|
||||
date: 2009-04-21T03:16:00+01:00
|
||||
draft: false
|
||||
emoji: 📺
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<div class="post-info">
|
||||
<p>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.5" y2="6.5"></line></svg>
|
||||
From <a href="../">Instagram archive</a>
|
||||
From <a href="../">instagram archive</a>
|
||||
</p>
|
||||
{{ partial "tags.html" .Params.tags }}
|
||||
{{ partial "categories.html" . }}
|
||||
|
@ -33,11 +33,11 @@
|
|||
<line x1="8" y1="2" x2="8" y2="6"></line>
|
||||
<line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
<date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date.Local }}">
|
||||
<date datetime="{{ dateFormat "2006-01-02 15:04:05 MST" .Date }}">
|
||||
{{ if .Site.Params.dateformNumTime }}
|
||||
{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}
|
||||
{{ dateFormat .Site.Params.dateformNumTime .Date }}
|
||||
{{ else }}
|
||||
{{ dateFormat "2006-01-02 15:04" .Date.Local }}
|
||||
{{ dateFormat "2006-01-02 15:04 MST" .Date }}
|
||||
{{ end }}
|
||||
</date>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</article>
|
||||
|
||||
<div class="post-info">
|
||||
<p><date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date.Local }}">{{ dateFormat "Jan 2, 2006" .Date.Local }}</date></p>
|
||||
<p><date datetime="{{ dateFormat .Site.Params.dateformHTML .Date }}">{{ dateFormat .Site.Params.dateform .Date }}</date></p>
|
||||
<p><a href="../">back</a></p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -75,6 +75,13 @@
|
|||
{{ i18n "wordCount" .Page.WordCount }}
|
||||
</p>
|
||||
|
||||
{{ if in .Params.tags "from-tumblr" }}
|
||||
<p>
|
||||
<svg class="feather" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="-11 -11 282 282"><path fill="none" stroke="currentColor" stroke-width="22" d="M210.86 197.54a5 5 0 0 0-5.12.23c-11.62 7.64-23.4 11.5-35.02 11.5-6.24 0-11.6-1.39-16.41-4.27-3.27-1.93-6.31-5.32-7.4-8.26-1.06-2.8-1.05-10.33-1.03-20.75v-63.54h52.8a5 5 0 0 0 5-5V62.8a5 5 0 0 0-5-5h-52.8V5a5 5 0 0 0-5-5h-35.56a5 5 0 0 0-4.97 4.4c-1.48 12.23-4.25 22.38-8.24 30.2a63.66 63.66 0 0 1-15.65 19.92c-5.2 4.44-14.12 8.73-26.5 12.77a5 5 0 0 0-3.44 4.75v35.41a5 5 0 0 0 5 5h28.95v82.67c0 12.18 1.3 21.34 3.95 28.02 2.71 6.79 7.52 13.18 14.3 19 6.68 5.71 14.8 10.18 24.16 13.3 9.09 2.96 16.32 4.56 28.51 4.56 10.31 0 20.14-1.07 29.22-3.18 8.92-2.08 19.01-5.76 30-10.93a5 5 0 0 0 2.88-4.53v-39.41a5 5 0 0 0-2.63-4.4z"/></svg>
|
||||
From <a href="/tags/from-tumblr">tumblr archive</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
<p>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar">
|
||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
||||
|
@ -82,11 +89,11 @@
|
|||
<line x1="8" y1="2" x2="8" y2="6"></line>
|
||||
<line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
<date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date.Local }}">
|
||||
<date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date }}">
|
||||
{{ if .Site.Params.dateformNumTime }}
|
||||
{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}
|
||||
{{ dateFormat .Site.Params.dateformNumTime .Date }}
|
||||
{{ else }}
|
||||
{{ dateFormat "2006-01-02 15:04" .Date.Local }}
|
||||
{{ dateFormat "2006-01-02 15:04" .Date }}
|
||||
{{ end }}
|
||||
</date>
|
||||
|
||||
|
@ -124,18 +131,5 @@
|
|||
|
||||
{{ partial "pagination-single.html" . }}
|
||||
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ if not (eq .Params.Comments "false") }}
|
||||
<div id="comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.Commento.Url }}
|
||||
<script defer src={{ .Site.Params.Commento.Url }}></script>
|
||||
<div id="commento"></div>
|
||||
{{ end }}
|
||||
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue