makersacademy / clmystery Goto Github PK
View Code? Open in Web Editor NEWCommand Line Murder Mystery
License: Other
Command Line Murder Mystery
License: Other
I've created the file interview_info.txt, added and committed it, but when I merge the step-5 branch back into master, using 'git merge origin/step-5', whilst on the master branch, this file is removed.
I'm now getting the message below and not really sure what's going on?
My understanding is that the file should remain as I've merged a historic version into the master, therefore bringing any commits with it?
Thanks!
Malins-MacBook-Air:interviews Malin$ git checkout remotes/origin/step-5
Note: checking out 'remotes/origin/step-5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 4f7b424... Note on Vim
Hey Everyone, Other than seeing that my pull request is green and I've added, committed and pushed the 'jail.txt' to clmystery, is there a rocksolid way of knowing I've completed the challenge?
A test issue :)
I've only just noticed that I have red crosses next to my pull request..I know this means I've made a mistake somewhere, but how do I go about trying to find out what it is? Is there anything that tells you why it's wrong? It looks like I've started to go wrong at step6 with the list of suspects, but I've created my list of 4 suspects so I'm not sure where I've gone wrong!
Also how do I go back and change it now, do I need to delete my last few commits?
I am really struggling to figure out what the right code is to grep multiple pieces of text in the vehicles file. I have tried piping so
grep -A 5 'L377' mystery/vehicles | grep -B 1 -A 4 'Honda' | grep -B 2 -A 3 'Blue' | grep -B 4 -A 1 'Height: 6' >> suspects.txt
but nothing appears in suspects.txt
I'm definitely missing something! Can anyone help?
I know there's previously been an issue on this that has been closed but when I try the solution from there it doesn't work. This is what I'm using to get back multiple lines of text using grep (while in the mystery directory);
grep -A 5 L337 vehicles | grep -A 4 -B 1 Honda vehicles | grep -A 3 -B 2 Blue vehicles | grep -A 1 -B 4 'Height: 6' vehicles
It basically just "cats" the file, ignoring all the parameters I've given it. I've also tried it with quotes around the first parameter and it does the same thing. I'd appreciate any help. Thanks
When doing the pull request, there is an error with the file jail.txt. But it is present in my repository on github and it contains the right name of the murderer.
I am not sure why i got the failed message
Hi all,
I found the correct suspect, but when I put in the below code, it comes up as SORRY, TRY AGAIN:
echo “John Doe“ | $(command -v md5 || command -v md5sum) | grep -qif /dev/stdin encoded && echo CORRECT\!GREAT WORK, GUMSHOE. || echo SORRY, TRY AGAIN.
(where John Doe is the correct name - I just haven't put it here in case I ruin the challenge for someone else. I know I have the correct person, because I then checked the solution.)
Has anyone else had this issue confirming their suspect is correct?
Not sure if there is a problem with the solution script?
Best wishes, Michael
Hi!
I do git branch and I get *Master and the the remote/origin/master.
The big question is: am I supposed to have a step-5 branch? or do I have to create one?
I'm attempting to make my initial push and seem to be getting an error 403, anyone know why this might be?
Username for 'https://github.com': [email protected] Password for 'https://[email protected]@github.com': remote: Permission to makersacademy/clmystery.git denied to crsanghani. fatal: unable to access 'https://github.com/makersacademy/clmystery.git/': The requested URL returned error: 403
My suspects.txt contains 4 suspects, and all the information about them, and it doesn't pass the test. I also tried to make the pull request using a file suspects.txt with all the information but weight, and it still does not pass the test.
When I got to submit a pull request at https://github.com/makersacademy/clmystery/compare?expand=1 and click on compare across forks I cannot get any further as my repository is not listed. I have no idea why this is.
It should list it as:
pflarcology/clmystery
Hi Guys,
Hope you're well.
This is a continuation of the issues I posted on Slack. I thought I should add it as a git issue because I'm a bit stuck...
Here is my position.
I found the killer.
I tested this with the solutions file and I have the correct name.
I checked the permissions of the file. I can read, write and execute, groups and others can read only.
I have added the jail.txt file to git
I have committed the changes
I have pushed this to the makers git.
The CI test comes up with an error.
The error is with this bit of code which is the test:
$ find ./ -name "jail.txt" | xargs less | $(command -v md5 || command -v md5sum) | grep -qif /dev/stdin encoded
This is basically very similar to the code in the solutions file that checks the name of the killer.
So somewhere between pointing terminal to the correct name and pointing terminal on makers git to a file containing the correct name, I've messed something up.
I reckon this will be something silly with my file that I haven't done or have missed.
I've tried deleting it and making it again, making it with a text editorvinstead of command line, changing the permissions.
Not quite sure what to do now.
(No doubt I'll feel stupid when I find out what I did wrong.)
Any suggestions are welcome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.