This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'faker' | |
| # ActiveRecord | |
| # Updates the attribute identified by <tt>attr_name</tt> with the specified +value+. Empty strings for fixnum and float | |
| # columns are turned into +nil+. | |
| def write_attribute(attr_name, value) | |
| attr_name = attr_name.to_s | |
| @attributes_cache.delete(attr_name) | |
| if (column = column_for_attribute(attr_name)) && column.number? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sample for /photos/15 | |
| $('#photo_holder').addClass('loading'); | |
| $('#photo_15').hide().attr('src', 'http://farm4.static.flickr.com/3531/3781017414_59dc185b46_b.jpg').load(function () { | |
| $(this).fadeIn(800); | |
| $('#photo_holder').removeClass('loading'); | |
| return(false); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| context "while not logged in" do | |
| describe "index" do | |
| %w(index show destroy update).each do |action| | |
| it "should not allow access to #{action}" do | |
| bypass_rescue | |
| lambda {get action.to_sym}.should raise_exception(Acl9::AccessDenied) | |
| end | |
| end | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Installing sqlite3-ruby (1.3.0.beta.2) from .gem files at /home/rails/.bundle/ruby/1.8/cache with native extensions /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:482:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) | |
| /usr/bin/ruby1.8 extconf.rb | |
| checking for #include <sqlite3.h> | |
| ... yes | |
| checking for sqlite3_libversion_number() in -lsqlite3... yes | |
| checking for rb_proc_arity()... no | |
| checking for sqlite3_column_database_name()... yes | |
| checking for sqlite3_enable_load_extension()... yes | |
| checking for sqlite3_load_extension()... yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sort /home/rails/data_development.csv | cut -d "," -f2 | uniq | wc -l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Levent, | |
| I looked at the details provided by the documents you gave me about the Party Wall Agreement. The details show 220mm Concrete Band with the top at +1.55 above datum level which is around 70cm above the Basement level of 50 Church Crescent. Attached is a document providing description of waterproofing to the walls with Gypliner metal track system. | |
| The drawings show some voids below this concrete band which I assume has been dug out since it does not make any sense of having a cantilever concrete band. This concrete band could be old foundation footings !! | |
| Section B-B shows significant excavation below existing levels which will undermine the existing party wall and during excavation special propping must be provided in order to avoid any risk of causing damage to the Party wall. Once R.C. Retaining wall is built it should be OK. | |
| Section C1-C1 show a deep cutback into inclining boundary wall which will then be replaced with a thinner reinforced concrete retaining wall. Special support and propping |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| syntax on | |
| filetype plugin indent on | |
| set number | |
| set softtabstop=2 | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set expandtab | |
| au BufNewFile,BufRead *.less set filetype=css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Less CSS3 utils. | |
| Usage: | |
| .fooClass { | |
| border: 3px solid #000; | |
| .vbg-gradient(#FFF, #CCC); | |
| .hbox(); | |
| } | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| syntax on | |
| filetype plugin indent on | |
| set number | |
| set softtabstop=2 | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set expandtab | |
| au BufNewFile,BufRead *.less set filetype=css | |
| colorscheme vividchalk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| My responses to SPAM from Huntress recruitment consultants | |
| Each time they replied with confirmation that my email had been removed | |
| ================= | |
| ================= | |
| January 07 | |
| please unsubscribe my email address from all your lists | |
| thanks and happy new year |