CategoryEnglish

NTP configuration

To initially setup the time if there is a big difference you can use the following command
 /usr/sbin/ntpdate -s -b -p 8 -u yourISP.NTP.Server.IP
    Debian:
    Setting timezone:
    sudo dpkg-reconfigure tzdata
    
    /etc/ntp.conf
    server 0.bg.pool.ntp.org
    server 1.europe.pool.ntp.org
    server 2.europe.pool.ntp.org
    Great references http://www.akadia.com/services/ntp_synchronize.html

    hwclock –systohc

    Protected: Query multiple tables

    This content is password protected. To view it please enter your password below:

    Archiving data – great article

    http://dev.mysql.com/tech-resources/articles/storage-engine.html

    Continue reading

    SEO articles

    Your google SEO guides in Bulgarian

    you can build your SEO plan reading this blog – http://seomaster-bg.blogspot.com/

    seo videos

    bookmarks on google

    SEO forums

    • http://web-tourist.net/
    • http://mastertalk.ru/
    • http://www.bg-webmaster.com/index.php?showtopic=4247
    • http://www.webmasterbg.org/
    • http://forums.bgdev.org/index.php?showtopic=26761

    Webmaster tools

    • https://siteexplorer.search.yahoo.com/
    • http://webmaster.live.com/

    Testing code

    Принципите на тестера:

    Тестерите не ходят на работа, за да завързват приятелства.

    Вярваме в Бог, всичко останало го тестваме.

    Тестерите не чупят софтуера – той вече е счупен, когато пристига при тях.

    Тестерите винаги отиват в рая – те вече са получили своята част от ада тук.

    Ние не създаваме проблеми, просто откриваме вашите.

    Това са бъговете – ако тези не ти харесват имам и други.

    Ако не е счупено, значи не си опитвал упорито.

    Добрият тестер има сърце на програмист… в буркан на бюрото си.

    Тестерите не обичат да чупят нещата, те харесват разрушаването на илюзията, че тези неща работят.

    Винаги има още един бъг.

    Наша работа е да ви кажем, че отрочето ви е грозно.

    “Да тестваш или не – туй не е въпрос!”

    seesaw gem configuration

    I cant find good examples and help in Internet for seesaw gem. Maybe it is used only by very experirienced rails persons.

    I will publish my configurations in case they are helpfull to some one.

    guda@guda-desktop:~/system3/config$ cat seesaw.yml 
    --- 
    restart_cmd: sudo kill -HUP `cat /usr/local/nginx/logs/nginx.pid`
    config_symlink: http_cluster/cluster.conf
    mongrel_config_path: /home/mongrel/system3/current/config/mongrel_cluster.yml
    config_path: /home/mongrel/system3/current/config
    config_files: 
      all: cluster_all.conf
      1: cluster_1.conf
      2: cluster_2.conf
    symlink_cmd: ln -sf
    

    here is where my nginx conf link points

    guda@guda-desktop:~/system3/config/http_cluster$ ls -l
    total 16
    -rw-r--r-- 1 guda guda 152 2008-11-07 17:17 cluster_1.conf
    -rw-r--r-- 1 guda guda 152 2008-11-07 17:17 cluster_2.conf
    -rw-r--r-- 1 guda guda 277 2008-11-07 17:17 cluster_all.conf
    lrwxrwxrwx 1 guda guda  66 2008-11-08 01:30 cluster.conf -> /home/mongrel/system3/current/config/http_cluster/cluster_all.conf
    

    and in deploy.rb I have this task rewritten.

    set :seesaw_conf, "#{current_path}/config/seesaw.yml"
    namespace :deploy do
      desc <<-DESC
      Restart the Mongrel processes on the app server using seesaw
      DESC
      task :restart, :roles => :app do
        run <<-CMD
          cd #{current_path} ; #{mongrel_rails} seesaw::bounce -C #{seesaw_conf}
        CMD
    #    send(run_method, "cd #{current_path}; #{mongrel_rails} seesaw::bounce -C #{seesaw_conf}")
      end
    end
    

    I am not sure that this is the perfect way of configurating the seesaw. I think that I have some mistakes in the path configurations, and because of that I have to patch the capistrano restart task.

    Play load runner 2008 ?

    yeah, why not.

    Here it is.

    loadrunnerlive

    check out also http://en.wikipedia.org/wiki/ScummVM#Official

    there is kyrandia goblins black caldron

    Installing notes for Rails on Debian/Ubunto

    Debian Etch with backports

    Add this line in sources.list to get rails > 1.8.5 in rails etch

    deb http://www.backports.org/debian etch-backports main contrib non-free
    # deb ftp://ftp.nz.debian.org/backports etch-backports main contrib non-free
    apt-get install debian-backports-keyring
    aptitude update
    
    # some ruby stuff
    aptitude install -t etch-backports ruby1.8-dev libmysqlclient15off libmysqlclient15-dev mysql-common mysql-client libmysql-ruby1.8
    
    # some system utils/libs
    aptitude install apt-utils build-essential mysql-server mysql-common mysql-client memcached libxslt1-dev libpcre3-dev zlib1g-dev unzip gzip mytop  openssl
    
    aptitude install -t etch-backports libopenssl-ruby
    
    # gems
    gem install rails mongrel mongrel_cluster -y
    

    check this step-by-step

    Image magick linux howto – http://rmagick.rubyforge.org/install2-linux.html

    aptitude install libmagick9-dev  imagemagick librmagick-ruby1.8 imagemagick librmagick-ruby-doc  libmagick9-dev ruby1.8-dev
    
    
    # for version 1 of imagemagick we use this rmagick, else try it without the -v
    gem install rmagick -v 1.15.12 
    
    # lets test it
    > irb
    require 'rubygems'
    require 'RMagick'
    Magick::CenterGravity
    puts Magick::Long_version
    
    # or with 
    
    ruby -rrubygems -e "require 'RMagick'; puts Magick::Long_version;" 
    
    

    I love this tutorial on rubyinside

    Postgres vs MySQL

    http://mysqldatabaseadministration.blogspot.com/2007_01_01_archive.html

    links

    iptables configuration script firewall – http://tje.ssllink.net/firewall/

    test driven development website: http://www.testdriven.com/modules/news/

    © 2024 Gudasoft

    Theme by Anders NorénUp ↑