cool (179) #2


What’s in your PowerShell `profile.ps1` file?

What’s in your PowerShell `profile.ps1` file?

What essential things(functions, aliases, start up scripts) do you have in your profile?…


python Keeping GUIs responsive during long-running tasks

Keeping the GUI responsive while the application does some CPU-heavy processing is one of the challenges of effective GUI programming. Here's a good discussion of how to do this in wxPython. To summa…


Can I embed an icon to a.hta file?

I have written an HTML Application(hta file) and am wondering if there is a way to embed an icon file into the hta file itself. I have seen html emails that include embedded graphic files, is there…


JavaScript bookmarklet to delete all cookies within a given domain

I am testing a web app that writes cookies to subdomain.thisdomain.com and several subfolders within that. I'm looking for JavaScript that I can put into a bookmarklet that will delete all cookies un…


Best javascript syntactic sugar

Here are some gems: Literals: var obj={};// Object literal, equivalent to var obj=new Object(); var arr=[];// Array literal, equivalent to var arr=new Array(); var regex=/something/;// Re…



Library of Useful(Difficult) SQL scripts

Does anyone know where I can find a library of common but difficult(out of the ordinary) SQL script examples. I am talking about those examples you cannot find in the documentation but do need very o…


Hidden features of Windows batch files

What are some of the lesser know, but important and useful features of Windows batch files? Guidelines: One feature per answer Give both a short description of the feature and an example, not just a…


Tkinter: invoke event in main loop

How do you invoke a tkinter event from a separate object? I'm looking for something like wxWidgets wx.CallAfter. For example, If I create an object, and pass to it my Tk root instance, and then tr…


With what kind of IDE(if any) you build python GUI projects?

Is there any IDE(like VS) with drag and drop support for building python GUI, connecting to dbs etc? Eventhough I am an emacs guy, I find it much easier to create GUI with VS.…


MP3 Encoding in Java

I need an OpenSource API in Java, which can encode*.wav and*.au formats to MP3 and vice-versa. I have evaluated Java Sound API and LameOnJ, but they do not meet my requirements and are not stable,…




examples javascript awesome projects library with framework for github example