I tried crating a folder with the name CON in Windows, but I couldn't crate it in any of the hard drives.
What could be the reason? Is it possible to create such a folder?
I am running ubuntu apache2 on an Amazon EC2 instance running behind an Amazon ELB (load balancer)
I am trying to get multiple domain running pointing to different virtual hosts. The problem is I cannot get virtual hosts working with name - I can only get it working with
I am trying to get
www.domain1.com and www.domain2.com working
When I…
I have the below config file for nginx. The problem is all traffic is going to upstream clustera. How do I configure nginx to only send traffic for example.com to clustera and all the rest to clusterb?
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections …
These are all the dirs in my server:
? bin boot dev etc home lib lost+found media media2 misc mnt net opt proc root sbin selinux srv sys tmp usr var
why there is a "?" dir?
Thanks very much.
BTW: the touch command was found on my server(wiered).
I list the bin dir:
alsacard cp dd …
I am tying to learn gnu screen. I am using mac(snow leopard). I am running 4.00.03 version of screen.
I am starting a new screen with following command
screen -S foo
However after that if I do ctrl + A + " then I see the list of screens. However all the lists have numbers and then bash. Because all it says is 'bash' I can't figure out…
I have a windows 2003 server and time to time I am getting many login failures like this one.
Logon Failure:
Reason: Unknown user name or bad password
User Name: administrator
Domain: xx.xx.xx.xx
Logon Type: 3
Logon Process: NtLmSsp
Authentication Package: NTLM
Workstation Name: XLHOST
Caller…
Is there a way to make bind answer some queries but forward all other queries (of the same domain) to another server, as in:
example.com A 127.0.0.1
www.example.com A 127.0.0.1
everything not on this list (example.com MX, ftp.example.com A etc) - ask 192.168.0.1 (another DNS server)
Essentially I want to intercept some (but not all)…
I'm trying to create a powershell script that creates a new folder with the current date (formatted as yyyy-MM-dd) as a name.
Here's what I have so far:
PS C:\Users\me\Desktop> powershell.exe -command "new-item ($(get-location)
+ (Get-Date).year + "-" + (Get-Date).month + "-" + (Get-Date).day) -type directo
ry"
Die Benennung…
Hello
I am using ubuntu 8.04.4 and would like to start daemons like this:
screen -dmS SESSIONNAME script.sh
Then i want to kill these screens with -X like so
screen -S SESSIONAME -X kill
But, this does not work. Only if i attach and detach that session it gets kill'ed with above command. What am i doing wrong? I would like…
I am trying to install MySql on Ubuntu 12.04 but the installation is failing with the error: "Can't change to run as user 'mysql'. Check if the user 'mysql' exits."
So I go ahead type in the command :
'cat /etc/passwd | grep mysql'
and result is null.
I try to add a user 'mysql' by issuing the command
'useradd mysql'/. But…
Is there any way to zoom in, in the System Internals Process Explorer graph?
Background
I'm trying to work out why my PC freezes/locks up for about a second (the pointer does not move) every so often. This has only been happening for the last 2 days. There is a very narrow spike associated with the freeze, but it's hard to…
I tried using the code below for the Excel program on my `Mac Mini using the OS X Version 10.7.2 and it keeps saying Error due to file name / path: (The Excel file I am creating is going to be a template with my formulas and macros installed which will be used over and over).
Sub CreateFile()
Do While Not…
I'm fairly new to SQL so this may be an easy mistake, but I haven't been able to find a solid solution anywhere else. Problem is whenever I try to use my temp table, it tells me it cannot be used because there is already an object with that name. I frequently try switching up the names, and sometimes it'll…
I am trying to implement a named-pipe communication solution in BASH between two processes.
The first process runs a script which echo something in a named-pipe:
send(){
echo 'something' > $NAMEDPIPE
}
And the second script is supposed to read the named-pipe via another script which contains:
…
I've been developing a GUI library for Windows (as a personal side project, no aspirations of usefulness). For my main window class, I've set up a hierarchy of option classes (using the Named Parameter Idiom), because some options are shared and others are specific to particular types of windows (like…
I have my persistence.xml with the same name, using toplink, under META-INF directory.
Then I have my code calling it with...
EntityManagerFactory emfdb = Persistence.createEntityManagerFactory("agisdb");
Yet, I got the following error message
2009-07-21 09:22:41,018 [main] ERROR - No Persistence…
I'm using the Flot graphing library jQuery plugin and I haven't found a good way to handle resizing the graph when it's containing <div> changes size (for example, due to window resizing). When handling the onresize event, I've made sure that the width and height of the containing…
I am using the WPF toolkit, and am trying to render a graph that looks like a histogram. In particular, I want each column to be right up against each other column. There should be no gaps between columns.
There are a number of components that you apply when creating a column graph.…
i have a large 2-dimensional data set which i would like to graph. the graph is displayed in a browser and the data is retrieved via ajax.
long stretches of this graph will be continuous - e.g., for x=0 through x=1000, y=9, then for x=1001 through x=1100, y=80, etc.
the approach…
I'm trying to determine when any of a set of named input/select/radio/checked/hidden fields in a form change.
In particular, I'd like to capture when any changes are made to fields matching jQuery's selector $("form :input"), and where that input is has a name attribute.…
It seems naming a previously unnamed branch doesn't really work out. It creates a nasty multiple heads problem that I can't find a solution for.
Here is the workflow...
UserA starts working on feature that they expect to be small, so they just start working(off the…
Hello
I'm developing a scientific application using .net framework.
The application depends heavily upon a large data structure (a tree like structure) that has been serialized using a standard binaryformatter object.
The graph structure looks like this:
…
I'm trying to get a faster pathfinding mechanism in place in a game I'm working on for a connected node graph. The nodes are classed into two types, "Networks" and "Routers."
In this picture, the blue circles represent routers and the grey rectangles…
Suppose you have a parse tree, an abstract syntax tree, and a control flow graph, each one logically derived from the one before. In principle it is easy to construct each graph given the parse tree, but how can we manage the complexity of updating the…