LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

378 solutions found in general-dev

Page 18 of 19
0 votes
1 ans
3 views
When I run `npm install`, it returns with `ERR! code EINTEGRITY` (npm 5.3.0)

I am getting this error while running `sudo npm install`. On my server, npm was installed earlier. I've tried to delete the `package-lock.json` file, and ra...

general-dev Solved
SA
asked 1 month ago by SANITH
0 votes
1 ans
3 views
Adding git branch on the Bash command prompt

I tried adding the git branch I'm currently working on (checked-out) on the bash prompt without success.. (**while keeping my current path which shows the...

general-dev Solved
GE
asked 1 month ago by George Katsanos
0 votes
1 ans
3 views
Error message "error: command 'gcc' failed with exit status 1" while installing eventlet

I wanted to install [Eventlet][1] on my system in order to have "Herd" for software deployment, but the terminal is showing a GCC error (as root):...

general-dev Solved
AN
asked 1 month ago by Anubhav Grover
0 votes
1 ans
3 views
is it possible to `git status` only modified files?

Is it possible to have `git status` only show the modified files due, in my case, to having too many staged files?

general-dev Solved
CH
asked 1 month ago by chrisl-921fb74d
0 votes
1 ans
3 views
apt-get install tzdata noninteractive

When I try to apt-get install -y tzdata the command line option for picking timezone shows up. I am trying to use this in a script to do some setup,...

general-dev Solved
PY
asked 1 month ago by PYA
0 votes
1 ans
3 views
How to kill zombie process

I launched my program in the foreground (a daemon program), and then I killed it with `kill -9`, but I get a zombie remaining and I m not able to kill it with `...

general-dev Solved
MO
asked 1 month ago by MOHAMED
0 votes
1 ans
3 views
Bash: Syntax error: redirection unexpected

I do this in a script: read direc <<< $(basename `pwd`) and I get: Syntax error: redirection unexpected in an ubuntu machine...

general-dev Solved
OP
asked 1 month ago by Open the way
0 votes
2 ans
3 views
No module named 'distutils.util' ...but distutils is installed?

I was wanting to upgrade my Python version (to 3.10 in this case), so after installing Python 3.10, I proceeded to try adding some modules I use, e.g.,...

general-dev Solved
JE
asked 1 month ago by jeremy_rutman
0 votes
1 ans
3 views
Unable to install gem - Failed to build gem native extension - cannot load such file -- mkmf (LoadError)

Ruby 1.9.3 The part of Gemfile #............... gem "pony" gem "bcrypt-ruby", :require => "bcrypt" gem...

general-dev Solved
AL
asked 1 month ago by Alexandre
0 votes
1 ans
3 views
How to count number of files in each directory?

I am able to list all the directories by find ./ -type d I attempted to list the contents of each directory and count the number of files in each dire...

general-dev Solved
US
asked 1 month ago by user784637
0 votes
1 ans
3 views
Colors with unix command "watch"?

Some commands that I use display colors, but when I use them with watch the colors disappears: watch -n 1 node file.js Is it possible to have the colo...

general-dev Solved
NE
asked 1 month ago by never_had_a_name
0 votes
1 ans
3 views
Error "gnu/stubs-32.h: No such file or directory" while compiling Nachos source code

I am trying to install Nachos on my laptop and I have Ubuntu 11.04 on the laptop. The code is in C and so to build it I assume I will need cross compiler....

general-dev Solved
AS
asked 1 month ago by Ashish Agarwal
0 votes
1 ans
3 views
Skipping acquire of configured file 'main/binary-i386/Packages'

Please tell me what I'm doing wrong. I just installed the Linux Ubuntu on my computer and still don’t understand anything about it. I tried to install Postg...

general-dev Solved
IV
asked 1 month ago by IvanIvanov
0 votes
1 ans
3 views
How to fix apt-get: command not found on AWS EC2?

I installed Ubuntu 12.04 on my Amazon EC2 instance and am trying to install packages using `apt-get`, but I am getting the following error: ```bash sudo: ap...

general-dev Solved
PA
asked 1 month ago by Pat841
0 votes
1 ans
3 views
Custom theme logo

I have a setting page in my custom theme with a logo setting : $name = 'theme_xxx/logo'; $title = get_string('logo', 'theme...

general-dev Solved
RI
asked 1 month ago by Ritam
0 votes
1 ans
3 views
Initializing SCORM using APIWrapper.js always returns false

I am new to SCORM and I found a library at http://pipwerks.com/downloads/ I tried using the sample code in SCORM Cloud, and it worked. <!-- language: l...

general-dev Solved
MA
asked 1 month ago by Mayfield Four
0 votes
1 ans
3 views
Cannot assign role to user using web service

I am trying to assign a role using webservice. I have tried the below code to assign the role. $user_id= 35; $context_id=1; $role_id=5;...

general-dev Solved
AK
asked 1 month ago by Akhilesh
0 votes
1 ans
3 views
Extend to select based on data range

I've got the following MySQL query: SELECT concat('<a target="_new" href="%%WWWROOT%%/course/user.php?id=1&user=',...

general-dev Solved
CL
asked 1 month ago by CLiown
0 votes
1 ans
3 views
Compare two table and remove common row comparing with two column

I have two table Table A & Table B. Table A have *userid* and *course_id* and Table B have *userid* & *courseid*. I want one table without all the...

general-dev Solved
RO
asked 1 month ago by Robert
0 votes
1 ans
3 views
Don't have enough questions in category to create the question Random

I have 3 categories with several quizzies in it and i can test 2 of them , they work properly, but when i try to test third one i got this error below: T...

general-dev Solved
SA
asked 1 month ago by Sagitarius