Here, How you can run and install ngrok in termux
--------------------------------------------------------
Update: Now you can run ngrok over ssh like used to do with serveo and localhost.run
Please visit wiki: https://wiki.termux.com/wiki/Bypassing_NAT#Using_Ngrok_over_SSH
--------------------------------------------------------
Execute following command for installing things.
Now setup ngrok authtoken. Visit ngrok.com if you don't have authtoken.
First method.
Just use
Use.
You just need to put "termux-chroot" at beggining, that's it.
Second method.
Second method for that scenario where ngrok is inbuilt in any tool which you are using, so here, you just need to execute
Why ngrok don't work without termux-chroot in termux
So here, ngrok use /etc/resolv.conf for dns lookup, but as you know /etc/resolv.conf is missing in android. So here termux can't do anything, when you use termux-chroot, it emulate file system where /etc/resolv.conf is available and ngrok works as expected.
# Video tutorial.(asciinema)
https://asciinema.org/a/367862
--------------------------------------------------------
Update: Now you can run ngrok over ssh like used to do with serveo and localhost.run
Please visit wiki: https://wiki.termux.com/wiki/Bypassing_NAT#Using_Ngrok_over_SSH
--------------------------------------------------------
Execute following command for installing things.
pkg in python,proot, resolv-conf
pip install pyngrok
Now setup ngrok authtoken. Visit ngrok.com if you don't have authtoken.
ngrok authtoken TOKEN_HEREFirst method.
Just use
termux-chroot to run ngrok. Suppose i want to forward port 8080, now instead of using "ngrok http 8080" .Use.
termux-chroot ngrok http 8080 .You just need to put "termux-chroot" at beggining, that's it.
Second method.
Second method for that scenario where ngrok is inbuilt in any tool which you are using, so here, you just need to execute
termux-chroot and run that tool as you run in termux before.Why ngrok don't work without termux-chroot in termux
So here, ngrok use /etc/resolv.conf for dns lookup, but as you know /etc/resolv.conf is missing in android. So here termux can't do anything, when you use termux-chroot, it emulate file system where /etc/resolv.conf is available and ngrok works as expected.
# Video tutorial.(asciinema)
https://asciinema.org/a/367862
Install and run jupyter notebook in termux
Installation
Now run jupyter .
now browse http://localhost:8888
It will ask for password, just come in terminal open another session and execute
it will list token, copy and generate password via browser, and enjoy jupyter.
Original page: https://gist.github.com/gatopeich/8debf57e4fd8188f2f6610c6f5b0cf55
Installation
pkg upgrade
pkg install python libzmq libcrypt
pip3 install -U pip
pip3 install pyzmq --install-option="--zmq=/usr/lib"
pip3 install jupyter
apt autoremove
rm .cache ../usr/var/cache -rf
echo "Done"
Now run jupyter .
jupyter notebooknow browse http://localhost:8888
It will ask for password, just come in terminal open another session and execute
jupyter notebook list it will list token, copy and generate password via browser, and enjoy jupyter.
Original page: https://gist.github.com/gatopeich/8debf57e4fd8188f2f6610c6f5b0cf55
Here, How to attach Termux and termux-float session via tmux
assuming you have already installed tmux and termux:float
* Launch Termux:float and execute tmux
* Now open termux and attach session with tmux.
pic: https://t.me/kterm/87
Vid: https://t.me/kterm/92
**Note: you can list tmux seesion with
assuming you have already installed tmux and termux:float
* Launch Termux:float and execute tmux
* Now open termux and attach session with tmux.
tmux attach -t :0 pic: https://t.me/kterm/87
Vid: https://t.me/kterm/92
**Note: you can list tmux seesion with
tmux ls **This media is not supported in your browser
VIEW IN TELEGRAM
Illustration of attaching session of termux and termux float via tmux.
You may encounter issues while using special keys (Home ,end,tab) with zsh/oh-my-zsh prompt in tmux
The simple solution is to create ~/.inputrc and put following and reload session.
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\eOH": beginning-of-line
"\eOF": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
Credit: Archwiki , Archlinux community
The simple solution is to create ~/.inputrc and put following and reload session.
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\eOH": beginning-of-line
"\eOF": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
Credit: Archwiki , Archlinux community
What's the difference between termux and terminal emulator for android?
Termux itself a Linux terminal emulator for android. When you compare other terminal emulator with termux then termux support apt where termux has 1000+ package. I didn't find any terminal yet which supports packages
* Most of the terminal use system shell where termux have own shell and comes by default with bash and support other shell as well(fish,zsh)
* Termux support a range of programming languages including python,swift,ruby,golang etc
* Termux have vibrant forum/community world wide.
How can have packages in other terminal as well ?
You can have packages with other terminals as well. But will have to compile them on your own.
Termux itself a Linux terminal emulator for android. When you compare other terminal emulator with termux then termux support apt where termux has 1000+ package. I didn't find any terminal yet which supports packages
* Most of the terminal use system shell where termux have own shell and comes by default with bash and support other shell as well(fish,zsh)
* Termux support a range of programming languages including python,swift,ruby,golang etc
* Termux have vibrant forum/community world wide.
How can have packages in other terminal as well ?
You can have packages with other terminals as well. But will have to compile them on your own.
How to install google cloud sdk and run Cloud ssh interactively and locally ?
https://git.io/cloudshell-ssh
https://git.io/cloudshell-ssh
https://gist.github.com/kcubeterm/7e2792366bd6e8c14064f7e2ac109cc7Gist
How to install google cloud sdk in termux and run cloud shell interactively.
How to install google cloud sdk in termux and run cloud shell interactively. - Google-sdk-termux.md
I can run java code via termux in my device (pie) with dalvikvm.
Few guys claims dalvikvm can't execute code in android pie but look like that's not true for all devices.
Here are the steps to checkout.
Requirements: dx , ecj
#1. Save this code into hello.java
#2 Now compile it via ecj.
It will output a file, HelloWorld.class
#3 Now generate dex file.
#4 Now execute your java bytecode with android java virtual machine.
Output: Hello world!
Here if you get any error, report here with your device info
Few guys claims dalvikvm can't execute code in android pie but look like that's not true for all devices.
Here are the steps to checkout.
Requirements: dx , ecj
#1. Save this code into hello.java
class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
#2 Now compile it via ecj.
ecj hello.javaIt will output a file, HelloWorld.class
#3 Now generate dex file.
dx --dex --output=Main.dex HelloWorld.class#4 Now execute your java bytecode with android java virtual machine.
dalvikvm -cp Main.dex HelloWorldOutput: Hello world!
Here if you get any error, report here with your device info
Forwarded from c+aue (outdated account)
ril_export.html
715.6 KB
got the export to work... using this surprisingly amazing kiwi browser.
Media is too big
VIEW IN TELEGRAM
Manage Bookmark with termux +shiori
# Here's list of few wargames sites
* https://wow.sinfocol.org/
* http://www.wechall.net/
* https://www.rankk.org/
* http://www.caesum.com/game
* http://www.newbiecontest.org/
* http://www.lost-chall.org/
* http://www.yashira.org/
* http://www.brainquest.sk/
* https://www.hackthissite.org/
* http://www.thisislegal.com/
* http://warzone.elhacker.net/
* https://wow.sinfocol.org/
* http://www.wechall.net/
* https://www.rankk.org/
* http://www.caesum.com/game
* http://www.newbiecontest.org/
* http://www.lost-chall.org/
* http://www.yashira.org/
* http://www.brainquest.sk/
* https://www.hackthissite.org/
* http://www.thisislegal.com/
* http://warzone.elhacker.net/
wow.sinfocol.org
Inicio : World of Wargame
World of Wargame contiene múltiples formas de lograr que el usuario aprenda de las diversas áreas de la informática. Contiene un innovador sistema de pistas.
Forwarded from Yaksh Bariya
https://github.com/termux/termux-packages/actions/runs/1231862756
Nodejs 16.9.1 now available for aarch64, arm and i686. Appreciate if someone helps in finding some possible bugs that may not have been noticed
Nodejs 16.9.1 now available for aarch64, arm and i686. Appreciate if someone helps in finding some possible bugs that may not have been noticed
Forwarded from Arman
I used imagemagick to edit the image and then made a script using bash
Here my script: https://github.com/xshin404/myTermux/blob/main/.local/bin/awesomeshot
Documentation: https://xshin404.github.io/awesomeshot/index.html
But the documentation is no longer relevant to the new option, you can use the -h option to see the execution options
Here my script: https://github.com/xshin404/myTermux/blob/main/.local/bin/awesomeshot
Documentation: https://xshin404.github.io/awesomeshot/index.html
But the documentation is no longer relevant to the new option, you can use the -h option to see the execution options
Forwarded from Deleted Account
Hello. i bought some books from humble bundle:
https://www.humblebundle.com/books/machine-learning-bookshelf-no-starch-press-books
Are you interested in any of those?
https://www.humblebundle.com/books/machine-learning-bookshelf-no-starch-press-books
Are you interested in any of those?
Humble Bundle
Computer Science & Deep Learning by No Starch Press
Get code-smart with No Starch Press books like Dive Into Algorithms: A Pythonic Adventure for the Intrepid Beginner & Algorithmic Thinking: A Problem-Based Introduction!
Let's go with open-source alternative.
Librera Reader is a highly customizable and feature-rich application
for reading e-books in PDF, EPUB, MOBI, DjVu, FB2, TXT, RTF, AZW, AZW3, HTML, CBZ, CBR, DOC, DOCX, etc. formats
https://play.google.com/store/apps/details?id=com.foobnix.pdf.reader
https://f-droid.org/packages/com.foobnix.pro.pdf.reader
Librera Reader is a highly customizable and feature-rich application
for reading e-books in PDF, EPUB, MOBI, DjVu, FB2, TXT, RTF, AZW, AZW3, HTML, CBZ, CBR, DOC, DOCX, etc. formats
https://play.google.com/store/apps/details?id=com.foobnix.pdf.reader
https://f-droid.org/packages/com.foobnix.pro.pdf.reader
Google Play
Librera: EPUB & PDF Reader - Apps on Google Play
All formats ebook reader with bookmarks, dictionaries, reading aloud, PDF, EPUB
Achoz 0.2.0 has been released on the eve of new year.
Achoz, A self-host search engine for your personal data. It will normalize your all data efficiently. Uses typesense search engine under the hood which makes quite fast and help you to dig in your huge amount of data.
https://github.com/kcubeterm/achoz
Achoz, A self-host search engine for your personal data. It will normalize your all data efficiently. Uses typesense search engine under the hood which makes quite fast and help you to dig in your huge amount of data.
https://github.com/kcubeterm/achoz
GitHub
GitHub - kcubeterm/achoz: Search through all your personal data efficiently like web search.
Search through all your personal data efficiently like web search. - GitHub - kcubeterm/achoz: Search through all your personal data efficiently like web search.
Forwarded from kcubeterm ::1
Hello, Boys. This is my new Guest. Volla phone X powered by ubuntu touch.
This is my first ever linux phone which is gifted by @cregox 🥰
This is my first ever linux phone which is gifted by @cregox 🥰