Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    66
    Views
    34,946

    Re: HOWTO: View NFO files

    ...almost a year later:
    http://home.gna.org/nfoview/

    If you followed this HOWTO, you may need to unfollow it. The mime-type is now text/x-nfo instead of text/x-extension-nfo.
  2. Replies
    66
    Views
    34,946

    Re: HOWTO: View NFO files

    Because of using a configuration file, a minimalist can consider NFOview now an application instead of a script. I'll probably evetually register a project at Gna! and release it on a wider scale....
  3. Replies
    66
    Views
    34,946

    Re: HOWTO: View NFO files

    I relocated the script as my koti.mbnet.fi web space will probably disappear soon.

    I have cleaned up the code for nfoview and made it use a configuration file, ~/.nfoview. By default the...
  4. Replies
    97
    Views
    123,625

    Re: Create your own personal keyboard layout

    Another way to configure the keyboard for X is to use a ~/.xmodmap file. It gets loaded automatically on X login. You can get the keycodes at least with xev (run in terminal). As an example, SWE/FIN...
  5. Re: June 2006 Desktop Thread (safe for work content only)

    what control theme and window border are u using? and what icon theme is that?[/QUOTE]
    Controls: Rezlooks
    Metacity: Aileron

    The icon theme is a self-made unreleased combination of some old...
  6. Re: June 2006 Desktop Thread (safe for work content only)

    http://img225.imageshack.us/img225/9589/kuvakaappaus3sd.th.png
  7. Replies
    11
    Views
    1,448

    Re: Vim questions and word complete

    It should work as explained in that link. For example, I use filetype specific dictionaries with the following in my .vimrc:

    set complete+=k
    autocmd FileType * exec('set dictionary+=~/.vim/dict/'...
  8. Thread: Java Open Sourced

    by ow50
    Replies
    34
    Views
    1,760

    Re: Java Open Sourced

    Another funny license. My favorite part:


    When Sun says they'll "open source" Java, I assume it means they'll come up with another new, ridiculous license, that will in the Debian sense still...
  9. Replies
    6
    Views
    3,465

    Re: Dynamic binding in python

    Single underscore names are used for private attributes. It just requires responsible use since there no actual mechanism preventing access to them. Double underscore names are more private, used...
  10. Replies
    6
    Views
    3,465

    Re: Dynamic binding in python

    Use single underscore, if there's inheritance. Double underscore names are mangled.

    There's something about single vs. double underscores in PEP 8, perhaps more of the technical aspects elsewhere.
  11. Replies
    2
    Views
    421

    Re: Error with for loop...

    I'll assume this is bash. I think you're missing a semicolon.

    ps aux | awk '{print $3}' | grep [0-9][0-9].[0-9] > pid.txt

    for process in `cat pid.txt`; do
    renice +19 $process
    done
  12. Replies
    5
    Views
    12,498

    Re: gedit default monospace font in Windows

    The other name is Bitstream Vera Sans Mono.
    http://www.gnome.org/fonts/
  13. Replies
    6
    Views
    1,248

    Re: gedit programming interface

    I don't think the window position is stored anywhere. At least for me Gedit doesn't remember its position. The point, I believe, is to allow the window manager to place the window so that there's no...
  14. Replies
    24
    Views
    1,766

    Re: Python! Questions? and Answers. Tutors welcome!

    Here's a fixed version

    def find(string, char):
    index = 0
    while index < len(string):
    if string[index] == char:
    return index
    index += 1
    return -1
    print find("toomb",...
  15. Replies
    6
    Views
    1,248

    Re: gedit programming interface

    ~/.gnome2/gedit-2
  16. Replies
    24
    Views
    1,766

    Re: Python! Questions? and Answers. Tutors welcome!

    Exactly. Who needs one-liners? One of the Pythonic habits is to write readable code.


    With this example, I'd go further and put a newline after each colon.



    def compare(x, y):
    if x >...
  17. Replies
    6
    Views
    1,248

    Re: gedit programming interface

    All Gedit's settings are stored in GConf under /apps/gedit-2. You could write a script that uses gconftool-2 to change the settings and then start gedit.

    For example

    #!/bin/bash

    gconftool-2...
  18. Thread: I need a favor

    by ow50
    Replies
    17
    Views
    740

    Re: I need a favor

    Agreed.

    Additionally, I'd like the old guys who can't read to respect official rule no. 1.
  19. Thread: Plotting in Linux

    by ow50
    Replies
    13
    Views
    4,311

    Re: Plotting in Linux

    Octave.

    For plotting:
    http://www.gnu.org/software/octave/doc/interpreter/Plotting.html#Plotting
  20. Thread: Copyright year(s)

    by ow50
    Replies
    3
    Views
    396

    Copyright year(s)

    I'm using the standard GNU GPL copyright header in my code files. That header includes the line

    Copyright (C) year author

    I don't know much about copyright laws. What is the legal relevance of...
  21. Replies
    434
    Views
    61,832

    Re: April 2006 Desktop Thread

    http://img58.imageshack.us/img58/3696/kuvakaappaus25rg.th.png

    Wallpaper
  22. Replies
    49
    Views
    10,467

    Re: do you have any good aliases you can share?

    # Just in case aliases
    alias rm='rm -i'
    alias cp='cp -i'
    alias mv='mv -i'

    # File listing aliases
    alias l='ls --classify --almost-all'
    alias ll='l --format=single-column'
    alias lll='l...
  23. Replies
    41
    Views
    4,677

    Re: Should I learn "home row" typing?

    Dvorak vs. Qwerty comparison applet:
    http://www.acm.vt.edu/%7Ejmaxwell/dvorak/comparePage.html
  24. Re: HOW-TO: compile and install aMule CVS with Kad support

    Toolbar: Networks -> Kad
    Try clicking the blue arrow to update the list of nodes and then try clicking the "Bootstrap from known clients". If you're not already downloading something, start...
  25. Replies
    66
    Views
    34,946

    Re: HOWTO: View NFO files

    You have probably copied the NFO file from your windows partition or then you have acquired it in a package packed on Windows. This would cause the NFO file to have execute permissions, which is not...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4