petrovicstefanrs / 30_seconds_of_knowledge

Google Chrome Extension that lets you gain new developer skills, every time you open a New Tab.
https://30secondsofknowledge.com/
MIT License
942 stars 121 forks source link

Option to save code quickly #3

Closed Nisthar closed 5 years ago

Nisthar commented 5 years ago

Option to save code quickly for later usage would be nice

petrovicstefanrs commented 5 years ago

@Nisthar What do you have in mind? You can copy/paste all code now anyway, in what way would the quick save work? Save as gist? or pdf? It would be great if you could elaborate

asantarissy commented 5 years ago

@petrovicstefanrs I think my PR (#6) covers what @Nisthar is asking for 😃

petrovicstefanrs commented 5 years ago

@asantarissy Yep, actually in process of reviewing and merging your PR 😄. Shouldn't be long, maybe a day or two. I want to make sure everything is in sync with what I had in mind. 😄

asantarissy commented 5 years ago

@asantarissy Yep, actually in process of reviewing and merging your PR 😄. Shouldn't be long, maybe a day or two. I want to make sure everything is in sync with what I had in mind. 😄

AWESOME, just pushed the light theme support 😄

petrovicstefanrs commented 5 years ago

AWESOME, just pushed the light theme support 😄

Nice! I'll get back to you if somethings need a touch up.

Nisthar commented 5 years ago

@petrovicstefanrs Yes, I was thinking of something like gist where you can save code snippets and check it later. It would have been nice if there was a plugin to import it to vs code automatically.

petrovicstefanrs commented 5 years ago

@Nisthar I've added a library of saved snippets thanks to @asantarissy and it's live now, as for the auto import to vs code, there is a great resource: https://www.npmjs.com/package/30-seconds-of-code This is the repo I'm scraping the javascript snippets from, and this is their official npm package with all the js snippets you can find on 30 seconds of knowledge. Check them out!