Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] The tramps treasure NOW with a .deb

    Reply
    king Ralphred | # 1 | 2012-12-28, 02:42 | Report

    Go to third post!

    The tramps treasure is a little python script that gives you ml of alcohol per unit of currency. Essential for anyone wanting to spend their last fiver wisely. I've only just started looking at coding so it has to run in terminal.

    I have it running on the n900 but you have to unzip the file and put it the right folder /home/user. I used filebox.

    In xterm.
    python trampstreasure.py

    Feedback would be welcome, especialy advice on where to start putting a gui together

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip trampstreasure.py.zip (540 Bytes, 95 views)

    Last edited by king Ralphred; 2013-02-27 at 14:26. Reason: typo
    The Following 4 Users Say Thank You to king Ralphred For This Useful Post:
    imo, nokiabot, Wikiwide, Xagoln

     
    king Ralphred | # 2 | 2013-01-07, 01:48 | Report

    The best one so far is Devils Bit cider from Tipperary which comes in at 30 ml per euro. Can any one beat that?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to king Ralphred For This Useful Post:
    Wikiwide

     
    king Ralphred | # 3 | 2013-02-27, 12:31 | Report

    I have attached 3 files. The python script, a .desktop script and an icon.

    Place the "tt" file in /usr/bin/
    Place the "ttx.desktop" file in /usr/share/applications/hildon/
    Place the "beer,png" file in /usr/share/icons/hicolor/295x295/hildon/

    I'm not sure if you need the chmod command so if someone could let me know if this works, that would be just splendid.

    I tried to look into packaging a .deb but it made my brain hurt.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip trampstreasure.zip (47.4 KB, 84 views)

    Last edited by king Ralphred; 2013-02-27 at 14:27. Reason: wrong path for "tt"
    The Following 2 Users Say Thank You to king Ralphred For This Useful Post:
    imo, Wikiwide

     
    king Ralphred | # 4 | 2013-02-27, 14:07 | Report

    Many thanks to thedead1440 for putting a .deb together for me. It works a treat.

    Save to /home/user/MyDocs

    In Xterm-

    dpkg -i /home/user/MyDocs/trampstreasure_0.0.1_all.deb

    If you want, you can replace the "tt" file in /usr/bin/ with the one from the zip file in the 3rd post. The output is a bit tidier is all

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: deb trampstreasure_0.0.1_all.deb (48.3 KB, 89 views)

    Last edited by king Ralphred; 2013-02-27 at 14:25.
    The Following 3 Users Say Thank You to king Ralphred For This Useful Post:
    imo, nokiabot, Wikiwide

     
    biketool | # 5 | 2013-09-01, 19:08 | Report

    Ah yes, definitely coded in Ireland.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to biketool For This Useful Post:
    juiceme, king Ralphred

     
    king Ralphred | # 6 | 2015-09-20, 11:09 | Report

    And now a basic version for Android using app inventor.

    https://play.google.com/store/apps/d...ramps_treasure

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout