Best "GUI" IDE when using Node with Jade/Stylus [closed] - node.js

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
So I come from a world of terminal windows and vi, and I created a site using Node.JS, Stylus, and Jade. The problem is now my girlfriend wants to help, however, all she has experience with is a Dreamweaver style "GUI" IDE for CSS and HTML. Is there an IDE that I can use for this? Cloud 9 is out because the project is not currently public.

If you are on Windows, you can try Microsoft WebMatrix 2

KomodoIDE has been a great choice for me. It has the Node.js api built into version 7, along with great interactive debugging options for stepping through code. There are dozens of syntax colorizing options ootb, and you can create your own syntax colorizers with UDL - http://docs.activestate.com/komodo/7.0/udl.html
Unfortunately there is no stylus or jade support, however I've found that a few of the built in colorizers work pretty well for both. And there is a 3rd party plugin for Haml - the premise of Jade available in the community downloads - http://community.activestate.com/forum-topic/haml-syntax-highlighter-v but I didn't try it out. And considering Less, SCSS and CoffeeScript were just added I'd wager that jade & stylus could very well be on their todo list.
The main reason I use Komodo is for the great vim key binding support - being an ssh/vi developer for a decade myself, this is now my prefered editor. So it might be an option for you too :D

Related

Allow plugins in nodejs application / electron

I am creating an application which further down the line, will allow users to create plugins for it. I am new in regards of plugin development and do not know how to properly search for examples of this.
As it is this is far too broad -- there's no actual question to it, only a statement. If you'd like a useful answer try editing to include a question which we can attempt to answer.
Here's a couple open-source Electron-based projects that support plugins which should help you get started, or at least give you an idea what to look around for/start building:
a game editor
electron-updater

How to build a broken link checker tool? [duplicate]

This question already has answers here:
JavaScript/jQuery check broken links
(6 answers)
Closed 10 years ago.
I am planning to build a broken link checker tool for websites. Can you guys please let me know which tools I need to use in building the tool. I have experience in JavaScript, ExtJS, jQuery and PHP. Any help/suggestion would be greatly appreciated.
Have a look at this WP plugin:
http://wordpress.org/extend/plugins/broken-link-checker/ [Broken Link Checker]
It already does the job.
You could either reverse engineer it or use it as a concept tool to make your own

Open source code coverage tool for .net that can be integrated with cc net [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can u please tell me any code coverage tool name that i can use in cruise control .net,
Is part cover is open source or not?
OpenCover and PartCover are both open source code coverage tools that can be integrated into build automation systems such as CC.NET.
With both you can use ReportGenerator to display results; though PartCover does come with it's own viewer I prefer to use the ReportGenerator one myself as the HTML can be integrated quite nicely into a build status report.
You may also build your own reports using XSLT or such like as both tools have an XML output.
You can merge OpenCover output with log file and by using XSLT u can show Code coverage build by build.
<publishers>
<merge>
<files>
<file>yourPath\coverage.xml</file>
</files>
</merge>

Best way to integrate sound into website [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking to integrate sound into a website. Basically a chat website where users will hear a sound when a new message arrives. What do you think is the best way to integrate sound?
Javascript to play the sound
Javascript to call a flash swf which plays the sound
Any other method I cant think of?
Thank you for your time.
A small swf with the sound controlled by javascript would the the way to go in terms of being cross platform and cross browser.
I would go with option #2. But, with a word of caution when integrating any sound into a web site, people often find it annoying, when a sound comes out of the blue.
As Conrad said, use javascript and swf. You can also take a look at what other people use. One example that I like is the Campfire chat. It works in all browsers and OS:es that I've tried it with.
The most elegant solution would be to use the upcoming HTML5 <audio> tag. You can script this from JavaScript. Support for this is poor, however.
As as said by others, the alternative would be a Flash solution.
I would recommend using the <audio> tag where possible and Flash as fallback content.
I personally don't like websites that need JavaScript activated to accomplish something in Flash (eg. youtube), because generally speaking I have deactivated JavaScript. Therefore I would suggest to only use Flash. However this is a personal thing. Most users probably don't mind.
Personally I don't like background music or sounds on websites. Reminds me of the bad old days were every site had a background MIDI file on it.
At least have the option to switch it off :)
3 Use Flash. It's widely supported and it works better than Java applets.
Please make a clearly visible mute button too! :)
This is a very nice API that uses flash and javascript to make embedding sound in your webpages easy as something very easy: http://www.schillmania.com/projects/soundmanager2/
Setting aside the ethics of whether to make a sound play in a web page automatically...
I've got this working with XHTML 1.0 Strict in FF 3.x+, Opera 9.x+, IE6+, but not in Chrome (3.0.195.38) or Safari (4.0.4). So, I can't figure out how to get Webkit to accept it. Note this likely will not pass XHTML validation. And also note that my doctype stuff starts off like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Anyway, although the following code doesn't work yet in Webkit browsers, it works in other browsers:
<bgsound src="http://example.com/sound.wav" loop="0" />
<audio src="http://example.com/sound.wav" autoplay loop="false" />
If anyone know how to get this working in Webkit browsers, I'd like to know how.

Tips / Resources for building a Google Chrome plugin [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
After test driving Google Chrome for 30 minutes or so, I like it, even if it seems bare-bones at the moment. The obvious way to add a few things I can't live without would be through plugins. Does anyone have any links to resources on how to get started building a plugin/addon for Chrome? Thanks.
Matt Cutts (the Google
SEO guru) has a Q&A about chrome, and
writes about it:
Q: But I can’t install extension X! Google Chrome is dead to me if I can’t use extension X!
A: Then you’ll have to use another browser for a while. Google Chrome currently doesn’t support browser extensions (it does support plug-ins, such as Flash). I’m sure that extensions/add-ons are something that the Chrome team would like to do down the road, but the Chrome team will be a bit busy for a while, what with the feedback from the launch plus working on Mac and Linux support. I’d suggest that you give Google Chrome a try for a few days to see if enjoy browsing even without extension X. A lot of really cool extension-like behaviors such as resize-able textareas and drag-and-drop file upload are already built into Google Chrome.
Q: But I can’t install extension X! Google Chrome is dead to me if I can’t use extension X!
A: No worries! Now google chrome has extensions too. Look here.
If anyone's interested in chrome extension development here is a link to the latest extension developers documentation page for Google chrome.
NOTE: Plugins (NPAPI) and extensions(JS Based) are not the same
From the doc...
Extensions are small software programs
that can modify and enhance the
functionality of Google Chrome.
You write them using web technologies
like HTML, JavaScript, and CSS. So if
you know how to write web pages, you
already know most of what you need to
know to write extensions.
Chromium supports NPAPI plugins which is harder to program compared to Firefox extensions. However NPAPI has better performance and is more versatile.
Checkout this minimalistic example of an NPAPI plugin.
Chrome does support the netscape plugin api, but that is for displaying certain kinds of content.
You seem to be after a extention api, really firefox is the only major browser to encourage and support third party extentions to browsing capability (that aren't simply new toolbars)
Nothing in the developer documentation points to a browser enhancing api - google seem to want to keep a tight reign on the look and feel of the application.
You might find a more conclusive answer on the development site:
dev.chromium.org, and some of the developers might be on irc on #chromium on freenode.
Chrome now supports extensions and themes. Here is the documentation for developing extensions, and this is a page which describes theme creation.
The accepted answer is out of date. A couple of useful URLs:
For developers: http://developer.chrome.com/extensions/index.html
For end users: https://chrome.google.com/webstore/category/home?hl=en-US
There's a difference between a 'plugin' and an 'extension'. Chrome supports NPAPI plugins:
http://developer.chrome.com/extensions/npapi.html
Chrome may also support a new Pepper Plugin API (ppapi):
http://code.google.com/p/ppapi/

Resources