I am facing problem in termux when i try to open config json what to do - termux

Hey guys I have been downloaded a tool from github.
It's tik tok view bot but i didn't know how to open config.json file

not every bot that works on pc will work on mobile, but to open this file and configure it, just use nano config.json if you don't have it installed, write pkg install nano

Related

Dont open project from github

I download project from github in my Termux terminal, but after download, when I pass the command "сd /*projectname*" termux said me: No such file or directory
I tried find this project in file manager in my Android, but the all folders in /com.Termux are empty.
Then I'm pass the command git clone https:/github.com/developer_name/project_name and Termux told me - destination path *projectname* already exist and is not an empty directory
Ive got 2 question
How I can open projectname in Termux?
Which full path from downloaded project from github?
use (apt-update && apt upgrade) first then other commands

ERROR: could not open extension control file "/usr/pgsql-9.6/share/extension/postgis.control": No such file or directory

I want to deploy my project to VPS Centos7. But i am getting error while installing postgres. When i type
create extension postgis;
Getting error
ERROR: could not open extension control file
"/usr/pgsql-9.6/share/extension/postgis.control": No such file or
directory
Because postgis.contol is located in another place,
find /usr -name postgis.control
/usr/share/pgsql/extension/postgis.control
But postgres trying to create it from /usr/pgsql-9.6/share/extension/postgis.control
This question already was asked before, but my problem is other.
For me, I run below command in Ubuntu, and the issue was resolved.
sudo apt install postgresql-10-postgis-scripts
then run
CREATE EXTENSION postgis
It works fine for me.I hope it helps.

How to view contents of a PCF .droplet file in Windows?

Problem
The question pretty much says it all. I used the plugin: "cf local" to get the .droplet file for my app in PCF. However, I have no idea how to expand or view the contents of the file.
What I tried
I tried adding a .zip at the end, but that did not work.
I tried viewing in NotePad, but that did not work.
Notes
We are using a Diego back-end which prevents us from using "cf files".
It shouldn't matter but we are deploying a .NET application
Related: Is it possible to download all files of an application in Cloud Foundry?
It's a gziped tar archive. Try adding a .tgz or .tar.gz extension. You may need a third party archive tool, I don't know if Windows will open that file by default. 7zip or something comparable should open it.
Daniel was on the right track, however I wanted to post exactly what I used as an alternative to an extraction utility.
I found that the easiest way is to use bash, within Windows. When we installed Github desktop there was an option to use bash and most of us, in my area, have done this.
If you have already installed it then: Goto Preferences an choose your Git-Shell. Under default Shell you can choose between: CMD, Git Bash, Powershell or Custom.
Once that is in place you can navigate to the folder where the .droplet file lives and execute the following command:
tar -xvzf app-name.droplet
This will extract the contents into a folder called "app" in the current directory which has the contents of your asset that would be in PCF.

Google Cloud SDK Installation: Unzip Failed: Error opening zip file

I am getting Unzip Failed: Error opening zip file while installing Google Cloud SDK,
I am using windows 7,64 bit. I have checked the zip/unzip software also, it is working fine. here is the error
Can anybody help.
I downloaded the zip file directly from here and it is working now.
I resolved the issue by running the installer as administrator
close your proxy.
add a new env:
CLOUDSDK_PYTHON=\your Python27 path\python.exe

Django hosting on pythonanywhere.com/

How can I upload my finished django local project to pythonanywhere.com? Is there any option or I should to do file by file?
I have right now something like this My Django website on pythonanywhere
but I don't see there how to upload my finished project :(
I uploaded a zip file but how to unzip it by bash console?
To unzip the file from a bash console, just start one from the "Consoles" tab and then run unzip filename.zip.
from here:
Getting code and content in and out is easy — you can use our built-in
browser-based editor and Bash consoles, scp, or you can use git,
mercurial and other VCS's to push and pull your code. You can even
sync up via Dropbox.
update
The Dropbox feature is not available anymore, and see first comment below