This file contains 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
anita@anita-laptop:~/sandbox/homework$ ruby test.rb | |
Loaded suite test | |
Started | |
. | |
Finished in 0.00039 seconds. | |
1 tests, 1 assertions, 0 failures, 0 errors | |
anita@anita-laptop:~/sandbox/homework$ |
This file contains 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
anita@anita-laptop:~/sandbox/homework$ ruby giles_innocent.rb | |
Loaded suite giles_innocent | |
Started | |
EEEEEEE | |
Finished in 0.001415 seconds. | |
1) Error: | |
test_arrest(Giles_Test): | |
NameError: undefined local variable or method `cops' for #<Giles_Test:0xb7ccc68c> | |
giles_innocent.rb:28:in `test_arrest' |
This file contains 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
anita@anita-laptop:~$ hydrogen | |
lash_open_socket: could not connect to host 'localhost', service '14541' | |
lash_comm_connect_to_server: could not create server connection | |
lash_open_socket: could not connect to host 'localhost', service '14541' | |
lash_comm_connect_to_server: could not create server connection | |
lash_open_socket: could not connect to host 'localhost', service '14541' | |
lash_comm_connect_to_server: could not create server connection | |
lash_open_socket: could not connect to host 'localhost', service '14541' | |
lash_comm_connect_to_server: could not create server connection | |
lash_open_socket: could not connect to host 'localhost', service '14541' |
This file contains 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
anita@anita-laptop:~$ mkdir ak | |
anita@anita-laptop:~$ cd ak | |
anita@anita-laptop:~/ak$ jekyll | |
Successfully generated site in ./_site | |
anita@anita-laptop:~/ak$ ls | |
anita@anita-laptop:~/ak$ ls -a | |
. .. | |
anita@anita-laptop:~/ak$ cd | |
anita@anita-laptop:~$ ls -a | |
. .inkscape |
This file contains 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
anita@anita-laptop:~$ aplay -l | |
**** List of PLAYBACK Hardware Devices **** | |
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 1: UA25 [EDIROL UA-25], device 0: USB Audio [USB Audio] | |
Subdevices: 1/1 |
This file contains 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
anita@anita-laptop:~$ cat /proc/asound/cards | |
0 [Intel ]: HDA-Intel - HDA Intel | |
HDA Intel at 0xd8240000 irq 21 | |
1 [UA25 ]: USB-Audio - EDIROL UA-25 | |
Roland EDIROL UA-25 at usb-0000:00:1d.1-2, full speed | |
THIS PLAYS NO SOUND | |
anita@anita-laptop:~$ speaker-test -c2 -D plughw:UA25 -twav | |
This file contains 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 '../lib/liquid' | |
class User | |
attr_accessor :name | |
liquid_methods :name | |
def initialize(name) | |
@name = name | |
end | |
end |
This file contains 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
anita@anita-laptop:~/development/ruby/ruby_in_practice$ rake spec --colour | |
anita@anita-laptop:~/development/ruby/ruby_in_practice$ spec first_rspec.rb | |
.. | |
Finished in 0.002482 seconds | |
2 examples, 0 failures | |
anita@anita-laptop:~/development/ruby/ruby_in_practice$ |
This file contains 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
anita@anita-laptop:~/development/ruby/ruby_in_practice$ rake spec SPEC_OPTS="--colour" | |
rake aborted! | |
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2343:in `raw_load_rakefile' | |
(See full trace by running task with --trace) | |
anita@anita-laptop:~/development/ruby/ruby_in_practice$ |
This file contains 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
anita@anita-laptop:~/development/ruby/ruby_in_practice$ rake spec | |
rake aborted! | |
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2343:in `raw_load_rakefile' | |
(See full trace by running task with --trace) | |
anita@anita-laptop:~/development/ruby/ruby_in_practice$ |