I've developed a Qt application which contains a TCP server and such. I'm now trying to make Ubuntu packages and let the application automatically start on startup.
The application needs to be running even if nobody is logged in, which means a daemon started via a script in /etc/init.d/
I tried simply running the application on start a...
What I'm trying to do is:
set x to current selection, then advance the selection to the next file and then delete x.
I'm doing this because CMD-backspace clears the selection every time and that's annoying!
...
What languages do your testers use for writing complex testing scripts/simulators?
...
Hi all,
I've got myself a copy of Rakudo and I'd love to give it a test drive. After looking around the Internet I found some code snippets of cool Perl 6 stuff, but no complete scripts. Any sites that make practical Perl 6 scripts available would be appreciated.
Thanks guys, Ehtyar.
...
I know indexhibit, indexr and the core CMS
are there any more?
...
People use gdb on and off for debugging,
of course there are lots of other debugging tools
across the varied OSes, with and without GUI and,
maybe other fancy IDE features.
I would like to know what useful gdb scripts you have written and liked.
While, I do not mean a dump of commands in a something.gdb file that you source to pull o...
Is there a way to script the rescaling of a .SVG from its current size (thousands of pixels) to a much smaller size? I've tried ImageMagick, but its support for SVG gradients is far too weak to be useful.
The purpose is to work around a bug in a rendering library that sometimes causes svgs with large pixel sizes to allocate large raste...
How would one go about creating a site that will log you into other sites and gather your data. For instance, how mint.com allows you to input all your online bank details and it gathers your data for viewing within Mint.
If someone could point me in the direction with some keywords or any scripts, it would be much appreciated.
...
I have the following For loop in a batch file:
for /R c:\test\src %%i IN (*.*) DO (
MOVE %%i C:\test\destination
ECHO %%i
exit
)
The result of the ECHO outputs the entire file path Ex: C:\Foldername\Filename
I need to ECHO out only the Filename.Is there a specific command which would give me the filename ?
Thanks !
...
Summary
jquery is used to retrieve search results via the get() call. When rendering the bulk of results there is no problem, but then when rendering part of the results, IE7 consistently hangs for 5-30 seconds before rendering.
Problem
The get() call in jquery successfully executes. There is no eval() or urlencode or decode on the da...
When i run script to log the entire console , the output file is crytpic with symbols like ^[d ^M ^[ ^@ ^@ etc.. Is there a editor which will remove and open the file that looks like exact console logs .....
...
There are many things that all programmers should know, but I am particularly interested in the Unix/Linux commands that we should all know. For accomplishing tasks that we may come up against at some point such as refactoring, reporting, network updates etc.
The reason I am curious is because having previously worked as a software test...
Linux user - Windows noob alert ;)
Could someone recommend me scripting/programming language that's functional and works on all Windows (let's focus on XP, maybe Vista too) machines without additional installation? Something that won't make me install new things to run code.
For example on Linux I have shell (heh) and can code basic th...
For e.g., when I say ". .bashrc" on my linux command prompt, is there a corresponding binary/script that gets executed in place of the first dot? If the dot itself is a command, where is its location?
...
Hi,
Windows PowerShell is out a quite long time now. In comparison to the the good old windows shell it's much more powerful.
Are there any scripts you use to speed up and simplify your every day work as an developer? If you can do magic with PowerShell -> please share it with us!
Update
Not really a script, but also very useful are Po...
Ok, here's a problem I'm having.
I have Lua bindings to a rendering engine that has an internal render manager that keeps its own track of pointers for the render scene and manages them. The problem is that when I'm using it from Lua, if i don't keep a Lua reference to every single object i add to the C++ render manager, it starts to ga...
hi everyone, i 'm new to vim. now i'm writing a vim script. how can i get the word under the cursor and the text of the current line? i want to use it in my script. great thanks.
...
Hi mates,
On both, my Cygwin and my Linux box (Debian) I'm experiencing same issue:
I'm working in a shell script with some kind of formatting ids, I want to add a backslash () before a slash occurrence (/).
My sed script is working well at my terminal:
# export someid="314-12345/08"
# echo "${someid}" | sed 's/\//\\\//'
Output:
3...
I am trying to run SeleniumRC in IE but it gives me this error
line:548
char:9
error:'this.link' is null or not an object
code:0
URL:file:///C:/Users/test/AppData/Local/Temp/customProfileDir595535/core/TestRunner.hta
can anyone please help me with this ??
thanks
...
I'm trying to create a dictionary of words from a collection of files. Is there a simple way to print all the words in a file, one per line?
...