DirectoryTechnologyBlog Details for "Dedication to DIY and programming"

Dedication to DIY and programming

Dedication to DIY and programming
A blog about DIY stuff, programming, electronics ...
Articles: 1, 2

Articles

JQuery ? Search box with default text
2010-11-14 09:15:00
Ever wanted to do a search box with a default text that automatically clears when clicked on ? Here is the code for it : JAVASCRIPT [Show Styled Code]: $("#src_txt").live("blur&# 034;, function(){ var default_value = $(this).attr("rel"); if ($(this).val() == ""){ $(this).val(default_value); } }).live("focus", function(){ var default_value = $(this).attr("rel"); if ($(this).val() == default_value){ $(this).val(""); } }); JAVASCRIPT ...
More About: Search , Text , Query
Android ? Jokes Catalog #1 ? My first application
2010-11-12 10:19:00
I started last week to play with Android SDK (I got a HTC Dream .. a really cool device) and it is a little bit hard because I didn’t worked with Java before but I hope I’ll read these lines in few months and laugh Here is my first application : It is pretty simple ...
More About: Jokes , Catalog
YUM error on CentOS 5
2010-05-27 09:28:00
I have a VPS running CentOS 5 and I was always running yum to update its software. This went ok until few days ago when “yum update” brought this : There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree ...
Cellular Automata – Conway’s Game of Life in HTML 5
2010-01-14 11:10:00
I had to do a school project involving automata so, after searching what this means .. I came to “cellular automaton” and then to the “Conway’s Game of Life ” on wikipedia. I remember doing such a project on RentACoder few years ago in Visual Basic but I didn’t knew this fancy name for it … ...
More About: Cellular
Happy Christmas Holidays :)
2009-12-24 08:37:00
Happy Christmas Holidays to everyone Hope to see you all well in 2010.
More About: Happy
How to prefill the Twitter status box (?What are you doing??)
2009-08-24 07:50:00
I’m working on a website where I need to prefill a certain message in the ‘What are you doing?’ textarea from Twitter . Here is the solution … redirect the user to : http://twitter.com/home?status=YOUR_URL_E NCODED_MESSAGE for example : http://twitter.com/home?status=this%20is% 20a%20test Hope this will help someone
More About: Misc , Status
How to use the DS18S20 and DS18B20 temperature sensors with Arduino
2009-08-23 16:08:00
I bought from FunGizmos few DS18S20 temperature sensors to test for my small robot project and last week they finally got into my hands but only today I had the time to try them out. To connect the sensors to the Arduino board I choose the parasite mode which derive power directly from the data line ...
More About: Temperature
Free Arduino language file for GeSHi
2009-08-18 07:50:00
As you may know, from now on all the code from this blog will be on tutorialpedia. I started writing some Arduino tutorials so I needed a syntax highlighter for the code I wrote, the best choice was GeSHI but it didn’t had a language file for Arduino code so I wrote it. An example of it ...
More About: Free , File , Language
Arduino : how to use the Serial port
2009-08-17 09:57:00
Sometimes you really need to use the Serial port (UART or USART) of Arduino to communicate with your computer (or other devices) for debugging or readings. Arduino uses digital pins 0 (RX, receive) and 1 (TX, transmission) for Serial communication with all devices and the USB cable for communication with the computer (and the built-in Serial ...
More About: Port
Arduino?s ?Hello World!? : blinking a LED
2009-08-09 08:58:00
As in all programming languages .. you start with a Hello World ! code so you can see the basic structure for that language. Because Arduino can’t just print ‘Hello World !’ (in fact it can but using an external device, like an LCD display, which I will describe in another tutorial) the easiest way is to blink ...
More About: Blinking
Back on Arduino!
2009-08-08 16:33:00
Ok, I got more free time so I dedicated it to few Arduino tutorials starting from the simplest one : Hello World! – blinking a LED and culminating with the build of my own Arduino-based robot. The plan is to learn you (and myself) the basics of connecting Arduino to LEDs, temperature sensors, distance sensors, DC ...
More About: Back
Simple Image Gallery Navigation (slider) plugin in jQuery
2009-06-23 11:28:00
Hi all, I started about a year ago a personal project regarding the touristic places I have visited (and will visit) in Romania and because I had a lot of other work to do on my ex-full time job (I’m now again a freelancer) I never had time to finish it but all changed now and ...
More About: Gallery , Plugin , Navigation , Simple , Image
How to do a mood lamp using Arduino
2008-12-27 23:39:00
This was my first Arduino project so I decided to use only LEDs Being Christmas I wanted to do something nice to look at night so I looked on my electronic parts box and found 3 different color LEDs : red, green and blue. I soldered their cathodes and then took 10 inches of ...
More About: Lamp , Mood
How to get coordinates for a given address using PHP
2008-12-12 18:14:00
During my work on a Danish website I needed to find a way to put on a map a list of Danish restaurants using only their real address (region,city,street,street number) so I start searching for the best solution to convert an address like “Danmark, Sjælland, Hørve, Dragsholm Alle 4534″ to its corresponding coordinates (55.7754120, 11.3901550). After ...
More About: Tricks , Address
How to cleanup a folder of SVN entries in Linux
2008-11-13 08:56:00
Today I installed at work a Subversion ( SVN ) server and started to do repositories for our projects. At one project I got an error while committing files and then the cleanup operation errored out . The quick fix for this is usually to delete all “.svn” folders from the current folder. ...
More About: Linux , Tricks , Cleanup
How to check if a JavaScript function is defined
2008-11-12 19:06:00
I encountered a small issue on javascript while doing a small hack for a VBulletin plugin. Sometimes a javascript function was included, sometimes not. So I needed a way to check if that function was or wasn’t defined so I can call it safely (without any error message). In case you ever need something like this ...
More About: Tricks , Javascript , Check , Defined , Function
The Arduino is here !!!
2008-03-24 07:44:00
Finally it is here and I can start doing some small projects with it. The first one will be a RGB Mood Lamp.
More About: Arduino
Waiting for my board
2008-02-12 10:00:00
Hey, I was busy with the semester exams but now I’m almost over with them (the last one is tomorrow but it is pretty easy) I wasn’t into the electronics projects for quite a time but now I’m determined to make new projects using … Arrrduino :P, I just ordered an Arduino Diecimila board and ...
More About: Board , Waiting
Protect your data from user input
2007-12-09 11:27:00
I came to a point where I needed to filter the user input (not just tell the user something like : “The username isn’t in the right format” or “Please choose a valid name for your username”), I mean let him to input in the form anything he wanted too but in the end what ...
More About: Tricks , Data , User , Input
Arrange an array by the first letter
2007-12-08 17:53:00
Long time, no post Here is a small PHP tips&tricks post : we have an array full of values, let’s say a country list (in this example the list is limited, we don’t want to see 190+ values). PHP [Show Styled Code]: Array ( [0] => Array ...
More About: Tricks , Letter
How to convert from VB color format to the HTML format
2007-07-03 11:47:00
Today I needed a way to convert from VB color format to the hexadecimal HTML format so after 5-10 minutes I came with the code & post below. Visual Basic stores the color data in the following format : 00BBGGRR so the next logical step to extract the information in the format we need ( #RRGGBB ...
More About: Color , Tricks , Convert , Html , Format
GMMS ( Google Maps Made Simple) - WP plugin
2007-06-12 23:39:00
I was really busy last few weeks and I had almost no free time to write on my blogs or talk with the friends. Now, the things are better, at least for the next 2 days Sunday evening, I wanted to write some posts on my Journey Diary ( http://www.romanianjourney.com ) and I couldn’t ...
More About: Google , Misc , Plugin , Google Maps , Maps
Check if there is an active Internet connection
2007-06-01 13:58:00
This is my first real post on “Visual Basic 6 Tips & Tricks ” category In many cases you need to check if the computer on which your VB6 application runs has an active Internet connection ( example : you have a small VB6 application that connects to a web server to retrieve the current ...
More About: Connection , Check , Connect
Introduction
2007-06-01 12:26:00
I know that Visual Basic 6 is now kinda obsolete but it will always be a great “programming language” ( in fact VB6 is a RAD : Rapid Application Development, the programming language is Visual Basic ). Lately I worked a lot with it and I though it would be nice to post here from time ...
More About: Tricks , Introduction , Intro
Problem with Outlook after installing Internet Explorer 7
2007-05-04 13:27:00
Last day I needed to install Internet Explorer 7 to test a client’s website in it ( I’m a Firefox fan but it seems I just can’t get rid of IE ). The installation went ok and the testing was completed on time. The problem appeared when I tried to get my hotmail ...
More About: Internet Explorer , Outlook , Misc
Common Mistakes to Avoid When Freelancing Tips
2007-04-23 17:11:00
While browsing my favorite DIY web sites I found an interesting article about the common mistakes that need to be avoided when working as a freelancer. You can see the original article here : Common Mistakes to Avoid When Freelancing . Besides those 3 reasons, I can add ( after a lot of RentACoder.com experience) : try ...
More About: Tips , Misc , Reel
Project #2 - Requirements
2007-04-19 21:44:00
About 4-5 weeks ago I managed to get a big project from a really nice buyer named Justin. It is all about EBay API, for now only few modules are done but after I finish doing a full working demo of it I’ll post here some more details and screen shots ( as for now ...
More About: Project
Time management problems
2007-04-05 22:33:00
Lately I was so busy with the school and work assignments that I end up doing this all day : work/school/work/sleep/…, this kinda took me down mentally and physically ( and as a bonus, quarrels with my girlfriend ). The problem with my work-related time is that I switch the applications very fast between FireFox ...
More About: Management , Time , Men , Time Management , Problems
Project #1 - Finished script
2007-03-19 22:11:00
I just finished it, it took a little longer than expected ( even that it was in the deadline so it was ok ) because I had some personal problems in the weekend. The buyer like it a lot as it makes his work easier ( as any script should do ). Here are some screenshots of ...
More About: Project , Script , Finish , Nish
Project #1 - Requirements
2007-03-13 16:18:00
Just got a project invitation from an old client of mine, Traffic Shock I must do a simple script with a : Backend (Admin area) : it will let the admin add new products, modify/delete the existing ones and create HTML code to be inserted where the shopping cart needs to be placed. Frontend (User area) : ...
More About: Men , Project
More articles from this author:
1, 2
111676 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2012 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker