debugger22 / github-audio

Listen to music generated by events happening across GitHub :octocat: 🎷
https://github.audio
MIT License
1.74k stars 99 forks source link

Add function to ignore certain events + easter egg #18

Closed mcornella closed 8 years ago

mcornella commented 8 years ago

I just have too much free time ¯_(ツ)_/¯

Feel free to ignore the easter egg but I think the filter function could be useful in a future if you want to add filters. I love the simplicity of the website though so it's fine if you don't want to add this.

Love the project! :heart:


Add function to ignore events:

This commit adds a filter function for events that should be ignored, which can be extended later via a commit or a DevTools hack.

Add easter egg to only play closed PRs:

To use this, just set ULTIMATE_DREAM_KILLER in your DevTools console.

The explanation for this easter egg can be found in this article. Just look for Ultimate Dream Killers. Some people just like to see other people's dreams crushed :-1:

debugger22 commented 8 years ago

@mcornella Thank you for doing this!

mcornella commented 8 years ago

Yaaay thanks!

mcornella commented 8 years ago

Oh the easter egg still needs to reset the eventQueue. :disappointed:

debugger22 commented 8 years ago

I didn't test it. And yeah, ULTIMATE_DREAM_KILLER had to be initialised first which I did.

debugger22 commented 8 years ago

@mcornella The oh-my-zsh is super cool! It's my default terminal now.

mcornella commented 8 years ago

Oh wow! That makes me very happy! :smile:

I have a solution to the queue problem, will push a PR soon :)