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
public class Koło { | |
private double promień; | |
public Koło(int a){ | |
promień = a; | |
} | |
public double obliczObwódKoła(){ | |
return 2*Math.PI*promień; | |
} |
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
public class Koło { | |
int promień; | |
public Koło(int a){ | |
promień = a; | |
} | |
} |
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
Part of xml : | |
<grading> | |
<grade>3</grade> | |
<scale>5</scale> | |
<gradeDescription>moderate</gradeDescription> | |
</grading> | |
[1] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_1>)> subject.grading | |
=> #<RowlfTours::WorldExpeditions::GradingWrapper:0x00000001ba8730 | |
@entity={"grade"=>"5", "scale"=>"10", "gradeDescription"=>"Moderate level"}, |
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
DEPRECATION WARNING: Yajl's Gzip support is going to be removed in 2.0 | |
rake aborted! | |
psql: FATAL: Peer authentication failed for user "rowlf" | |
/home/master/Dokumenty/LonelyPlanet/rowlf/rowlf/lib/tasks/postgis.rb:23:in `block (3 levels) in <top (required)>' | |
Tasks: TOP => db:setup:all => db:postgis:setup | |
(See full trace by running task with --trace) |
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
createuser: creation of new role failed: ERROR: role "rowlf" already exists | |
rake aborted! | |
psql: FATAL: Peer authentication failed for user "rowlf" | |
/home/master/Dokumenty/LonelyPlanet/rowlf/rowlf/lib/tasks/postgis.rb:23:in `block (3 levels) in <top (required)>' | |
Tasks: TOP => db:setup:all => db:postgis:setup | |
(See full trace by running task with --trace) |
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
postgres=# SELECT *FROM pg_shadow; | |
usename | usesysid | usecreatedb | usesuper | usecatupd | userepl | passwd | valuntil | useconfig | |
----------+----------+-------------+----------+-----------+---------+-------------------------------------+----------+----------- | |
postgres | 10 | t | t | t | t | md50b24c6ea6da80e959b1a6f4d79cea5d0 | | | |
rowlf | 16384 | f | f | f | f | md5f8bfe67e0de2146e78ae8ece30d67e49 | | | |
(2 rows) | |
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
master@ubuntu:~/Dokumenty/LonelyPlanet/rowlf/rowlf$ bundle exec rake db:setup:all | |
DEPRECATION WARNING: Yajl's Gzip support is going to be removed in 2.0 | |
createuser: could not connect to database postgres: FATAL: role "master" is not permitted to log in | |
rake aborted! | |
psql: FATAL: Peer authentication failed for user "rowlf" | |
/home/master/Dokumenty/LonelyPlanet/rowlf/rowlf/lib/tasks/postgis.rb:23:in `block (3 levels) in <top (required)>' | |
Tasks: TOP => db:setup:all => db:postgis:setup | |
(See full trace by running task with --trace) |
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
master@ubuntu:~/Dokumenty/LonelyPlanet/rowlf/rowlf$ grep -rl "atlas.lonelyplanet.com" "." | |
./lib/rowlf/atlas.rb | |
./spec/fixtures/vcr_cassettes/atlas_populate_shapes_command.yml | |
./spec/fixtures/vcr_cassettes/atlas_pages.yml | |
./spec/fixtures/vcr_cassettes/rowlf_commands_fetch_command_atlas.yml | |
./spec/fixtures/vcr_cassettes/atlas_place_fetch_command.yml | |
./spec/lib/rowlf/commands/atlas_populate_shapes_command_spec.rb | |
master@ubuntu:~/Dokumenty/LonelyPlanet/rowlf/rowlf$ grep -rl "atlas.devint.lpo" "." | |
master@ubuntu:~/Dokumenty/LonelyPlanet/rowlf/rowlf$ |
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
GIT | |
remote: git@github.com:lonelyplanet/rowlf-tours.git | |
revision: c44760e28a13ab83cdd1333ea6a9737259ce9c3e | |
specs: | |
rowlf_tours (0.0.1) | |
activesupport (~> 3.2.0) | |
confstruct | |
faraday | |
nokogiri | |
nori (= 2.0.3) |
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
task :fetch do | |
FileUtils.mkdir_p('tmp/intrepid') | |
json = RowlfTours::Intrepid::Provider.new.render.to_json | |
File.open("tmp/intrepid/trips.json", 'w') {|f| f.write(json) } | |
end |
OlderNewer