Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. [ubuntu] Re: Touchpad problem for Ubuntu 18.04 on Acer Aspire E 15 laptop

    Same problem with touchpad on Acer Swift 1, disabling advanced functionality solved an issue. My post https://ubuntuforums.org/showthread.php?t=2397347


    Related problem from dmesg
    [ ...
  2. [xubuntu] Re: xubuntu 18.04 on acer swift 1 sf114-32

    I had an issue with touch-pad freezes and disabling advanced touchpad function solved this problem. Thank you.
    I got questing regarding keyboard backlit. Did you try to extend its enabled duration...
  3. Match window name with regex (devilspie)

    I'm searching a way to match window name title in order to close it automatically upon popping-up. This should work in devilspie, but i didn't find a way to match window by regex.
    For instance i...
  4. Replies
    4
    Views
    317

    Re: Extract uniq lines from txt file

    oh man, great! Works as a charm 200mb file parsed and cleaned in 1 second on Corei7 6700 HQ, amazing.
    The only one problem i found during tests. If file has CRLF ending which normal for windows then...
  5. Replies
    4
    Views
    317

    Re: Extract uniq lines from txt file

    Thanks for reply! I tried above script and after applying to above example i got:




    $ ./clean.sh
    =====================
    apple:cherry
    1pcs
    3pcs
  6. Replies
    4
    Views
    317

    Extract uniq lines from txt file

    i have a task to extract only uniq lines in such txt file


    =====================
    apple:cherry
    1pcs
    3pcs
    =====================
    orange:banana
    1pc
  7. Replies
    0
    Views
    279

    Multiple interfaces in same network

    I have an Ubuntu server 14.04 without GUI, so using /etc/network/interfaces to setup net. Box has 3 network interfaces - p4p1, wlan0, eth0
    My aim is to create so called bridged network with wlan0...
  8. Replies
    7
    Views
    700

    Re: Http redirects in python

    Tried below code


    #!/usr/bin/env python3

    import http.server
    from http.server import CGIHTTPRequestHandler

    port = 80
    addr = '192.168.150.1'
  9. Replies
    7
    Views
    700

    Re: Http edirects in python

    I was unable to get it working, could you show any sample code example, please ?
  10. Replies
    7
    Views
    700

    Re: Http edirects in python

    ok, and how practically to code this redirection in python ? If i use apache2 as webserver i simply put in .htaccess
    ErrorDocument 404 /index.php
  11. Replies
    7
    Views
    700

    Http edirects in python

    How may i redirect user's webrowser to some url if non-existent file requested ? For example i want all 404 errors(not found) redirect to index.html
    I am using basic methods to run webserver, as you...
  12. Replies
    5
    Views
    730

    Re: Recheck/assign variable in Python

    Thanks, your suggestons i used in real script and you told to avoid globals, so i used functions inside other function to call variable:
    Helper function from which getting variable


    def monif():...
  13. Replies
    5
    Views
    730

    Recheck/assign variable in Python

    I am trying to assign variable in function, but when i call it doesn't work.


    #!/usr/bin/python3
    a = "This is a"
    def test_b():
    b = "This is b"

    print(a)
    test_b()
  14. Replies
    5
    Views
    721

    [SOLVED] Re: Concatenate strings in python

    Thanks Vaphell! It works as expected


    print i, str(d["Temperature"]) + "C", d["MHS 5s"],"Kh/s", pool_url

    Output


    # /opt/test devs+pools
    0 75.0C 1.4919 Kh/s...
  15. Replies
    5
    Views
    721

    [SOLVED] Re: Concatenate strings in python

    Below a full code. This is modified python code to get values while calling cgminer API. Raw output prints a lot of values - https://gist.github.com/Demontager/e6070387f0bbe97268af from original...
  16. Replies
    5
    Views
    721

    [SOLVED] Concatenate strings in python

    I have such piece of python code


    print i, d["Temperature"], "C", d["MHS 5s"],"Kh/s", pool_url

    and it produces such ouput

    0 74.0 C 1.4929 Kh/s stratum+tcp://stratum1.suchpool.pw:3335
    but i...
  17. Wicd (auto-connect any plugged interface)

    Recently tried Wicd and found that it does not connect to wired interface automatically. If interface not listed in prefrences, wicd does not handle it. Yes, after defining interface wicd do...
  18. [ubuntu] Nginx does not reveal real IP to Apache

    Ubuntu 14.04 server running on Nginx 1.4.6 as frontend and Apache 2.4 as backend. The problem in getting real ip in apache logs, there showing local ip 127.0.0.1 instead real. Also in phpinfo()...
  19. Replies
    3
    Views
    513

    Re: Run function in tmux

    I made one workaround. When tmux executed also one pane in it executes temporary script /tmp. And i also need a way to kill and exit tmux in that pane. Tried to put this in script

    kill $(ps...
  20. Replies
    3
    Views
    513

    Re: Run function in tmux

    Yes, i know it will work from .bashrc and yes will be more actions, like adding function to .bashrc. Hope it is still somehow possible within one script.
  21. Replies
    3
    Views
    513

    Run function in tmux

    My bash script has some functions and i need one tmux pane to execute function within bash script. For example below code won't work and will be reported that command "internal" not found.

    ...
  22. Replies
    0
    Views
    1,117

    RK3188 chip - Ubuntu ?

    Is someone has success with installing any Linux derivative to so called Android mini PC based on RK3188 chip ?
    I know that PicUntu http://home.g8.net/ running well on older one RK3066 chip,...
  23. Replies
    15
    Views
    63,577

    Re: can't find lib32asound2 in 13.10 64-bit

    Yes, also tried multiarch deb and it works. They haven't reply to my email as well
  24. Replies
    15
    Views
    63,577

    Re: can't find lib32asound2 in 13.10 64-bit

    Got same dependency error lib32asound2 when trying to install Teamviewer amd64 on Lubuntu 13.10 64bit. For now i'm using .tar.gz version of teamviewer, works fine but lack of autostart feature.
    ...
  25. Replies
    4
    Views
    1,136

    Re: Probably wrong charge battery state

    Just want to update: After installing Lubuntu 13.10 today, battery charge now showing correct charge 100% as on Win7. That's much good an convienient now, thanks to developers.


    But, i can also...
Results 1 to 25 of 68
Page 1 of 3 1 2 3