I have an ec2 instance used as LDAP server with the following example DNS names assigned by Amazon:
Public DNS: ec2-123-231-312-132.compute-1.amazonaws.com
Private DNS: ip-10-11-12-13.ec2.internal
The instance has 123.231.312.132 public IP address and 10.11.12.13 private IP address respectively.
I have also set external dns records ...
I'm maintaining/developing a platform for homework testing. It's mostly automatic. What I need to add now is code analysis. I need to check the code for specific constructs.
For example:
Does the file main.cpp contain a
class named user with a const method
get_name()?
Is there some tool out there that would allow me to do suc...
Hello,
We have a Suse Linux 11 server with network bonding which we named DBSERVER.
With the following script running on another similar machine named CLIENTMACHINE, we observe no errors when pointing the script toward DBSERVER:
(begin script)
#!/bin/bash
# parameter: IP address
if [ ${#*} != 1 ]
then
echo "Need one paramet...
How is memory compression achieved.? What is compcache..? How do I choose an appropriate technique for my system (its a telecom sw - running on SMP LINUX (from Windriver system)+Cavium Octeon processor)). There is just a physical memory of 2 GB with no swap.
...
Hi all
I am trying to install refinerycms, a Ruby on Rails CMS on Ubuntu 10.04 LTS. I run rails server and I get the following exception:
carcher@carcher-laptop:~/Code/tgc$ rails server
=> Booting WEBrick
=> Rails 3.0.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Ex...
I'm trying to understand some behavior I'm seeing in the context of sending UDP packets.
I have two little Java programs: one that transmits UDP packets, and the other that receives them. I'm running them locally on my network between two computers that are connected via a single switch.
The MTU setting (reported by /sbin/ifconfig) is ...
Hi I'm trying to use RabbitMQ instead of Starling I've configured my
app and everything seems to be fine but when i run 'script/
workling_client start' it starts to work and ends in a few seconds and
I can't get why
My app works perfectly with Starling
I'm using Fedora 13 ruby 1.8.7 rails 2.3.8 mongrel(configured
according to http://gi...
How do I get correct colors associated with my KDE or Gnome profile on Linux?
java.awt.SystemColor seems to give me root (?) account colors, at least colors definitions doesn't match my settings (whereas on Windows everything is fine).
Are there any APIs that let me access current user's Window Manager color settings from Java?
...
This is a follow on from my question here, I think I will have to look at a different method.
I'm wanting to package my python program with some of it's dependencies. I'm aware of tools like cx freeze or bb freeze, but as you can see in the linked question they have issues for my situation.
I don't want my users to have to install my ...
I'm looking for a alternative method to reading the /proc/PID/exe symbolic link in which to obtain the full path of a process in Android/Linux.
The reason being is that on Android, /proc/PID/exe for any process other than your own or 'self' seem to have restricted (permission denied) access.
I have looked into the following as well - ...
When I do ls -l in /usr/lib I see lots of libs with "sameName.so.*.*" extension.
What is the significance of these extensions?
Why softlinks are created? what are their use?
One example will help a lot in understanding.
...
I have recently installed Mono on our Fedora Linux system so that we are able to run ASP.NET applications on it. I was able to get this part up and running, but the problem is we use a Informix DB and Mono seems to stop the ODBC from working.
Have anyone any experience of getting an ODBC to connect to an Informix DB with Mono instal...
Hi,
I am working on Linux 64 bit porting and we used a lots of long variable in our code. Now on Linux 64 long is 64 bit. We are facing problem in the bits manipulation code.
I heard there are options LLP64(long as 32) and ILP64(long as 64). But I don’t know the compiler option for it(g++).
I have few more doubts,
If I compile with o...
hi i want to do a Makefile in linux that will take all the .cpp files in the dir compile them
and create one .o file that i can active how i can do it with Implicit Rules
thanks
mati
...
I'd like to copy and call a function, but the code below segfaults when calling the buffer. What do I have to change? (Linux, x86)
#include <string.h>
#include <malloc.h>
#include <stdio.h>
int foo () { return 12; }
void foo_end () {}
int main () {
int s = (unsigned long long) foo_end - (unsigned long long) foo;
int (*f) () = (int...
Hi all
I'm running a grep to find any *.sql file that has the word select followed by the word customerName followed by the word from. This select statement can span many lines and can contain tabs and newlines.
I've tried a few variations on the following:
$ grep -liIr --include="*.sql" --exclude-dir="\.svn*" --regexp="select[a-zA-...
Hi, I'm trying to integrate Goutte http://github.com/fabpot/Goutte into my existing symfony 1.4 project and am running into a problem.
I have everything working on my local wamp server, here are the two lines in question:
require_once('path_to_goutte.phar');
$client = new Goutte\Client();
Now to debug I've put a print statement befor...
I want to display all lines from one which match regular expression
if I have a file
foo
bar123
baz12435
lorem
ipsum
dolor
sit
amet
this display-from baz[0-9]* < file sould return (It doesn't matter if it display matched line or not)
lorem
ipsum
dolor
sit
amet
How can I do this in Linux (with sed, awk or grep)
...
Here's what I'm trying to achieve.
I have a directory with over 4200 sub-files/sub-directories, all of which need to be set to a certain timestamp.
This is a problem because many of them have whitespaces and other weird characters.
First thing I tried:
touch $(find .)
Won't work because of the spaces. It will update the timestamps o...
Update: I'm working with the GNU-runtime on Linux. The problem does not occur on MacOS with the Apple-runtime.
Update 2: I compiled the GNU-runtime on MacOS and build the example with it. The error does not occur on MacOS with the GNU-runtime. I would say the problem is the glibc (since backtrace and backtrace_symbols are glibc extensio...