Search:

Type: Posts; User: djurny; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    1
    Views
    562

    [ubuntu] Re: Determing Dock Status with Dell E-Port

    although this is an ancient thread, i had the same question.. came up with the following relatively simple solution.. turns out the dell e-port replicator (or at least the one i'm using) can be...
  2. Replies
    1,543
    Views
    430,786

    Sticky: [SOLVED] Re: Laptop COMPATABILITY List.

    1) Kubuntu 8.04 LTS (i386), 9.04 (x86_64), 10.04.2 LTS (x86_64)
    2) Dell
    3) Inspiron 1525


    recurring wifi scanning/connection issues on 8.04-lts and 9.04, mostly resolved with hardy-backports...
  3. Replies
    9
    Views
    1,334

    Re: /dev/stdin and pipe problem

    one thing to keep in mind as well; at least for bash, the last command in a pipeline is not run in the current shell context, like in korn shell.. maybe eog needs stuff from current environment...
  4. Replies
    3
    Views
    434

    [ubuntu] Re: SSH in Bourne shell script question

    you could try the following;


    ssh -o PubkeyAuthentication=No remoteserver

    hth!
  5. Replies
    9
    Views
    1,352

    [ubuntu] Re: MAID (Massive Array of Idle Drives) Server?

    if you're talking about automatic spindown of harddisks; usually all drives support spindown (standby/sleep) after a configurable timeout.. advanced power management is one that not all drives...
  6. [PPC] Re: No Console when Booting from Ubuntu 10.04 Live CD

    you can also try to boot without kms, by adding 'nomodeset' to the kernel commandline
  7. Replies
    3
    Views
    668

    [kubuntu] Re: Nvidia driver no longer working

    try appending 'nomodeset' to kernel commandline options, had the same issue, due to the nouveau driver being loaded at boottime (somehow drm/kms needs this early on)
    then drop to root console at...
  8. Replies
    8
    Views
    683

    [SOLVED] Re: Help with grep command - HUGE output

    also works with less pipework



    # kilowatthours
    sudo awk '/Estimated energy/ { kwh=NF-1 } END { print $kwh }' /var/log/*
    # percentage
    sudo awk '/Estimated energy/ { pct=$NF; gsub(/[()]/, "",...
  9. Replies
    25
    Views
    3,663

    Poll: Re: One of Linux's Greatest Weaknesses

    this is a good idea, but isnt this already in place with with for example


    admin settings (installation defaults)
    /usr/share/app
    default settings (initial setup)
    /etc/default/app
    settings...
  10. Replies
    4
    Views
    384

    [SOLVED] Re: Help with SED to replace random charaters

    sed -i.old -e 's/scr\=\".*\//scr\=\"UpdatedPath\//g' *.html

    looks like i made a typo there.. shouldn't that read 'src' instead of 'scr' ??


    sed -i.old -e 's/src\=\".*\//src\=\"UpdatedPath\//g'...
  11. Replies
    4
    Views
    384

    [SOLVED] Re: Help with SED to replace random charaters

    sed -i.old -e 's/scr\=\"*\//scr\=\"UpdatedPath\//g' *.html


    trouble is the '*', that makes sed never find the pattern you're actually searching for:

    try this one:


    sed -ne...
  12. Replies
    140
    Views
    11,617

    Re: Beginner Programming Challenge #9

    /^[0-9]$/ {
    Sum+=$1
    }

    /^[a-z]$/ {
    alpha[$1]+=1
    }

    END {
    print "Sum = " Sum
  13. Thread: shell scripts

    by djurny
    Replies
    5
    Views
    338

    Re: shell scripts

    some extra hints:
    * look up the 'seq' command
    * look up the 'mkdir' command ('-p' option)
    * look up the man page of your favorite shell
    > string manipulation
    > for loops
    hope that helps :)
  14. Replies
    7
    Views
    609

    [SOLVED] Re: Scripts Related Help

    a bit off topic, but this is a really nice one!
    IFS/read to handle whitespace and the mime type query..
  15. Replies
    2
    Views
    299

    [ubuntu] Re: Requesting 1 liner regex shell command

    this will replace all lines with only 'a=blahblahblah' with 'a=somethingelse' in file 'aaa'



    sed "s|^a=.*$|a=somethingelse|" aaa


    could also be done with some pattern matching, but this...
  16. Replies
    6
    Views
    1,237

    Re: How to return array in C

    hi,
    well i have had a look at the code you posted and some things are not quite ok (or you have a very forgiving compiler)..

    binary() does not allocate memory for 'a' in which it is putting...
  17. Replies
    11
    Views
    554

    Re: System() function

    as much as i agree with the both of you, sometimes there is just no other (easy) way than to use the system() call..

    to call 'synclient' from a c-app, for whatever reason, i am surely not going to...
  18. Replies
    11
    Views
    554

    Re: System() function

    use

    chdir("..");
    instead..

    the
    system("cd .."); will just change the directory of the process started by 'system()'..
  19. Replies
    11
    Views
    554

    Re: System() function

    i'm pretty sure system() is implemented as a synchronous system call.. if system() is currently implemented using fork() it will be waiting on the child process before returning to its caller..
    ...
  20. Replies
    11
    Views
    554

    Re: System() function

    do not overlook the ampersand '&'.. :)
    i think (s)he is looking for some kind of fork()-exec() solution.. that's the same as how bash or 'system("ls -laR &")' works.. fork the current process and...
  21. Replies
    4
    Views
    1,283

    [ubuntu] Re: How to disable touchpad tap? Please help!

    following p.o.c. (piece of code ;)) will set all parameters having 'tap' or 'Tap' in their name to zero.. i personally use this to disable tap on my dell 1525.. :)



    synclient $(synclient -l |...
  22. Replies
    6
    Views
    4,141

    [ubuntu] Re: Fujitsu Siemens Amilo Pro

    try this:



    # become root
    sudo su

    # have fsam7400 loaded at every boot
    echo fsam7400 >> /etc/modules
  23. Replies
    10
    Views
    2,077

    [kubuntu] Re: KDE4, multiple monitors, and a Panp4i

    you could try an opensuse livecd, use 'sax2' (or whatever its called) to configure your dual displays and copy the resulting xorg .conf to a safe place :)
  24. Replies
    14
    Views
    1,043

    Re: [C++] Fun with file size

    lets hope all developers worldwide know this difference too and also try to focus on knowing your platform instead of coding away and being surprised that porting applications to 'smaller' platforms...
  25. Replies
    14
    Views
    1,043

    Re: [C++] Fun with file size

    we worked on single page nandflash bootloaders (16kib pages) for a while, even 80c51 based microcontrollers (< 4kib ram), so yes, there are platforms with even lesser requirements :)
    (and yes, all...
Results 1 to 25 of 91
Page 1 of 4 1 2 3 4