Register - Login
Views: 99393175
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-24-22 10:21:27 AM
Jul - Computers and Technology - The greatest Android app New poll - New thread - New reply
Next newer thread | Next older thread
Lucidiot
Member
Level: 11


Posts: 15/26
EXP: 4707
For next: 1278

Since: 11-10-18

Pronouns: he/him
From: France

Since last post: 1.3 years
Last activity: 1.2 years

Posted on 11-16-18 08:14:12 PM Link | Quote
A terminal.



Anyone here doing things with Termux on Android? Got myself a Bluetooth keyboard today just to make using this terminal much easier. It basically becomes a Raspberry Pi! You can even get your own window manager running in there.

This evening, I dumped my french blog's MySQL database over SSH, downloaded a awk script to convert it to a SQLite database, and started a new Python project to map that database to an ORM. All of that just on my phone.

The goal of this thing is to generate Markdown files with specific metadata so that I can use the Pelican static site generator instead of a PHP codebase I no longer want to maintain. That way, all I will have to do is write some markdown, push that to GitLab, and *poof* here's a site. Why am I doing this on my phone? Because why not.

____________________
~lucidiot
Jamie
Requested (also Termingamer2-JD rereg)
Level: 29


Posts: 117/193
EXP: 143932
For next: 3953

Since: 06-03-14


Since last post: 2.8 years
Last activity: 2.8 years

Posted on 11-17-18 06:10:57 AM Link | Quote
Wow that's really nice!! I didn't think that'd be possible on Android

____________________
Jamie | Jeyneko
Lucidiot
Member
Level: 11


Posts: 17/26
EXP: 4707
For next: 1278

Since: 11-10-18

Pronouns: he/him
From: France

Since last post: 1.3 years
Last activity: 1.2 years

Posted on 11-17-18 06:52:45 AM Link | Quote
Well, Android is basically a Linux distro on ARM. You can even get Android running under VirtualBox using androidx86.

Termux uses its own binaries and libraries so that nothing messes up with Android but you can still access system binairies at /system/bin. Be careful with setting up your environment variables, and write scripts carefully as well, because nothing is a standard directory. There is no /tmp, use $TMPDIR; there is no /usr/bin, use $PREFIX/bin, etc. Apart from that, you can do a lot of things. The wiki is well documented and there is a GitHub repository somewhere where you can ask for packages if they do not exist.

____________________
~lucidiot
nym
Member
Level: 42


Posts: 54/413
EXP: 512275
For next: 9087

Since: 02-11-12

Pronouns: any
From: Cartoon Heck

Since last post: 19 days
Last activity: 19 days

Posted on 11-29-18 01:11:36 AM (last edited by nym at 11-29-18 01:12:36 AM) Link | Quote
When I had my Blackberry Priv, I was an avid Termux user, because I had a keyboard attached to the phone. Now that I'm back to being a virtual keyboard scrub, I've found it less useful. I do have a blutooth keyboard I sometimes use, but it's just more of a hassle, and I'd rather pull out a real laptop or something similar if I were going to do something linuxy.

That said, termux is pretty rad.

____________________


Next newer thread | Next older thread
Jul - Computers and Technology - The greatest Android app New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

27 database queries, 1 query cache hits.
Query execution time:  0.077936 seconds
Script execution time:  0.008743 seconds
Total render time:  0.086679 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 148 column 37 - Warning: unescaped & or unknown entity "&id"
line 147 column 197 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 91 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 177 column 102 - Warning: unescaped & or unknown entity "&postid"
line 179 column 74 - Warning: <style> isn't allowed in <td> elements
line 179 column 9 - Info: <td> previously mentioned
line 190 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 192 column 9 - Warning: missing <tr>
line 210 column 13 - Warning: missing <tr>
line 211 column 102 - Warning: unescaped & or unknown entity "&postid"
line 216 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 218 column 9 - Warning: missing <tr>
line 236 column 13 - Warning: missing <tr>
line 237 column 102 - Warning: unescaped & or unknown entity "&postid"
line 239 column 74 - Warning: <style> isn't allowed in <td> elements
line 239 column 9 - Info: <td> previously mentioned
line 244 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 246 column 9 - Warning: missing <tr>
line 264 column 13 - Warning: missing <tr>
line 265 column 102 - Warning: unescaped & or unknown entity "&postid"
line 271 column 882 - Warning: <style> isn't allowed in <td> elements
line 267 column 9 - Info: <td> previously mentioned
line 274 column 17 - Warning: missing <tr>
line 274 column 17 - Warning: discarding unexpected <table>
line 277 column 35 - Warning: missing <tr>
line 277 column 50 - Warning: missing </font> before </td>
line 277 column 91 - Warning: missing </font> before </table>
line 279 column 35 - Warning: missing <tr>
line 279 column 50 - Warning: missing </font> before </td>
line 280 column 37 - Warning: unescaped & or unknown entity "&id"
line 279 column 197 - Warning: missing </font> before </table>
line 281 column 17 - Warning: discarding unexpected </textarea>
line 281 column 28 - Warning: discarding unexpected </form>
line 281 column 35 - Warning: discarding unexpected </embed>
line 281 column 43 - Warning: discarding unexpected </noembed>
line 281 column 53 - Warning: discarding unexpected </noscript>
line 281 column 64 - Warning: discarding unexpected </noembed>
line 281 column 74 - Warning: discarding unexpected </embed>
line 281 column 82 - Warning: discarding unexpected </table>
line 281 column 90 - Warning: discarding unexpected </table>
line 283 column 9 - Warning: missing </font> before <table>
line 295 column 25 - Warning: discarding unexpected </font>
line 304 column 57 - Warning: discarding unexpected </font>
line 282 column 1 - Warning: missing </center>
line 120 column 63 - Warning: <img> lacks "alt" attribute
line 125 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 125 column 93 - Warning: <img> lacks "alt" attribute
line 141 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 141 column 98 - Warning: <img> lacks "alt" attribute
line 148 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 161 column 22 - Warning: <img> lacks "alt" attribute
line 161 column 63 - Warning: <img> lacks "alt" attribute
line 161 column 112 - Warning: <img> lacks "alt" attribute
line 161 column 162 - Warning: <img> lacks "alt" attribute
line 162 column 11 - Warning: <img> lacks "alt" attribute
line 172 column 15 - Warning: <img> lacks "alt" attribute
line 181 column 1002 - Warning: <img> lacks "alt" attribute
line 195 column 22 - Warning: <img> lacks "alt" attribute
line 195 column 63 - Warning: <img> lacks "alt" attribute
line 195 column 112 - Warning: <img> lacks "alt" attribute
line 195 column 162 - Warning: <img> lacks "alt" attribute
line 206 column 15 - Warning: <img> lacks "alt" attribute
line 213 column 144 - Warning: <img> proprietary attribute value "absmiddle"
line 213 column 144 - Warning: <img> lacks "alt" attribute
line 221 column 22 - Warning: <img> lacks "alt" attribute
line 221 column 63 - Warning: <img> lacks "alt" attribute
line 221 column 112 - Warning: <img> lacks "alt" attribute
line 221 column 162 - Warning: <img> lacks "alt" attribute
line 222 column 11 - Warning: <img> lacks "alt" attribute
line 232 column 15 - Warning: <img> lacks "alt" attribute
line 249 column 22 - Warning: <img> lacks "alt" attribute
line 249 column 63 - Warning: <img> lacks "alt" attribute
line 249 column 112 - Warning: <img> lacks "alt" attribute
line 249 column 162 - Warning: <img> lacks "alt" attribute
line 250 column 11 - Warning: <img> lacks "alt" attribute
line 260 column 15 - Warning: <img> lacks "alt" attribute
line 280 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 280 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 280 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 289 column 25 - Warning: <img> lacks "alt" attribute
line 294 column 267 - Warning: <img> lacks "alt" attribute
line 149 column 50 - Warning: trimming empty <font>
line 274 column 17 - Warning: trimming empty <tr>
line 277 column 50 - Warning: trimming empty <font>
line 125 column 68 - Warning: <nobr> is not approved by W3C
line 141 column 68 - Warning: <nobr> is not approved by W3C
line 177 column 27 - Warning: <nobr> is not approved by W3C
line 211 column 27 - Warning: <nobr> is not approved by W3C
line 237 column 27 - Warning: <nobr> is not approved by W3C
line 265 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 103 warnings and 0 errors!


The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md