Search:

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

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. [SOLVED] Pasword protect page if it domain and not local ip in apache2

    Hi
    I have a information page on a local webserver I have here at home and I like to when I access the folder that I have the file in from my local computer with the local IP numer it just show the...
  2. Got alot off error from a clean apache2 server installation??

    Hi
    I have reinstall my debian server.
    A total clean reinstall but I get error log in my apache2??



    [Sun Mar 09 19:36:54 2014] [error] [client xx.xx.xx.xx] script '/var/www/cazz/hlstats.php'...
  3. Turn off sleep mode and make me close the laptop lock

    Hi
    I have a old laptop that I have a server and some other stuff that I like to try a little for fun.
    It have no GUI, only terminal

    But I like to disable sleep mode, I think it go to power save...
  4. Need help with from textfile to a SQL database

    Hi
    I have two question I hope someone can help me with

    Question 1)
    I have now a script that look like this


    echo "scale=2; `curl --progress-bar -w "%{speed_download}"...
  5. Replies
    1
    Views
    265

    Re: Read a joypad to my program

    After a little reading I found this

    http://www.mjmwired.net/kernel/Documentation/input/joystick-api.txt

    But I guess I can't use BASH and it maybe for C++ but I have never use that in Linux only...
  6. Replies
    1
    Views
    265

    Read a joypad to my program

    Hi
    I have see that USB joypad read when I start my linux.

    And when I use


    jstest /dev/input/js0

    I can see it change when I push a button or joystick.
  7. Thread: close fbi viewer?

    by cazz
    Replies
    0
    Views
    189

    [all variants] close fbi viewer?

    I can start from a script the fbi viewer but how do I run a command to make it stop/close?

    /Update

    I use "killall" function
  8. Replies
    0
    Views
    236

    [all variants] FIM/FBI with a imagelist?

    I have use FBI a little to show image in console and it work greate.

    I have also try FIM and it almost work as I like it too.


    But I have two question.

    Now FBI show every image in a folder,...
  9. Replies
    3
    Views
    346

    Re: delete file older then 2 days

    hmm ok

    Now it list the file that I want to delete but how do I delete them?

    I did try to add "rm" before the string but nothing happend.
  10. Replies
    3
    Views
    346

    delete file older then 2 days

    Hi

    I have found this code


    find /var/www/folder* -mtime +2 -exec rm {} \;

    I like to delete old JPG file.

    It say no error but the folder still have all old JPG file?
  11. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    Thanks, did work greate :)
  12. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    hmm have no idea what you mean?

    Is it any way so I can use it like I want it to do?
  13. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    Yes you are right.
    I was thinking about that too until I remember it take a picture every one minute so I just have to compare the latest picture :)
  14. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    mm right now I use it to create thumbnail :)


    But I have one basic problem :redface:

    I trying to get the result in a variable.

    I was thinking about create a log and save two variable in a...
  15. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    Ahh ok

    Going to make a script that save the result to see how much it going to change for a day
  16. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    Hi again :)

    Now I have look at the ImageMagick and is look like it is a good program to use.

    But it is something I do not understand.

    I have use this code


    compare -metric ae -fuzz...
  17. Replies
    2
    Views
    470

    [SOLVED] Re: imagemagick dos not work

    Hi
    Yes you was right, it was not install.

    Strange I did guess that I have it install but it was not.

    So now it is up and running :)
  18. Replies
    2
    Views
    470

    [SOLVED] imagemagick dos not work

    Hi
    I have install imagemagick but it does not run

    When I'm in the terminal and write

    "convert" it just say "Command not found"
  19. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    Well yes I know, I was just curious if I can build my own system
  20. Replies
    18
    Views
    723

    Re: see if it is a change between two pictures

    Ahh thanks, going to look at that.
  21. Replies
    18
    Views
    723

    see if it is a change between two pictures

    Hi I wonder over one thing.

    It is maybe easy to see the different between two pictures with a script or a terminal software but how does it work.

    I mean if the one picture is taken in the...
  22. Replies
    5
    Views
    291

    Re: Make a script work all the time

    Hmm ok

    I can do it three way then

    I try now with crontab to see if it works and does not use to much CPU or anything like that.
  23. Replies
    5
    Views
    291

    Re: Make a script work all the time

    Ahh ok

    It going to read if a computer is close by ping it for me.
    if it close by it going to active a camera so it take a snapshot.

    So as long the computer is not close it going to take a...
  24. Replies
    5
    Views
    291

    Make a script work all the time

    What is the best idea to run a script all the time

    I like to run a script every 60 sec and is is crontab the best idea or a deamon


    I have never work with deamon before?
  25. Replies
    3
    Views
    223

    [SOLVED] Re: Look if the computer answers

    Thanks alot :)
Results 1 to 25 of 134
Page 1 of 6 1 2 3 4