They are predicting that it might freeze hard for another week at least, so who knows we might even get to see an 'Elfstedentocht' this year (their 100 year jubilee is 15 Jan 2009).
.jpg)
Thoughts on cloud, observability, appdev, architecture, and open source software, but not always in that order...
# # For Windows: %USERPROFILE%\Application Data\Subversion\servers # # # For Linux or osX: ~/.subversion/servers # [global] http-proxy-host = <proxy.server.name> http-proxy-port = <some_port_number> http-proxy-username = <your_user_name> http-proxy-password = <your_password>
## # Cleans up this packages source build directory. # # RETURNS: boolean - True if the completes successfully, # otherwise false. ## def remove_build puts "Removings build..." if ($REMOVE_BUILD_SOURCES) buildSourcesLocation = "#{$BUILD_LOCATION}/#{srcDir}" if (!File.directory?(buildSourcesLocation)) return true end if (!FileUtils.rm_rf buildSourcesLocation, :verbose => true ) return false end end return true end
# insert DVD and lookup the device your DVD is mounted on, # (partial output shown here, look for the Name field). # $ drutil status Vendor Product Rev MATSHITA DVD-R UJ-857D GAND Type: DVD-ROM Name: /dev/disk2 # unmount the disk. # $ diskutil unmountDisk /dev/disk2 Disk /dev/disk2 unmounted # create a local iso file from the DVD. # $ dd if=/dev/disk2 of=mydvd.iso bs=2048 # you can test the iso file with 'hdid mydvd.iso' # and/or burn it by inserting a blank dvd and burn # the iso using Disk Utility app.
# a system call that exits with the value of the first command 'make'. system("make | tee output.log; exit ${PIPESTATUS[0]}") # examine the returned value of the command 'make' puts $?.exitstatus
# Get to the right location and ensure your current kernel # headers are installed. # $ cd /usr/src$ uname -r2.6.24-19-generic # so in my case I need the 2.6.24.-19 headers. # $ sudo aptitude install linux-source linux-headers-2.6.24-19 \ kernel-package libncurses5-dev # unpack sources and link them, ensuring that /usr/src/linux # points to the source tree. # $ sudo ln -s /usr/src/linux-source-2.6.24 linux # create the .config in your headers directory. # $ cd linux $ sudo cp /boot/config-2.6.24-19-generic .config # now we can make the build of our kernel. # $ make && make modules # after this is finished I am able to build my VMWare # driver by pointing it to the /usr/src/linux tree. # # note that I do not install the kernel, just create the # necessary files to build drivers.
" jump to last position before save. au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif
set sm set ai " run on command line for tags setup : " ctags -f ~/.tags -R workspace/.../src $JAVA_HOME/src " set tags=~/.tags set complete=.,w,b,u,t,i " Java stuff. syntax on let java_highlight_all=1 let java_highlight_functions="style" let java_allow_cpp_keywords=1
# install server and the launch script # needed to start it. (I like the -v option # to see what is happening.) # $ sudo port -v install mysql5 +server # initialize the setup as mysql user. # $ sudo -u mysql mysql_install_db5 # start mysql and set your root password. # $ sudo -u mysql /opt/local/lib/mysql5/bin/mysqld_safe & $ sudo /opt/local/lib/mysql5/bin/mysqladmin -u root password '[new_passwd]'
# Create the launchd directory. # $ sudo mkdir -p /Library/StartupItems/LaunchDaemons # Now create a launch plist file: # $ sudo vim /Library/StartupItems/LaunchDaemons/org.mysql.launchd.mysql.plist # Here is the XML you need to put into the plist file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>org.mysql.launchd.mysql</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql-max-5.0.24-osx10.4-i686/bin/mysqld_safe</string> </array> <key>KeepAlive</key> <true/> <key>SuccessfulExit</key> <true/> <key>RunAtLoad</key> <true/> <UserName> <string>_mysql</string> <GroupName> <string>_mysql</string> </dict> </plist> # Finally, need to load this into launchd or you can just # reboot to have it picked up automatically. # $ sudo launchctl launchd% load /System/Library/LaunchDaemons/org.mysql.launchd.mysql.plist launchd% exit
"This step will allow the BMW Group to gain an initial knowledge of how mobility can be achieved efficiently using purely electrically powered vehicles. Our task here is to combine the ultimate driving experience with an efficient electrified drive with practically no emissions", underlined Dr. Norbert Reithofer, Chairmanof the Board of Management of BMW AG.Finally a cool car that is a bit easier on the gas budget! Wonder if I could 'port' my 1987 Austin Mini?
# add these to your wp-config.php file. # // disabel revisions and slow down the saving! define('WP_POST_REVISIONS', false); define('AUTOSAVE_INTERVAL', 120);
# obtain apr sources from apache site and unpack # $cd [path-to-sources]/apr-1.3.3 $ ./configure --prefix=/usr/local \ --enable-threads \ --enable-other-child $ make && make install
# obtain apr-util sources from apache site and unpack # $cd [path-to-sources]/apr-util-1.3.4 # for the APR-UTIL (here showing the lib64 for 64bits, # just use lib for 32bit): # $ ./configure --prefix=/usr/local \ --enable-shared \ --with-apr=/usr/local/bin/apr-1-config \ --with-berkeley-db=/usr/include/db4 \ --with-ldap-lib=/usr/lib64 \ --with-ldap-include=/usr/include \ --with-ldap=ldap $ make && make install
# obtain sources from apache site and unpack # $ cd [path-to-sources]/httpd-2.2.9 # for non ldap building of apache2, see here, # otherwise see the next configure section below. # $ ./configure --prefix=/opt/apache2 \ --enable-mods-shared=all \ --enable-so $ make && make install # if you want to build ldap then you will need to add ldap # flags to the configure and it will look like this: # $ ./configure --prefix=/opt/apache2 \ --enable-mods-shared=all \ --enable-so \ --enable-authnz-ldap \ --enable-ldap $ make && make install
# unpack somewhere # $ tar xjvf [path-to-taball]/subversion-1.4.6.tar.bz2 $ tar xjvf [path-to-taball]/subversion-deps-1.4.6.tar.bz2 $ cd [path-to-sources]/subversion-1.4.6 # Now we can build Subversion 1.4.6 and use # the prebuilt dependencies in /usr/local. # $ ./configure --prefix=/usr/local \ --with-apxs=/opt/apache2/bin/apxs $ make && make install # Finally you need to expand the standard library search path with # and entry in /etc/ld.so.conf for /usr/local/lib and run: # $ ldconfig
Taking a look at the Spring framework so thought it might be nice to install the SpringIDE in my Eclipse. Here is roughly the steps I took: