Hi,
Is there a shell command to know about how much memory is being used at a particular moment and details of how much each process is using, how much virtual memory is left etc?
I'm using launching firefox from the command line in a script to get snapshots of pages. These pages have basic http authentication. When using:
firefox http://user:[email protected]
Either a dialog appears, or authentication doesn't work at all.
Is there any option to make firefox open the page without showing the dialog?
When doing a git tag, I'm not always great at remembering if HEAD~6 (for example) is inclusive or exclusive.
Given that most of my commits are prefixed with an issue number, I wondered if there is some magic command for searching for the commit SHA from part of its message.
I know it's easy to do a git log and work from there, but I want more easy :)
As part of my test automation, I have to start Selenium Server on my server.
As of now I am manually executing a batch file to start selenium server on m,y machine.
Batch file contains the following command.
java -jar selenium-server-standalone-2.16.1.jar -role hub http://server.com:5555/grid/register
But as I required it for my test automation, I want to automate running the selenium server on a remote server from my C# code. How do I do this?
Hi there,
recently I started using Emacs as a Python IDE, and it not quite intuitive... The problem I am struggling with right now is how to pass command line arguments to the inferior python shell when the buffer is evaluated with C-c C-c. Thanks for help.
What are good diff tools that are self contained (small in size and in as little files as possible), and can be used from an USB with no extra fuss ? Not looking for command line ones.
So far I found diffuse ... any more like it ?
I've no idea with command line stuff!
What i've done:
changed my php.ini to phar.require_hash - off
ran go-pear.bat
so i'm pretty sure i've got PEAR installed,
now I'd like to install this package
I've tried following the instructions but I really don't know how to do things with cmd.exe,
would love some help!
I've got thousands of urls from many hosts I need to screenshot.
I can use the lib fine from the command line, but how can I integrate it into my code so I can take multiple screenshots simultaneously?
I think it's something to do with xvfb as with the answer to this question: http://stackoverflow.com/questions/1747022/how-to-kill-headless-x-server-started-via-python but I'm not sure what exactly.
I understand how to use REST for doing general entity interactions - using urls names to map to entities and the HTTP verbs to map to actions on those entities. But what is the generally accepted way of looking at "actions" more like RPC?
For example, let's say I want to send a command for the device to reset? There's no real "entity" here or do I do something like POST to http://mydevice/device/reset?
1 - Curious as to how to make a popup asking to confirm if I want to load the program before it loads. Example:
^g::Run C:\GW2\gw2.exe
2 - How to set a title(instead of the script name), align text within msgbox and control the perimeters of msgbox with this format:
F1::msgbox,
(LTrim
Insert Text Here
)
3 - How to either temporarily pause and unpause a specific AHK script only allowing that hotkey to work within the script OR to disable scripted hotkeys while in a full screen application or game OR a "on/off pause/resume" command to disable multiple other commands such as ^g, ^h and the like.
How to manage more than one printer from single C# windows application? Requirement is there should be only one print button and it will give print command to printer as per configuration in application.
I'm trying to run down when a particular bug was created, but wading through the history is pretty time consuming. Is anyone familiar with a command line method to get a list of revisions where a line or range of lines changed?
svn and vault evangelists: I know, right....but you can't always pick the environment....
A show create table command shows the following:
'columnA' varchar(6) NOT NULL DEFAULT '';
How do I modify that column so that the not null is removed?
I need it to be:
'columnA' varchar(6) DEFAULT NULL;
I thought the following would work, but it has no effect:
ALTER TABLE tbl_name MODIFY columnA varchar(6) DEFAULT NULL;
Is there a command in mercurial that will list all files currently under source control?
I can do a dir /s to list all files in my folder and subfolders, but I have no idea which have been added to my repository. I have a variety of excluded file types and folders and I want verify that none of them were added before I set them up in my .hgignore file.
I am able to build the shared object successfully using the holy native compiler "xlc" on AIX.It does build the shared object library but does not install the shared object library.
Configure command is:
./configure --prefix=/PATH/to/install --exec-prefix=/PATH/to/install --enable-shared --enable-static=no --enable-module=so --build=powerpc-ibm-aix5.3.0.0 --host=powerpc-ibm-aix5.3.0.0 LDFLAGS="-G -shared"
Any help would be appreciated?
I have installed latest JDK (x64) on Windows 7 but browsers still can't run the java apps. I understand that JDK includes JRE. JDK is installed correctly and from command line (Java -version) shows installed version as well. Any suggestion please? Thank you
It does not appear to be possible to call Windows system commands (e.g. del, move, etc) using GNU Make.
When the following rule is run, an error is reported del: command not found:
clean:
del *.o
This is presumably because there is no such execuatable as "del". I've also tried running it as an option to cmd but with this only seems to open a new prompt:
clean:
cmd /C del *.o
I'm using GNU Make 3.79.1 that is bundled as part of MSys.
I'm trying make a lists difference. Found directly prelude operator \\\\ that makes lists difference. But errors Not in scope: '\\\\' occurs. Here is my simple from command line interpreter:
Prelude> ([1,2,3] ++ [5,6]) -- works like expected
[1,2,3,4,5,6]
prelude> ([1,2,3] \\\\ [1,2]) -- erros occurs
<interactive>:1:11: Not in scope: "\\\\"
Thanks for explanation where I make a mistake.
I was wondering how such performance can be achieved on windows as I noticed snowberd is even faster than DOS "dir" command, even in mapped network drives...?
Any idea what algo/technology are used to get such fast directory browsing...?
I just upgraded my slime using elpa in Emacs. But I wonder if things are like they should be now, because when I removed the old version using elpa, it complained it could not remove a certain folder. So, when I start up Emacs (I know, I shouldn't have closed it), how I can see which slime version actually gets used? Is there a command like M-x slime-version ?
I need to be able to raise different types of audio notifications to the user. I need an "ok" and an "error" type sounds, I was hoping to be able to raise a simple beep and a critical stop type sound but I can only find the Beep() command which doesn't allow for differing sounds. Is there a library that does what I need or will I need to roll my own using the system wavs.
hi,
my window.location is "F:/html5/home.html", from my location i need to get the file name like this "home.html", to do this, how to i use the regular expression command?
any one help me?
So I change the -vm argument for eclipse.exe using the elcipse.ini settings file, and now there's an annoying command prompt console (even if I remove the -vm value).
Does anyone know how to turn off the console so I only have the eclipse GUI and not the console window?
/cry
NOTE: On MS WIndows 7