Skip to content

Instantly share code, notes, and snippets.

View ekuiter's full-sized avatar

Elias Kuiter ekuiter

View GitHub Profile
@ekuiter
ekuiter / .gitlab-ci.yml
Created October 18, 2020 11:17
gitlab.com MuseScore Exporter
musescore_export:
stage: deploy
image: ubuntu:focal
before_script:
- 'which ssh-agent || ( apt-get update -qy && apt-get install openssh-client -qqy )'
- eval `ssh-agent -s`
- echo "${SSH_PRIVATE_KEY}" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_PUBLIC_KEY" >> ~/.ssh/id_rsa.pub
@ekuiter
ekuiter / gist:dcaec22356a093be2ae63f3ba367da5c
Created May 6, 2020 14:49
Extract binary files from Firefox cache
Go to the cache entry of the file: about:cache-entry?storage=disk&context=&eid=&uri=<the URI>
Copy the entire HEX dump into an editor that can handle large files and save as "file.dat". Notepad++ works for me.
cat file.dat | cut -d: -f2 | cut -d" " -f2-34 > file.hex && xxd -r -p file.hex my_file.mp3 (or whatever suffix the file has)
@ekuiter
ekuiter / Sample exercise.md
Last active August 11, 2020 08:48
Collaborative Feature Modeling - Sample exercise

Collaborative Feature Modeling - Sample exercise

  • To solve this exercise, two collaborators are required. You will both edit the Car product line, but with different ideas and intentions.
  • Please visit the following link to begin: http://18.159.9.85:8080/#/Examples/Car
    You can also open the feature model manually with Tools > Command Palette > Join collaborative session > Examples > Car.
  • Make sure in the top right corner that you and your partner are undisturbed by others (as this instance of the tool is public).
  • Assign one collaborator role A and the other role B. These will be used in the tasks below.
  • While editing, you are free to discuss anything with your partner (but you don't have to).
  • In solving these tasks, you are allowed to use all operations that the editor provides (including restructuring of subtrees or modification of constraints).
  • After this exercise, please use the survey form to share your impressions.