Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    8
    Views
    3,623

    [ubuntu] Re: Background color for tty consoles

    Well in that case I'l settle for making the text white instead of black.



    # In ~/.zshrc

    autoload -U colors && colors
    function prompt_color {
    # Make sure text in tty is white on the...
  2. Replies
    8
    Views
    3,623

    [ubuntu] Re: Background color for tty consoles

    unfortunately that one doesn't seem to work.

    I'm on Ubuntu 12.04 if that makes a difference....
  3. Replies
    8
    Views
    3,623

    [ubuntu] Background color for tty consoles

    Hello,

    Is it possible to make the tty consoles (I'm talking about the ones you get to via ctrl+alt+f1-6) use a black on white color scheme?

    Thankyou

    Stephen.
  4. [ubuntu] gnome-terminal bottom border when fullscreen

    Hi,

    In Ubuntu 12.04, using unity.

    I've noticed that when gnome-terminal is fullscreen it has this border on the right and bottom of the terminal.

    A screenshot is attached. You can see white...
  5. Replies
    3
    Views
    604

    [ubuntu] Re: Automating gedit via a script

    Thanks everyone.

    xdotool windowactivate didn't work.

    But wmctrl to focus the window did, and now my script works :)



    #!/bin/bash
    args="--pdb"
  6. Replies
    3
    Views
    604

    [ubuntu] Automating gedit via a script

    Hi,

    I'm wondering if someone can help me figure out a solution to something I want to achieve.

    I want to be able to, via a script, open up gedit and then press a particular keyboard shortcut....
  7. Re: Documentation on creating/editing unity themes

    I've attached a screenshot of the top menu over an application both when the application is focused and when it's unfocused.

    You'll see when it's unfocused, the top menu has a shadow that goes...
  8. Documentation on creating/editing unity themes

    Hi,

    Where can I find documentation on how to create/edit unity themes?

    So I can work out how to get rid of the drop shadow that the global menu bar thing puts over my inactive windows.
    ...
  9. Replies
    3
    Views
    573

    Re: JavaScript - [ ] vs . - Object

    Hello,

    The difference is that when you're doing dot notation you're accessing that particular key on the object.

    When you're doing array notation in Javascript (well, generally any language...
  10. Replies
    75
    Views
    7,357

    Re: Java vs. Python for CS

    lol.

    fair point :p



    essentially it's what we do.

    Problem becomes they don't care.
  11. Replies
    75
    Views
    7,357

    Re: Java vs. Python for CS

    Doesn't hold true so much when the language is only used to teach basic programming, rather than teaching how to use the language itself.

    I'm in final year of my software engineering degree, and...
  12. Replies
    75
    Views
    7,357

    Re: Java vs. Python for CS

    Forced indentation would be a great thing.

    No matter how many times I stress to my students to indent they're code, they don't.

    Makes it very hard to read.
  13. Replies
    75
    Views
    7,357

    Re: Java vs. Python for CS

    Same thing is at my uni.

    I could be very much mistaken, but I believe the reasoning that it means the students don't understand what the computer is actually doing otherwise.

    As in the fact...
  14. Replies
    6
    Views
    1,470

    Re: Python: Sort List Specifically

    some pseudo code for you



    for each letter:
    while that letter has the wrong index:
    look at that letter's rank
    if the rank is different than the letter's index:
    swap...
  15. Replies
    6
    Views
    3,391

    [SOLVED] Re: gedit syntax highlight

    Awesome :D


    weird....



    no probs :D
  16. Replies
    6
    Views
    3,391

    [SOLVED] Re: gedit syntax highlight

    hmmm, I'm not sure then........... sorry
  17. Replies
    6
    Views
    3,391

    [SOLVED] Re: gedit syntax highlight

    hello,

    You need to update the mime database

    Third part of this http://ubuntuforums.org/showthread.php?t=742981 shows you how to do that

    Also, you can find some syntax files here :...
  18. Replies
    9
    Views
    2,128

    Re: Find gEdit plugin

    hmm, it does too.

    how magical :D
  19. Replies
    9
    Views
    2,128

    Re: Find gEdit plugin

    I don't believe there is that feature yet and gedit-folding doesn't seem to actually work.

    However, hopefully in the future gtksourceview will have it (it's what gedit uses)
    ...
  20. Replies
    5
    Views
    421

    [SOLVED] Re: Python needs simplification/optimization

    model = gtk.ListStore(*(str for _ in range(count)))


    :D

    (should probably also have checks to make sure count is greater than zero)

    basically it creates a tuple of many str to the length of...
  21. Replies
    2
    Views
    269

    Re: Package Django Application for Clients

    can it be run locally such that you don't need apache ?? (just use "python manage.py runserver")

    Otherwise someone would surely have to setup that stuff for them......
  22. Re: Copy different files to a new folder, keeping directory structure

    Here's a nice usage

    rsync -r --del --force -C --progress

    and, with the -n switch, it's a dry run

    :)

    (look at rsync --help for more info)
  23. Re: Help with importing functions from another file in Python

    I get this feeling you don't fully understand what the computer is actually doing here.

    I can't really give a decent explanation (hopefully someone will expand) but...
    (edit: infact, reading it,...
  24. Re: Help with importing functions from another file in Python

    like this ??

    FILE A.py----------


    from B import func

    numItems = raw_input("Enter the number of items in your list : ")
    try:
    numItems = int(numItems)
  25. Replies
    3
    Views
    1,521

    Re: Flex - AdvancedDataGrid

    hmmm, quick google of your error message landed this

    http://forums.adobe.com/thread/482982

    it seems it's not included with the free sdk.....
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4