Submitted by admin on Wed, 02/26/2014 - 22:12
Hi folkz, this site wants to share information, code and experience of several programming experiments. Right now I have no idea how often I will have the discipline to update it! We'll see! :-)
Be patient. The site is still under construction. More useful content to come! ;-)
Submitted by admin on Wed, 02/26/2014 - 21:49
Geneva is an abbreviation and stands for "Grid-ENabled EVolutionary Algorithms".
What it does is described in the librarie's README file:
It aims to provide the necessary tools to perform parametric optimization in parallel on devices ranging from multi-processor machines over clusters all the way to Grids and Cloud installations.
Submitted by admin on Wed, 06/03/2015 - 16:56
path is: /app/assets/images
after changes do:
sudo gitlab-rake assets:precompile
sudo gitlab-ctl restart unicorn
Submitted by admin on Wed, 06/03/2015 - 15:05
Just place the bare repo in the gitlab repository folder (repo dir is defined here: /etc/gitlab/gitlab.rb)
gitlab-rake gitlab:import:repos
Submitted by admin on Wed, 06/03/2015 - 11:49
# Initial clone
# set environment variable GIT_SSL_CAINFO pointing to certificate:
export GIT_SSL_CAINFO=/etc/ssl/certs/rorcz_root_cert.pem
git clone https://repo.or.cz/org-mode.git
# Ensure all future interactions with origin remote also work
cd org-mode
git config http.sslCAInfo /etc/ssl/certs/rorcz_root_cert.pem
Submitted by admin on Wed, 02/26/2014 - 23:21
/etc/network/interfaces:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
wpa_supplicant conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
Submitted by admin on Wed, 02/26/2014 - 22:25
lpr [-P Printer ] [-#n] [-o Options ] file(s)
-#n number of copies
-o page-ranges=2-5
-o sides=two-sided-long-edge
-o landscape
-o saturation=0 (0=black/white, 100=default=original, 200=extreme colors)
Submitted by admin on Wed, 02/26/2014 - 22:22
Here is a description how you can set up the C++ boost library for a Debian lenny system. Sure, you could just use aptitude to install the lenny boost package. The trick is that you need sometimes (e.g. for the GENEVA library) the latest or a newer version then that, which is packed for lenny.
I will describe the method how i have done that and which i think is the most convenient one.
Submitted by admin on Wed, 02/26/2014 - 22:19
Submitted by admin on Wed, 02/26/2014 - 22:18
Generate server key:
openssl genrsa -out server.key 2048
Generate CSR:
openssl req -new -key server.key -out server.csr
Generate certificate (could be symlinked with server.pem):
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
View cert:
openssl x509 -in certificate.pem -noout -text
Submitted by admin on Wed, 02/26/2014 - 22:17
db.runCommand("buildInfo")
Submitted by admin on Wed, 02/26/2014 - 22:16
drush dl drupal-7.x
drush site-install standard --account-name=admin --account-pass=admin --db-url=mysql://YourSQLUser:RandomPassword@localhost/YourSQLDatabase
Submitted by admin on Wed, 02/26/2014 - 22:15
requirement: imagemagick:
identify -format '%wpt x %hpt' IMAGE.jpg
Submitted by admin on Wed, 02/26/2014 - 21:52
I want to describe how i made it to set up the Geneva library on a Debian lenny system.
The first step you need to get the Geneva lib into ops is to set up the C++ boost library at least in version 1.36. How to do that is the topic of a dedicated article: Boost setup for Debian lenny.