Anyone knows any free Visual Studio add-in that would find and/or delete dead (unused) code? I saw such possibility in MZ-Tools, but it's a little expensive as for private use ;)
Write a program that outputs the reverse of its source code as a string. If the source is
abcd
efg
(i.e., the C string "abcd\nefg")
Then the output should be
gfe
dcba
(i.e., the C string "gfe\ndcba")
Bonus points for using esoteric languages such as brainf*ck.
*EDIT:** Removed the unnecessary \0 characters.+
I've looked around but have been unable to find any classes or sample code (in php) for the google safe browsing api.
Would you happen to know where I might find it?
G-Man
Right now we are maintaining some old project written in VB6 we are planning to implement continues integration sefver for it. We would like to implement some code analysis as well to track that maintanability at least not getting worse. Basically there is only one requirement - the tool should be command line so we can call it from constinues…
I want to write an apps that accepts user command. The user command is used in this format:
command -parameter
For example, the app can have "Copy", "Paste", "Delete" command
I am thinking the program should work like this :
public static void main(String args[]){
if(args[0].equalsIgnoreCase("COPY")){
//handle the copy command
…
At first I want to let you know that this question is not related with What is native implementation in Java. I got many useful information from that thread.
I want to know that are the codes of the native implementations available? I have jdk source code but I can not find the native codes for System.currentTimeMillis or…
We're using Vault from SourceGear as our source control repository. Does anyone know if there's a code review tool that can work with Vault, or something that can work with local files ?
I've checked the related questions, but I didn't see something that works with local files (of course I may have just missed it).
i'm Unable to run MSTest Tests with code coverage enabled while using NHibernate i get the following error message
Unit Test Adapter threw exception:
Type is not resolved for member
'NHibernate.Cfg.HibernateConfigException,NHibernate,
Version=2.1.2.4000, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4'..
Previously, my intention was to ask:
Do you know any open source SQL formatter/beautifier library for PHP projects?
But I think, I'd better ask:
Which code formatting libraries written in PHP are the best?
Let's list them all in one place.
My types:
for CSS syntax: Css Tidy
for PHP: PEAR's PHP_Beautifier
for HTML…
Is there a way (or an editor) that allows me to link an image/files/http links from within a source file (*.java for instance), sort of like a rich text document ?
This way, while reading the code I can quickly look at the appended image (augmenting the comments), instead of opening the browser etc.
GMail has this feature where it will warn you if you try to send an email that it thinks might have an attachment.
Because GMail detected the string see the attached in the email, but no actual attachment, it warns me with an OK / Cancel dialog when I click the Send button.
We have a related problem on Stack…
Doug McCune had created something that was exactly what I needed (http://dougmccune.com/blog/2007/05/10/analyze-your-actionscript-code-with-this-apollo-app/) but alas - it was for AIR beta 2. I just would like some tool that I can run that would provide some decent metrics...any idea's?
Hello how to add some html javascript code to a iframe added in our site
like example
i want to add a adsense to a iframe sourced some other domains (not the domain i have access)
So how will i make the iframe in my site loaded with a javascript
I work in the field of accelerator physics and synchrotron radiation. High energy electrons circulating in large rings of magnets produce x-rays that are used for a variety of different kinds of science.
Running and improving these facilities requires controlling and modelling the electron beam as it…
I am looking for a (preferably) command-line tool that can reformat the C# source code on a directory tree. Ideally, I should be able to customize the formatting. Bonus points if the tool can be run on mono (or linux).
I got tired to put the code in SO. The fur indentations I made is not working.For example I am posting below line with four spaces forth and the back.
print("Haihello");
hi,
do you know if there is any tool which makes structural coverage of java code?
did Junit do this ?
any links,documenetation which could help me?
thanks
When i try to use code folding in Aptana it doesn't seem to be working i haven't changed any shortcuts and i can`t get it work the default shortcut is Ctrl+Numpad_Divide any suggestions ?
I have just started learning to write apps for android using Eclipse. Where can I find free source code that I can use during my learning experience? Thanks.
Can someone please give the Java equivalent of the below python (which slices a given array into given parts) which was originally written by ChristopheD here:
def split_list(alist, wanted_parts=1):
length = len(alist)
return [ alist[i*length // wanted_parts: (i+1)*length // wanted_parts]
…