start new:
tmux
start new with session name:
tmux new -s myname
n u *@:call FdmSave()<CR>u:call FdmRestore()<CR> | |
Last set from ~/.vimviews/~=+Research Projects=+Forward Intensity=+Presentation=+frames.tex= |
# Prepare parallel computing | |
n_cpu_reserve = 4 # Number of CPUs not to use | |
n_cpu = length(Sys.cpu_info()) # Obtain number of CPUs | |
n_workers = n_cpu - n_cpu_reserve # Set number of CPUs for computation | |
addprocs(n_workers - length(workers())) # Add additional CPUs if necessary | |
# Create a standard array for our task | |
my_array = dzeros((1000, 1000), workers(), [1, length(workers())]) | |
@parallel for i = 1:size(my_array, 1) |
# Load library files | |
include("lib/parallel.jl") | |
# Set number of workers | |
setprocs(2) | |
# Load remaining source onto all parallel processes | |
require("lib/DataIO.jl") | |
require("lib/IntensityFunctions.jl") |
== 20140907220153 SerializeServiceProperties: migrating ======================= | |
-- add_column(:services, :properties, :text) | |
rake aborted! | |
StandardError: An error has occurred, all later migrations canceled: | |
Mysql2::Error: Duplicate column name 'properties': ALTER TABLE `services` ADD `properties` text/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:301:in `query' | |
/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:301:in `block in execute' | |
/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log' | |
/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log' |
I hereby claim:
To claim this, I am signing this object:
x = c(2.8, 1.2, 2.1, 1.6, 1.5, 4.6, 3.6, 2.1, 6.5, 4.6, 3.0, 1.3, 4.2) | |
y = c(9.4, 10.4, 10.8, 10.5, 18.4, 11.1, 2.6, 8.8, 5.0, 21.5, 6.7, 2.5, 5.6) | |
countries = c("Belgium", "Denmark", "France", "GB", "Ireland", "Italy", "Luxembourg", "Holland", "Portugal", "Spain", "USA", "Japan", "Germany") |
flush.console() | |
# Set working directory | |
setwd("/Users/Felix/Documents/University/Maastricht University/Master Thesis/") | |
# Include spreadPlotter code | |
source("Code/R/Main/DataPlotting.R") | |
source("Code/R/Library/additionalFunctions.R") | |
# Tranche configuration | |
correlationType <- "Compound" |
# Import necessary packages | |
library(xts); | |
library(timeDate); | |
require(Hmisc); | |
library(ggplot2); | |
library(scales); | |
library(reshape2); | |
library(gridExtra); | |
library(grid); |