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
Apparently there are many questions that deal with how to store code snippets for Visual Studio, but I did not find one that contains links. So, is there a website that offers useful snippets? My google-fu only brought up many false positives or broken sites.
What order should these be done in? I'm doing this from the command prompt for a .Net app. I was able to do just strong name and code signing successfully, but when I tried all three, it doesn't look like it worked (== Vista still trying to run the app with elevated privileges resulting in a prompt, though I set the requestedexecutionlevel at…
To commemorate the public launch of Stack Overflow, what's the shortest code to cause a stack overflow? Any language welcome.
ETA: Just to be clear on this question, seeing as I'm an occasional Scheme user: tail-call "recursion" is really iteration, and any solution which can be converted to an iterative solution relatively trivially by a…
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 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…
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).
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…
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…
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…
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'..
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?
Partial duplicate of this
Notes:
I already use JSLint extensively via a tool I wrote that scans in intervals my current project directory for recently updated/created .js files. It's drastically improved productivity for me and I doubt there is anything as good as JSLint for the price (it's free).
That said,…
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…
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 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 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.