diff --git a/content/posts/imported-posts/low-cost-sensing-with-leds.md b/content/posts/imported-posts/low-cost-sensing-with-leds.md new file mode 100644 index 00000000..de5d44ff --- /dev/null +++ b/content/posts/imported-posts/low-cost-sensing-with-leds.md @@ -0,0 +1,12 @@ +--- +title: Low-cost sensing with LEDs +date: 2009-04-15 +draft: false +emoji: šŸ’” +tags: + - from-tumblr +--- + +[hackaday.com](https://hackaday.com/2006/02/21/low-cost-sensing-and-communication-with-an-led/) + +Woah, you can use LEDs as ambient light sensors? I suppose it makes sense, why didn’t I think of this before! :P This could come in very handy. diff --git a/content/posts/imported-posts/native-ruby-rar-archive-extractor.md b/content/posts/imported-posts/native-ruby-rar-archive-extractor.md new file mode 100644 index 00000000..8dffca44 --- /dev/null +++ b/content/posts/imported-posts/native-ruby-rar-archive-extractor.md @@ -0,0 +1,19 @@ +--- +title: Native ruby RAR +date: 2009-03-29 +draft: false +emoji: šŸ—œļø +images: +tags: + - ruby + - code + - github + - rar + - from-tumblr +--- + +[github.com](https://github.com/jphastings/unrar/) + +I’ve started coding a native Ruby library for extracting RAR archives. Its in early stages, but I’ve placed down the code for parsing the file structure, so it can extract unencrypted, ā€˜store’ level archives. + +The ultimate aim is to allow the streaming of files from archives and the progressive extraction of files from inside archives. diff --git a/content/posts/imported-posts/poi.md b/content/posts/imported-posts/poi.md new file mode 100644 index 00000000..c2b19201 --- /dev/null +++ b/content/posts/imported-posts/poi.md @@ -0,0 +1,16 @@ +--- +title: Fire poi +date: 2009-04-19 +draft: false +emoji: šŸ”„ +tags: + - time lapse + - stop-mo + - fire + - poi + - from-tumblr +--- + +{{< vimeo 4162724 >}} + +A short one, while I figure out the best ways to deal with fire long exposures. There’s a longer one in the works at the moment. diff --git a/content/posts/imported-posts/processing-and-ruby.md b/content/posts/imported-posts/processing-and-ruby.md new file mode 100644 index 00000000..660f0eb0 --- /dev/null +++ b/content/posts/imported-posts/processing-and-ruby.md @@ -0,0 +1,22 @@ +--- +title: Processing and Ruby +date: 2009-04-20 +draft: false +emoji: šŸ’Ž +tags: + - whereontheweb + - ruby + - processing + - code + - map + - geo + - from-tumblr +--- + +I got stuck into [processing](https://processing.org) this weekend - I’ve been meaning to try it out for some time, but I also found a fantastic little project called [ruby-processing](https://github.com/jashkenas/ruby-processing/wiki). Yes, its exactly what it sounds like geeks, its the visual control of the processing language, in Ruby! + +I instantly set about making a cool little toy, and I’ve got something pretty nifty almost ready for a release. Using the [carnivore](https://wiki.github.com/jashkenas/ruby-processing/r-s-g.org/carnivore/) library to watch the internet traffic going through your computer, and the fabulous free [hostip.info](https://hostip.info), I plot the global locations of the other computers your computer is talking to, in real time! + +I’m sure I’ll be tinkering with it for a while yet, but I thought I’d whet your appetites :D Watch this space! + +Massive credit to the creators of Processing and Carnivore, but particularly to _jashkenas_ for creating ruby-processing and being so prompt [helping me out](https://href.li/?http://r-s-g.org/carnivore/forum/YaBB.pl?action=dereferer;url=http://processing.org/discourse/yabb2/YaBB.pl?num=1240099712/0;anch=1) with my problems building this little ditty. You may be interested in his ruby-processing demo ā€œ[A Face for Stephen Hawking](https://href.li/?http://ashkenas.com/codework/a_face_for_stephen_hawking.html)ā€ - and to put a topical spin on this, its good to see [Dr. Hawking is in better health now](https://news.bbc.co.uk/1/hi/uk/8008767.stm). diff --git a/content/posts/imported-posts/timelapse.md b/content/posts/imported-posts/timelapse.md new file mode 100644 index 00000000..6c1b4616 --- /dev/null +++ b/content/posts/imported-posts/timelapse.md @@ -0,0 +1,12 @@ +--- +title: Timelapse video +date: 2009-03-31T23:00:00+00:00 +draft: false +emoji: šŸ“¼ +tags: + - from-tumblr +--- + +{{< vimeo 3938435 >}} + +Not perfect, but a fine start I’d say! diff --git a/content/posts/imported-posts/trash-files-in-ruby.md b/content/posts/imported-posts/trash-files-in-ruby.md new file mode 100644 index 00000000..d2b22a39 --- /dev/null +++ b/content/posts/imported-posts/trash-files-in-ruby.md @@ -0,0 +1,18 @@ +--- +title: Trash files in Ruby +date: 2009-03-25 +draft: false +emoji: šŸ—‘ļø +images: +tags: + - ruby + - code + - github + - from-tumblr +--- + +[github.com](https://github.com/jphastings/trash) + +I’ve written a ruby `File` class extension - `File.trash( filename )` - which allows you to send files to the Trash or Recycle bin (depending on your OS). + +Mac support is ready, Windows support is touch-and-go (read the [wiki](https://github.com/jphastings/trash/wiki) for more info) and its been so long since I used Linux (ahh, the [Arch](https://www.archlinux.org/) days) I can’t remember how the bins work over there. Anyone want to help? diff --git a/content/posts/imported-posts/video-snippet-ideas.md b/content/posts/imported-posts/video-snippet-ideas.md new file mode 100644 index 00000000..28196df7 --- /dev/null +++ b/content/posts/imported-posts/video-snippet-ideas.md @@ -0,0 +1,14 @@ +--- +title: Video snippet ideas +date: 2009-03-31T22:00:00+00:00 +draft: false +emoji: šŸŽ„ +tags: + - from-tumblr +--- + +I’ve set about trying to come up with some interesting ideas for some video snippets - flickr style, short and (dare I use the phrase?) ā€˜artistic’ type rather than YouTube style meme style stuff. + +Why mention this now? I’m standing on Castle Boulevard’s roundabout in Nottingham with my time lapser clicking regular shots of the midnight traffic. Now to do the maths to figure out how long I should leave it running… + +Would be cool to get one of those TI calculators that do BASIC programming so I can record clips with varying wait periods. diff --git a/content/posts/imported-posts/where-on-the-web/index.md b/content/posts/imported-posts/where-on-the-web/index.md new file mode 100644 index 00000000..16c00e03 --- /dev/null +++ b/content/posts/imported-posts/where-on-the-web/index.md @@ -0,0 +1,42 @@ +--- +title: Where on the Web +date: 2009-04-21 +draft: false +emoji: šŸŒ +tags: + - code + - geo + - gist + - github + - map + - processing + - ruby + - whereontheweb + - from-tumblr +--- + +![A terrain map of the earth over the Atlantic, showing red dots moving between the UK and other places on earth](./where-on-the-web.jpg) + +Where On The Web is aliiiiive! + +I built it, and it appears to work averagely well. You can see the code in [the gist on github](https://gist.github.com/98878) and soon there will be a mini-video online showing you how it all works. In the meanwhile, just enjoy the pretty colours :D + +I’ve uploaded a snapshot[^1] of the whole window for you to ogle at too. + +If you want to play with the code, get ruby installed and then just do: + +```sh +gem install ruby-processing +``` + +or follow [the advice here](https://github.com/jashkenas/ruby-processing/wiki/getting-started). + +Then download the code from [the gist](https://gist.github.com/98878), find an equirectangular map of the earth, call it `map.jpg` and then run: + +```sh +rp5 run whereOnTheWeb.rb +``` + +(There are more details in the gist) - Enjoy! + +[^1]: Import note: Sadly this image has been lost. diff --git a/content/posts/imported-posts/where-on-the-web/where-on-the-web.jpg b/content/posts/imported-posts/where-on-the-web/where-on-the-web.jpg new file mode 100755 index 00000000..c34f139d Binary files /dev/null and b/content/posts/imported-posts/where-on-the-web/where-on-the-web.jpg differ diff --git a/themes/hello-friend-ng/assets/scss/_main.scss b/themes/hello-friend-ng/assets/scss/_main.scss index f5c32c6b..49967b99 100644 --- a/themes/hello-friend-ng/assets/scss/_main.scss +++ b/themes/hello-friend-ng/assets/scss/_main.scss @@ -292,7 +292,7 @@ figure { } } -em, i, strong { +em, strong { // Default color: $light-color-variant; @@ -536,3 +536,7 @@ hr { .highlight { margin: 30px auto; } + +sup[id^="fnref:"] a { + text-decoration: none; +} \ No newline at end of file diff --git a/themes/hello-friend-ng/layouts/_default/list.html b/themes/hello-friend-ng/layouts/_default/list.html index 08665fe9..fdb1301d 100644 --- a/themes/hello-friend-ng/layouts/_default/list.html +++ b/themes/hello-friend-ng/layouts/_default/list.html @@ -16,7 +16,7 @@ {{ range .Pages }}
  • - {{.Title}} + {{ if .Title }}{{.Title}}{{ else }}Untitled post{{ end }} {{ if .Site.Params.dateformShort }} {{ .Date.Format .Site.Params.dateformShort }} diff --git a/themes/hello-friend-ng/layouts/partials/pagination-single.html b/themes/hello-friend-ng/layouts/partials/pagination-single.html index cee73b20..875962e4 100644 --- a/themes/hello-friend-ng/layouts/partials/pagination-single.html +++ b/themes/hello-friend-ng/layouts/partials/pagination-single.html @@ -12,7 +12,7 @@ ← - {{ .NextInSection.Title }} + {{ if .NextInSection.Title }}{{ .NextInSection.Title }}{{ else }}Untitled post{{ end }} {{ end }} @@ -20,7 +20,7 @@ {{ if .PrevInSection }} - {{ .PrevInSection.Title }} + {{ if .PrevInSection.Title }}{{ .PrevInSection.Title }}{{ else }}Untitled post{{ end }} →