I work predominantly in PHP using CakePHP MVC Framework on Mac OS X and FreeBSD.
I have worked in the web Industry since 1998 and have contracted for many companies across Bristol and Southern England through as the company Brightstorm Limited.
Gigabot 3D printing brings large format printing ever closer to affordable. At $2500 this printer is a whopper. Designed to be used in developing countries, this printer will soon be available to the public.
http://www.kickstarter.com/projects/re3d/gigabot-3d-printing-this-is-huge
This is a guide to help you update your URL after you move your site from one environment to another. For example if you have your website on your localhost and now you want to publish it. You will need to change your URL to reflect this.
Find Rows to updateselect * from core_config_data where path = 'web/unsecure/base_url';
Next you will need this one:
select * from core_config_data where path = ‘web/secure/base_url’;
You may need this:
select * from core_config_data where path = ‘admin/url/custom’;
* remember you might have to put in your table prefix if you are using one
If you have multiple store BE CAREFUL and note the config_id numbers for each row, that is how we will ensure that we can the results we want!
Each query will return something like this
‘261’, ‘default’, ‘0’, ‘web/unsecure/base_url’, ‘http://your.dev-domain.com/’
You need to note the first column which is your config_id, each id is unique and we can use that to update just the row we want to update. This will ensure you don’t update a wrong row or more rows than you wanted.
For changing the main/primary domain, you will need to have root SSH access and be able to locate and edit the following file (replacing your user & domain info):
cd /var/cpanel/userdata/USERNAME/DOMAIN.COM
1. Once you have opened the file, look for the following line:
documentroot: /home/USERNAME/public_html
2. Modify the location according to your needs. Save it and exit.
3. Rebuild the Apache conf and restart Apache:
/scripts/rebuildhttpdconf
service httpd restart
http://blog.servint.net/2012/03/30/the-tech-bench-changing-a-document-root-in-cpanel/
It’s taken a while to arrive, but finally I have received my infra red sensor that I ordered from china via EBay.
It’s a simple circuit: just power and 1 GPIO port. I followed the circuit I covered in a previous post, and produced the following.
The sensor has two things you can adjust: sensitivity and time – the amount of time the circuit stays on – between 2 and 200 seconds.
SRF05 ultra sonic range configured following Matt Hawkins example circuit and python script I hooked up the following:
This circuit allows for the setting of events specific to certain distances. I configured a message to change depending on how far the dog was away:
The future scope is to trigger another GPIO pin depending on location which could activate a warning sound
Winkleink has a python script that creates blank levels in Minecraft Pi edition so you can run your own builds on the flat ground you’ve created.
http://winkleink.blogspot.co.uk/2013/02/raspberry-pi-minecraft-and-python.html?m=1
This little spaceship, known as the Hellcat, was printed using the worlds fastest commercial 3d nano printer, the Nanoscribe Photonic Professional GT. It measures just 125µm x 81µm x 26.8µm (l x w x h) and is about as long as the width of a human hair.
The Photonic Professional GT uses a 3D laser lithography system developed by Nanoscribe that can handle data transfer rates of more than 5 terabits per second. The system achieves its high-speed through the use of galvo technology – a series of rotating mirrors that deflect laser light for quick and precise focus. Similar technology is used in laser light shows and in the scanning units of CD and DVD drives.
Datasheet for SRF05 Ultra Sonic Ranger.
Ill be following Matt at Raspberry Pi Spy has a example python script which covers hooking it up to the Pi
Built using a Raspberry Pi and a Playstation Eye camera, this budget security camera system is a great way to protect your house and spy on your pets whenever you are out and about. It takes shots every 5 mins, then records continuously if any movement is detected. A cron job that runs every minute triggers a python script that synchronises the folder of pics with your folder at Dropbox, which gives you global access.
Details explained by mogshade at http://mogshade.wordpress.com/2012/12/23/simple-home-security-with-raspberry-pi-and-dropbox/
From The Register:
You may not know why but you probably want a 3D printer. These are intrinsically cool devices: A mix of engineering, electrical engineering, material science, chemistry, electronics and software.
As an emerging technology you need to understand a bit of all of these to get the most from a hobbyist device, just as early computer users needed to be competent with a soldering iron and writing assembly code. Here we look at ten of the most interesting 3D printers around. There is a mix of technologies, and some are not yet shipping, but it goes to show just how diverse this nascent industry is.
Ferrari Arno XI Powerboat up for Auction http://www.gizmag.com/ferrari-racing-boat-auction/21546/
Motorbike Dance
“At Magny-Cours, during a round of the promosport Championship: two riders crash and their bikes lock wheel bars and continue to pirouette on the ground.”
Sports Photographer Combines Entire Events into Single Images
“German photographer Peter Langenhahn has specialized in capturing a particular aspect of sports events in a single photo collage. Langenhahn takes as many as three thousand pictures and then puts them together on his computer to create a single image. One of his compositions documented all the fouls in a football match.”
Jane is a famous British comic begun during WWII to improve troop morale. Jane is a plucky English lady who always seems to lose her clothes. This strange predeliction was enough to keep the boys happy and helped them defeat the Gerries. With constant changes of illustration style, the comic persisted into the 1960s. Of course the pill and the sexual revolution made the strange innocent little cartoon completely irrelevant, and that was the end of Jane.