Flutter trying to install after install - flutter

Here is what i get after typing in flutter. Tried snap and it doesn't work. I don't like my Linux to be sloppy. So I am not going to download the raw and put it somewhere random in my machine. I want to do it right. Not have a hack job of an install. Here is what i get after following advice on this sites advice.
So far no method recommended on this site has worked from stackoverflow. Not even sudo snap remove flutter, sudo snap install flutter --classic. Its the same thing for any flutter command.
screenshot here
https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_2.2.1-stable.tar.xz

The flutter official documentation explain correctly how to install flutter on Linux.
Just follow the "Install Flutter manually": https://flutter.dev/docs/get-started/install/linux
(By the way, please put a better title for your question)

Related

How I can open pgadmin4 in fedora 36?

Good evening people, I am trying to install pgadmin4 on fedora 36, I followed all the steps in the documentation and pgadmin4 and its dependencies were installed correctly but I do not know how to start it, or open it and it does not let me configure it on the web because I do not create the directory described in the final step to configure the web version.
I had the same problem. I solved it installing pgadmin4 from linux-pachages
https://linux-packages.com/fedora-36/package/pgadmin4-qtx86-64
I followed the same instructions but mistakenly changing "yum" to "dnf" out of force of habit. I found I got an install out of it which seemed OK at a glance, but it was just documentation and not an executable, and there was no shortcut added to run pgAdmin. Perhaps you might have inadvertently done something similar? After uninstalling, I tried again using "yum" exactly as documented and the latest executable installed without any issue. So the steps to install that would work for me were as follows. (Desktop version in my case.)
sudo rpm -e pgadmin4-fedora-repo
sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
sudo yum install pgadmin4-desktop
The QT workaround also mentioned as an answer worked for me, but I wanted to avoid that since it is an earlier release (6.9) than the current 6.11, isn't officially supported and fires a warning about that every time on start up saying some functionality may be missing, which is not good for clients to see potentially in my case.
Same problem - couldn't open it after installing. You have to install pgadmin4-desktop not pgadmin4.

vscode-go, fill struct command not working

i have gopls installed, and fill struct command is working perfectly in sublime.
but not in vscode. it ask me to install other tool, which i shouldn't need to.
fill struct is listed in gopls api-json command.
also, why it ask me to run go vet instead of go install command?
solved by upgrading to latest version.
this post is old. now, probably no one has this problem.

Error:Invalid data, chunk must be a string or buffer, not object when running ionic -v

Error in cmd
I've tried uninstalling ionic, cordova and node.js and reinstalling them two times. One with lts node and the othe, current lts.But the error still persists. Any help would be greatly appreciated
For somoe reason, npm uninstallof cordova, ionic, and the like didnt remove the files which explains those red characters I saw but did not mind. So to those who also encountered this problem, go to C:\Users\YourAccName\AppData\Roaming and manually delete npm and npm-cache files. After that, you may reinstall ionic then cordova. It worked for me :)
Finally!

Images permissioning issue in IONIC 3 on OSX

I know how to use images in the imgs folder of the ionic the problem is something like this
1: I was trying to get to know with hotspot feature of OSX and accidentally I changed the name of my computer's local network which caused my NPM to crash, means no build were possible for IONIC except using SUDO commands which is not recommended by IONIC guys.
2: here what I did!! I uninstalled everything of IONIC ,NODE,NPM and CORDOVA and reinstalled them globally and all things worked just fine and all commands got back in action EXCEPT this new issue!
now that I was using images in img folder before all that mess !
whenever I run a command either to build or emulate I get unable to
access images error CAUSE PERMISSION ISSUES
here are the snapShots
well after a deep search I have found a solution thnx to my teacher Mike Hartington
here it is!!! how to solve the issue
I ran an ionic command with sudo most likely, which had changed the permissions of mine project
to solve I did this!
ran this command
sudo chown -R $(whoami) ~/<Path/to/project
then ran my build or emulate commands without sudo and every thing came to normal
hope this helps!

Install a package to a docker container (managed by dokku)

I have a hard time understanding where is the right place to place a code that will install the needed packages for the given docker container managed by dokku.
We have a scala application and, unfortunately, we need to have one shell call that is dependent on an environment. I would like to install the given package for the given container using "apt-get install". Right now I am using a custom plugin with a file named "post-release-build". However, I don't have the permission to install anything in that phase.
Basically, my script that should be invoked looks like this (based on a dockerfile that is available online):
apt-get update
apt-get install -y build-essential xorg libssl-dev libxrender-dev wget gdebi
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
gdebi --n wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
echo "-----> wkhtmltox installed!"
Is there a way how to make it work? I would also prefer to have such a file somewhere in the application so I don't need to setup environment before pushing the app (in the future).
EDIT:
I have found a plugin that should be capable of installing packages using apt-get (https://github.com/F4-Group/dokku-apt) however, I am a little bit unlucky because it downloads a package that is not working properly.
Since just downloading with apt-get will download a package that fails, I investigated deeper into dokku and came out with a new plugin that should install the package for you.
I have created a script, documented how to use it and licenced it over MIT license so feel free to use it. Hopefully it will save you the time I had to spend realizing what is going on.
URL: https://github.com/mbriskar/dokku-wkhtmltopdf