From 984ad9ef2e035bf8e257fc8293b917547a67a68f Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 11 Sep 2017 14:20:15 +0200 Subject: [PATCH] Redesign and improvements --- .gitlab-ci.yml | 4 +- config.toml | 4 +- .../posts/2006-10-09-welcome-to-ariejannet.md | 1 + ...06-10-10-easily-create-a-favicon-online.md | 1 + ...10-10-generate-a-sqlite-based-rails-app.md | 1 + ...10-10-hi-res-wallpapers-for-you-macbook.md | 1 + .../2006-10-10-top-5-dvds-you-must-have.md | 17 +- ...cant-click-em-but-you-want-to-know-more.md | 12 - .../posts/2006-10-13-having-fun-with-spam.md | 5 +- ...6-10-13-migrate-sqlite3-to-mysql-easily.md | 1 + .../2006-10-13-tagging-in-ajax_scaffold.md | 1 + .../2006-10-13-torrents-for-your-ipod.md | 14 - .../posts/2006-10-17-happy-birthday-to-me.md | 11 - ...006-10-23-ruby-on-rails-for-php-cakephp.md | 1 + ...-29-do-your-ads-pay-your-blogging-bills.md | 1 + .../2006-10-30-adsense-resource-inventory.md | 3 +- .../2006-10-30-cheat-sheets-look-here.md | 1 + .../2006-10-30-confused-about-css-columns.md | 1 + .../2006-10-30-how-does-your-site-look-on.md | 1 + ...-10-31-wordpressmu-dont-allow-new-blogs.md | 1 + .../2006-11-13-cups-426-upgrade-required.md | 1 + ...buntu-610-live-dvd-on-the-apple-macbook.md | 1 + ...se-tool-deploy-you-google-cse-with-ease.md | 1 + .../posts/2006-11-21-cse-tool-110-released.md | 1 + ...21-svn-how-to-release-software-properly.md | 1 + ...-project-hosting-sourceforge-competitor.md | 1 + ...2006-11-22-svn-how-to-fix-bugs-properly.md | 1 + ...2-wordpress-author-comment-highlighting.md | 1 + ...24-svn-how-to-structure-your-repository.md | 1 + ...he-three-corner-stones-of-developerhood.md | 1 + .../2006-11-30-rails-security-check-up.md | 1 + ...etup-a-ubuntu-development-server-part-1.md | 1 + ...etup-a-ubuntu-development-server-part-2.md | 1 + ...-installing-rails-on-ubuntu-dapper-edgy.md | 1 + ...nstall-ruby-mysql-on-mac-os-x-104-tiger.md | 1 + ...-12-11-announcing-subversion-kick-start.md | 18 - ...-current-svn-revision-in-your-rails-app.md | 1 + ...6-12-20-svn-how-often-should-you-commit.md | 1 + ...2-20-svn-merge-a-branch-with-your-trunk.md | 2 +- ...materails-easy-partials-for-better-code.md | 1 + ...ls-group-results-by-week-using-group_by.md | 1 + ...1-19-print-this-page-with-ruby-on-rails.md | 1 + ...y-rocks-convince-your-fellow-developers.md | 1 + ...ew-in-rails-resource-scaffold-generator.md | 1 + ...07-01-23-rails-nested-resource-scaffold.md | 1 + ...-updates-wordpress-21-themes-and-social.md | 1 + ...ort-an-array-of-objects-by-an-attribute.md | 13 +- .../posts/2007-02-09-my-photos-on-flickr.md | 26 -- content/posts/2007-02-17-goals-in-the-park.md | 26 -- .../2007-02-23-subversion-cheat-sheet-10.md | 1 + ...007-02-26-4-unusual-uses-for-subversion.md | 1 + ...03-06-subversion-cheat-sheet-update-101.md | 1 + ...07-03-07-wordpress-plugin-autoflickr-10.md | 1 + ...at-ways-to-use-google-for-your-start-up.md | 1 + ...-figures-with-google-adsense-in-10-days.md | 2 +- ...-21-26-things-you-can-do-with-an-old-pc.md | 14 +- ...ging-informational-messages-to-your-log.md | 1 + ...tive-37-things-you-can-do-on-the-toilet.md | 1 + ...5-speedlinking-top-28-startup-resources.md | 3 + ...ip-snippet-create-a-comma-seperate-list.md | 3 + ...on-how-to-revert-to-a-previous-revision.md | 2 + ...-reasons-why-pc-oems-should-offer-linux.md | 1 + ...7-04-02-what-do-you-want-for-autoflickr.md | 1 + ...2007-04-03-tipsnippet-create-a-rss-feed.md | 1 + ...07-04-12-rails-resources-and-permalinks.md | 1 + .../2007-04-29-ariejannet-server-move.md | 1 + ...ppet-write-like-orwell-with-to_sentence.md | 22 +- ...007-05-18-feedburner-acquired-by-google.md | 1 + ...5-21-merge-request-failed-on-pathtofile.md | 3 + content/posts/2007-05-28-bat-ter-y.md | 2 +- ...lling-rmagick-ruby-gem-on-mac-os-x-1049.md | 1 + ...007-05-29-slow-connections-with-proftpd.md | 6 +- ...ebadmin-plugin-and-global-configuration.md | 1 + ...ming-up-ubuntu-development-server-guide.md | 1 + ...-10-find-and-replace-with-a-mysql-query.md | 1 + ...6-10-send-mail-with-a-bash-shell-script.md | 7 +- ...7-06-10-ultimate-list-of-ruby-resources.md | 1 + ...vescaffold-acts_as_taggable_on_steroids.md | 1 + ...-12-bash-your-svn-and-trac-installation.md | 1 + ...7-06-14-buy-it-now-mac-os-x-105-leopard.md | 1 + ...07-06-19-geslaagd-passed-my-final-exams.md | 12 +- ...ailer-all-mail-comes-from-mailer-daemon.md | 1 + ...er-setup-and-deployment-on-ubuntudebian.md | 1 + ...cript-solutions-for-professional-coding.md | 1 + ...scaffold-acts_as_taggable-auto-complete.md | 1 + ...ownloaded-as-a-file-from-your-rails-app.md | 1 + content/posts/2007-07-03-got-updates.md | 1 + ...reate-and-apply-a-patch-with-subversion.md | 1 + ...-04-how-to-resolve-subversion-conflicts.md | 1 + ...to-write-a-rails-plugin-for-controllers.md | 1 + ...07-06-some-dns-problems-with-ariejannet.md | 1 + ...07-07-07-clear-dns-cache-on-your-router.md | 1 + .../posts/2007-07-16-ariejannet-whats-next.md | 1 + content/posts/2007-08-01-im-back.md | 1 + .../posts/2007-08-20-im-back-in-business.md | 1 + ...-kabisa-railsconf-europe-and-ariejannet.md | 1 + ...conv-to-convert-utf-8-to-ascii-on-linux.md | 1 + ...ple-authentication-plugin-and-generator.md | 1 + ...2007-08-27-blueprintcss-rails-generator.md | 1 + ...8-31-blueprint-05-rails-plugin-released.md | 1 + ...nd-making-sure-something-gets-displayed.md | 8 +- ...-10-reasons-not-to-use-google-apps-suck.md | 1 + .../posts/2007-09-17-railsconf-europe-2007.md | 1 + .../posts/2007-09-24-rails-20-new-features.md | 1 + ...24-whooop-here-it-is-the-new-ariejannet.md | 1 + ...-25-the-glorious-canon-eos-400d-digital.md | 1 + .../posts/2007-09-25-wordpress-23-released.md | 1 + ...9-26-flash-not-clearing-after-a-request.md | 1 + .../2007-10-08-google-increases-storage.md | 1 + content/posts/2007-10-17-party-time.md | 1 + ...-it-number-of-messages-in-postfix-queue.md | 1 + ...l-ruby-on-rails-jobs-in-the-netherlands.md | 1 + ...set-the-auto-increment-value-of-a-table.md | 1 + ...7-12-06-rails-calculated-column-caching.md | 1 + ...-jij-mijn-collega-zijn-kabisa-is-hiring.md | 1 + ...12-how-to-install-mysql-on-ubuntudebian.md | 1 + ...7-natively-on-mac-os-x-leopard-or-tiger.md | 1 + ...or-you-merry-christmas-and-a-happy-2008.md | 1 + ...rite-a-dvd-video-from-the-linux-console.md | 1 + ...onvert-wma-to-mp3-using-ffmpeg-and-ruby.md | 1 + ...ister-100-atx-bench-power-supply-part-1.md | 1 + ...ister-100-atx-bench-power-supply-part-2.md | 1 + .../2016-01-07-denon-pma560-repair-log.md | 1 + ...16-01-12-denon-pma560-repair-log-update.md | 1 + .../2016-01-21-marantz-sr5200-repair-log.md | 1 + .../2016-04-10-denon-pma-720a-repair-log.md | 1 + .../2016-10-09-marantz-pm80-mk2-repair-log.md | 1 + layouts/_default/list.html | 25 +- layouts/_default/single.html | 40 +-- layouts/index.html | 20 +- layouts/partials/footer.html | 10 + layouts/partials/header.html | 39 +-- static/css/outerspace.css | 314 ------------------ static/css/style.css | 296 +++++++++++++++++ 134 files changed, 554 insertions(+), 531 deletions(-) delete mode 100644 content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md delete mode 100644 content/posts/2006-10-13-torrents-for-your-ipod.md delete mode 100644 content/posts/2006-10-17-happy-birthday-to-me.md delete mode 100644 content/posts/2006-12-11-announcing-subversion-kick-start.md delete mode 100644 content/posts/2007-02-09-my-photos-on-flickr.md delete mode 100644 content/posts/2007-02-17-goals-in-the-park.md delete mode 100644 static/css/outerspace.css create mode 100644 static/css/style.css diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb680ee..884b2d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,8 +20,8 @@ pages: - hugo # Compress CSS - - yui-compressor public/css/outerspace.css -o public/css/outerspace-min.css - - mv -f public/css/outerspace-min.css public/css/outerspace.css + - yui-compressor public/css/style.css -o public/css/style-min.css + - mv -f public/css/style-min.css public/css/style.css # Deploy - rsync -az4 --stats --delete-after public/* ariejan@mail.devroom.io:/home/ariejan/www/devroom.io/ diff --git a/config.toml b/config.toml index 5b6ac91..b3b3743 100644 --- a/config.toml +++ b/config.toml @@ -5,7 +5,7 @@ copyright = "Ariejan de Vroom" PygmentsCodeFences = true pygmentsuseclasses = false -pygmentsstyle = "pastie" +pygmentsstyle = "monokai" [author] name = "Ariejan de Vroom" @@ -13,3 +13,5 @@ pygmentsstyle = "pastie" [permalinks] posts = "/:year/:month/:day/:slug/" +[taxonomies] + category = "categories" \ No newline at end of file diff --git a/content/posts/2006-10-09-welcome-to-ariejannet.md b/content/posts/2006-10-09-welcome-to-ariejannet.md index 61b9c3e..885a09d 100644 --- a/content/posts/2006-10-09-welcome-to-ariejannet.md +++ b/content/posts/2006-10-09-welcome-to-ariejannet.md @@ -3,6 +3,7 @@ date = "2006-10-09" title = "Welcome to Ariejan.net" tags = ["General", "Everything", "Wordpress", "Ariejan.net", "Blog"] slug = "welcome-to-ariejannet" +description = "A warm welcome to you, visitor" +++ Well, it has happened to me. Although I make regular backups of my site, this time I was screwed! diff --git a/content/posts/2006-10-10-easily-create-a-favicon-online.md b/content/posts/2006-10-10-easily-create-a-favicon-online.md index 87b61ee..4fe9f83 100644 --- a/content/posts/2006-10-10-easily-create-a-favicon-online.md +++ b/content/posts/2006-10-10-easily-create-a-favicon-online.md @@ -3,6 +3,7 @@ date = "2006-10-10" title = "Easily create a FavIcon online!" tags = ["General", "Everything", "Blog", "Web Development", "Links", "Personal"] slug = "easily-create-a-favicon-online" +description = "How to use online services to generate your favicon." +++ You know those little icons you see in your browsers address bar? Yes, the ones in you bookmarks! Well, you want such an icon for your site? diff --git a/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md b/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md index c3f9e66..5d99b5d 100644 --- a/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md +++ b/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md @@ -3,6 +3,7 @@ date = "2006-10-10" title = "Generate a SQlite-based Rails app" tags = ["General", "Everything", "RubyOnRails", "Databases", "SQlite", "Features"] slug = "generate-a-sqlite-based-rails-app" +description = "How to generate a Rails app using sqlite." +++ When you create a Rails application a database.yml files is included with some default configuration for your database. Unfortunately these are defaults for MySQL. If you want to use another database, like SQlite, you'd have to rewrite the entire configuration file. And that's not what you want! diff --git a/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md b/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md index d3175fc..a91f1f1 100644 --- a/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md +++ b/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md @@ -3,6 +3,7 @@ date = "2006-10-10" title = "Hi-Res Wallpapers for your MacBook!" tags = ["General", "Everything", "Blog", "Links", "Eye Candy", "MacBook", "Professional"] slug = "hi-res-wallpapers-for-you-macbook" +description = "Wallpapers Galore!" +++ For all of you who have a flashy Apple MacBook (or any other device with a 1280x800 resolution) here's a nice site with lot's of hi-res wallpapers. Of course, they're all for free! diff --git a/content/posts/2006-10-10-top-5-dvds-you-must-have.md b/content/posts/2006-10-10-top-5-dvds-you-must-have.md index 783677d..30dd8e3 100644 --- a/content/posts/2006-10-10-top-5-dvds-you-must-have.md +++ b/content/posts/2006-10-10-top-5-dvds-you-must-have.md @@ -1,9 +1,10 @@ -+++ -date = "2006-10-10" -title = "Top 5 DVDs you must have" -tags = ["General", "Everything", "Blog", "Lists", "Movies", "DVD", "Coding"] -slug = "top-5-dvds-you-must-have" -+++ ++++ +date = "2006-10-10" +title = "Top 5 DVDs you must have" +tags = ["General", "Everything", "Blog", "Lists", "Movies", "DVD", "Coding"] +slug = "top-5-dvds-you-must-have" +description = "Top 5 DVDs I love watching - 2006 edition." ++++ Everybody at this point in time at least owns one or more DVD - Digital Versatile Disk - Videos. Some people try to collect as many DVD's as possible, others just buy the ones they like (or can afford). I'm not sure how many DVD's I have at this time, but there are quite a few DVD's that you just have to have in your collection. @@ -47,5 +48,5 @@ If I have to tell you what Star Wars is about, you should not be allowed to have Part one is really the best movie of all three. It's based on the original novel by Mario Puzo. However, parts two and three really complement the whole story and that's what makes this such a great trilogy. -There are some very nice Trilogy DVD Boxes available. If you say you like movies, you cannot be taken seriously unless you have this trilogy in your collection. - +There are some very nice Trilogy DVD Boxes available. If you say you like movies, you cannot be taken seriously unless you have this trilogy in your collection. + diff --git a/content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md b/content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md deleted file mode 100644 index 5481400..0000000 --- a/content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -date = "2006-10-13" -title = "Google Ads: Can’t click ‘em, but you want to know more!" -tags = ["General", "Everything", "Blog", "Google", "AdSense", "Discussion"] -slug = "google-ads-cant-click-em-but-you-want-to-know-more" -+++ - -Do you have Google Ads on your site? You know you are not allowed to click 'em, because that's fraude. But what do you do when you see an ad on your site that really grabs your attention? Just google? Enter the URL manually? Or are you the kind of person that clicks that ad anyway. - -What would you do? Please let me know. - - diff --git a/content/posts/2006-10-13-having-fun-with-spam.md b/content/posts/2006-10-13-having-fun-with-spam.md index 87b0322..11a6971 100644 --- a/content/posts/2006-10-13-having-fun-with-spam.md +++ b/content/posts/2006-10-13-having-fun-with-spam.md @@ -3,6 +3,7 @@ date = "2006-10-13" title = "Having fun with SPAM!" tags = ["General", "Everything", "Blog", "Fun"] slug = "having-fun-with-spam" +description = "" +++ I was just wading through my SPAM at Gmail to see if it flagged anything important. Then I came across this message: @@ -15,6 +16,4 @@ We will get your website (www.gmail.com) to the top positions on all major searc Use our great value offer: We will submit your website (www.gmail.com) to 890 Search Engines, including Google, Yahoo and MSN. -Just keep an eye out for funny SPAM mails. Feel free to let me know if you ever read a funny or really stupid SPAM message. - - +Just keep an eye out for funny SPAM mails. Feel free to let me know if you ever read a funny or really stupid SPAM message. \ No newline at end of file diff --git a/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md b/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md index 5b6e52f..2a091fc 100644 --- a/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md +++ b/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md @@ -3,6 +3,7 @@ date = "2006-10-13" title = "Migrate SQLite3 to MySQL easily" tags = ["General", "Everything", "RubyOnRails", "Databases", "Features"] slug = "migrate-sqlite3-to-mysql-easily" +description = "Migrate your Sqlite3 database to MySQL the easy way" +++ I've been using a simple Rails application locally with a SQlite 3 database for some time. Now I want to move to another host and use MySQL instead. But guess what? You can't just migrate your data! diff --git a/content/posts/2006-10-13-tagging-in-ajax_scaffold.md b/content/posts/2006-10-13-tagging-in-ajax_scaffold.md index 4cba283..9577425 100644 --- a/content/posts/2006-10-13-tagging-in-ajax_scaffold.md +++ b/content/posts/2006-10-13-tagging-in-ajax_scaffold.md @@ -3,6 +3,7 @@ date = "2006-10-13" title = "Tagging in ajax_scaffold" tags = ["General", "Everything", "Web Development", "RubyOnRails", "Features"] slug = "tagging-in-ajax_scaffold" +description = "How to add tagging to your AJAX Scaffolds in Rails." +++ I've been using the Ajax Scaffold for quite some time now. It's a great piece of software by Mr. Richard White for Ruby on Rails. It seems that the plugin version of AS is getting quite a bit more attention than the generator. I started out with the generator but quickly reverted to the plugin since it's way more flexible and easier to use. diff --git a/content/posts/2006-10-13-torrents-for-your-ipod.md b/content/posts/2006-10-13-torrents-for-your-ipod.md deleted file mode 100644 index 2782ff0..0000000 --- a/content/posts/2006-10-13-torrents-for-your-ipod.md +++ /dev/null @@ -1,14 +0,0 @@ -+++ -date = "2006-10-13" -title = "Torrents for your iPod!" -tags = ["General", "Everything", "Blog", "Links", "Apple", "iPod"] -slug = "torrents-for-your-ipod" -+++ - -I normally wouldn't promote torrent sites here, but when I came across Podtropolis I was amazed! - -This site features a lot of (video) iPod specific stuff like music videos, TV Shows and even full length movies. - -Of course, don't download any of the stuff! Buy it if you want it. - - diff --git a/content/posts/2006-10-17-happy-birthday-to-me.md b/content/posts/2006-10-17-happy-birthday-to-me.md deleted file mode 100644 index 3d7f6b7..0000000 --- a/content/posts/2006-10-17-happy-birthday-to-me.md +++ /dev/null @@ -1,11 +0,0 @@ -+++ -date = "2006-10-17" -title = "Happy birthday to me!" -tags = ["General", "Everything", "Ariejan.net", "Blog"] -slug = "happy-birthday-to-me" -+++ - -Today I'm turning 26. Yes, call me an old fart, but I still feel like 25! - -Anyway, I'm off celebrating with my friends. - diff --git a/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md b/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md index 579deac..9f2cc13 100644 --- a/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md +++ b/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md @@ -3,6 +3,7 @@ date = "2006-10-23" title = "Ruby On Rails for PHP: CakePHP" tags = ["General", "Everything", "Blog", "Web Development", "RubyOnRails", "CakePHP"] slug = "ruby-on-rails-for-php-cakephp" +description = "Doing PHP but still want that Ruby on Rails goodness? Try CakePHP!" +++ The framework has been around for some time, but I found out about it a few days ago: CakePHP. diff --git a/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md b/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md index dd85c87..78102ab 100644 --- a/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md +++ b/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md @@ -3,6 +3,7 @@ date = "2006-10-29" title = "Do your ads pay your (blogging) bills?" tags = ["General", "Everything", "Blog", "AdSense"] slug = "do-your-ads-pay-your-blogging-bills" +description = "Well, do they?" +++ I've read many articles on earning money with Google's AdSense. Some guru's claim to recieve five figure checks from Google every month. diff --git a/content/posts/2006-10-30-adsense-resource-inventory.md b/content/posts/2006-10-30-adsense-resource-inventory.md index cd3419f..a06d5a7 100644 --- a/content/posts/2006-10-30-adsense-resource-inventory.md +++ b/content/posts/2006-10-30-adsense-resource-inventory.md @@ -3,6 +3,7 @@ date = "2006-10-30" title = "Adsense Resource Inventory" tags = ["General", "Everything", "Blog", "Links", "AdSense"] slug = "adsense-resource-inventory" +description = "Advertize with ariejan.net today!" +++ In addition to my previous post I have gathered some popular resources from around the web that talk about making money off Google Adsense. I hope this sums up all you need to start making money yourself. @@ -20,7 +21,7 @@ There are three things you need in order to make money off your site or blog. This post is about the last part, Ads. I'll talk about getting visitors and creating content in a later post, so stay tuned! -~ + So, how to get those ads setup right so you generate the most revenue possible. It's not as easy as it sounds and mostly it's a trial-and-error process. But, there are some general guidelines that will help you get started. I highly recommend you do NOT buy any software that claims to track Google Ads or create content or sites for you! If you need to track your ads, use Google Analytics, it's free. Content and site generators give you the same site and same content as others. Google knows all and they don't like copy-cats whos only goal is to make money. diff --git a/content/posts/2006-10-30-cheat-sheets-look-here.md b/content/posts/2006-10-30-cheat-sheets-look-here.md index 0b950e2..7439c8a 100644 --- a/content/posts/2006-10-30-cheat-sheets-look-here.md +++ b/content/posts/2006-10-30-cheat-sheets-look-here.md @@ -3,6 +3,7 @@ date = "2006-10-30" title = "Cheat sheets? Look here!" tags = ["General", "Everything", "Blog", "Links"] slug = "cheat-sheets-look-here" +description = "Over here! Cheatsheets for all kinds of stuff, including AJAX, CSS and Latex" +++ Getting confused of all the tools you use on a daily basis? Don't remember all the exact method names and possibilities of SubVersion, Apache, HTML, CSS, MySQL, Ruby on Rails, CVS, AJAX, JavaScript, FireFox, Google, etc. etc.? There is a solution! Cheat sheets make your daily work easier by providing you all you need to know on a single paper! diff --git a/content/posts/2006-10-30-confused-about-css-columns.md b/content/posts/2006-10-30-confused-about-css-columns.md index a993313..57b9c11 100644 --- a/content/posts/2006-10-30-confused-about-css-columns.md +++ b/content/posts/2006-10-30-confused-about-css-columns.md @@ -3,6 +3,7 @@ date = "2006-10-30" title = "Confused about CSS Columns?" tags = ["General", "Everything", "Blog", "Web Development"] slug = "confused-about-css-columns" +description = "What is up with these CSS columsn?!" +++ I'm mainly confused on how to make different layouts with pure CSS. Back in the time when tables were okay, it was rather easy. But with CSS it's gotten rather tricky. diff --git a/content/posts/2006-10-30-how-does-your-site-look-on.md b/content/posts/2006-10-30-how-does-your-site-look-on.md index c08858c..24b68c3 100644 --- a/content/posts/2006-10-30-how-does-your-site-look-on.md +++ b/content/posts/2006-10-30-how-does-your-site-look-on.md @@ -3,6 +3,7 @@ date = "2006-10-30" title = "How does your site look on …?" tags = ["General", "Everything", "Blog", "Web Development", "Links"] slug = "how-does-your-site-look-on" +description = "Not sure how your site will look on a given platform: here's a solution" +++ When designing a web site you always check how the site looks in different browsers, even maybe at different resolutions. But how many browsers do you really use? Firefox, Safari when on Mac, Internet Explorer when on Windows and that's mostly it. diff --git a/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md b/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md index 1584c37..4e3c936 100644 --- a/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md +++ b/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md @@ -3,6 +3,7 @@ date = "2006-10-31" title = "WordpressMu: Don’t allow new blogs" tags = ["General", "Everything", "Features", "WordPressMu"] slug = "wordpressmu-dont-allow-new-blogs" +description = "How to fix this issue the easy way." +++ If you're using WordpressMu, the blog hosting tool used on Wordpress.com, you may want to disable the creation of blogs by your visitors. diff --git a/content/posts/2006-11-13-cups-426-upgrade-required.md b/content/posts/2006-11-13-cups-426-upgrade-required.md index 9ccb961..3d3a58f 100644 --- a/content/posts/2006-11-13-cups-426-upgrade-required.md +++ b/content/posts/2006-11-13-cups-426-upgrade-required.md @@ -3,6 +3,7 @@ date = "2006-11-13" title = "CUPS: 426 - Upgrade Required" tags = ["General", "Everything", "Features", "Linux", "Ubuntu"] slug = "cups-426-upgrade-required" +description = "How to fix the 426 Upgrade Required CUPS error." +++ As I was installing my printer on my Ubuntu 6.06 Dapper LTS server with CUPS I noticed the following error: diff --git a/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md b/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md index 5cf0feb..dc588e3 100644 --- a/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md +++ b/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md @@ -3,6 +3,7 @@ date = "2006-11-15" title = "Ubuntu 6.10 Live DVD on the Apple MacBook" tags = ["General", "Everything", "Blog", "Linux", "Ubuntu"] slug = "ubuntu-610-live-dvd-on-the-apple-macbook" +description = "Sick of macOS? Why not run Ubuntu 6.10 on your MacBook?" +++ Since I teach various Linux courses at Fontys Centrum IT, I want to run a live CD or DVD on my MacBook. First off, here are my specs: diff --git a/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md b/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md index ce52166..cab48b1 100644 --- a/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md +++ b/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md @@ -3,6 +3,7 @@ date = "2006-11-17" title = "Announcing CSE-Tool: Deploy you Google CSE with ease" tags = ["General", "Everything", "Blog", "CSE-Tool"] slug = "announcing-cse-tool-deploy-you-google-cse-with-ease" +description = "CSE Tool - long since forgotten..." +++ This is just a short note to let you know that CSE-Tool 1.0 has been released. diff --git a/content/posts/2006-11-21-cse-tool-110-released.md b/content/posts/2006-11-21-cse-tool-110-released.md index 953da1f..27a68c4 100644 --- a/content/posts/2006-11-21-cse-tool-110-released.md +++ b/content/posts/2006-11-21-cse-tool-110-released.md @@ -3,6 +3,7 @@ date = "2006-11-21" title = "CSE-Tool 1.1.0 Released" tags = ["General", "Everything", "Blog", "CSE-Tool"] slug = "cse-tool-110-released" +description = "Still gone." +++ Hot of the press! CSE-Tool 1.1.0 has been released just a few minutes ago! Grab the code now or check a live demonstration! diff --git a/content/posts/2006-11-21-svn-how-to-release-software-properly.md b/content/posts/2006-11-21-svn-how-to-release-software-properly.md index f529101..28180fd 100644 --- a/content/posts/2006-11-21-svn-how-to-release-software-properly.md +++ b/content/posts/2006-11-21-svn-how-to-release-software-properly.md @@ -3,6 +3,7 @@ date = "2006-11-21" title = "SVN: How to release software properly" tags = ["General", "Everything", "Web Development", "Features", "Subversion"] slug = "svn-how-to-release-software-properly" +description = "How to use Subversion to manage your software releases." +++ Many projects use SubVersion nowadays to store their project code. I do this also at work, and for my personal projects like CSE-Tool. diff --git a/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md b/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md index 302084c..c9ba1f1 100644 --- a/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md +++ b/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md @@ -3,6 +3,7 @@ date = "2006-11-22" title = "Google Project Hosting: SourceForge Competitor" tags = ["General", "Everything", "Blog", "Web Development", "Links", "Google"] slug = "google-project-hosting-sourceforge-competitor" +description = "Google Projects - the SourceForge killer. Anno 2017 Google Projects has closed its doors itself." +++ I just found out that Google Code is now offering Project Hosting! It's in the same style as SourceForge, but the Google way! diff --git a/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md b/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md index 09c57d9..eb99073 100644 --- a/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md +++ b/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md @@ -3,6 +3,7 @@ date = "2006-11-22" title = "SVN: How to fix bugs properly" tags = ["General", "Everything", "Web Development", "Features", "Subversion"] slug = "svn-how-to-fix-bugs-properly" +description = "A intuitive workflow for handling bugfixes on your Subversion codebase." +++ I've already told you about releasing your project with help from Subversion. Now I want to talk to you about using Subversion to fix bugs in your application. diff --git a/content/posts/2006-11-22-wordpress-author-comment-highlighting.md b/content/posts/2006-11-22-wordpress-author-comment-highlighting.md index 3c35b5a..f8b3be2 100644 --- a/content/posts/2006-11-22-wordpress-author-comment-highlighting.md +++ b/content/posts/2006-11-22-wordpress-author-comment-highlighting.md @@ -3,6 +3,7 @@ date = "2006-11-22" title = "WordPress: Author comment highlighting" tags = ["General", "Everything", "Wordpress", "Web Development", "Features"] slug = "wordpress-author-comment-highlighting" +description = "How to highlight your own comments on Wordpress." +++ I've seen it lots of times before, but I just added it to Ariejan.net (and the next release of the iAriejan theme). Sometimes there are lots of comments and it's nice for visitors to see what the official reaction of the blog author is. diff --git a/content/posts/2006-11-24-svn-how-to-structure-your-repository.md b/content/posts/2006-11-24-svn-how-to-structure-your-repository.md index a2241b1..dcaf42b 100644 --- a/content/posts/2006-11-24-svn-how-to-structure-your-repository.md +++ b/content/posts/2006-11-24-svn-how-to-structure-your-repository.md @@ -3,6 +3,7 @@ date = "2006-11-24" title = "SVN: How to structure your repository" tags = ["General", "Everything", "Features", "Subversion"] slug = "svn-how-to-structure-your-repository" +description = "How to structure your Subversion repo for best results." +++ _You are reading an article about Subversion. That's great, because it means you're thinking about the benefits of version control for your diff --git a/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md b/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md index 732b887..a71b991 100644 --- a/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md +++ b/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md @@ -3,6 +3,7 @@ date = "2006-11-25" title = "The Three Corner Stones of Developerhood" tags = ["General", "Everything", "Blog", "Web Development", "Lists"] slug = "the-three-corner-stones-of-developerhood" +description = "I'm still looking for a fourth cornerstone. Suggestions welcome." +++ As a developer, there are just some things you can't do without. I have found that there are three things that I need. Really need. If one of them is missing, I have trouble doing my job properly. diff --git a/content/posts/2006-11-30-rails-security-check-up.md b/content/posts/2006-11-30-rails-security-check-up.md index 4837d05..f4a236e 100644 --- a/content/posts/2006-11-30-rails-security-check-up.md +++ b/content/posts/2006-11-30-rails-security-check-up.md @@ -3,6 +3,7 @@ date = "2006-11-30" title = "Rails: Security Check-up" tags = ["General", "Everything", "RubyOnRails", "Blogroll"] slug = "rails-security-check-up" +description = "Time to do a security check on your Rails app!" +++ Is your Rails app secure? Really? Maybe you need to perform a major check-up of your Rails application to make sure. diff --git a/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md b/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md index d343464..847e5d1 100644 --- a/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md +++ b/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md @@ -3,6 +3,7 @@ date = "2006-12-01" title = "How to setup a Ubuntu development server - Part 1" tags = ["General", "Everything", "Web Development", "Features", "Ubuntu", "Subversion"] slug = "how-to-setup-a-ubuntu-development-server-part-1" +description = "Everything you need to start programming" +++ Since I'm starting some real work on my final school project, I want to install a Ubuntu development server here at home. I have a Pentium 4 box here that will perform that task. diff --git a/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md b/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md index db09430..aa36ab6 100644 --- a/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md +++ b/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md @@ -3,6 +3,7 @@ date = "2006-12-02" title = "How to setup a Ubuntu development server - Part 2" tags = ["General", "Everything", "Web Development", "Features", "Ubuntu"] slug = "how-to-setup-a-ubuntu-development-server-part-2" +description = "Everything you need to start programming - and more!" +++ Also read Part 1 - Subversion. diff --git a/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md b/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md index d04c5ea..f52034f 100644 --- a/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md +++ b/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md @@ -3,6 +3,7 @@ date = "2006-12-03" title = "Installing Rails on Ubuntu Dapper / Edgy" tags = ["General", "Everything", "RubyOnRails", "Features"] slug = "installing-rails-on-ubuntu-dapper-edgy" +description = "How to install Ruby on Rails on your Ubuntu server" +++ Update 2010-03-25: Bumped to RubyGems version 1.3.6. diff --git a/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md b/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md index 5fd5376..add0de1 100644 --- a/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md +++ b/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md @@ -3,6 +3,7 @@ date = "2006-12-06" title = "Install ruby-mysql on Mac OS X 10.4 Tiger" tags = ["General", "Everything", "RubyOnRails", "Features", "Mac OS X"] slug = "install-ruby-mysql-on-mac-os-x-104-tiger" +description = "Install MySQL on macOS 10.4 Tiger in just a few easy steps" +++ You probably know that the built-in mysql code in Rails sucks. To rephrase that, the ruby-mysql gem contains better code, so you want that. Rails automatically detects if you have ruby-mysql installed or not, and uses it if you have it. diff --git a/content/posts/2006-12-11-announcing-subversion-kick-start.md b/content/posts/2006-12-11-announcing-subversion-kick-start.md deleted file mode 100644 index 74f958e..0000000 --- a/content/posts/2006-12-11-announcing-subversion-kick-start.md +++ /dev/null @@ -1,18 +0,0 @@ -+++ -date = "2006-12-11" -title = "Announcing “Subversion Kick-Start”" -tags = ["General", "Everything", "Blog", "Subversion", "kickstart"] -slug = "announcing-subversion-kick-start" -+++ - -With this post I officially announce my first book, "Subversion Kick-Start". - -Subversion is a popular version control system that's used by many, many developers around the globe. Most developers know how to find their way around Subversion, but quite a lot do not. - -SKS is for every software engineer who wants to learn how to put Subverstion to real use for their projects. It's more than just storing code. It's about structuring the way you write code. It's about optimizing the way you work. - -Subversion Kick-Start is aimed at getting you and Subversion up and running as quickly as possible with the minimal amount of effort required. - -Please subscribe to my feed newsletter or RSS feed and stay up-to-date! You'll be the first to know when the book is available. - - diff --git a/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md b/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md index e469b02..e1dc61b 100644 --- a/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md +++ b/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md @@ -3,6 +3,7 @@ date = "2006-12-13" title = "Show the current SVN revision in your Rails app" tags = ["General", "Everything", "RubyOnRails", "Features", "Subversion", "Capistrano"] slug = "show-the-current-svn-revision-in-your-rails-app" +description = "This will show you how to publish the currently deployed Subversion revision in your Rails app" +++ I'm current developing a Rails application. I deploy this application to a demonstration server using capistrano. diff --git a/content/posts/2006-12-20-svn-how-often-should-you-commit.md b/content/posts/2006-12-20-svn-how-often-should-you-commit.md index ebace0f..5598aff 100644 --- a/content/posts/2006-12-20-svn-how-often-should-you-commit.md +++ b/content/posts/2006-12-20-svn-how-often-should-you-commit.md @@ -3,6 +3,7 @@ date = "2006-12-20" title = "SVN: How often should you commit?" tags = ["General", "Everything", "Features", "Subversion"] slug = "svn-how-often-should-you-commit" +description = "Is there an optimal timeframe for committing? " +++ I often hear discussion about how often developers should commit their work to the central repository. Some say that you should only commit when you're next 'release' is ready. Others say that you should commit every change you make in your code. There are even people who say you should commit your changes only at the end of the day. diff --git a/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md b/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md index 1288f5e..64583bc 100644 --- a/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md +++ b/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md @@ -3,6 +3,7 @@ date = "2006-12-20" title = "SVN: Merge a branch with your trunk" tags = ["General", "Everything", "Features", "Subversion"] slug = "svn-merge-a-branch-with-your-trunk" +description = "How to successfully merge an SVN Branch with trunk." +++ When created a TRY-branch a few days back to try some fancy new AJAX technology in my application. Not problems there, so now I want to merge the code in the branch with my trunk. @@ -10,7 +11,6 @@ When created a TRY-branch a few days back to try some fancy new AJAX technology Since I'm a lone hacker, the trunk has not been touched since I created the branch. I have a checked-out working copy of the branch available. Here's a handy-dandy guide on how to merge your branch code with your trunk. - Firstly, make sure you have a working copy of your trunk. I choose to switch my working copy back: (oh, make sure you have all your changes checked in in your branch before you switch!) diff --git a/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md b/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md index ab15098..757fc0c 100644 --- a/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md +++ b/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md @@ -3,6 +3,7 @@ date = "2006-12-22" title = "Textmate+Rails: Easy partials for better code" tags = ["General", "Everything", "RubyOnRails", "Features", "Textmate"] slug = "textmaterails-easy-partials-for-better-code" +description = "Textmate + Rails is an awesome combination" +++ As you may know, I use TextMate for editing Rails code. diff --git a/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md b/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md index e3c51cb..0af95e1 100644 --- a/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md +++ b/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md @@ -3,6 +3,7 @@ date = "2007-01-12" title = "Rails: Group results by week (using group_by)" tags = ["General", "Everything", "RubyOnRails", "Features"] slug = "rails-group-results-by-week-using-group_by" +description = "How to group ActiveRecod results, for instance by week" +++ The Enumerable class in Rails contains a method named 'group_by'. This method is pure magic for a developer's point of view. I'll give you a simple example that shows the power of group_by. diff --git a/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md b/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md index d8ca315..1b8b654 100644 --- a/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md +++ b/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md @@ -3,6 +3,7 @@ date = "2007-01-19" title = "“Print this page” with Ruby on Rails" tags = ["General", "Everything", "RubyOnRails", "Features"] slug = "print-this-page-with-ruby-on-rails" +description = "How to add a print-this-page link in your Rails app" +++ You have put a lot of effort into creating a sexy overview of whatever data your application stores and allow your users to manipulate that data through AJAX controls. But, some people just want to print their data. diff --git a/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md b/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md index 958587e..ad17376 100644 --- a/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md +++ b/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md @@ -3,6 +3,7 @@ date = "2007-01-19" title = "Why Ruby Rocks - Convince your fellow developers" tags = ["General", "Everything", "Blog", "Ruby"] slug = "why-ruby-rocks-convince-your-fellow-developers" +description = "Did you convince your co-workers yet to start using Ruby on Rails?" +++ I often hear questions from my Java and PHP oriented friends about what makes Ruby so great and easy to use. Until today I've shown them some of my Rails feats (AJAX Scaffold always amazes people). Now, I came across this 20 minute Ruby introduction. Starting with the basic "Hello World" item, this article show step by step improvements to end up with blocks, objects and all that makes Ruby really worth while. diff --git a/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md b/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md index 3fcb297..0cb7456 100644 --- a/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md +++ b/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md @@ -3,6 +3,7 @@ date = "2007-01-23" title = "New in Rails: Resource Scaffold Generator" tags = ["General", "RubyOnRails", "Features"] slug = "new-in-rails-resource-scaffold-generator" +description = "How to use this fancy new scaffold generator!" +++ Oh boy! Rails 1.2 is all about resources. A product entry in your application is not just a rendered HTML page, but it "is" data. Rails 1.2 allows you to add a .xml extension to your url to retrieve the same product information in XML format! diff --git a/content/posts/2007-01-23-rails-nested-resource-scaffold.md b/content/posts/2007-01-23-rails-nested-resource-scaffold.md index e41d298..93c2579 100644 --- a/content/posts/2007-01-23-rails-nested-resource-scaffold.md +++ b/content/posts/2007-01-23-rails-nested-resource-scaffold.md @@ -3,6 +3,7 @@ date = "2007-01-23" title = "Rails: Nested resource scaffold" tags = ["General", "Everything", "Features"] slug = "rails-nested-resource-scaffold" +description = "Nested resources with Rails' scaffolds" +++ In my previous post I told you about the resource scaffold. What you'll be doing a lot is nesting these resources. Ingredients in recipes, comments on posts, options for products. You name it, you nest it! diff --git a/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md b/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md index 63e7298..637f1e1 100644 --- a/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md +++ b/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md @@ -3,6 +3,7 @@ date = "2007-01-23" title = "Updates: Wordpress 2.1, Themes and Social" tags = ["General", "Everything", "Wordpress", "Ariejan.net", "Blog"] slug = "updates-wordpress-21-themes-and-social" +description = "Yay for me for updating wordpress!" +++ You can't really see it, but Ariejan.net has been upgraded to Wordpress 2.1. I've been running 2.1 beta's on a private server for some time now, so there weren't any surprises during the upgrade. diff --git a/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md b/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md index 332c06b..06cae64 100644 --- a/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md +++ b/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md @@ -3,20 +3,27 @@ date = "2007-01-28" title = "Ruby: Sort an array of objects by an attribute" tags = ["General", "Features", "Ruby"] slug = "ruby-sort-an-array-of-objects-by-an-attribute" +description = "How to sort an array of Ruby objects" +++ In this example I'll show you how easy it is to sort an array of (the same kind of) objects by an attribute. Let's say you have an array of User objects that have the attributes 'name' and 'login_count'. First, find all users. - @users = User.find(:all) +``` ruby +@users = User.find(:all) +``` Now, we have to sort this array by 'name'. Since we don't know if any user used capitals in his name or not, we use 'downcase' to sort without case sensitivity. A small not. 'sort' returns a new array and leaves the original unchanged. You may want to just reorder the @users array, so use the 'sort!' method. The '!' indicates it's a destructive method. It will overwrite the current @users array with the new sorting. - @users.sort! { |a,b| a.name.downcase <=> b.name.downcase } +``` ruby +@users.sort! { |a,b| a.name.downcase <=> b.name.downcase } +``` That's all! Since strings are comparable, this will sort you user objects alphabetically by name. Want to sort on login_count instead? - @users.sort! { |a,b| a.login_count <=> b.login_count } +``` ruby +@users.sort! { |a,b| a.login_count <=> b.login_count } +``` So, now you can easily sort any object in an array just like you want it too! diff --git a/content/posts/2007-02-09-my-photos-on-flickr.md b/content/posts/2007-02-09-my-photos-on-flickr.md deleted file mode 100644 index 9995b73..0000000 --- a/content/posts/2007-02-09-my-photos-on-flickr.md +++ /dev/null @@ -1,26 +0,0 @@ -+++ -date = "2007-02-09" -title = "My photo’s on Flickr" -tags = ["General", "Everything", "Blog"] -slug = "my-photos-on-flickr" -+++ - - - -
- -
- Near Camden Lock Market, London, UK, originally uploaded by ariejan. -
- -

- In an idle moment I decided to up all my photo's to Flickr. Normally I burn my photo's to disk or zip them up on an external harddisk. But then, I never look at them again and there a few nice pictures there.
-
-Feel free to check out my photo's now. Oh, keep track of more new stuff there. I'm planning on making some very nice pictures this weekend. -

- diff --git a/content/posts/2007-02-17-goals-in-the-park.md b/content/posts/2007-02-17-goals-in-the-park.md deleted file mode 100644 index fe30cd3..0000000 --- a/content/posts/2007-02-17-goals-in-the-park.md +++ /dev/null @@ -1,26 +0,0 @@ -+++ -date = "2007-02-17" -title = "Goals in the Park" -tags = ["General", "Everything", "Blog"] -slug = "goals-in-the-park" -+++ - - - -
- -
- Goals in the Park, originally uploaded by ariejan. -
- -

- My new hobby is photography, if you didn't know already. Today I was strolling the park and I took this picture. Actually, I took three pictures and created a HDR (High Dynamic Range) image of them.
-
-Hope you enjoy the view and let me know if you want more information on this subjejct! -

- diff --git a/content/posts/2007-02-23-subversion-cheat-sheet-10.md b/content/posts/2007-02-23-subversion-cheat-sheet-10.md index 9b3e60a..123b651 100644 --- a/content/posts/2007-02-23-subversion-cheat-sheet-10.md +++ b/content/posts/2007-02-23-subversion-cheat-sheet-10.md @@ -3,6 +3,7 @@ date = "2007-02-23" title = "Subversion Cheat Sheet 1.0!" tags = ["General", "Features", "Subversion"] slug = "subversion-cheat-sheet-10" +description = "A Subversion cheatsheet" +++ I've noticed a huge interest in my Subversion articles lately and I thought to create a nice cheat sheet for all you. diff --git a/content/posts/2007-02-26-4-unusual-uses-for-subversion.md b/content/posts/2007-02-26-4-unusual-uses-for-subversion.md index ca68db7..ed1eea1 100644 --- a/content/posts/2007-02-26-4-unusual-uses-for-subversion.md +++ b/content/posts/2007-02-26-4-unusual-uses-for-subversion.md @@ -3,6 +3,7 @@ date = "2007-02-26" title = "4 Unusual uses for Subversion" tags = ["General", "Features", "Subversion"] slug = "4-unusual-uses-for-subversion" +description = "Subversion can be used for much more than just source code." +++ The most common use of Subversion is to keep source code of applications versioned and secure. However, there are quite a few other options that are not so common at all. diff --git a/content/posts/2007-03-06-subversion-cheat-sheet-update-101.md b/content/posts/2007-03-06-subversion-cheat-sheet-update-101.md index 0debf69..c3f7f10 100644 --- a/content/posts/2007-03-06-subversion-cheat-sheet-update-101.md +++ b/content/posts/2007-03-06-subversion-cheat-sheet-update-101.md @@ -3,6 +3,7 @@ date = "2007-03-06" title = "Subversion Cheat Sheet Update: 1.0.1" tags = ["General", "Blog", "Subversion"] slug = "subversion-cheat-sheet-update-101" +description = "A new and shiny version" +++ I've just uploaded version 1.0.1 of the Subversion Cheat Sheet to Ariejan.net. diff --git a/content/posts/2007-03-07-wordpress-plugin-autoflickr-10.md b/content/posts/2007-03-07-wordpress-plugin-autoflickr-10.md index 5a0ce22..128379a 100644 --- a/content/posts/2007-03-07-wordpress-plugin-autoflickr-10.md +++ b/content/posts/2007-03-07-wordpress-plugin-autoflickr-10.md @@ -3,6 +3,7 @@ date = "2007-03-07" title = "Wordpress Plugin: AutoFlickr 1.0" tags = ["General", "Wordpress", "Features", "AutoFlickr"] slug = "wordpress-plugin-autoflickr-10" +description = "Automatically insert Flickr photos in your Wordpress posts" +++ This post announces my first Wordpress Plugin: AutoFlickr. diff --git a/content/posts/2007-03-20-8-great-ways-to-use-google-for-your-start-up.md b/content/posts/2007-03-20-8-great-ways-to-use-google-for-your-start-up.md index 9917542..0a5244a 100644 --- a/content/posts/2007-03-20-8-great-ways-to-use-google-for-your-start-up.md +++ b/content/posts/2007-03-20-8-great-ways-to-use-google-for-your-start-up.md @@ -3,6 +3,7 @@ date = "2007-03-20" title = "8 Great ways to use Google for your start-up" tags = ["General", "Blog", "Google"] slug = "8-great-ways-to-use-google-for-your-start-up" +description = "Use Google for your start-up!" +++ Google is more than a search engine or an advertising company. Of course, it's their core business, but Google has more to offer. In this article I'll describe how you can put Google to work for your start-up (or existing business!). Oh, did I mention you can do all of this for free? diff --git a/content/posts/2007-03-20-how-i-made-6-figures-with-google-adsense-in-10-days.md b/content/posts/2007-03-20-how-i-made-6-figures-with-google-adsense-in-10-days.md index 6be1cf5..2ec1d06 100644 --- a/content/posts/2007-03-20-how-i-made-6-figures-with-google-adsense-in-10-days.md +++ b/content/posts/2007-03-20-how-i-made-6-figures-with-google-adsense-in-10-days.md @@ -3,13 +3,13 @@ date = "2007-03-20" title = "How I made 6 figures with Google Adsense in 10 days" tags = ["General", "Blog", "Google", "AdSense", "Sarcasm"] slug = "how-i-made-6-figures-with-google-adsense-in-10-days" +description = "Well, it's complicated... " +++ There has been a lot of talk about making money with Google Adsense. There are claims of people earning over $10.000 every month by just putting a few ads up on their site. I say they are amateurs! I'll show you how to make a 6-figure earning within 10 days after you put up ads on your site! Just follow these easy steps and you can quit your day job after just ten days of work. It' what I did. -

Decide on a topic for your site

First you must decide on what the topic of your site is. Try a keyword bid searching tool to find out which keywords and topics will generate the most. diff --git a/content/posts/2007-03-21-26-things-you-can-do-with-an-old-pc.md b/content/posts/2007-03-21-26-things-you-can-do-with-an-old-pc.md index 250e998..8ac6473 100644 --- a/content/posts/2007-03-21-26-things-you-can-do-with-an-old-pc.md +++ b/content/posts/2007-03-21-26-things-you-can-do-with-an-old-pc.md @@ -3,14 +3,13 @@ date = "2007-03-21" title = "26 Things you can do with an old PC" tags = ["General", "Blog", "Fun"] slug = "26-things-you-can-do-with-an-old-pc" +description = "Don't throw that old beast out just yet." +++ -We've all been there. Your old trusty PC dies. First thing you do is buy a new one. After you're done playing with all the new bells and whistles your old PC didn't have, it's time to thing what to do with the old fella. - -Here are some tips! - +We've all been there. Your old trusty PC dies. First thing you do is buy a new one. After you're done playing with all the new bells and whistles your old PC didn't have, it's time to thing what to do with the old fella. Here are some tips! The whole system can be used like this: +
  1. Give it away to friends or family who can use the "upgrade"
  2. Take it apart and see what comes out
  3. @@ -24,14 +23,18 @@ The whole system can be used like this:
  4. See what happens when you shoot it
  5. Symbolically throw it out of the window
+ If you only have the casing, this can be put to great use! +
  1. Take everthing out and turn it into a barbeque
  2. See what happens when you don't cool your processor
  3. Strip it and sell the working parts
  4. Blow it up
+ You an also strip the insides of your case and put another device in it: +
  1. Coffee maker
  2. Aquarium (with plexi glass plating, of course)
  3. @@ -41,12 +44,15 @@ You an also strip the insides of your case and put another device in it:
  4. Make it a mailbox
  5. Build a can dispenser (hit 'reset' to obtain a beverage of your choice)
+ The monitor (CRT) can be used for various purposes as well: +
  1. This can also be converted into an aquarium
  2. Remove the tube and create a cage for small animals
  3. Ash tray
  4. CD / DVD Rack
+ Got your own personal favourite? Please post a comment and share it with us all! diff --git a/content/posts/2007-03-22-rails-tip-snippet-logging-informational-messages-to-your-log.md b/content/posts/2007-03-22-rails-tip-snippet-logging-informational-messages-to-your-log.md index dd1840e..af8c236 100644 --- a/content/posts/2007-03-22-rails-tip-snippet-logging-informational-messages-to-your-log.md +++ b/content/posts/2007-03-22-rails-tip-snippet-logging-informational-messages-to-your-log.md @@ -3,6 +3,7 @@ date = "2007-03-22" title = "Rails Tip Snippet: Logging informational messages to your log" tags = ["General", "RubyOnRails", "Features", "TipSnippets"] slug = "rails-tip-snippet-logging-informational-messages-to-your-log" +description = "How to easily log informational messages in Rails." +++ This "Rails Tip Snippet" is one in a series of small blocks of code that will make your life developing Rails applications a bit easier. diff --git a/content/posts/2007-03-23-be-productive-37-things-you-can-do-on-the-toilet.md b/content/posts/2007-03-23-be-productive-37-things-you-can-do-on-the-toilet.md index d8916ce..409b1f9 100644 --- a/content/posts/2007-03-23-be-productive-37-things-you-can-do-on-the-toilet.md +++ b/content/posts/2007-03-23-be-productive-37-things-you-can-do-on-the-toilet.md @@ -3,6 +3,7 @@ date = "2007-03-23" title = "Be productive! 37 things you can do on the toilet" tags = ["General", "Blog", "Features", "Lists", "Fun", "Productivity"] slug = "be-productive-37-things-you-can-do-on-the-toilet" +description = "What are you waiting for! Go!" +++ We all have to go. Most of us once a day. Others have to do it more often. However, we can be much more productive while doing or daily duty at the toilet. diff --git a/content/posts/2007-03-25-speedlinking-top-28-startup-resources.md b/content/posts/2007-03-25-speedlinking-top-28-startup-resources.md index d57b8b2..4725515 100644 --- a/content/posts/2007-03-25-speedlinking-top-28-startup-resources.md +++ b/content/posts/2007-03-25-speedlinking-top-28-startup-resources.md @@ -3,9 +3,11 @@ date = "2007-03-25" title = "Speedlinking: Top 28 startup resources" tags = ["General", "Blog", "Links"] slug = "speedlinking-top-28-startup-resources" +description = "Top start-up resources" +++ I've been reading a lot about startups this weekend. Here is a quick post with all the articles I came across this weekend and found worth mentioning: +
  1. Startupping TIP
  2. How to start a startup
  3. @@ -36,5 +38,6 @@ I've been reading a lot about startups this weekend. Here is a quick post with a
  4. Startup Suicide: Five Ways To Kill Your Startup, Which Will You Pick?
  5. Startups for the rest of us
+ Got any articles that are not on the list? Please add a comment to let me know! diff --git a/content/posts/2007-03-27-rails-tip-snippet-create-a-comma-seperate-list.md b/content/posts/2007-03-27-rails-tip-snippet-create-a-comma-seperate-list.md index 69a1b9a..6f45816 100644 --- a/content/posts/2007-03-27-rails-tip-snippet-create-a-comma-seperate-list.md +++ b/content/posts/2007-03-27-rails-tip-snippet-create-a-comma-seperate-list.md @@ -3,6 +3,7 @@ date = "2007-03-27" title = "Rails Tip Snippet: Create a comma-seperate list" tags = ["General", "RubyOnRails", "Features", "TipSnippets"] slug = "rails-tip-snippet-create-a-comma-seperate-list" +description = "Got an array? This is how you get a CSV!" +++ Do you have the need to create a list of roles a certain user belongs to? Enumerate the users attached to a company? All you want is a simple list with the names seperated by commas. @@ -10,6 +11,8 @@ Do you have the need to create a list of roles a certain user belongs to? Enumer Users: John, Dick, Harry With Ruby on Rails this is really easy. You probably have a collection of user objects. All you want is a list of names: +
@users.collect{|u| u.name}.join(', ')
+ Read more Tip Snippets? diff --git a/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md b/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md index 24a19ed..2c009e6 100644 --- a/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md +++ b/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md @@ -3,7 +3,9 @@ date = "2007-03-27" title = "Subversion: How to revert to a previous revision" tags = ["General", "Features", "Subversion"] slug = "subversion-how-to-revert-to-a-previous-revision" +description = "Painless reverts to a previous revision" +++ + You've been there. You have been developing in your trunk for a while and at revision 127 you get the feeling you've done it all wrong! The production server is humming away at revision 123 and that's where you want to start out again. But how can you start again from revision 123? Easy as this with Subversion: ``` shell diff --git a/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md b/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md index 67784f1..e4b6d6f 100644 --- a/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md +++ b/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md @@ -3,6 +3,7 @@ date = "2007-03-29" title = "5 Reasons why PC OEMs should offer Linux" tags = ["General", "Blog", "Linux", "Opinion"] slug = "5-reasons-why-pc-oems-should-offer-linux" +description = "Linux is superior. Right?" +++ DELL currently offers Linux as an option for certain laptop and desktop models. Talk is that this service may be expanded to all models. This is a good thing, of course. Results of a recent survey by DELL show that more than 70% of over 100.000 respondents want to use Linux for home and office! What has been keeping companies like DELL away from this? diff --git a/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md b/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md index a3fe464..2d929be 100644 --- a/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md +++ b/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md @@ -3,6 +3,7 @@ date = "2007-04-02" title = "What do you want for AutoFlickr?" tags = ["General", "Blog", "AutoFlickr"] slug = "what-do-you-want-for-autoflickr" +description = "Just a quick poll." +++ Almost a month ago I published my WordPress plugin AutoFlickr, which shows one or more related photos from the popular Flickr site in your post. diff --git a/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md b/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md index 2a2b2e0..6819744 100644 --- a/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md +++ b/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md @@ -3,6 +3,7 @@ date = "2007-04-03" title = "TipSnippet: Create a RSS feed" tags = ["General", "RubyOnRails", "Features", "TipSnippets"] slug = "tipsnippet-create-a-rss-feed" +description = "With just a few lines of code you can create an RSS feed in Rails." +++ RSS is hot! So, you want to fit your new Rails app with one too! That's easy, of course, but you just need to know what to do. diff --git a/content/posts/2007-04-12-rails-resources-and-permalinks.md b/content/posts/2007-04-12-rails-resources-and-permalinks.md index 0550235..4ddb6e8 100644 --- a/content/posts/2007-04-12-rails-resources-and-permalinks.md +++ b/content/posts/2007-04-12-rails-resources-and-permalinks.md @@ -3,6 +3,7 @@ date = "2007-04-12" title = "Rails, Resources and Permalinks" tags = ["General", "RubyOnRails", "Features"] slug = "rails-resources-and-permalinks" +description = "How to add permalinks to your resources." +++ There has been quite a bit of discussion about creating permalinks with a rails resource. In this article I will show you how to create permalinks for a resource named 'pages' without giving up on any of the resource goodness! diff --git a/content/posts/2007-04-29-ariejannet-server-move.md b/content/posts/2007-04-29-ariejannet-server-move.md index 545a79c..17d461e 100644 --- a/content/posts/2007-04-29-ariejannet-server-move.md +++ b/content/posts/2007-04-29-ariejannet-server-move.md @@ -3,6 +3,7 @@ date = "2007-04-29" title = "Ariejan.net server move" tags = ["General", "Ariejan.net", "Blog"] slug = "ariejannet-server-move" +description = "I like to move it!" +++ Just a note to let you know that Ariejan.net has just been moved to a new server! Well, I've moved from shared hosting with Delta9 Internet to a VPS solution. diff --git a/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md b/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md index 0b5dec3..b56db2c 100644 --- a/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md +++ b/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md @@ -3,16 +3,24 @@ date = "2007-05-09" title = "Rails Snippet: Write like Orwell with to_sentence" tags = ["General", "RubyOnRails", "Features"] slug = "rails-snippet-write-like-orwell-with-to_sentence" +description = "Create sentences from your Ruby arrays quick and easy." +++ A few weeks ago I posted an article that explained how to create a comma separated list from a hash of objects. When I was browsing the Rails API documentation I came across a method named to_sentence. What this little bugger does is create a human readable, comma separated list of items in an array or hash. But the big difference here is that you can specify what the last separator must be. By default this is set to 'and'. See the following example. -
@users = User.find(:all)
-@users.collect {|u| u.firstname}.to_sentence
-=> "Tom, Dick, and Harry"
-Of you course, you can specify the last separator, called the connector. Also it's possible to not show the last comma. -
@users.collect {|u| u.firstname}.to_sentence(:connector => "and of course,", :skip_last_comma => true)
-=> "tom, Dick and of course, Harry"
-I bet this will greatly simplify the way you list names, tags, categories or whatever else you want summed up in a comma separated list with a human touch. +``` ruby +@users = User.find(:all) +@users.collect {|u| u.firstname}.to_sentence +=> "Tom, Dick, and Harry" +``` + +Of you course, you can specify the last separator, called the connector. Also it's possible to not show the last comma. + +``` ruby +@users.collect {|u| u.firstname}.to_sentence(:connector => "and of course,", :skip_last_comma => true) +=> "tom, Dick and of course, Harry" +``` + +I bet this will greatly simplify the way you list names, tags, categories or whatever else you want summed up in a comma separated list with a human touch. \ No newline at end of file diff --git a/content/posts/2007-05-18-feedburner-acquired-by-google.md b/content/posts/2007-05-18-feedburner-acquired-by-google.md index 7412628..0ae7e4e 100644 --- a/content/posts/2007-05-18-feedburner-acquired-by-google.md +++ b/content/posts/2007-05-18-feedburner-acquired-by-google.md @@ -3,6 +3,7 @@ date = "2007-05-18" title = "FeedBurner acquired by Google!" tags = ["General", "Blog", "Google"] slug = "feedburner-acquired-by-google" +description = "Right. So, my RSS feed moved." +++ It looks like Google is about to acquire FeedBurner. Just a note to all of you to let you know. If you have a blog or RSS enabled website, burn your feed now and get your AdSense account ready! Soon you'll be able to put targeted ads in your RSS feed and add another source of income to your list! Great news! diff --git a/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md b/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md index 3d17a9e..909a4fd 100644 --- a/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md +++ b/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md @@ -3,11 +3,14 @@ date = "2007-05-21" title = "MERGE request failed on ‘/path/to/file’" tags = ["General", "Features", "Subversion", "Trac"] slug = "merge-request-failed-on-pathtofile" +description = "How to fix this annoying Subversion problem." +++ After upgrading my Subversion server to Ubuntu Feisty, I noticed that when committing I got the following error: +
svn: MERGE request failed on '/svn/repository/trunk'
 svn: MERGE of '/svn/repository/trunk': 200 OK (http://svn.myserver.com)
+ Although the messages says that the commit failed, it has not. A simple 'svn update' will merge the changes you made to the repository to your working copy again and you're good to go. So, what is the problem here? Are you by any chance running Trac? Did you install the post-commit hook to integrate Subversion with Trac? Right, so did I. diff --git a/content/posts/2007-05-28-bat-ter-y.md b/content/posts/2007-05-28-bat-ter-y.md index 43976d7..5cd4145 100644 --- a/content/posts/2007-05-28-bat-ter-y.md +++ b/content/posts/2007-05-28-bat-ter-y.md @@ -3,6 +3,7 @@ date = "2007-05-28" title = "BAT - TER - Y" tags = ["General", "Blog", "Fun"] slug = "bat-ter-y" +description = "BATTERY!" +++ You all know the word: "Battery". Like most words, it has several meanings. This site greatly explains the meaning of the word battery, and adds a little lyric-sugar to it! @@ -10,4 +11,3 @@ You all know the word: "Battery". Like most words, it has several meani Come on boys and girls! Sing along to BAT • TER • Y. (Please digg the site or post a link to it. Thanks!) - diff --git a/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md b/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md index 3dd98b8..e11ba9a 100644 --- a/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md +++ b/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md @@ -3,6 +3,7 @@ date = "2007-05-29" title = "Installing RMagick Ruby Gem on Mac OS X 10.4.9" tags = ["General", "RubyOnRails", "Features", "Mac OS X", "Ruby"] slug = "installing-rmagick-ruby-gem-on-mac-os-x-1049" +description = "RMagic - it's a pain to install it correctly. Here's how." +++ When you want to manipulate images with Ruby (or your Rails application) you'll probably want RMagick installed. This is no easy feat on Mac OS X. diff --git a/content/posts/2007-05-29-slow-connections-with-proftpd.md b/content/posts/2007-05-29-slow-connections-with-proftpd.md index a40fe5d..6ed7f90 100644 --- a/content/posts/2007-05-29-slow-connections-with-proftpd.md +++ b/content/posts/2007-05-29-slow-connections-with-proftpd.md @@ -3,6 +3,7 @@ date = "2007-05-29" title = "Slow connections with ProFTPD" tags = ["General", "Features", "Linux", "Ubuntu"] slug = "slow-connections-with-proftpd" +description = "ProFTPd was acting up and slow to connect? Here's the fix!" +++ My shiny new VPS, which is running Ubuntu Linux, uses ProFTPD for FTP access. Today I noticed that setting up the connection takes about 5 to 10 seconds. This is really annoying when editing files through FTP. @@ -10,6 +11,7 @@ My shiny new VPS, which is running Ubuntu Linux, uses ProFTPD for FTP access. To So, I investigated and found that by default ProFTPD tries to revolve the hostname of the client in order to put that in the logs instead of a plain IP address. This lookup can take quite some time, let's say 5 to 10 seconds, especially when the look up fails and you have to wait on a time-out. It's easy to stop ProFTPD from behaving like this by adding the following line to your proftpd.conf in /etc/proftpd: -
IdentLookups off
-Restart ProFTPD and you'll have a fast FTP connection to enjoy! +
IdentLookups off
+ +Restart ProFTPD and you'll have a fast FTP connection to enjoy! \ No newline at end of file diff --git a/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md b/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md index 31c9ebd..8189877 100644 --- a/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md +++ b/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md @@ -3,6 +3,7 @@ date = "2007-05-30" title = "Trac, WebAdmin plugin and global configuration" tags = ["General", "Features", "Linux", "Ubuntu", "Trac"] slug = "trac-webadmin-plugin-and-global-configuration" +description = "A nice plugin for a nice tool. Trac Webadmin" +++ As you may know I manage quite a few trac installations. A few days ago I upgrade my server from Ubuntu "Dapper Drake" 6.06 to Ubuntu "Feisty Fawn" 7.04. This also upgrade trac 0.9.x to 0.10.3. diff --git a/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md b/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md index 67986ec..db7bfbf 100644 --- a/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md +++ b/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md @@ -3,6 +3,7 @@ date = "2007-06-07" title = "Coming up: Ubuntu Development Server Guide" tags = ["General", "Blog", "Web Development", "Linux", "Ubuntu", "Subversion"] slug = "coming-up-ubuntu-development-server-guide" +description = "I'm going to write a blog post soon!" +++ My articles about setting up a Ubuntu Development Server (part 1 and part 2) have been very successful. diff --git a/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md b/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md index 37ca11e..622d90b 100644 --- a/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md +++ b/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md @@ -3,6 +3,7 @@ date = "2007-06-10" title = "Find and Replace with a MySQL Query" tags = ["General", "Databases", "Features", "MySQL"] slug = "find-and-replace-with-a-mysql-query" +description = "Search and Dest^H^H^H^H Replace" +++ There are times when you have a lot of data in a database (let's say wp_posts for a Wordpress blog like Ariejan.net). When you need to find and replace certain strings, this can be a very tedious task. Find all posts containing the "needle" string and manually replace all these occurrences with "chocolate". With about 200 posts, you can imagine how long this would take to do manually. diff --git a/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md b/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md index e7e6c6a..429e7ac 100644 --- a/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md +++ b/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md @@ -3,13 +3,15 @@ date = "2007-06-10" title = "Send mail with a BASH Shell Script" tags = ["General", "Features", "BASH", "Shell Scripts"] slug = "send-mail-with-a-bash-shell-script" +description = "Easy way to use Bash to send out emails" +++ Like any good programmer, I try to automate the crap out of everything. If you have to do it more than once, I try to write a script for it. This time I want to show you how you can easily send an e-mail from a BASH script. The idea is that you want the script to send out an email to notify a user that something has happened. - + We're going to use the GNU Mail utility here. The basic syntax to send an email is like this: +
/usr/bin/mail -s "Subject" someone@example.org < message.txt
The trick when using this in a shell script is creating and using the message.txt file correctly. @@ -20,7 +22,9 @@ TO="alarms@ariejan.net" MESSAGE="/tmp/message.txt" /usr/bin/mail -s "$SUBJECT" "$TO" < $MESSAGE + All we need to do now is create the message. In this example we're going to notify the receiver that something happened at a certain time. We can use the append (>>) operator to add text to the message file. Afterwards, we must remove the temporary message file, of course. The complete script now becomes: +
#!/bin/bash
 SUBJECT="Automated Security Alert"
 TO="alarms@ariejan.net"
@@ -32,6 +36,7 @@ echo "Time: `date`" >> $MESSAGE
 /usr/bin/mail -s "$SUBJECT" "$TO" < $MESSAGE
 
 rm $MESSAGE
+ The email will contain the a timestamp from when the mail was sent. This method is great for letting an administrator now if something happened. Maybe you need to check if your webserver is up and running. This script can an administrator about the issue. diff --git a/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md b/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md index 1d329ac..24cf9cd 100644 --- a/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md +++ b/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md @@ -3,6 +3,7 @@ date = "2007-06-10" title = "Ultimate List of Ruby Resources" tags = ["General", "Web Development", "RubyOnRails", "Features", "Lists", "Ruby"] slug = "ultimate-list-of-ruby-resources" +description = "The ultimate list. No list is better than this one." +++ This is the first post, named "Ruby", in a series of "Ultimate List of ... Resources". I'm going to compose several lists for different topics I encounter during my development work. To start, I begin with Ruby. Later, I will add "Ultimate Lists" about Ruby on Rails, Subversion, AJAX and some other topics. diff --git a/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md b/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md index fb10a45..f5f2f7c 100644 --- a/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md +++ b/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md @@ -3,6 +3,7 @@ date = "2007-06-11" title = "ActiveScaffold, Acts_as_taggable_on_steroids" tags = ["General", "RubyOnRails", "Features", "ActiveScaffold"] slug = "activescaffold-acts_as_taggable_on_steroids" +description = "How to combine ActiveScaffold and ActsAsTaggableOnSteroids" +++ Update: also read Active Scaffold + Acts_as_taggable + Auto Completion. diff --git a/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md b/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md index 1ec34d2..2a622ca 100644 --- a/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md +++ b/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md @@ -3,6 +3,7 @@ date = "2007-06-12" title = "BASH your SVN and Trac installation!" tags = ["General", "Features", "BASH"] slug = "bash-your-svn-and-trac-installation" +description = "Quick bash script to setup your Subversion and Track install" +++ I've already discussed how to install Subversion and Trac on your Ubuntu server. In my case I have a server that manages different SVN and Trac installations for a group of developers. diff --git a/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md b/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md index 04d674f..b76afc0 100644 --- a/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md +++ b/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md @@ -3,6 +3,7 @@ date = "2007-06-14" title = "Buy it now! Mac OS X 10.5 Leopard" tags = ["General", "Blog", "Mac OS X"] slug = "buy-it-now-mac-os-x-105-leopard" +description = "Yay for Leopards!" +++ It appears that Amazon is accepting pre-orders for Apple Mac OS X Version 10.5 Leopard, which is scheduled for release in October 2007. diff --git a/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md b/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md index b957642..ad3c902 100644 --- a/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md +++ b/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md @@ -3,6 +3,7 @@ date = "2007-06-19" title = "Geslaagd! / Passed my final exams!" tags = ["General", "Ariejan.net", "Blog"] slug = "geslaagd-passed-my-final-exams" +description = "Party time!" +++ Please scroll down for the English version. @@ -10,26 +11,31 @@ slug = "geslaagd-passed-my-final-exams" Bij wijze van hoge uitzondering, een post in het Nederlands op mijn weblog! Ik ben vandaag geslaagd voor mijn opleiding Hogere Informatica (aan Fontys Hogeschool ICT, Eindhoven) en mag mezelf nu gediplomeerd Software Engineer noemen! Ik ben op drie punten beoordeeld: + + Samen komt dit uit op een eindcijfer 8. Natuurlijk ben ik hier heel trots op, en ga het in ieder geval de rest van de dag vieren! Feliciteren kan in 'n commentaartje :P -Read more for the English version - +English version below: -
Today I passed my final exams for my degree in Software Engineering. I've been working on a Ruby on Rails project called "Course Builder" for the past few months. Today, I had to defend my work for a jury.In the Netherlands students are judged on 1 to 10 scale, where 10 is 'total perfection', 6 is 'seems okay' and 1 is total nonsense. +
+ +Today I passed my final exams for my degree in Software Engineering. I've been working on a Ruby on Rails project called "Course Builder" for the past few months. Today, I had to defend my work for a jury.In the Netherlands students are judged on 1 to 10 scale, where 10 is 'total perfection', 6 is 'seems okay' and 1 is total nonsense. I've been judged on three subjects: + + The final grade is an 8. I'm very happy with the over-all result and I'll be celebrating the rest of the day. You may congratulate me in a comment :P diff --git a/content/posts/2007-06-20-action-mailer-all-mail-comes-from-mailer-daemon.md b/content/posts/2007-06-20-action-mailer-all-mail-comes-from-mailer-daemon.md index c372d89..c20149a 100644 --- a/content/posts/2007-06-20-action-mailer-all-mail-comes-from-mailer-daemon.md +++ b/content/posts/2007-06-20-action-mailer-all-mail-comes-from-mailer-daemon.md @@ -3,6 +3,7 @@ date = "2007-06-20" title = "Action Mailer: All mail comes from MAILER DAEMON" tags = ["General", "RubyOnRails", "Features", "Ruby"] slug = "action-mailer-all-mail-comes-from-mailer-daemon" +description = "How to configure ActionMailer properly for sending email" +++ Today I was trying to send mail from my Rails application through Action Mailer. This is quite simple, but I diff --git a/content/posts/2007-06-20-rails-production-server-setup-and-deployment-on-ubuntudebian.md b/content/posts/2007-06-20-rails-production-server-setup-and-deployment-on-ubuntudebian.md index d5d73dc..3c19c03 100644 --- a/content/posts/2007-06-20-rails-production-server-setup-and-deployment-on-ubuntudebian.md +++ b/content/posts/2007-06-20-rails-production-server-setup-and-deployment-on-ubuntudebian.md @@ -3,6 +3,7 @@ date = "2007-06-20" title = "Rails production server setup and deployment on Ubuntu/Debian" tags = ["General", "RubyOnRails", "Features", "Linux", "Ubuntu"] slug = "rails-production-server-setup-and-deployment-on-ubuntudebian" +description = "A guide on how to setup your Ubuntu/Debian server for Rails" +++ Please digg this story to spread the word! Thanks! diff --git a/content/posts/2007-06-21-ajax-rules-80-javascript-solutions-for-professional-coding.md b/content/posts/2007-06-21-ajax-rules-80-javascript-solutions-for-professional-coding.md index 717c438..6b7e311 100644 --- a/content/posts/2007-06-21-ajax-rules-80-javascript-solutions-for-professional-coding.md +++ b/content/posts/2007-06-21-ajax-rules-80-javascript-solutions-for-professional-coding.md @@ -3,6 +3,7 @@ date = "2007-06-21" title = "AJAX Rules! 80 JavaScript Solutions for professional coding" tags = ["General", "Blog", "Web Development", "Links"] slug = "ajax-rules-80-javascript-solutions-for-professional-coding" +description = "80 JavaScript solutions. This is still 2007..." +++ Smashing Magazine has put together a very comprehensive list of 80 AJAX JavaScript solutions for professional coding. How great is that?! diff --git a/content/posts/2007-07-01-activescaffold-acts_as_taggable-auto-complete.md b/content/posts/2007-07-01-activescaffold-acts_as_taggable-auto-complete.md index d0d13c6..bc68fdc 100644 --- a/content/posts/2007-07-01-activescaffold-acts_as_taggable-auto-complete.md +++ b/content/posts/2007-07-01-activescaffold-acts_as_taggable-auto-complete.md @@ -3,6 +3,7 @@ date = "2007-07-01" title = "ActiveScaffold + acts_as_taggable + Auto Complete" tags = ["General", "RubyOnRails", "Features"] slug = "activescaffold-acts_as_taggable-auto-complete" +description = "More on ActiveScaffold with tagging support." +++ I've talked before on how to use ActiveScaffold with acts_as_taggable_on_steroids. diff --git a/content/posts/2007-07-02-how-to-force-data-to-be-downloaded-as-a-file-from-your-rails-app.md b/content/posts/2007-07-02-how-to-force-data-to-be-downloaded-as-a-file-from-your-rails-app.md index c12573a..6368889 100644 --- a/content/posts/2007-07-02-how-to-force-data-to-be-downloaded-as-a-file-from-your-rails-app.md +++ b/content/posts/2007-07-02-how-to-force-data-to-be-downloaded-as-a-file-from-your-rails-app.md @@ -3,6 +3,7 @@ date = "2007-07-02" title = "How to force data to be downloaded as a file from your Rails app" tags = ["General", "RubyOnRails", "Features"] slug = "how-to-force-data-to-be-downloaded-as-a-file-from-your-rails-app" +description = "Instead of rendering a file in the browser, force the browser to download and save it as a file." +++ In the essence of every application is data. One way or another your application manages data and at some point, you need to get that data out. Either you want to synchronize the data with another application or device. Or you want to move your data to another system all together. Either way, you'll need to gather your data and send it from your application to the client... as a file. diff --git a/content/posts/2007-07-03-got-updates.md b/content/posts/2007-07-03-got-updates.md index e7e561d..aba94aa 100644 --- a/content/posts/2007-07-03-got-updates.md +++ b/content/posts/2007-07-03-got-updates.md @@ -3,6 +3,7 @@ date = "2007-07-03" title = "Got updates?" tags = ["General", "Ariejan.net", "Blog"] slug = "got-updates" +description = "Here's what's new on Ariejan.net" +++ Do you want to stay up-to-date about what's happening at Ariejan.net? That's real easy! diff --git a/content/posts/2007-07-03-how-to-create-and-apply-a-patch-with-subversion.md b/content/posts/2007-07-03-how-to-create-and-apply-a-patch-with-subversion.md index f273152..3b66df1 100644 --- a/content/posts/2007-07-03-how-to-create-and-apply-a-patch-with-subversion.md +++ b/content/posts/2007-07-03-how-to-create-and-apply-a-patch-with-subversion.md @@ -3,6 +3,7 @@ date = "2007-07-03" title = "How to create and apply a patch with Subversion" tags = ["General", "Features", "Subversion"] slug = "how-to-create-and-apply-a-patch-with-subversion" +description = "Sending patches by email can be very convenient. Here's how to create and apply a Subversion patch" +++ It's been a while since I posted something new on the use of Subversion. I've been working with the tool a lot, and I've found that patches are a great way to communicate code changes. diff --git a/content/posts/2007-07-04-how-to-resolve-subversion-conflicts.md b/content/posts/2007-07-04-how-to-resolve-subversion-conflicts.md index e18c82f..dacef11 100644 --- a/content/posts/2007-07-04-how-to-resolve-subversion-conflicts.md +++ b/content/posts/2007-07-04-how-to-resolve-subversion-conflicts.md @@ -3,6 +3,7 @@ date = "2007-07-04" title = "How to resolve Subversion Conflicts" tags = ["Subversion", "conflicts"] slug = "how-to-resolve-subversion-conflicts" +description = "Got a merge conflict on Subversion. Don't panic, here's what to do." +++ If there's more than one person working on a project, chances are (although slim) that at some point two developers work on the same piece of code and check it in. To clarify, let me give you an example. diff --git a/content/posts/2007-07-06-how-to-write-a-rails-plugin-for-controllers.md b/content/posts/2007-07-06-how-to-write-a-rails-plugin-for-controllers.md index 97e0668..f50afd1 100644 --- a/content/posts/2007-07-06-how-to-write-a-rails-plugin-for-controllers.md +++ b/content/posts/2007-07-06-how-to-write-a-rails-plugin-for-controllers.md @@ -3,6 +3,7 @@ date = "2007-07-06" title = "How to write a Rails Plugin (for controllers)" tags = ["General", "RubyOnRails", "Features"] slug = "how-to-write-a-rails-plugin-for-controllers" +description = "An easy guide to writing Rails Plugins." +++ A few days back I posted my very first Rails plugin, Acts As Exportable. Although writing a plugin is rather easy, you must know a few tricks on how to get things going. diff --git a/content/posts/2007-07-06-some-dns-problems-with-ariejannet.md b/content/posts/2007-07-06-some-dns-problems-with-ariejannet.md index 9e06d1f..3fb59cb 100644 --- a/content/posts/2007-07-06-some-dns-problems-with-ariejannet.md +++ b/content/posts/2007-07-06-some-dns-problems-with-ariejannet.md @@ -3,6 +3,7 @@ date = "2007-07-06" title = "Some DNS problems with Ariejan.net" tags = ["General", "Ariejan.net", "Blog"] slug = "some-dns-problems-with-ariejannet" +description = "Cannot resolve host..." +++ This is just a quick note to let you know there are currently some issues with DNS for Ariejan.net. This basically means that Trac and SVN are currently not available. I've made the appropriate changes and things should be working again in a few hours. diff --git a/content/posts/2007-07-07-clear-dns-cache-on-your-router.md b/content/posts/2007-07-07-clear-dns-cache-on-your-router.md index 7f71831..5da6434 100644 --- a/content/posts/2007-07-07-clear-dns-cache-on-your-router.md +++ b/content/posts/2007-07-07-clear-dns-cache-on-your-router.md @@ -3,6 +3,7 @@ date = "2007-07-07" title = "Clear DNS Cache on your router" tags = ["General", "Features", "Linux"] slug = "clear-dns-cache-on-your-router" +description = "How to clear your route DNS cache to get fresh IPs" +++ I currently have a Linksys router at home that has the DD-WRT Firmware on it. I've been using it for quite some time now, and I'm very happy with it. diff --git a/content/posts/2007-07-16-ariejannet-whats-next.md b/content/posts/2007-07-16-ariejannet-whats-next.md index d662123..1fa2f38 100644 --- a/content/posts/2007-07-16-ariejannet-whats-next.md +++ b/content/posts/2007-07-16-ariejannet-whats-next.md @@ -3,6 +3,7 @@ date = "2007-07-16" title = "Ariejan.net - What’s next?" tags = ["General", "Ariejan.net", "Blog"] slug = "ariejannet-whats-next" +description = "Here's what I'm up to next." +++ Vote now! What's Next for Ariejan.net? Your opinion counts! diff --git a/content/posts/2007-08-01-im-back.md b/content/posts/2007-08-01-im-back.md index 7b20adc..06d10ed 100644 --- a/content/posts/2007-08-01-im-back.md +++ b/content/posts/2007-08-01-im-back.md @@ -3,6 +3,7 @@ date = "2007-08-01" title = "I’m Back!" tags = ["General", "Ariejan.net", "Blog"] slug = "im-back" +description = "I told you I'd be back..." +++ All right, I'm back! diff --git a/content/posts/2007-08-20-im-back-in-business.md b/content/posts/2007-08-20-im-back-in-business.md index 78a7921..d48e6d4 100644 --- a/content/posts/2007-08-20-im-back-in-business.md +++ b/content/posts/2007-08-20-im-back-in-business.md @@ -3,6 +3,7 @@ date = "2007-08-20" title = "I’m back in business!" tags = ["General", "Ariejan.net", "Blog"] slug = "im-back-in-business" +description = "Good to go. Reporting for duty." +++ Ariejan.net is (almost) back in business. With some minor cosmetic improvements to the theme, I'm ready for today. diff --git a/content/posts/2007-08-20-kabisa-railsconf-europe-and-ariejannet.md b/content/posts/2007-08-20-kabisa-railsconf-europe-and-ariejannet.md index 5b1e228..84dda62 100644 --- a/content/posts/2007-08-20-kabisa-railsconf-europe-and-ariejannet.md +++ b/content/posts/2007-08-20-kabisa-railsconf-europe-and-ariejannet.md @@ -3,6 +3,7 @@ date = "2007-08-20" title = "Kabisa, RailsConf Europe and Ariejan.net" tags = ["General", "Everything", "Blog"] slug = "kabisa-railsconf-europe-and-ariejannet" +description = "Going to RailsConf Europe in Berlin!" +++ Hello there! Just a quick post to let you know I'm still alive and kicking! Two weeks ago I started my job at Kabisa and I've been very busy with that. I really like working at Kabisa and we have some great things planned for the near future. (We're currently working on a few client projects that need our attention.) diff --git a/content/posts/2007-08-21-using-iconv-to-convert-utf-8-to-ascii-on-linux.md b/content/posts/2007-08-21-using-iconv-to-convert-utf-8-to-ascii-on-linux.md index f47600c..aee7937 100644 --- a/content/posts/2007-08-21-using-iconv-to-convert-utf-8-to-ascii-on-linux.md +++ b/content/posts/2007-08-21-using-iconv-to-convert-utf-8-to-ascii-on-linux.md @@ -3,6 +3,7 @@ date = "2007-08-21" title = "Using Iconv to convert UTF-8 to ASCII (on Linux)" tags = ["General", "RubyOnRails", "Features", "Ruby"] slug = "using-iconv-to-convert-utf-8-to-ascii-on-linux" +description = "Text encoding is a mess. This will help you convert UTF-8 to ASCII on Linux using iconv." +++ There are situations where you want to remove all the UTF-8 goodness from a string diff --git a/content/posts/2007-08-24-super-simple-authentication-plugin-and-generator.md b/content/posts/2007-08-24-super-simple-authentication-plugin-and-generator.md index 7215446..f861f32 100644 --- a/content/posts/2007-08-24-super-simple-authentication-plugin-and-generator.md +++ b/content/posts/2007-08-24-super-simple-authentication-plugin-and-generator.md @@ -3,6 +3,7 @@ date = "2007-08-24" title = "Super Simple Authentication Plugin and Generator" tags = ["General", "RubyOnRails", "Features"] slug = "super-simple-authentication-plugin-and-generator" +description = "Authentication made easy" +++ I hereby proudly announce my Super Simple Authentication plugin and generator. diff --git a/content/posts/2007-08-27-blueprintcss-rails-generator.md b/content/posts/2007-08-27-blueprintcss-rails-generator.md index b8e598b..22abbb7 100644 --- a/content/posts/2007-08-27-blueprintcss-rails-generator.md +++ b/content/posts/2007-08-27-blueprintcss-rails-generator.md @@ -3,6 +3,7 @@ date = "2007-08-27" title = "BlueprintCSS Rails Generator" tags = ["General", "RubyOnRails", "Features"] slug = "blueprintcss-rails-generator" +description = "Get a kickstart with blueprint css" +++ This plugin is no longer available. Blueprint nowadays ships with a very good 'compress' script that allows you to generate all kinds of nice BluePrint layouts. Having a plugin to just copy some files seems a bit excessive. diff --git a/content/posts/2007-08-31-blueprint-05-rails-plugin-released.md b/content/posts/2007-08-31-blueprint-05-rails-plugin-released.md index 8494f23..7673153 100644 --- a/content/posts/2007-08-31-blueprint-05-rails-plugin-released.md +++ b/content/posts/2007-08-31-blueprint-05-rails-plugin-released.md @@ -3,6 +3,7 @@ date = "2007-08-31" title = "Blueprint 0.5 Rails Plugin released" tags = ["General", "RubyOnRails", "Features"] slug = "blueprint-05-rails-plugin-released" +description = "Blueprint now as a Rails plugin" +++ A few days ago BlueprintCSS 0.5 was released (read the Olav's posts here). I've updated the plugin accordingly. The most important change is the use of 24 (!) instead of 14 columns. diff --git a/content/posts/2007-09-01-content_for-yield-and-making-sure-something-gets-displayed.md b/content/posts/2007-09-01-content_for-yield-and-making-sure-something-gets-displayed.md index 8e6fd27..46859de 100644 --- a/content/posts/2007-09-01-content_for-yield-and-making-sure-something-gets-displayed.md +++ b/content/posts/2007-09-01-content_for-yield-and-making-sure-something-gets-displayed.md @@ -3,21 +3,27 @@ date = "2007-09-01" title = "Content_for, yield and making sure something gets displayed" tags = ["General", "RubyOnRails", "Features"] slug = "content_for-yield-and-making-sure-something-gets-displayed" +description = "Some nifty Rails trick using content_for and yield." +++ You may have heard of a very nice Rails technique that used content_for and yield to stuff custom blocks of content into a layout. For example, in a view you could add a block like this: +
<% content_for :sidebar do %>
   This goes into the sidebar when viewing this action!
 <% end %>
- + It doesn't matter where you put it in the view, because, as you may notice, the content within the content_for block is not shown in the view. The layout can pull the content for :sidebar and show it in a custom place, mostly the sidebar: +
<%= yield :sidebar %>
+ Nice, you now don't have to hard-code the sidebar (and it's layout elements) in your views everytime. You can even move the sidebar to another place, without breaking any of your views. How great is that? What does break your views, however, is not assigning anything to :sidebar. If you don't assign anything to the :sidebar, nothing will be shown, which might break your layout. (Empty div's tend to do that.) So, how can you solve this? Quite easily, actually. What you want, probably, is display a default sidebar when no custom sidebar has been assigned. you can do this with the following line of über sexy Ruby code: +
<%= (sidebar = yield :sidebar) ? sidebar : render(:partial => 'shared/sidebar') %>
+ First, you grab the :sidebar content and stuff it into a variable named, you guessed it, 'sidebar'. If this sidebar containts anything, show it. If it doesn't, you render a partial in the app/views/shared directory named _sidebar.rhtml. Well, there you are. Go enjoy yourself now. diff --git a/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md b/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md index 280c9e8..4a58827 100644 --- a/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md +++ b/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md @@ -3,6 +3,7 @@ date = "2007-09-11" title = "10 reasons why Microsoft's 10 reasons not to use Google Apps suck" tags = ["General", "Blog", "Google", "Discussion"] slug = "10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck" +description = "This post has gone meta." +++ You may have already read the 10 reasons why Microsoft thinks the enterprise should not use Google Apps. Well, here's my response: diff --git a/content/posts/2007-09-17-railsconf-europe-2007.md b/content/posts/2007-09-17-railsconf-europe-2007.md index 862401b..50925fb 100644 --- a/content/posts/2007-09-17-railsconf-europe-2007.md +++ b/content/posts/2007-09-17-railsconf-europe-2007.md @@ -3,6 +3,7 @@ date = "2007-09-17" title = "RailsConf Europe 2007!" tags = ["General", "Blog", "Personal", "RubyOnRails"] slug = "railsconf-europe-2007" +description = "A short update" +++ Well, after a long trip, I arrived at my hotel yesterday in Berlin. Today I, and my mates from Kabisa, have joined RailsConf Europe 2007. I don't think I'll be giving a full, in-detail report of everything that happens, but I will let you know anything worth your (and my) time. diff --git a/content/posts/2007-09-24-rails-20-new-features.md b/content/posts/2007-09-24-rails-20-new-features.md index 3fe2fb9..206b48d 100644 --- a/content/posts/2007-09-24-rails-20-new-features.md +++ b/content/posts/2007-09-24-rails-20-new-features.md @@ -3,6 +3,7 @@ date = "2007-09-24" title = "Rails 2.0 New Features" tags = ["General", "Features"] slug = "rails-20-new-features" +description = "Rails 2.0 is coming!" +++ As David Heinemeier Hansson already told us all during his RailsConfEurope 2007 keynote, it's time to take off the party hats. It's no longer at time to celebrate all the new stuff we get. It's time to celebrate what we have already. diff --git a/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md b/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md index 023f54c..093d205 100644 --- a/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md +++ b/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md @@ -3,6 +3,7 @@ date = "2007-09-24" title = "Whooop - here it is! The new Ariejan.net!" tags = ["General", "Blog"] slug = "whooop-here-it-is-the-new-ariejannet" +description = "Redesign and all that!" +++ Wow! Here it is then! The fully restyled, revamped and repimped Ariejan.net! (I hope you like it). So, "what's changed?", you may ask. diff --git a/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md b/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md index 75cca35..8f9d043 100644 --- a/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md +++ b/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md @@ -3,6 +3,7 @@ date = "2007-09-25" title = "The Glorious Canon EOS 400D Digital" tags = ["Blog", "Blogroll", "Photography", "Flickr", "Canon"] slug = "the-glorious-canon-eos-400d-digital" +description = "About my new digital camera." +++ Well, I finally made the big leap into (semi-)professional photography. I bought a Canon EOS 400D Digital SLR Camera. (That's the XTi Rebel for you American folk) This nifty machine allows me to take very beautiful pictures, and I already had a little practice yesterday. diff --git a/content/posts/2007-09-25-wordpress-23-released.md b/content/posts/2007-09-25-wordpress-23-released.md index 3aa49a5..0963c3e 100644 --- a/content/posts/2007-09-25-wordpress-23-released.md +++ b/content/posts/2007-09-25-wordpress-23-released.md @@ -3,6 +3,7 @@ date = "2007-09-25" title = "Wordpress 2.3 released!" tags = ["General", "Wordpress", "Blog", "Releases"] slug = "wordpress-23-released" +description = "Awesomesauce!" +++ Today Wordpress 2.3 was released (see the release notes). I've already updated Ariejan.net, of course, and I'm now able to use all of the following neat new features: diff --git a/content/posts/2007-09-26-flash-not-clearing-after-a-request.md b/content/posts/2007-09-26-flash-not-clearing-after-a-request.md index 14cdee4..278b1fc 100644 --- a/content/posts/2007-09-26-flash-not-clearing-after-a-request.md +++ b/content/posts/2007-09-26-flash-not-clearing-after-a-request.md @@ -3,6 +3,7 @@ date = "2007-09-26" title = "Flash not clearing after a request?" tags = ["General", "RubyOnRails", "Features", "Tips"] slug = "flash-not-clearing-after-a-request" +description = "How to fix the flash" +++ We all know "The Flash" to be a very useful tool in almost every application we write. What does "The Flash" actually do? diff --git a/content/posts/2007-10-08-google-increases-storage.md b/content/posts/2007-10-08-google-increases-storage.md index 7c6a016..471d165 100644 --- a/content/posts/2007-10-08-google-increases-storage.md +++ b/content/posts/2007-10-08-google-increases-storage.md @@ -3,6 +3,7 @@ date = "2007-10-08" title = "Google increases storage!" tags = ["General", "Blog", "Google", "Apps", "GMail"] slug = "google-increases-storage" +description = "2GB for free!" +++ Google today increased the storage available to Google App users. diff --git a/content/posts/2007-10-17-party-time.md b/content/posts/2007-10-17-party-time.md index 763252d..6cc331e 100644 --- a/content/posts/2007-10-17-party-time.md +++ b/content/posts/2007-10-17-party-time.md @@ -3,6 +3,7 @@ date = "2007-10-17" title = "Party time!" tags = ["General", "Blog", "birthday"] slug = "party-time" +description = "Happy birthday to me!" +++ It's that time of the year again... my birthday. I'm turning 27 today and I'll be celebrating this today with friends and family. diff --git a/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md b/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md index 4d78669..4c52f57 100644 --- a/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md +++ b/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md @@ -3,6 +3,7 @@ date = "2007-11-15" title = "Bash it! - Number of messages in Postfix queue" tags = ["Blog", "Features", "Linux", "BASH", "Bash IT", "shell", "postfix", "scripting", "mail", "server", "queue", "email", "messages"] slug = "bash-it-number-of-messages-in-postfix-queue" +description = "How to get the number of messages in your Postfix queue." +++ Got bash? Here's a nice snippet that will return the number of messages currently in the postfix queue. diff --git a/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md b/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md index b1ab7e9..52a6751 100644 --- a/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md +++ b/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md @@ -3,6 +3,7 @@ date = "2007-11-27" title = "RailsJobs.nl - Ruby on Rails Jobs in The Netherlands" tags = ["General", "Blog", "Ruby", "Ruby on Rails", "Rails", "Jobs", "RailsJobs.nl"] slug = "railsjobsnl-ruby-on-rails-jobs-in-the-netherlands" +description = "Railsjobs.nl for all your job hunting pleasure." +++ The time is now ripe to announce RailsJobs.nl - A shiny new jobboard for Ruby on Rails developers who are seeking a job in the Netherlands or Belgium. I started the site a few days ago and business and job seekers have started to find RailsJobs.nl. diff --git a/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md b/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md index 6be540f..a4e7bcb 100644 --- a/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md +++ b/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md @@ -3,6 +3,7 @@ date = "2007-11-30" title = "MySQL: (Re)set the auto-increment value of a table" tags = ["General", "Blog", "Databases", "MySQL", "development"] slug = "mysql-reset-the-auto-increment-value-of-a-table" +description = "Let's start over by resetting MySQL's auto increment counter." +++ Sometimes it's necessary to set the starting point of a MySQL auto-increment value. diff --git a/content/posts/2007-12-06-rails-calculated-column-caching.md b/content/posts/2007-12-06-rails-calculated-column-caching.md index 65ce3c4..df9f003 100644 --- a/content/posts/2007-12-06-rails-calculated-column-caching.md +++ b/content/posts/2007-12-06-rails-calculated-column-caching.md @@ -3,6 +3,7 @@ date = "2007-12-06" title = "Rails: calculated column caching" tags = ["Blog", "Features", "Ruby", "Ruby on Rails", "Rails", "cache", "sort", "order", "find", "select", "join"] slug = "rails-calculated-column-caching" +description = "Save on query time by caching calculated column values." +++ Sometimes you're working on a Rails project and you think: "hey! This should be easy!". Well, most of the time it is. I'm working on a project that allows people to rate objects (what they really are doesn't matter at all). diff --git a/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md b/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md index 9e86a2b..d337c58 100644 --- a/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md +++ b/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md @@ -3,6 +3,7 @@ date = "2007-12-07" title = "Wil jij mijn collega zijn? - Kabisa is hiring!" tags = ["General", "Blog", "Kabisa", "promo"] slug = "wil-jij-mijn-collega-zijn-kabisa-is-hiring" +description = "I'm looking for new co-workers!" +++ Ken jij een ICT’er? diff --git a/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md b/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md index 6029282..73e5e1c 100644 --- a/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md +++ b/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md @@ -3,6 +3,7 @@ date = "2007-12-12" title = "How to install MySQL on Ubuntu/Debian" tags = ["Ubuntu", "MySQL", "debian"] slug = "how-to-install-mysql-on-ubuntudebian" +description = "Complete guide to installing MySQL on Ubuntu/Debian" +++ It may seem easy for some, but for others, installing MySQL on Ubuntu or Debian Linux is not an easy task. This article explains to you how to install the MySQL Server and Client packages on a Ubuntu/Debian system. diff --git a/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md b/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md index 84c41b2..64dbd8d 100644 --- a/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md +++ b/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md @@ -3,6 +3,7 @@ date = "2007-12-12" title = "Run Internet Explorer 5, 5.5, 6 and 7 natively on Mac OS X Leopard or Tiger" tags = ["Blog", "Features", "Apple", "Mac OS X", "MacOSX", "osx", "leopard", "tiger", "mac", "windows", "internetexplorer", "explorer", "IE", "IE7", "IE6", "parallels"] slug = "run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger" +description = "I have no idea why I'd ever want to do this, but here goes..." +++ As a web developer, you probably know all about browsers. They suck. Well, some more than others. But, if you develop apps for Windows users, you'll have to test your app with Internet Explorer. diff --git a/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md b/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md index 62b0858..5cbe422 100644 --- a/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md +++ b/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md @@ -3,6 +3,7 @@ date = "2007-12-20" title = "For You: Merry Christmas and a Happy 2008!!!" tags = ["General", "Blog"] slug = "for-you-merry-christmas-and-a-happy-2008" +description = "Party time!" +++ Merry Christmas - Happy 2008!!!’ diff --git a/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md b/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md index a56382f..33dbef3 100644 --- a/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md +++ b/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md @@ -3,6 +3,7 @@ date = "2007-12-31" title = "Write a DVD-Video from the Linux console" tags = ["Blog", "DVD", "Linux", "Blogroll", "Video", "burn", "burning", "writing"] slug = "write-a-dvd-video-from-the-linux-console" +description = "How to create a video DVD from the linux command line" +++ This is probably my last post for this year, and it's not about Ruby on Rails! Or web development! It's about how to burn a DVD-Video from the Linux console. diff --git a/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md b/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md index 10f9fb6..adc28a0 100644 --- a/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md +++ b/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md @@ -3,6 +3,7 @@ date = "2010-09-11" title = "Mass convert WMA to MP3 using ffmpeg and ruby" tags = ["audio", "mp3", "wma", "music", "ffmpeg"] slug = "mass-convert-wma-to-mp3-using-ffmpeg-and-ruby" +description = "How to easily convert a large library of WMA files to MP3 using some nifty Ruby scripting and ffmpeg" +++ Today I found myself in a situation where I have a few (200+) WMA audio files. Due to personal preference I want MP3, not WMA. So, let's convert that lot. diff --git a/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md b/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md index 28a3ebb..ff7b38b 100644 --- a/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md +++ b/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md @@ -2,6 +2,7 @@ date = "2014-11-24" title = "VoltMeister 100: Bench Power Supply - Part 1" tags = ["electronics", "voltmeister", "power supply"] +categories = [ "Electronics" ] description = "A bench power supply is one of the essential tools of any electronics hobbyist.Although you can buy a such a unit for less that € 50, it's way more fun to build one yourself." slug = "voltmeister-100-atx-bench-power-supply-part-1" +++ diff --git a/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md b/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md index e383785..70d8b4a 100644 --- a/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md +++ b/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md @@ -2,6 +2,7 @@ date = "2014-11-26" title = "VoltMeister 100: Bench Power Supply - Part 2" tags = ["electronics", "voltmeister", "power supply"] +categories = [ "Electronics" ] description = "In Part 1 of this series I discussed how an ATX power supply can be usedto create a poor man's bench power supply. In Part 2 I'll show you howI managed to fit the ATX power supply, my control board and everythingelse neatly into a single box." slug = "voltmeister-100-atx-bench-power-supply-part-2" +++ diff --git a/content/posts/2016-01-07-denon-pma560-repair-log.md b/content/posts/2016-01-07-denon-pma560-repair-log.md index 2568f54..31a6d87 100644 --- a/content/posts/2016-01-07-denon-pma560-repair-log.md +++ b/content/posts/2016-01-07-denon-pma560-repair-log.md @@ -2,6 +2,7 @@ date = "2016-01-07" title = "Denon PMA-560 Repair Log" tags = ["ohmexpress", "repair", "audiorepair"] +categories = [ "Audio Repair" ] description = "Log of diagnosing and repairing a Denon PMA560 Stereo integrated amplifier." slug = "denon-pma-560-repair-log" +++ diff --git a/content/posts/2016-01-12-denon-pma560-repair-log-update.md b/content/posts/2016-01-12-denon-pma560-repair-log-update.md index c038a9a..eb91cd7 100644 --- a/content/posts/2016-01-12-denon-pma560-repair-log-update.md +++ b/content/posts/2016-01-12-denon-pma560-repair-log-update.md @@ -2,6 +2,7 @@ date = "2016-01-12" title = "Denon PMA-560 Repair Log - Update" tags = ["ohmexpress", "repair", "audiorepair"] +categories = [ "Audio Repair" ] description = "Replacement parts for the Denon PMA-560 have arrived. Let's get to work!" slug = "denon-pma-560-repair-log-update" +++ diff --git a/content/posts/2016-01-21-marantz-sr5200-repair-log.md b/content/posts/2016-01-21-marantz-sr5200-repair-log.md index 7b601ee..3170e8c 100644 --- a/content/posts/2016-01-21-marantz-sr5200-repair-log.md +++ b/content/posts/2016-01-21-marantz-sr5200-repair-log.md @@ -2,6 +2,7 @@ date = "2016-01-21" title = "Marantz SR5200 Repair Log" tags = ["ohmexpress", "repair", "audiorepair"] +categories = [ "Audio Repair" ] description = "A Marantz SR5200 receiver with a non-working front-right channel. Let's fix that!" slug = "marantz-sr5200-repair-log" +++ diff --git a/content/posts/2016-04-10-denon-pma-720a-repair-log.md b/content/posts/2016-04-10-denon-pma-720a-repair-log.md index a9ba5f5..c29c067 100644 --- a/content/posts/2016-04-10-denon-pma-720a-repair-log.md +++ b/content/posts/2016-04-10-denon-pma-720a-repair-log.md @@ -2,6 +2,7 @@ date = "2016-04-10" title = "Denon PMA 720a Repair Log" tags = ["ohmexpress", "repair", "audiorepair"] +categories = [ "Audio Repair" ] description = "A classic 1989 Denon PMA 720a Integrated Amp that made a bang and wont't turn on. Let's solve this!" slug = "denon-pma-720a-repair-log" +++ diff --git a/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md b/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md index dbc06e2..0a8be4a 100644 --- a/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md +++ b/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md @@ -2,6 +2,7 @@ date = "2016-10-09" title = "Marantz PM80 Mk2 Repair Log" tags = ["repair", "audiorepair"] +categories = [ "Audio Repair" ] description = "The venerable Marantz PM80 Mk2. This unit was completely dead, but I was able to bring it back to life!" slug = "marantz-pm80-mk2-repair-log" +++ diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e035b6a..9c69570 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,13 +1,20 @@ {{ partial "header.html" . }} -
- {{ range .Data.Pages }} - - {{ end }} -
+

{{ .Title }}

+ +
+ {{ range (where .Data.Pages "Section" "posts") }} +
+

{{ .Title }}

+

+ + {{ if .Description }} + — + {{ .Description | safeHTML }} + {{ end }} +

+
+ {{ end }} +
{{ partial "footer.html" . }} - diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a5bea0b..300f081 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,8 @@ {{ partial "header.html" . }}
-

{{ .Title }}

-

+

{{ .Title }}

+ {{ end }}
diff --git a/layouts/index.html b/layouts/index.html index 9077d11..00af0b1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,20 +1,16 @@ {{ partial "header.html" . }} -
- {{ range first 20 (where .Data.Pages "Section" "posts") }} +
+ {{ range (where .Data.Pages "Section" "posts") }}

{{ .Title }}

- - — - {{ .Description | safeHTML }}

-
- {{ end }} - - {{ range after 20 (where .Data.Pages "Section" "posts") }} -
-

{{ .Title }}

-

+ + {{ if .Description }} + — + {{ .Description | safeHTML }} + {{ end }} +

{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0101bb7..41e86c5 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,13 @@ + +