I have start a project to redefine keyboard layout for coders.under GPLv3
The most popular layout is qwerty, then dvorak, then colemak. but qwerty and dvorak is design for typewriter, and colemak is design for easy to learn. but this layout is design for coders.
5~ 3! 1@ 0$ 29 48 67 #` *^ y w x q
Tab (\ c d .< ,>...
I have device which is running linux with svga library for user interface. I tried to debug it by using GDB, but I got black screen when I initiated graphic by launching svga library. Any body knows how I can make it work? Thanks.
...
Let's say I have 10 programs (in terminals) working in tandem: {p1,p2,p3,...,p10}.
It's hard to keep track of all STDOUT debug statements in their respective terminal. I plan to create a GUI to keep track of each STDOUT such that, if I do:
-- Click on p1 would "tail" program 1's output.
-- Click on p3 would "tail" program 4's output...
Alright, some of you might have noticed I've been working on this problem off and on for about 3 weeks. I cannot figure out for the life of me whats going on.. Below is the perl script that saves input from USB card reader which acts like a keyboard. The machine is an embedded system running off of a compact flash drive, using voyage lin...
I've got a piece of userspace code which is parsing /proc/PID/task/TID/stat to get the cpu usage. I can use HZ to get the jiffies per second but this code could move to another machine which has a different configured value. Is there any way to get the value of HZ from userspace at runtime?
...
I'm using pyinotify to watch a folder for when files are created in it. And when certain files are created I want to move them. The problem is that as soon as the file is created (obviously), my program tries to move it, even before it's completely written to disk.
Is there a way to make pyinotify wait until a file is completely written...
I'm writing a program that forks multiple child processes and I'd like for all of these child processes to be able to write lines to STDERR and STDOUT without the output being garbled. I'm not doing anything fancy, just emitting lines that end with a new line (that, at least in my understanding would be an atomic operation for Linux). F...
Hello, I am working on a God script to monitor my Unicorns. I started with GitHub's examples script and have been modifying it to match my server configuration. Once God is running, commands such as god stop unicorn and god restart unicorn work just fine.
However, god start unicorn results in WARN: unicorn start command exited with ...
I'm writing a shell script that looks like this:
for i in $ACTIONS_DIR/*
do
if [ -x $i ]; then
exec $i nap
fi
done
Now, what I'm trying to achieve is to list every file in $ACTIONS_DIR to be able to execute it. Each file under $ACTIONS_DIR is another shell script.
Now, the problem...
How exactly does one find out the status of the lock keys on Linux (2.6.x), using C?
(I have a crappy keyboard without LED's for this stuff, and I need to write an X11 app to do this)
If such an app exists (and is DE agnostic - I run e16), I'd also like to hear it as well.
...
I have folders with the naming convention:
yearmonthday_jobcode_descriptor
ie 20101007_GR1234_Whatsit
I'm attempting to write a script that does a few things:
move any folders where the date is older than $X into ./old
move any folders where the date is in the future ./old
move any folders that dont conform to the convention ./old
d...
I have a piece of optimized function to get the GMT time. I would like to convert it to local time. I would want to call localtime and gmtime function only once to adjust the time to localtime as calling localtime and gmtime multiple times would defeat the purpose of using the optimized function. My idea is adding the difference in time ...
I see a lot of posts about writing to the SD card, but I believe my problem is different. I am unable to create the SD card during the process of building an AVD.
I initially tried to use the Android SDK and AVD Manager to do this, selecting
Name: my_avd
Target: Android 2.2 - API Level 8
SD Card: Size: 1024 MiB
Skin: Built-In: Default ...
Want to know what set -A option does in the below command?
XMLOUTFILE=${XMLOUTDIR}/${TEST_ID}
set -A FILES "${XMLOUTFILE}"
...
Can I access a file/folder within a zip file without extracting it to a temporary file?
This is on a linux system.
Right now, I just need to "read" from the file, but is it possible to "write" to it as well?
Edit 1: Sorry for not clarifying, I was hoping for a command line tool that would allow it to work from any language, but as ...
I have a piece of optimized function to get the GMT time. I would like to convert it to local time. I would want to call localtime and gmtime function only once to adjust the time to localtime as calling localtime and gmtime multiple times would defeat the purpose of using the optimized function. However, my problem is how could I adjust...
Hey all,
I'm working on an NPAPI plugin on Linux and have run into several issues with Google Chrome (albeit it works perfectly on Firefox).
Firstly, the plugin execution would hang and after a long harrowing time I figured out that the call to NPN_Evaluate hangs when the last parameter (for the returned result) is NULL. It works on Fi...
I'm experiencing a strange issue with Ubuntu 10.04.1 LTS x86_64 where everything seems to work fine when the system locale is en_US. However, when the system locale is en_GB Spring tries to look for the default resource bundle as en_us rather than en_US.
The exception:
06-Oct-2010 23:35:12 org.springframework.context.support.ResourceBu...
Which tool is the best for disassembling C++ executables? I'm looking for something like OllyDbg but for Linux.
EDIT: Sorry, forgot to tell that I want to be able to debug, too, not just to see the asm code.
EDIT2: By "best" I mean something like - "the best for windows is OllyDbg - can see the asm code and can debug, it's user friendl...
Hi all,
Suppose I want to version the libs in binaries made. For static libs, I thought this approach would work but it does not:
LibInfo.h - Base class for all libinfo classes. Registers an object in gvLibInfo vector when a child is constructed.
#ifndef IFACE_H
#define IFACE_H
#include <vector>
class LibInfo;
extern std::ve...