Dont open project from github - termux

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

Related

GitHub repository created but unable to upload VS solution

I tried uploading a C++ project from Visual Studio 2019 onto my GitHub account.
The repository gets created when I do this however, none of my codes gets uploaded onto the repository.
Only the files ".gitattributes" and ".gitignore" appear in my repository.
Please could I have any suggestions on what I could do to fix this.
Close VS
Go to your local repository folder (the solution folder)
This will add all the files and commit them
git add .
git commit -m 'added files'
alternatively you can use "git add ___" to add one file at a time
Make sure you commit the changes and then do
"git push"
Re-open VS and everything should be setup now.
Here are some other instructions I wrote down recently which you may find helpful:
How to create a git repo from an ungitted local project already in development:
Create a empty repo on your repo hosting site
Go to your local project folder in git command line
git init
git add .
git commit -m 'message'
git remote add origin https://yourreposite.com/username/repo
git push -u origin master
Now you can open it in Visual Studio and everything is all setup

"no such file or directory" while trying to install gcloud commandline tool

OK so I am trying to download gcloud compute but I am unable to for some reason. I followed the step by step guide from this page but when I type ./google-cloud-sdk/bin/gcloud init the terminal returns zsh: no such file or directory: ./google-cloud-sdk/bin/gcloud
Should I move google-cloud-sdk out of download into some other places? Any help will be greatly appreciated.
If it is any help, I am currently using Mac OS catalina 10.15.4.
It looks like you have downloaded the SDK into a different directory than you are currently in with your terminal.
Try moving the downloaded google-cloud-sdk folder into your home (or cd into your Downloads folder with the terminal), and then running the command. You can also use ls to make sure you are in the correct directory and can see the google-cloud-sdk folder.

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.

npm install does not download one specific file

I have created one yo generator and I can see the code is available in github and also showing in yo generator list.
Its working perfectly when I do npm install to download the generator code into my local machine and also when scaffold application using yo command.
Only problem is one of my file (systemjs.config.js) which is in the /generator/template folder is not getting downloaded niter from npm install nor when I scaffold application using yo command.
generator link git link to generator
command to download and scaffold from yo generator
npm install -g yo
npm install -g generator-angular2-with-router
yo angular2-with-router
The problem was occurring due to .gitingore file which was ignoring all the .js files as the project is in typescript. I was ignoring all my .js and .js.map files in my git ignore file
as systemjs.config.js file is a js file, its has been ignored by publish or something was happening with npm and it was not downloading.
Now I changed my .gitignore file and so that specific .js and .js.map file will be ignored and it resolved my problem.

SublimeText 3 - Package Control: Removed directory for orphaned package ColdFusion

I am running SublimeText 3 (build 3083). I follow the manual install directions for the ColdFusion plugin as described here (https://github.com/SublimeText/ColdFusion):
Download Manually
Download the files using the GitHub .zip download option
Unzip the files and rename the folder to ColdFusion
Copy the folder to your Sublime Text 2 Packages directory
This has worked (and still works) on many machines. But today I have a PC that each time I re-open SublimeText it removes the ColdFusion directory and in the SublimeText console it says "Package Control: Removed directory for orphaned package ColdFusion". Haven't been able to find anything on this yet. Help appreciated. Thanks!
The "Download Manually" section is for Sublime Text 2 only. At the very top of the README you linked are the ST3 instructions:
The development branch contains a rewrite of the ColdFusion plugin. The only installation method is via Git.
cd Packages/
git clone https://github.com/SublimeText/ColdFusion.git
cd ColdFusion
git checkout development
On Windows machines, the Packages folder is in %APPDATA%\Sublime Text 3\Packages. You'll need to have a working copy of git on your machine, which can be obtained here.
Alternatively, you can download a zip file of the development branch, extract it, rename the resulting ColdFusion-development folder to ColdFusion, then copy that into your Packages folder.
EDIT
I did a little digging, and apparently this package is no longer being developed. However, the CFML package has been suggested as a replacement. Not being a ColdFusion user, I haven't tested it myself, but reviews from others are good. It's available for ST3 only, but can be installed directly via Package Control, so you don't have to worry about using git.
If you are using Sublime Text 3 ST3, the recommended package to use is the one named CFML available via Package Control here: https://packagecontrol.io/packages/CFML
If you are using Sublime Text 2 ST2, the recommended package is the one named Cold​Fusion available via Package Control here: https://packagecontrol.io/packages/ColdFusion
For both of them you'll find there installation instructions using Package Control or manually from GitHub.