One of our more advanced features here at Hawkee is our markdown page editor. What sets it apart is fluid integration with CodeMirror to quickly and easily add code to a page. There's no fumbling with tabs and no need to paste between fences. This article gives a general overview of how it works.
You might be wondering where the snippets went and what these new "Pages" are. To answer that, let me give you a little history. When we introduced snippets in 2004 (10 years ago) the concept was simple: Paste a single block of code into a textarea and share it. This was a popular medium at the time. Syntax highlighting wasn't even necessary. We just offered the code back in plain black and white..
This will show you how to handle form errors with Node.js and AngularJS when server-side validation is necessary. It highlights the erroneous field and displays an error message below indicating the problem. This example uses Node.js, Express, Express Validator, AngularJS and Bootstrap 3.
So here is a simple highlight that I thought could be better than a few beeps. It works by being called upon in a channel. Once it its triggered, it will put a balloon tip only if your are not on the channel. It also triggers when mIRC is not the active application. Also, when you double click on the balloon tip, it will take your straight to the channel. Again, very simple, but handy if you are doing..
This is a little rework of a script I found online at http://forums.mirc.com/ubbthreads.php/topics/231245/Mass_PM , uploaded by RusselB (credits to him).
Below is a very simple example of how to create a basic websocket using node.js. Websockets are great for maintaining a server/client relationship without as much of the overhead of HTTP web traffic. Today, websockets are used to build a magnitude of browser-based real-time applications (live chats, multiplayer games). Basically it's a persistent connection between the server and client in which both..
Tired of having a bunch of messy, disorganized code? Need a little more order in your life? This is for you. What this does is sorts your code for you alphabetically and case-insensitively. Feed it your source and it'll output sorted.code The code:
This is just something that I came up with because I was bored. It is possible in MS Word, so I decided to match it. I haven't submitted anything in years. The first code is tried to be done without regex, but it is impossible (or just too lengthy) to add exceptions. It will capitalize the first letter of each word, besides: a, an, is, of, and, & the.
Watch channels for a word or phrase and have it sent to a @Window or echo into your active channel. Main sends each term to a window named with the search term. Alternate method sends all of the search terms to a single @Window. Once loaded just right click in a channel window to change/view settings found under ChanWatch.