|
/tags/boinc_core_release_6_3_5/set-version - BOINC - Trac
boinc.berkeley.edu/trac/browser/tags/boinc_core_re...
Minimal Wordpress ThemeOctober 6th, 2006Minimal
is a 2 column Fixed width , Widget Friendly, Right Sidebar Wordpress
Theme with minimum design. If you come across any bugs please contact us.
Download Link: Minimal Wordpress Theme Delete Files Older Than x Days on LinuxThe find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We'll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them.
Command Syntax
Note that there are spaces between rm, {}, and \; Explanation
This should work on Ubuntu, Suse, Redhat, or pretty much any version of linux.
The Geek is the founder of How-To Geek and a geek enthusiast. When he's
not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 02/21/07 and tagged with: Ubuntu, Solaris, Suse Linux
FOSSwire » Create a mirror of a website with Wget
fosswire.com/2008/04/21/create-a-mirror-of-a-websi... GNU’s wget command line program for downloading is very popular, and not without reason. While you can use it simply to retrieve a single file from a server, it is much more powerful than that and offers many more features. One of the more advanced features in wget is the mirror feature. This allows you to create a complete local copy of a website, including any stylesheets, supporting images and other support files. All the (internal) links will be followed and downloaded as well (and their resources), until you have a complete copy of the site on your local machine. In its most basic form, you use the mirror functionality like so:
There are several issues you might have with this approach, however.
First of all, it’s not very useful for local browsing, as the links in the pages themselves still point to the real URLs and not your local downloads. What that means is that, if, say, you downloaded http://www.example.com/, the link on that page to http://www.example.com/page2.html would still point to example.com’s server and so would be a right pain if you’re trying to browse your local copy of the site while being offline for some reason. To fix this, you can use the -k option in conjunction with the mirror option:
Now, that link I talked about earlier will point to the relative page2.html. The same happens with all images, stylesheets and resources, so you should be able to now get an authentic offline browsing experience. There’s one other major issue I haven’t covered here yet - bandwidth. Disregarding the bandwidth you’ll be using on your connection to pull down a whole site, you’re going to be putting some strain on the remote server. You should think about being kind and reduce the load on them (and you) especially if the site is small and bandwidth comes at a premium. Play nice. One of the ways in which you can do this is to deliberately slow down the download by placing a delay between requests to the server.
This places a delay of 20 seconds between requests. Replace that number, and optionally you can add a suffix of m for minutes, h for hours, and d for … yes, days, if you want to slow down the mirror even further. Now if you want to make a backup of something, or download your favourite website for viewing when you’re offline, you can do so with wget’s mirror feature. To delve even further into this, check out wget’s man page (man wget) where there are further options, such as random delays, setting a custom user agent, sending cookies to the site and lots more. Easily Install Prism Web Apps in Ubuntu 8.04 | Tombuntu
tombuntu.com/index.php/2008/03/24/easily-install-p... Published in March 24th, 2008
Mozilla Prism is a web browser that allows web applications to be integrated with a traditional desktop and act like native applications. Launching a web app using Prism is done in the same way as launching an application installed on your computer, from the Applications menu. The Prism browser is simplified to not get in the way of the web app. The integration between desktop and web applications has been taken to the next level in Ubuntu 8.04 Beta; you can now easily install Prism web apps from the Ubuntu repositories. Nine familiar sites (mostly from Google) are available at the moment, you can apt-get install or use your package manager to install any of these:
Setting up a web app with Prism isn’t difficult, so many more convenient packages could be on the way. You can create Prism launchers for your own favorite sites using the official Firefox extension. The Google Talk package (prism-google-talk) is terrific. I’ve been using the built-in chat in Gmail instead of a native client like Pidgin. The package uses another Gtalk web interface which is much better than the one in Gmail. Using Prism, I can launch Google Talk from my Applications->Internet menu: And get a window like this: Perhaps Ubuntu should include some web applications installed by default. Anyone else think that offering Google Docs in the Applications->Office menu as well as OpenOffice is a good idea? This isn’t the first time I’ve written about Prism. Thanks to Derek Buranen for pointing out these new packages.
Enjoyed this post and want more news, tips, and how-tos for Ubuntu Linux? Subscribe to Tombuntu now.
Digg This! (29 Diggs, 2 comments) • Stumble It! • Save to del.icio.us (64 saves, tagged: ubuntu prism linux) Related Postsfeatured linux download
RarCrack Opens Protected Archives Without PasswordsLinux only: Open and extract files from ZIP, RAR and 7Zip archives you've forgotten the password to, or never found at the download location, with RarCrack, a free Linux command line utility. Using a brute-force algorithm, RarCrack simply gets to work determining the password for compressed archives, which, in the case of most downloaded RAR files, isn't all that tough. You can point RarCrack in the direction of any special characters you know were used in creating the password, but the standard use—rarcrack yourfile.zip—works just fine in most cases. RarCrack is a free download for Linux systems only; Source files are available at the home page, and Ubuntu Unleashed explains how to quickly compile them.RarCrack [via Ubuntu Unleashed] Adjust Volume of Individual Applications with PulseAudio | Tombuntu
tombuntu.com/index.php/2008/04/10/adjust-volume-of... Adjust Volume of Individual Applications with PulseAudioPublished in April 10th, 2008
PulseAudio is the new sound server that’s being included in Ubuntu 8.04 and other recent Linux distros. A sound server lets changes be made to sound between the applications and sound hardware layers. Among other features, PulseAudio provides per-application volume controls, a plugin architecture, low-latency, networking features, and good application compatibility. PulseAudio can do a lot, but one great feature is the ability to adjust the volume of individual applications. This is great for applications such as Flash applets that usually don’t let you adjust volume. Ubuntu 8.04 is not currently including a user interface for this feature, but it’s easy to install one. Install the package pavucontrol from your package manager or by using the command below: Run pavucontrol in a terminal to start the PulseAudio Volume Control. (You’ll probably want to add an application menu item through System->Preferences->Main Menu.)
As new applications that use sound are launched, they will instantly appear in the window. You can adjust the volume sliders for each application and the sound output will also change instantly, different channels can even be adjusted separately. In the other tabs, you can adjust the volume for entire input and output devices just like applications. PulseAudio will remember your volume settings when you reopen applications, so don’t forget to change the volumes back to 100%. Index of /Tests/Tutorial
China vaults past USA in Internet users - USATODAY.com
www.usatoday.com/tech/world/2008-04-20-Internetuse...
Peacekeeper-missile-testing.jpg (JPEG Image, 3000x2272 pixels) - Scaled (33%)
upload.wikimedia.org/wikipedia/commons/5/5f/Peacek... ![]() ![]() POTATOES An old man lived alone in the country. He wanted to dig his potato garden but it was very hard work as the ground was hard. His only son Fred, who used to help him, was in prison. The old man wrote a letter to his son and described his predicament. Dear Fred,
A few days later he received a letter from his son. Dear Dad,
At 4am the next morning, FBI agents and local police arrived and dug up the entire area without finding any bodies. They apologized to the old man and left. That same day the old man received another letter from his son. Dear Dad,
Karen ReidLecturer in Department of Computer Science at the University of Toronto. TA TrainingCourses TaughtFall 2002 ResearchThe general area of my research is in resource management for clusters of computers. I have been looking at how to more efficiently transfer large data sets from external storage servers onto the local disks of the cluster for use during computation. "Overlapping Data Transfer With Application Execution on Clusters", Karen Reid and Michael Stumm appeared in the Workshop on Cluster Based Computing at ICS 2000. (postscript, pdf ) AddressKaren ReidDepartment of Computer Science University of Toronto 40 St. George Street Toronto, Ontario CANADA M5S 2E4 E-Mail: reid@cs.utoronto.ca (Current students should use the course specific email address.) Office: BA 4240 If a programming language was a boat…04Apr08 by: Tony
This one is inspired by a recent forum post, that still leaves me in amazement.
This makes no sense, since one doesn’t normally make water vehicles in Turing, the programming language. Though this got me thinking — if a programming language was a boat, what would it be? TuringTuring would definitely be a kayak (thank you for comments). It’s small. It’s human powered. It’s often used as a beginner “boat”. And it’s also very Canadian.
JavaJava is a cargo ship. It’s very bulky. It’s very enterprise~y. Though it can also carry a lot of weight. Will carry a project, but not very fun to drive.
PerlPerl is a tugboat. Powerful enough to tug Java around, in 80 characters or less.
RubyRuby is difficult to describe. It’s sleek, sexy, and very fun to drive. Here’s a picture. Very trendy.
PHPPHP is a bamboo raft. A series of hacks held together by string. Still keeps afloat though.
CC is a nuclear submarine. The instructions are probably in a foreign language, but all of the hardware itself is optimized for performance.
HTML
HTML isn’t really a
There’s a lot more to this, and it’s all up for discussion. How would your favourite programming language fare in open waters? Jonathon EdingtonFrom Wikipedia, the free encyclopediaJump to: navigation, search
Jonathon Edington (b. 1977) is a Fairfield, Connecticut, United States, patent lawyer who achieved national notoriety when, on August 28, 2006, he murdered his neighbor, Barry James, after being told that James had molested Edington's two-year-old daughter. There has been no evidence found that Barry James molested Edington's daughter or anyone else.[1] On August 30 Edington was released on $1 million bond. It was widely expected that Edington would attempt to mount a psychiatric defense at his murder trial [2], however Edington instead pled guilty to the crime and was sentenced to 12 years in prison on August 31, 2007.[3] The story had generated a large amount of press coverage in the United States and overseas.
Walmart Growth VideoMarch 20th, 2008 toby | The other day at work, I made this video showing the opening of Wal-mart retail locations over time. It’s pretty fun to watch how it starts very slowly with the first location in Arkansas in 1962 and then spreads into different regions over time. [Javascript required to view Flash movie, please turn it on and refresh this page]
It actually is built entirely from data that’s in Freebase, including the map itself. Here’s how it works: Freebase has a topic for every zip code, along with it’s longitude and latitude. Here’s one example. One query pulls out all the ZIP codes along with their longitudes and latitudes. You can turn longitudes and latitudes into graphical coordinates with some simple transformations (which will vary based on the region you’re plotting and how big your image is) — here are the ones I used:
If you plot all the ZIP codes using a library like PIL, you get a nice map with dots that roughly match population density, which has the advantage of looking a little bit like a night-time satellite photo of the United States. Freebase also contains a list of Wal-mart locations, along with their addresses and the year that they opened. Here’s an example. One query pulls all of these out of Freebase. To create the animation, I generated 30 images for each year starting with 1962. I spread all the Wal-marts that opened that year over the 30 frames. To show the appearance of a Wal-mart, all I had to do was plot a large white dot over the small yellow dot for the appropriate ZIP code. I turned the 1380 images into an animation using MEncoder. I’ve had a lot of suggestions for how to improve this, perhaps also showing ZIP code median income or overlay the spread of Starbucks at the same time. We’re trying to build a massive store of interconnected public data, so there are many many possibilities for visualizations. So, what would you guys like to see? Update: I’m getting a lot of traffic right now for this post, the site was down for a while, but seems to be working now. Those who like fun data analysis might also be interested in my craigslist w4m city analysis. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. Trac on Ubuntu ¶These instructions were written for a fresh install of Ubuntu. This documentation suggests performing custom install when installing Ubuntu to create a base system without an X server or other graphical niceties. These instructions, however, should work reasonably well if you already have Ubuntu installed or you have performed a full install. Breezy users: See comments below for some of the problems encountered. Dapper users: should work fine with the following instructions. Note: For an alternative Ubuntu experience, using apache and configuring for multiple projects, see TracUbuntuMultipleProjects Also see: https://help.ubuntu.com/community/UbuntuTracHowto Installation ¶1. Install Software Packages ¶To install Trac on your system, install the trac and libapache2-svn packages: sudo apt-get install trac apache2 libapache2-svn
2. Create the Trac Environments Directory ¶You'll need a directory for Trac's environments to live that should be writable by the default Apache user: sudo mkdir /var/lib/trac
sudo chown www-data:www-data /var/lib/trac
If you put your environment somewhere else, make sure to note that and use that location in the appropriate places in the next step. 3. Setup Apache2 ¶Next, create a new Apache-2 virtualhost by saving the following as /etc/apache2/sites-available/trac : <VirtualHost *>
ServerAdmin webmaster@localhost
ServerName trac.example.com
DocumentRoot /usr/share/trac/cgi-bin/
<Directory /usr/share/trac/cgi-bin/>
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
allow from all
</Directory>
Alias /trac "/usr/share/trac/htdocs"
<Location /trac.cgi>
SetEnv TRAC_ENV "/var/lib/trac/YourProjectNameHere"
</Location>
DirectoryIndex trac.cgi
ErrorLog /var/log/apache2/error.trac.log
CustomLog /var/log/apache2/access.trac.log combined
</VirtualHost>
Note: If you get errors later that pertain to environment look at SetEnv TRAC_ENV. You can also use SetEnv TRAC_ENV_PARENT_DIR "/var/lib/trac" to host multiple projects. You also need to uncomment the AddHandler line in /etc/apache2/apache2.conf so that the Trac CGI program will be executed: # To use CGI scripts outside /cgi-bin/: # AddHandler cgi-script .cgi Now, disable the default virtualhost, enable the Trac virtualhost, and restart Apache2: sudo a2dissite default
sudo a2ensite trac
sudo /etc/init.d/apache2 reload
If you are going to want to login, you're going to need authentication. I added the following to my virtual host file to get this to work: <Location "/trac.cgi/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
</Location>
This will share the password with your subversion install. You'll also need to grant each user rights using trac-admin. Alternately, you can use htpasswd to create an htpasswd file, and point AuthUserFile? at that location. 4. Creating Environments ¶I installed my Subversion repository at /var/lib/svn/YourProjectNameHere. So I did a quick starting config of subversion with the following commands: sudo mkdir /var/lib/svn sudo mkdir /var/lib/svn/YourProjectNameHere sudo mkdir /tmp/YourProjectNameHere sudo mkdir /tmp/YourProjectNameHere/branches sudo mkdir /tmp/YourProjectNameHere/tags sudo mkdir /tmp/YourProjectNameHere/trunk sudo svnadmin create /var/lib/svn/YourProjectNameHere sudo svn import /tmp/YourProjectNameHere file:///var/lib/svn/YourProjectNameHere -m "initial import" sudo rm -rf /tmp/YourProjectNameHere Some permissions changes and an apache restart are now needed: sudo chown -R www-data /var/lib/svn/YourProjectNameHere
sudo chown -R www-data /usr/share/trac
sudo apache2 -k restart
Test by web-browsing to http://servername/svn/YourProjectNameHere If you see a simple web page which says Revision 1: / and lists branches, tags, and trunk, your Subversion install is up and running! Here's what to do if you see 404 Not Found Check you Subversion installation, specifically /etc/apache2/mods-available/dav_svn.conf and make sure you really have a valid configuration. Still having problems see Ubuntu SVN documentation Now let's finish the Trac install (but don't go on to Trac install until you have the above working properly). I put my trac environment at /var/lib/trac/YourProjectNameHere. Of course you could use any other path or name - something a little more descriptive of your project would probably be a good idea. First I ran these commands: sudo mkdir /var/lib/trac
sudo trac-admin /var/lib/trac/YourProjectNameHere initenv
sudo chown -R www-data /var/lib/trac/YourProjectNameHere
The "trac-admin" command shown above prompted me to enter:
... then it prints out a bunch of stuff. If there are no errors you should now be able to surf to your Trac site at http://servername/trac.cgi At the time I did my install, there was one glitch in the Ubuntu Universe Trac installer. It doesn't install the neo_cgi.so file needed in the python2.4 directory space. So when I surfed to my Trac site, I got the error ImportError: No module named neo_cgi. I was able to fix this by symlinking the python2.3 version like so: sudo ln -s /usr/lib/python2.3/site-packages/neo_cgi.so /usr/lib/python2.4/site-packages/neo_cgi.so Voila! Your Trac system & website should be up and running. ![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File | Size | Description |
|---|---|---|
| MacStyleDock.js | 6285 bytes | Full version with comments |
| MacStyleDock.compressed.js | 2632 bytes | Compressed version |
Download one of the files listed above and upload it to your website. Link to it from your page with code such as:
<script type="text/javascript" src="MacStyleDock.js"></script>
The code for the dock is added to the document tree under an existing node, so create an element to contain with code such as:
<div id="dock"></div>
The dock can then be created as a new JavaScript object. Note that the dock’s document tree node must already exist when the constructor is called. This can be done either by including the JavaScript code below the node in the document source, or by calling the constructor when the document has loaded — one way to do this is by using the OnloadScheduler.
The constructor takes five paramaters:
An array each of whose elements are object with three properties:
Requested file names consist of the concatenation of the name property, one of the values of the size property, and the extension property.
For example:
<script type="text/javascript" >
var dock = new MacStyleDock(
document.getElementById('dock'),
[
{
name: 'mac-icon-0-',
extension: '.jpg',
sizes: [32,64],
onclick: function(){
alert('You clicked on the first icon');
}
},
{
name: 'mac-icon-1-',
extension: '.jpg',
sizes: [32,64],
onclick: function(){
alert('You clicked on the second icon');
}
}
],
32,
64,
2.5);
</script>
Multiple icon sizes should be supplied for operating systems such as Windows that scale images poorly. The function will scale down the next larger image from the size it requires.
If you’re looking for a JavaScript book, one of the best is the 1000-page JavaScript: The Definitive Guide by David Flanagan, published by O’Reilly and now in its fifth edition. It covers all aspects of JavaScript and details the most common browser compatibility issues that you may encounter:
| Your e-mail address: | |
|---|---|
| Your message: | Enter your message |
| Send message |

|
| Donor | Contribution | Address | ||
|
|
Randall Erben |
Q1/2008 John McCain $2,300 |
3310 RIVER RD Austin TX |

Want to know if a celebrity is playing both sides of the fence? Whether that new guy you're seeing is actually a Republican or just dresses like one? If your boss maxed out at that fundraiser or got comped? Whether your neighbor's political involvement stops at that hideous lawn sign?
FundRace makes it easy to search by name or address to see which presidential candidates your friends, family, co-workers, and neighbors are contributing to. Or you can see if your favorite celebrity is putting their money where their mouth is.
FundRace gives you the technology to do what politicians and journalists have been doing for years: find out where the money's coming from, see who it's going to, and solve the mystery of why that crazy ex-roommate of yours is now the Ambassador to Turks and Caicos.