Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

read articles backlog

  • Loading branch information...
commit 26b2456f585591aa641d501654929cfe74151f8f 1 parent 132f829
@equivalent authored
View
5 helpers/helpers.rb
@@ -72,9 +72,10 @@ def dir_w_listing(folder_name)
(Dir.entries( w_path(folder_name )) - ['.', '..']).sort
end
- def screencast(name, title, link, image=nil)
+ def screencast(name, link, image=nil, title=nil)
+ title = name if title.nil?
render = "<a href=\"#{link}\" title=\"#{title}\">"
- render += image ? "<img src=\"#{image}\" alt=\"#{name}\">" : "#{name}: #{title}"
+ render += image ? "<img src=\"#{image}\" alt=\"#{name}\">" : "<div class=\"noimage\">#{name}: #{title}</div>"
render += '</a>'
return render
end
View
21 plugins/routings/readed_articles.rb
@@ -1,21 +0,0 @@
-get '/read-articles-backlog' do
- @railscasts = {
- 283 => '',
- 279 => 'Asset pipeline',
- 255 => '',
- 241 => 'Omniauth form scratch',
- 238 => '',
- 235 => 'Implementing omniauth to existing project',
- 233 => 'janrain rpx authentication with other provider',
- 209 => 'devise authentication',
- 205 => '',
- 194 => '',
- 126 => '',
- 81 => '',
- 11 => ''
- }
- @readed_articles = read_w_file('other/readed_articles')
- @html_id='read_backlog'
- haml :readed_articles
-end
-
View
23 scrapbook.rb
@@ -72,4 +72,27 @@ def self.translation
haml :markdown_read
end
+get '/read-articles-backlog' do
+ # todo refactor this
+ @railscasts = {
+ 283 => '',
+ 279 => 'Asset pipeline',
+ 255 => '',
+ 241 => 'Omniauth form scratch',
+ 238 => '',
+ 235 => 'Implementing omniauth to existing project',
+ 233 => 'janrain rpx authentication with other provider',
+ 209 => 'devise authentication',
+ 205 => '',
+ 194 => '',
+ 126 => '',
+ 81 => '',
+ 11 => ''
+ }
+ @readed_articles = read_w_file('other/readed_articles')
+ @html_id='read_backlog'
+ haml :readed_articles
+end
+
+
Dir[File.dirname(__FILE__) + '/plugins/routings/*.rb'].each {|file| require file }
View
57 views/readed_articles.haml
@@ -1,7 +1,15 @@
-
-
+%nav
+ %ul
+ %li
+ %a{:href=>'#read_articles'} Read articles backlog
+ %li
+ %a{:href=>'#watched_screencasts_rest'} Watched screencasts backlog
+ %li
+ %a{:href=>'#read_books'} Read books backlog
%section#read_articles
%h2 Backlog of read articles
+ %p
+ For better tracking of issues, I keep backlog of articles that helped me solve development problems. On the top of the section are newest links.
~ markdown(@readed_articles)
@@ -11,21 +19,60 @@
%h2
Backlog of watched screencasts
+ %h3 RailsCasts
%ul
- @railscasts.each do |railscast, decscription|
%li
%a{:href => "http://railscasts.com/episodes/#{railscast}", :title=>"RailsCasts #{railscast}"} Railscasts #{railscast}
= decscription
.clear
+
+ %h3#watched_screencasts_rest Other
%ul.floating
+
+ %li
+ = screencast('Introduction to Sass: Part 2', 'http://screencasts.org/episodes/introduction-to-sass-part-2', nil, 'at screencasts.org')
+
+ %li
+ = screencast('Introduction to Sass: Part 1', 'http://screencasts.org/episodes/introduction-to-sass', nil, 'at screencasts.org')
+
+ %li
+ = screencast('Haml & Sass', 'https://peepcode.com/products/haml-and-sass', 'https://peepcode.com/system/covers/haml-and-sass.png', 'Peepcon screencast on Haml, Sass')
+
+ %li
+ = screencast('Play by Play: Ryan Singer (UI)', 'https://peepcode.com/products/ryan-singer-ux', 'https://peepcode.com/system/covers/ryan-singer-ux.png', 'on UI workflow')
+
+ %li
+ = screencast('RSpec controllers', 'https://peepcode.com/products/rspec-controllers-and-tools', 'https://peepcode.com/system/covers/rspec-controllers-and-tools.png')
+
+ %li
+ = screencast('RSpec models', 'https://peepcode.com/products/rspec-mocks-and-models', 'https://peepcode.com/system/covers/rspec-mocks-and-models.png')
+
+ %li
+ = screencast('RSpec basics', 'https://peepcode.com/products/rspec-basics', 'https://peepcode.com/system/covers/rspec-basics.png')
+
+ %li
+ = screencast('GIT', 'https://peepcode.com/products/git', 'https://peepcode.com/system/covers/git.png', 'Peepcode on GIT')
+
%li
- = screencast('Haml & Sass', 'Peepcon screencast on Haml, Sass', 'https://peepcode.com/products/haml-and-sass', 'https://peepcode.com/system/covers/haml-and-sass.png')
+ = screencast('The Ruby Object Model and Metaprogramming', 'http://pragprog.com/screencasts/v-dtrubyom/the-ruby-object-model-and-metaprogramming', 'http://imagery.pragprog.com/products/122/v-dtrubyom_xlargecover.jpg', 'Realy good cast demostrating how are objects actually working ')
+
+
+
%section#read_books
%h2
Backlog of read books
%ul.floating
%li
+ %a{:href=>'http://www.abookapart.com/products/html5-for-web-designers'}
+ %img{:src=>'http://i.imgur.com/HwyMR.jpg', :alt=>'HTML5 For Web Designers [AbookApart]'}
+
+ %li
+ %a{:href=>'http://www.abookapart.com/products/css3-for-web-designers'}
+ %img{:src=>'http://i.imgur.com/02GIx.jpg', :alt=>'CSS3 for web designers [AbookApart]'}
+
+ %li
%a{:href=>'http://progit.org'}
%img{:src=>'http://i.imgur.com/viq3y.jpg', :alt=>'ProGit book'}
%li
@@ -35,3 +82,7 @@
%img{:src=>'http://i.imgur.com/Xvmt1.jpg', :alt=>'PHP5 Apache MySQL web development book'}
.clear
+
+
+%footer
+ ='<a href="https://twitter.com/equivalent8" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @equivalent8</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>'
View
24 views/stylesheet.sass
@@ -130,12 +130,31 @@ html
html#read_backlog
article
+ nav
+ margin-bottom: 10px
+ li
+ float: left
+ margin-right: 20px
+
+ footer
+ margin-top: 50px
+ a, iframe
+ margin-left: 15px
section
clear: both
ul.floating
li
- margin-right: 20px
+ margin-right: 15px
float: left
+ div.noimage
+ font-size: 11px
+ overflow: hidden
+ background: #333
+ border: solid 2px black
+ padding: 4px
+ color: white
+ a
+ color: white
section#read_books
img
max-height: 100px
@@ -144,6 +163,9 @@ html#read_backlog
img
max-height: 120px
max-width: 120px
+ div.noimage
+ width: 100px
+ height: 60px
html#home
nav#index_navigation
View
18 wisdom_inside/other/readed_articles
@@ -276,8 +276,7 @@ https://svn.macports.org/ticket/25867
http://forums.enterprisedb.com/posts/list/1744.page
https://gist.github.com/970901
http://beginrescueend.com/packages/openssl/
-http://redmine.ruby-lang.org/issues/4611
-http://beginrescueend.com/packages/openssl/
+http://redmine.ruby-lang.org/issues/4611 http://beginrescueend.com/packages/openssl/
http://www.cs.washington.edu/homes/aczeskis/openssl.html
https://support.newrelic.com/help/discussions/support/8900-what-is-ppm-in-throughput
https://support.newrelic.com/kb/general/apdex
@@ -412,15 +411,6 @@ totaly old:
http://stakeventures.com/articles/2007/11/26/how-to-turn-your-rails-site-into-an-oauth-provider
-###All the above stuff I red is from newest to oldest. ^^ ###
-
-
-videos
-========
-
-http://www.g4tv.com/thefeed/blog/post/715958/guild-wars-2-environment-artist-tirzah-bauer-teaches-you-how-to-create-beautiful-landscapes/
-
-
@@ -428,7 +418,7 @@ http://www.g4tv.com/thefeed/blog/post/715958/guild-wars-2-environment-artist-tir
stack owerflow
-==============
+-----------------
http://stackoverflow.com/questions/4881680/rspec-autotest-error-on-mac-os-x
http://stackoverflow.com/questions/3852759/does-rake-dbpopulate-work-in-rails-3
@@ -453,14 +443,14 @@ http://stackoverflow.com/questions/470702/css-selector-for-input-type
documentations
-==============
+---------------
https://github.com/jnicklas/carrierwave
https://github.com/markevans/dragonfly/
todo (to be read)
-======================
+----------------
http://apidock.com/rails/ActionView/Helpers/UrlHelper/link_to
http://www.slideshare.net/padday/the-real-life-social-network-v2
View
7 wisdom_inside/other/readed_articles_other
@@ -239,6 +239,13 @@ BOOKMARKS
+videos
+========
+
+http://www.g4tv.com/thefeed/blog/post/715958/guild-wars-2-environment-artist-tirzah-bauer-teaches-you-how-to-create-beautiful-landscapes/
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.