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
type;count | |
Other;1 | |
Asking;15 | |
Comm.;16 | |
VCS;17 | |
PM;18 |
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
library(ggplot2) | |
data = read.table('years.data',header=TRUE) | |
#geom_bar(width=.5) + | |
pdf('paper_years.pdf') | |
print(ggplot(data, aes(as.numeric(year))) + | |
geom_bar() + | |
xlab("Vuosi") + | |
ylab("Julkaisujen määrä") + |
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
gem 'activerecord', ENV['ACTIVE_RECORD_VERSION'] || '3.2.13' | |
require 'active_record' | |
require "minitest/autorun" | |
require 'minitest/pride' | |
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') | |
ActiveRecord::Schema.define do | |
create_table :as, force: true do |t| | |
t.integer :b_id |
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
source :rubygems | |
gem 'debugger' | |
gem 'rspec' |