Linux commands for remote access, compress, decompress

Remote Login============ssh client is a program for logging into remote machine and execute commands.ssh [-l login_name ] hostname | user@hostname [command ]other optionsssh [-afgknqstvxACNTX1246 ] [-b bind_address ] [-c cipher_spec ] [-e escape_char ] [-i identity_file ] [-l login_name ] [-m mac_spec ] [-o option ] [-p port ] [-F configfile ] [-L port host hostport ] [-R … Continue reading Linux commands for remote access, compress, decompress

Cucumber Configuration with Radiant

Configuring cucumber with Radiant Application: The command  > ruby script/generate cucumber does not succeed in case of Radiant application. Issues encountered: The command  >ruby script/generate cucumber cannot be executed. It gives error “Couldn’t find ‘cucumber’ generator” Possible reason & solution: Seems that this is because Radiant Application does not use generator and looks for generators … Continue reading Cucumber Configuration with Radiant

Variables initialization, assignments and swapping in ruby

Just a single line variable swap in rubyx,y=y,xExample:irb>> x = "Fun"=> "Fun"irb>> y = "Rails"=> "Rails"irb>> x,y = y,x=> ["Rails", "Fun"]irb>> p x"Rails"=> nil>> p y"Fun"Variable assignments in Rubywe can do multiple assignments in a single line.irb>> a,b,c,d = 1,2,3,4=> [1, 2, 3, 4]here is interpretation of above lineirb>> p "a => #{a} b => #{b} … Continue reading Variables initialization, assignments and swapping in ruby