summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-05-22 15:51:54 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-05-22 15:51:54 +0200
commit152448937c3b8ca8e142ca7d14c22439912415e7 (patch)
tree9fdc7dc0a6663cbca17c706b38e7ce6d226b8c81
parentb8f1c4ed75e37cbfb8bd039c6bf5624ccee7ca00 (diff)
downloadblog-152448937c3b8ca8e142ca7d14c22439912415e7.tar.gz
blog-152448937c3b8ca8e142ca7d14c22439912415e7.zip
seperate images and source code
-rw-r--r--.gitmodules12
-rw-r--r--content/post/blinkiecar.md10
-rw-r--r--content/post/internet-is-magic.md10
-rw-r--r--content/post/music-led-visualisation.md4
-rw-r--r--content/post/weather-snowman.md10
-rw-r--r--static/images/blinkiecar/.directory (renamed from static/downloads/blinkiecar/.directory)0
-rw-r--r--static/images/blinkiecar/blink-both.gif (renamed from static/downloads/blinkiecar/blink-both.gif)bin530652 -> 530652 bytes
-rw-r--r--static/images/blinkiecar/blink-right.gif (renamed from static/downloads/blinkiecar/blink-right.gif)bin476307 -> 476307 bytes
-rw-r--r--static/images/blinkiecar/finished-front.jpg (renamed from static/downloads/blinkiecar/finished-front.jpg)bin137475 -> 137475 bytes
-rw-r--r--static/images/blinkiecar/magnet.jpg (renamed from static/downloads/blinkiecar/magnet.jpg)bin143868 -> 143868 bytes
-rw-r--r--static/images/blinkiecar/wip.jpg (renamed from static/downloads/blinkiecar/wip.jpg)bin148627 -> 148627 bytes
-rw-r--r--static/images/internet-is-magic/fluttershy-glow.jpg (renamed from static/downloads/internet-is-magic/fluttershy-glow.jpg)bin143284 -> 143284 bytes
-rw-r--r--static/images/internet-is-magic/inside.jpg (renamed from static/downloads/internet-is-magic/inside.jpg)bin147261 -> 147261 bytes
-rw-r--r--static/images/internet-is-magic/night.jpg (renamed from static/downloads/internet-is-magic/night.jpg)bin147186 -> 147186 bytes
-rw-r--r--static/images/internet-is-magic/twilight-fluttershy.jpg (renamed from static/downloads/internet-is-magic/twilight-fluttershy.jpg)bin146867 -> 146867 bytes
-rw-r--r--static/images/internet-is-magic/twilight-glow.jpg (renamed from static/downloads/internet-is-magic/twilight-glow.jpg)bin145716 -> 145716 bytes
-rw-r--r--static/images/music-led/controller-failed.jpg (renamed from static/downloads/music-led/controller-failed.jpg)bin135217 -> 135217 bytes
-rw-r--r--static/images/music-led/led-floor.jpg (renamed from static/downloads/music-led/led-floor.jpg)bin136024 -> 136024 bytes
-rw-r--r--static/images/weather-snowman/.directory (renamed from static/downloads/weather-snowman/.directory)0
-rw-r--r--static/images/weather-snowman/leds-esp.jpg (renamed from static/downloads/weather-snowman/leds-esp.jpg)bin143874 -> 143874 bytes
-rw-r--r--static/images/weather-snowman/leds.jpg (renamed from static/downloads/weather-snowman/leds.jpg)bin144599 -> 144599 bytes
-rw-r--r--static/images/weather-snowman/snowman-blink.jpg (renamed from static/downloads/weather-snowman/snowman-blink.jpg)bin145425 -> 145425 bytes
-rw-r--r--static/images/weather-snowman/snowman-glowblue.jpg (renamed from static/downloads/weather-snowman/snowman-glowblue.jpg)bin146120 -> 146120 bytes
-rw-r--r--static/images/weather-snowman/snowman-glowbluered.jpg (renamed from static/downloads/weather-snowman/snowman-glowbluered.jpg)bin147685 -> 147685 bytes
m---------static/source/internet-is-magic (renamed from static/downloads/internet-is-magic/source)0
m---------static/source/mpd-rgb-vis (renamed from static/downloads/music-led/source)0
m---------static/source/weather-snowman (renamed from static/downloads/weather-snowman/source)0
27 files changed, 23 insertions, 23 deletions
diff --git a/.gitmodules b/.gitmodules
index a18a4ca..b2d4ae7 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,9 +1,9 @@
-[submodule "static/downloads/internet-is-magic/source"]
- path = static/downloads/internet-is-magic/source
+[submodule "static/source/internet-is-magic"]
+ path = static/source/internet-is-magic
url = git://schneefux.xyz/internet-is-magic
-[submodule "static/downloads/music-led/source"]
- path = static/downloads/music-led/source
+[submodule "static/source/music-led"]
+ path = static/source/mpd-rgb-vis
url = git://schneefux.xyz/mpd-rgb-vis
-[submodule "static/downloads/weather-snowman/source"]
- path = static/downloads/weather-snowman/source
+[submodule "static/source/weather-snowman"]
+ path = static/source/weather-snowman
url = git://schneefux.xyz/weather-snowman
diff --git a/content/post/blinkiecar.md b/content/post/blinkiecar.md
index 9ee461a..c0a88d4 100644
--- a/content/post/blinkiecar.md
+++ b/content/post/blinkiecar.md
@@ -7,13 +7,13 @@ title: Blinkiecar - 3D printed car with turn signals
With some support from a friend with a 3D printer, I successfully built a magnetic car with working turning lights.
-![car front view](/downloads/blinkiecar/finished-front.jpg")
+![car front view](/images/blinkiecar/finished-front.jpg")
_Right, it's a present._
The car was printed in two pieces, the top and the bottom part. My friend downloaded the model from somewhere, I repaired it with [netfabb](http://www.netfabb.com/) (didn't like their software due to an annoying startup dialog and paid features), cut it with [slic3r](http://slic3r.org) (this program looked better) and gave him the [repetier](http://www.repetier.com/)-converted model back.
-![car without top part](/downloads/blinkiecar/wip.jpg)
+![car without top part](/images/blinkiecar/wip.jpg)
_This is how it looks on the inside._
@@ -21,16 +21,16 @@ Inside the car is a 3.3V coin cell battery, which is connected to two switches a
A strong magnet from an old hard drive is glued below the car so you can stick it onto a magnetic board.
-![magnet below car](/downloads/blinkiecar/magnet.jpg)
+![magnet below car](/images/blinkiecar/magnet.jpg)
_The magnet also covers the circuit a bit._
The blink LEDs are not in sync for some reason, but that did not matter as they still function as turning lights.
-![both leds blinking](/downloads/blinkiecar/blink-both.gif)
+![both leds blinking](/images/blinkiecar/blink-both.gif)
_You can still try to use them as warning lights, but that's not reliable._
-![front right led blinking](/downloads/blinkiecar/blink-right.gif)
+![front right led blinking](/images/blinkiecar/blink-right.gif)
Next time, I should think of another solution for power - with this setup, you cannot swap the battery and the LEDs are quite dark.
diff --git a/content/post/internet-is-magic.md b/content/post/internet-is-magic.md
index e33c4a2..1d21027 100644
--- a/content/post/internet-is-magic.md
+++ b/content/post/internet-is-magic.md
@@ -9,7 +9,7 @@ aliases:
Friendship is magic! I like the My Little Pony series, and two of my best friends, knowing that, surprised me with self-made versions of Twilight and Fluttershy at my birthday.
-![Twilight and Fluttershy](/downloads/internet-is-magic/twilight-fluttershy.jpg)
+![Twilight and Fluttershy](/images/internet-is-magic/twilight-fluttershy.jpg)
_Aren't they adorable?_
@@ -19,13 +19,13 @@ That was kind of unexciting after a while. Luckily, I had an [ESP8266](https://e
Awesome! Let's connect the ponies to the world wide web.
-![Inside view](/downloads/internet-is-magic/inside.jpg)
+![Inside view](/images/internet-is-magic/inside.jpg)
_Not much to see here_
I wrote a quick-and-dirty Arduino sketch, [uploaded it]({% post_url 2015-10-14-esp8266%}) and was able to control the LEDs via netcat. You can find the sketch [here](https://git.schneefux.xyz/?p=internet-is-magic;a=blob;f=luminate.ino;hb=HEAD).
-![Twilight glows](/downloads/internet-is-magic/twilight-glow.jpg)
+![Twilight glows](/images/internet-is-magic/twilight-glow.jpg)
_The cables in the background supply power._
@@ -35,8 +35,8 @@ I installed the [telegram-cli](https://github.com/vysheng/tg) client on my [Rasp
So whenever my friends are online, their corresponding pony starts to glow.
-![Fluttershy glows](/downloads/internet-is-magic/fluttershy-glow.jpg)
-![Twilight and Fluttershy glowing in the dark](/downloads/internet-is-magic/night.jpg)
+![Fluttershy glows](/images/internet-is-magic/fluttershy-glow.jpg)
+![Twilight and Fluttershy glowing in the dark](/images/internet-is-magic/night.jpg)
_When they light up at night, you can feel the magic._
diff --git a/content/post/music-led-visualisation.md b/content/post/music-led-visualisation.md
index 4bfbb04..f7d5c12 100644
--- a/content/post/music-led-visualisation.md
+++ b/content/post/music-led-visualisation.md
@@ -7,7 +7,7 @@ title: Visualize music with MPD and an LED strip
With Arduinos, 5050 RGB LED strips, Hyperion and MPD on a Raspberry Pi I created a low cost party lightning environment.
-![First test results](/downloads/music-led/led-floor.jpg)
+![First test results](/images/music-led/led-floor.jpg)
_First tests show that the setup seems to work._
@@ -20,6 +20,6 @@ The Raspberry Pi as server runs [Hyperion](https://github.com/tvdzwan/hyperion)
Initially, I planned using an ESP8266 instead of the Arduino. I had not the right parts to step down 12V to 3.3V and tried to hack something together with LEDs and a 7V-3.3V-stepdown converter.
Well… that didn't work out quite well. I used Arduino Unos instead.
-![Failed attempt of connecting an ESP8266](/downloads/music-led/controller-failed.jpg)
+![Failed attempt of connecting an ESP8266](/images/music-led/controller-failed.jpg)
_Do not reproduce, this fries the ESP…_
diff --git a/content/post/weather-snowman.md b/content/post/weather-snowman.md
index a5c8ec5..c55edcb 100644
--- a/content/post/weather-snowman.md
+++ b/content/post/weather-snowman.md
@@ -9,7 +9,7 @@ It's christmas time! As a kind of pre-christmas gift, I built an Internet of Thi
Like in [my last project]({{< ref "internet-is-magic.md" >}}), I used an ESP8266 again, some LEDs and an old acrylic snowman that I cut open.
-![blue glowing snowman](/downloads/weather-snowman/snowman-glowblue.jpg)
+![blue glowing snowman](/images/weather-snowman/snowman-glowblue.jpg)
_The electronics were cheaper than the snowman._
@@ -17,11 +17,11 @@ Inside the snowman was a fading RGB led, a switch and batteries. Boring!
I replaced it with the ESP8266, which had 3 LEDs attached to it (red, green, blue). Via a USB cable and a voltage converter, I powered it:
-![inside setup](/downloads/weather-snowman/leds.jpg)
+![inside setup](/images/weather-snowman/leds.jpg)
_Luckily, you don't see how messy it really becomes once you put all this in that tiny snowman…_
-![inside setup, top view](/downloads/weather-snowman/leds-esp.jpg)
+![inside setup, top view](/images/weather-snowman/leds-esp.jpg)
Coding took a while.
@@ -31,8 +31,8 @@ Depending on the forecast, the blue and red LEDs glow in different patterns. If
If you inspect [the source code](https://git.schneefux.xyz/?p=weather-snowman;a=tree), you'll see that there also is an Android app. The app simplifies the setup and runs a background service that makes your snowman's green LED flash on new notifications.
-![new notification snowman](/downloads/weather-snowman/snowman-blink.jpg)
+![new notification snowman](/images/weather-snowman/snowman-blink.jpg)
_Gotta check my mails._
-![blue and red glowing snowman](/downloads/weather-snowman/snowman-glowbluered.jpg)
+![blue and red glowing snowman](/images/weather-snowman/snowman-glowbluered.jpg)
diff --git a/static/downloads/blinkiecar/.directory b/static/images/blinkiecar/.directory
index 288ebfd..288ebfd 100644
--- a/static/downloads/blinkiecar/.directory
+++ b/static/images/blinkiecar/.directory
diff --git a/static/downloads/blinkiecar/blink-both.gif b/static/images/blinkiecar/blink-both.gif
index 195a8df..195a8df 100644
--- a/static/downloads/blinkiecar/blink-both.gif
+++ b/static/images/blinkiecar/blink-both.gif
Binary files differ
diff --git a/static/downloads/blinkiecar/blink-right.gif b/static/images/blinkiecar/blink-right.gif
index cb1b915..cb1b915 100644
--- a/static/downloads/blinkiecar/blink-right.gif
+++ b/static/images/blinkiecar/blink-right.gif
Binary files differ
diff --git a/static/downloads/blinkiecar/finished-front.jpg b/static/images/blinkiecar/finished-front.jpg
index 61ae638..61ae638 100644
--- a/static/downloads/blinkiecar/finished-front.jpg
+++ b/static/images/blinkiecar/finished-front.jpg
Binary files differ
diff --git a/static/downloads/blinkiecar/magnet.jpg b/static/images/blinkiecar/magnet.jpg
index b1cbe31..b1cbe31 100644
--- a/static/downloads/blinkiecar/magnet.jpg
+++ b/static/images/blinkiecar/magnet.jpg
Binary files differ
diff --git a/static/downloads/blinkiecar/wip.jpg b/static/images/blinkiecar/wip.jpg
index b6a0485..b6a0485 100644
--- a/static/downloads/blinkiecar/wip.jpg
+++ b/static/images/blinkiecar/wip.jpg
Binary files differ
diff --git a/static/downloads/internet-is-magic/fluttershy-glow.jpg b/static/images/internet-is-magic/fluttershy-glow.jpg
index 8853a8c..8853a8c 100644
--- a/static/downloads/internet-is-magic/fluttershy-glow.jpg
+++ b/static/images/internet-is-magic/fluttershy-glow.jpg
Binary files differ
diff --git a/static/downloads/internet-is-magic/inside.jpg b/static/images/internet-is-magic/inside.jpg
index 01b4b19..01b4b19 100644
--- a/static/downloads/internet-is-magic/inside.jpg
+++ b/static/images/internet-is-magic/inside.jpg
Binary files differ
diff --git a/static/downloads/internet-is-magic/night.jpg b/static/images/internet-is-magic/night.jpg
index f6b1e69..f6b1e69 100644
--- a/static/downloads/internet-is-magic/night.jpg
+++ b/static/images/internet-is-magic/night.jpg
Binary files differ
diff --git a/static/downloads/internet-is-magic/twilight-fluttershy.jpg b/static/images/internet-is-magic/twilight-fluttershy.jpg
index c21c265..c21c265 100644
--- a/static/downloads/internet-is-magic/twilight-fluttershy.jpg
+++ b/static/images/internet-is-magic/twilight-fluttershy.jpg
Binary files differ
diff --git a/static/downloads/internet-is-magic/twilight-glow.jpg b/static/images/internet-is-magic/twilight-glow.jpg
index f23e183..f23e183 100644
--- a/static/downloads/internet-is-magic/twilight-glow.jpg
+++ b/static/images/internet-is-magic/twilight-glow.jpg
Binary files differ
diff --git a/static/downloads/music-led/controller-failed.jpg b/static/images/music-led/controller-failed.jpg
index 86701b6..86701b6 100644
--- a/static/downloads/music-led/controller-failed.jpg
+++ b/static/images/music-led/controller-failed.jpg
Binary files differ
diff --git a/static/downloads/music-led/led-floor.jpg b/static/images/music-led/led-floor.jpg
index 0d4cb70..0d4cb70 100644
--- a/static/downloads/music-led/led-floor.jpg
+++ b/static/images/music-led/led-floor.jpg
Binary files differ
diff --git a/static/downloads/weather-snowman/.directory b/static/images/weather-snowman/.directory
index 55996e1..55996e1 100644
--- a/static/downloads/weather-snowman/.directory
+++ b/static/images/weather-snowman/.directory
diff --git a/static/downloads/weather-snowman/leds-esp.jpg b/static/images/weather-snowman/leds-esp.jpg
index 266dbc3..266dbc3 100644
--- a/static/downloads/weather-snowman/leds-esp.jpg
+++ b/static/images/weather-snowman/leds-esp.jpg
Binary files differ
diff --git a/static/downloads/weather-snowman/leds.jpg b/static/images/weather-snowman/leds.jpg
index 22efac5..22efac5 100644
--- a/static/downloads/weather-snowman/leds.jpg
+++ b/static/images/weather-snowman/leds.jpg
Binary files differ
diff --git a/static/downloads/weather-snowman/snowman-blink.jpg b/static/images/weather-snowman/snowman-blink.jpg
index 61c5004..61c5004 100644
--- a/static/downloads/weather-snowman/snowman-blink.jpg
+++ b/static/images/weather-snowman/snowman-blink.jpg
Binary files differ
diff --git a/static/downloads/weather-snowman/snowman-glowblue.jpg b/static/images/weather-snowman/snowman-glowblue.jpg
index 6ed703d..6ed703d 100644
--- a/static/downloads/weather-snowman/snowman-glowblue.jpg
+++ b/static/images/weather-snowman/snowman-glowblue.jpg
Binary files differ
diff --git a/static/downloads/weather-snowman/snowman-glowbluered.jpg b/static/images/weather-snowman/snowman-glowbluered.jpg
index b2e99d8..b2e99d8 100644
--- a/static/downloads/weather-snowman/snowman-glowbluered.jpg
+++ b/static/images/weather-snowman/snowman-glowbluered.jpg
Binary files differ
diff --git a/static/downloads/internet-is-magic/source b/static/source/internet-is-magic
-Subproject f9a44a45f6d294fa002eac5794138e143609e94
+Subproject f9a44a45f6d294fa002eac5794138e143609e94
diff --git a/static/downloads/music-led/source b/static/source/mpd-rgb-vis
-Subproject 2ffb9ee51a868dde252a08b2989b73948696dbd
+Subproject 2ffb9ee51a868dde252a08b2989b73948696dbd
diff --git a/static/downloads/weather-snowman/source b/static/source/weather-snowman
-Subproject 8260a2ac02123c3212302da257707e5a3a3e118
+Subproject 8260a2ac02123c3212302da257707e5a3a3e118