blog.robert.pankowecki.pl
Rupert Blog: maja 2012
http://blog.robert.pankowecki.pl/2012_05_01_archive.html
Notes from programmer life. Sobota, 5 maja 2012. Apotomo - API done right. During the wroc love.rb conference. I had the opportunity to speak with Nick Sutterer. The original author and maintainer of great Cells. Gems) and thank him for the architectural choices made for the libraries. He said that I should blog about and help spread the good word instead of just telling him about the things that I like. So, here I am writing this post and keeping my promise. To get an idea of how it works. Was dynamical...
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/staticmatic
Haml, Compass, Front-end development. Thanks to Arthur Gunn I've checked out the middleman. Gem and by my humble opinion it is better than staticmatic, it is sinatra based and the helpers it provides are with the same names as in rails so you'll feel right at home. I still have not played with the frank. Gem, I'll update this post after I take a closer look at it. So I thought.there must be an easier way to to this (save the aliens).so I did some research and discovered Staticmatic. So now all you need t...
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/tip
Some Tips And Tricks. Rake routes sed -e "1d" -e "s,. Awk '{print $1}' sort uniq. Remove old kernel versions - Ubuntu. I'm using Ubuntu and RubyMine for developing ror apps and after some period of time after many ubuntu updates, I feel the need to remove old kernel versions :) and this is the command I use (10x @gemidjy. Sudo apt-get remove - purge `dpkg - get-selections 'linux-*.*' awk '$2 = "install" { print $1 }' grep -v "$(uname -r sed 's/ (.* )-.*/ 1/')"`
. Which process is using your port? RAILS E...
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/frontend
Generating SHTML with middleman. Because I wanted to improve my css skills, I've decided to spend time learning css, optimizations, the whole front-end development shebang. The latest project I worked on, the client required static web site done using SSI/Server Side Includes. How to turn on SSI? Simply open your apache conf file and add Includes in your apache options and add shtml to the known file types. How to include content using shtml? Include file="includes/header.shtml" -
. The next thing that ...
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/rails
Some Tips And Tricks. Rake routes sed -e "1d" -e "s,. Awk '{print $1}' sort uniq. Remove old kernel versions - Ubuntu. I'm using Ubuntu and RubyMine for developing ror apps and after some period of time after many ubuntu updates, I feel the need to remove old kernel versions :) and this is the command I use (10x @gemidjy. Sudo apt-get remove - purge `dpkg - get-selections 'linux-*.*' awk '$2 = "install" { print $1 }' grep -v "$(uname -r sed 's/ (.* )-.*/ 1/')"`
. Which process is using your port? RAILS E...
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/javascript
Javascript handle paste event. How to handle the paste event in javascript. I've used this for a Rich Text Editor(RTE) paste event for a case when you don't want to paste html content but text only. Here are the steps:. First you need to bind event listener to the container (in my case body of the iframe where content is entered for the RTE. The waitForPasteData function actually is for making sure you have the pasted Data so it can be processed later. That's about it, I hope this helps somebody :).
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/shtml
Generating SHTML with middleman. Because I wanted to improve my css skills, I've decided to spend time learning css, optimizations, the whole front-end development shebang. The latest project I worked on, the client required static web site done using SSI/Server Side Includes. How to turn on SSI? Simply open your apache conf file and add Includes in your apache options and add shtml to the known file types. How to include content using shtml? Include file="includes/header.shtml" -
. The next thing that ...
boban.jovanoski.net
Boban Jovanoski
http://boban.jovanoski.net/tag/compass
Haml, Compass, Front-end development. Thanks to Arthur Gunn I've checked out the middleman. Gem and by my humble opinion it is better than staticmatic, it is sinatra based and the helpers it provides are with the same names as in rails so you'll feel right at home. I still have not played with the frank. Gem, I'll update this post after I take a closer look at it. So I thought.there must be an easier way to to this (save the aliens).so I did some research and discovered Staticmatic. So now all you need t...
adamcarlile.com
The Rails renderer pattern > Adam Carlile, London based rubyist
http://www.adamcarlile.com/2015/4/the-rails-renderer-pattern
London based Rubyist, and part time adventurer. The Rails renderer pattern. April 24, 2015 10:30. 3 minutes - 516 words. Rails has always had a neglected sibling through its entire life, while everything else has been blessed with changes and upgrades. The view layer is still relatively unchanged since rails first release in 2004. There have been numerous. To try to update the view layer to de-couple the rendering of parts into various different components that can be reused. And it looks like this:.
SOCIAL ENGAGEMENT