Dockerfile, how install snap, snapd: unrecognized service

first of all, you don’t want to install the “snap” package, as it is not related to “snapd”. Secondly, myself stumbled across this issue of installing snapd within a docker container: TLDR; Running snapd that way is currently not supported. But that question has been asked already at the snapcraft forums. One of snapd’s dependencies … Read more

what is oradiag_ folder?

I never installed Oracle on my system and don’t know why these directories kept being created, but I finally managed to stop them from reappearing. Here’s how it’s done. First, head over to: cd ~/oradiag_<username>/diag/clients/user_<username>/host_*/trace/ and then head sqlnet.log You should see an error message complaining about a directory not existing for r/w. For me, … Read more

How to pass RUST_BACKTRACE=1 when running a Rust binary installed in Debian?

Just in case someone is looking for setting environment variable from source code, here is how you do it: use std::env; fn main() { // this method needs to be inside main() method env::set_var(“RUST_BACKTRACE”, “1”); } The benefit of this approach — in contrast to manually setting the env variable from PowerShell– is that you … Read more

Installing gitLab missing modernizer?

I ran into this same problem a few minutes ago. Looks like the classy folks behind Modernizr’s Rubygem yanked the most recent versions. You can download the latest gem (Modernizr-2.5.2 as required in the docs there) running the following command inside your /home/git/gitlab directory: wget http://rubygems.org/downloads/modernizr-2.6.2.gem Then, go ahead and run gem install modernizr (without … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)