Skip to content

Instantly share code, notes, and snippets.

Petteri Räty betelgeuse

Block or report user

Report or block betelgeuse

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View paper_data_sources.data
type;count
Other;1
Asking;15
Comm.;16
VCS;17
PM;18
View gist:7951179
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ä") +
View with_published_versions.rb
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
You can’t perform that action at this time.