code

Showing plain PHP code in a HTML page

And I'm talking (especially) forums here - [PHP]code here[/PHP] - style. Some forums escape double quotes or other "dangerous characters" and others don't. What is the best method? What are you guys using? Can it be done without the fear of code injection? Edit: Who said anything about reinventing the wheel? ...

Have you ever set a class for your css that uses it multiple times?

I always was told to take out multiple properties in your css that you use more then once, and add them all in one rule. Like below. (please excuse the poor example) I always seen this: .button, .list, .items { color: #444; } With multiple rules, can't that leave a lot of clutter? Only in css tutorials and examples Ive seen this: ...

What documentation should I request from my developer?

Hi, I am looking at commissioning a fairly straight forward restaurant directory and booking web app and I have had some quotes to use joomla and other OS CMS's as the base however I am thinking I like the idea of less clutter and more flexibility of a custom app. It will probably be cakePHP... I want to make sure that I have the rele...

Code Signing (Microsoft Authenticode)

I have a program which is used by a large number of people who are not always super computer savvy. I want to make sure that rather than having my executable say it is from an unknown author that it says it was signed by me. As far as I know this can be done with Microsoft Authenticode. I understand I need a certificate to do this and...

Reading other's code...

Possible Duplicate: How do I begin reading source code? I've been studying C++ and Lisp for a while now.. Bur, everytime I try getting others code to read. WOW, it seems like I am very very lost. Anything has some tips? thank you, Mario ...

UINavigationController Pop One View

Hello! How can I simply go up one view in a UINavigationController from code? So simple.. Thanks, Christian Stewart ...

program/site to generate html form code based on mysql database

I have a mysql databased with many tables and fields. I would like to quickly generate a set of prototype forms based on the mysql database (or create table statements). Anyone have any suggestions? html form code would be great. Full PHP validation and insert updates would be even better. Also Zend framework code would be ideal. I was...

Good practices in writing code?

I am an engineering student, not computer science though, and have been coding in Matlab for like 4 years. However only recently I have experienced writing long codes, or the need for connection of some multiple codes and data. Writing the code in bits as general functions is one of the things I have experienced lately is a good thing to...

how to convert avi file to yuv 420 (software/matlab/source code/c/c++ anything)

Guys I want to convert an avi file into yuv 420 video clip. Is there any method to do that? thx! ...

Automatic Code Generation for Strings.xml from Eclipse

I find it a waste of time that every time I need to enter a string that I have to go edit the strings.xml file manually. What I'd like to be able to do ideally is have Eclipse pop up a dialog box that lets me specify the name of the resource and the value for it. Then Eclipse would generate the code in strings.xml and paste the correct...

Android and qt syncing

Hey, im writing an app that stores different pieces of text information. I am also writing a pc based program using the qt framework that will do the same thing. What would be the best way to sync the pc and android programs? Would going through usb work or bluetooth or network? Also how would i get the pc to recognize the internal data ...

dynamic creation, adding row and cols in table works, but on button click things go wrong! REVISED

select day using the drop down list select the start date using calender (causes an event), a table is made having the dates of the day selected from the start date and shown to the user. the table also contains checkbox for each row in a cell the user selects the check boxes he wants and clicks the button the button calls the method in...

Webhosting service that will let me store source code (.java, .cs, , .m, .h, etc.)?

I am looking for a webhosting service where I can also store source code files (.java, .cs, .m, .h, etc.) without any hassles. Any suggestions, or any alternative strategies? I thought about providing links to my repo, but I"m not quite sure if beanstalk will let me do that without a password. Thanks for any info ...

How do you think about and architect programs?

I'm a QA guy and designer and i'm coming to development. How do most developers architect programs? With design I build up with a vague idea of what I have in mind and adapt my design to keep in moving forward and looking good. With coding, I'm trying the same methodology. I'm constantly testing and debugging my code and I make forward m...

utf-8 charcter problem in code behind

Hi there, I have a web site and it has some words with Turkish characters (ü,ş,ö,ç). There is no problem while is viewing. But when i want to use that words in code behind for example CheckBoxList.SelectedItem.Text, they are looking as html codes. For example; a label's text value is 'EYLÜL'. but when i looking that label's text value ...

help with this Rails code, plz (select and javascript)

hi guys, this is what I wanna do. i need to have a select with options and javascript in each one, **select...%>** <% @buscar.each do |j|%> <option value="<%= j.cedula_tutor1 %>" onclick="Datos2('j.cedula_tutor1');"> <%= j.cedula_tutor1 %> </option> <%end%> **</select>** this is what I has made in rails... <%=select("cedula_tuto...

How to code sharing between Android and iOS

Hi everyone, I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK to include C/C++ code in Android apps. My question however is how? I've googled quite a bit and I can't find any clear and co...

If our company plans to buy software source code, maybe data recovery software, can we use it to create a new program without technology dependence?

Hey guys, A big problem, help me please. Our company plans to buy data recovery software source code, and require a report about this. But I'm lack of such knowledge. Please tell me some ideas, such as how it works, the general market, or sth else. Thank u all! ...

How to trigger call by activating Loudspeaker?

I am Triggering a call from my App,But I want to trigger a call by enabling loudspeaker programmatically.... ...

Template Editor Script

Is it possible to find any open source template editors.. i wanted my site users to edit the contents of module as well as css. Once they click the edit, it should open a specific module or file name.. so the users can change the css and content and then click ok. Then after refresh the change in css and content should be reflected.. I ...