Skip to content

Instantly share code, notes, and snippets.

View levent's full-sized avatar

Levent Ali levent

View GitHub Profile
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?
# 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);
});
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
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
sort /home/rails/data_development.csv | cut -d "," -f2 | uniq | wc -l
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
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
@levent
levent / gist:595465
Created September 24, 2010 14:27 — forked from maccman/gist:595463
/*
Less CSS3 utils.
Usage:
.fooClass {
border: 3px solid #000;
.vbg-gradient(#FFF, #CCC);
.hbox();
}
*/
@levent
levent / .vimrc
Created September 27, 2010 08:40
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
@levent
levent / huntress
Created September 28, 2010 10:07
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