Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    407

    change step over key in gdb

    Hello,
    Is it possible to change the step over key in gdb from 'n' to 'a'
    I will find it easier to toggle between step into (s) and step over if I can change it to 'a' instead of n
  2. [SOLVED] How does tail recursion really help over traditional recursion

    Hello,
    I was reading up about the difference between tail recursion and Traditional recursion and find it mentioned that "Tail Recursion however is a form of recursion that doesn’t use any stack...
  3. Replies
    2
    Views
    464

    is C really platform dependent?

    Hello,
    It's normally said that while Java is platform independent since it runs on a Java Virtual Machine, C is platform dependent, and you have to build code and create executable before being...
  4. Replies
    4
    Views
    715

    Re: whereis command in ubuntu

    Thanks kerry_s
    But if /usr/bin/X11/java is the executable, then what is /usr/bin/java . I thought this was the executable.
  5. Replies
    4
    Views
    715

    whereis command in ubuntu

    This is the output of the whereis command when when I run it to get details about the java in my system.



    IAMTubby@IAMTubby-Inspiron-3542:/usr/lib/java$ whereis java
    java: /usr/bin/java...
  6. copy entire contents from vi editor on to clipboard

    Hello,
    I am working by ssh'ing onto a remote server using putty and so vi is the only software I have at my disposal.

    I would like to copy the entire contents of a text file from this server on...
  7. shift all text left by one space in vi editor

    Hello,
    I would like to shift all my text left one space in vi.

    So a line starting at the second column in the editor would now start from the first column, line starting at the third column...
  8. Re: executing a php script from within php function giving permission problems

    Right, the latter, I would just like to write these to a place for some reason, maybe logging, reading from it sometime later etc.
    What is the best place to have a folder owned by www-data for this...
  9. Re: executing a php script from within php function giving permission problems

    I'm sorry, but on the production server where I would host my site, where do I make the folder to which www-user has access to write ?
    Why is not a good practice to make the folder as...
  10. Re: executing a php script from within php function giving permission problems

    Thanks SeijiSensei,

    Below are the permissions of fileupload
    drwxr-xr-x 4 root root 4096 May 11 10:18 fileupload

    And the permissions of the folder 'data' are same as from your previous reply...
  11. Re: executing a php script from within php function giving permission problems

    Thanks Holger_Gehrke, I am just trying out how exec works with php. Won't use it in real code.

    I have been playing around and have one more question here,
    1. Say, I'm running a php script from...
  12. Re: executing a php script from within php function giving permission problems

    Thanks SejiSensei,

    I tried using the steps mentioned above. So from now on, to write to a file from php script run from the browser, I will either use the steps mentioned above or write to /tmp...
  13. Re: executing a php script from within php function giving permission problems

    Thanks SeijiSensei, that does work. Is this how files are normally written within a php environment, as in copying to a tmp directory?


    Yes, I tried running and noticed that even the following...
  14. executing a php script from within php function giving permission problems

    Hello,
    I understand this question is php-based, but I am having problems with permissions on /var/www/html

    I am trying to execute a php script from within a php function. I started out with...
  15. Replies
    3
    Views
    1,581

    [SOLVED] command line utility to convert csv to json

    Is there a simple command-line utility that I can use as a one-liner to convert my csv files to json?

    I haven't been able to find any.
  16. Re: unable to perform tasks though I have super user privileges

    Thanks ian-weisser


    But I thought that doing sudo adduser IAMTubby sudo would add me to the super user group, and from then onwards I can just execute any command that root can.
    If that's not...
  17. unable to perform tasks though I have super user privileges

    Hello,
    I have two questions relating to permissions.

    First, I am a super user on my system. I have confirmed this, see below commands. This confirms that IAMTubby is a superuser on this system....
  18. Replies
    1
    Views
    373

    source code analyzer for php

    Which is a good software to analyze a project containing html, js and php code on ubuntu?
    I'm looking for things like jumping to definitions, finding where a variable is declared etc.
  19. Re: day countdown application or widget for ubuntu

    I was actually looking for something which counts days.

    Actually, we don't have to think of it as days/hours/minutes etc, I just need a number going in reverse until 0.
  20. Re: day countdown application or widget for ubuntu

    Thanks for the reply, I did try and install it. But does it have an option to set the number of days? I just see boxes for hours, minutes and seconds.
    What I would like is just a countdown of days...
  21. day countdown application or widget for ubuntu

    Is there any application which counts days leading to an event? Like I set a day D and it counts days until day D.
    Something like this one, but this is a web app, I was looking for a desktop widget
  22. Replies
    3
    Views
    621

    automatically install wireless drivers

    Hello,
    Whenever I newly install ubuntu on a machine, the first thing I do is to install wireless drivers since they're not there by default. I connect my machine to a wired network and then use the...
  23. [SOLVED] Re: open file explorer to the folder as in terminal's pwd

    Thanks qamelian, but why do we have to run it in the background?


    Thanks Vaphell.


    Thanks nerdtron.
  24. [SOLVED] open file explorer to the folder as in terminal's pwd

    Hello,
    Say, I'm working at the terminal on a particular directory. Is it possible to open the graphical file explorer to the same folder by running a command on the terminal?

    Thanks.
  25. [SOLVED] Re: Why are my threads (largely) in serial order?

    I'm sorry spjackson, but how's this even working? The pthread_create which calls fun is still running in a loop controlled by i, and thread_args[i] depends on i.

    EDIT :
    I just thought about it...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4