show-hn:-masscode-?-code-snippets-manager-for-developers

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up

Vue
JavaScript
CSS
Other

Branch:
master
Clone or download

Clone with HTTPS


Use Git or checkout with SVN using the web URL.

Permalink

Type Name Latest commit message Commit time
Failed to load latest commit information.
.electron-vue
feat: add monaco editor
Dec 30, 2019
.vscode
chore: init
Dec 26, 2019
build/icons
chore: init
Dec 26, 2019
dist
chore: init
Dec 26, 2019
scripts
chore: update verify commit script
Dec 31, 2019
src
refactor: add new fragment via event bus
Dec 31, 2019
static
chore: init
Dec 26, 2019
.babelrc
chore: init
Dec 26, 2019
.editorconfig
chore: init
Dec 26, 2019
.eslintignore
chore: init
Dec 26, 2019
.eslintrc.js
chore: init
Dec 26, 2019
.gitignore
chore: init
Dec 26, 2019
.prettierrc
chore: init
Dec 26, 2019
.travis.yml
chore: init
Dec 26, 2019
LICENSE
chore: init
Dec 26, 2019
README.md
docs: update README
Dec 30, 2019
appveyor.yml
chore: init
Dec 26, 2019
demo.gif
docs: update README
Dec 30, 2019
jsconfig.json
chore: init
Dec 26, 2019
logo.png
docs: update README
Dec 26, 2019
package.json
chore: add release script
Dec 31, 2019
yarn.lock
feat: add monaco editor
Dec 30, 2019


README.md

A free and open source code snippets manager for developers.

Work in progress

Built with Electron, Vue & Monaco editor.



Inspired by applications like SnippetsLab and Quiver.

the-silly-side-of-code-snippets

Sometimes the daily grind of web design can make us take things a little too seriously. While that’s good for getting things done, it can also drain us of the passion we have for our work. It’s not a place where you want to be for the long term.

Creating something fun is a great way to rediscover that joy. It’s often the most casual experiments that can relieve stress and bring about excitement. And it’s also an opportunity to learn a new technology without the pressures associated with client work.

This collection is dedicated to those sorts of projects. These developers all created something unique and, at the same time, a bit humorous. You can tell they had fun putting them together. Enjoy!

The Web Designer Toolbox

Unlimited Downloads: 1,000,000 Web Templates, Themes, Plugins, Design Assets, and much more!

Make It Rain

Enter a world where cheerful emoji fall from the sky. This fun snippet uses JavaScript to enable seemingly random faces, animals and objects move about the screen.

See the Pen EMOJI Rain by Robert Heiser

Pig Latin Translator

The web is used by people from all corners of the globe. Therefore, language translation is a big deal. However, knowing how to say something in Pig Latin probably isn’t that important in the grand scheme of things. But, is it fun? Ellhay esyay.

See the Pen Pig Latin Translator by Chazona Baum

Misfortune Cookie

Here’s an interactive element that provides humorous observations and advice. Click on the fortune cookie to find out the bad news. Oh yeah, you’ll also get a selection of lucky numbers.

See the Pen Fortune Cookie by Jon Kantner

Security as Entertainment

Quick, name two things that are all over the web. Give up? Okay, brace yourselves: CAPTCHAs and GIFs. Pretty hard to avoid them in the age of social media and spam. This phony login form combines both to make for an entertaining and secure experience.

See the Pen Giphy Captcha by Fumie Wada

Funny Face Generator

Generating things at random has multiple uses in design and development. It can help us do anything from increase security to creating a more interesting UX. This Pen uses a library called Context Free that generates images from written instructions. Click on any face to create a whole new set.

See the Pen faces by Gerard Ferrandez

Gassy Rhino

The image of a large creature passing gas may not be as graceful as the Mona Lisa. But it is a fun way to experiment with the GSAP animation library. Take a look at the code and see what makes him toot, er, tick. If you prefer some under-the-sea action, there’s also a turtle.

See the Pen Farting Rhino by Sarah Drasner

Retro Joke Interface

Everybody loves old technology. But what they love even more is outdated tech that also tells bad jokes. Click on the “File” menu of this old-school computer to display another one-liner.

See the Pen


Computer Jokes | CodePenChallenge
by Andrew Wilson

It’s like Twitter, but for Dads Only

The phenomenon known as “dad jokes” slowly creeps up on the male population. When one becomes a father, the goofiest attempts at humor start to emanate. Mothers cringe. Children laugh (sometimes). Here, we have an imagined social media network expressly for the purpose of relating this brand of comedy.

See the Pen


New Twitter 2019 but for dad jokes #cpc-dad-joke #codepenchallenge
by Hussard (@hussard)

Laughter and Creativity Go Together

It’s long been said that laughter is the best medicine. When it comes to fueling creativity and refreshing your brain, it really does appear to be true.

The code snippets above are great reminders of why web designers quite often love their jobs. When you create something just for the sake of fun, it reflects how much you enjoy your work.

So, take a cue from these folks and build something silly. It’s good for the soul and will prepare you to take on those less-exciting challenges in your daily life.

Need a few more laughs? Check out our CodePen Collection for even more ideas.

8-code-snippets-that-pay-homage-to-apple-devices

As much as we associate Apple with its handheld devices these days, their history is filled with a great depth of other compelling products. Desktops, laptops, even printers and monitors.

And, just like the ubiquitous iPhone (or even the iPod), they often were ahead of their time and quite prescient. Just think – PCs would probably still be simple beige boxes if Apple hadn’t shaken things up.

Today, we’re going to celebrate some of Apple’s greatest hits – including that phone in your pocket. Here is a collection of code snippets that recreate the look and/or experience of their products.

The Web Designer Toolbox

Unlimited Downloads: 1,000,000 Web Templates, Themes, Plugins, Design Assets, and much more!

Happy Mac

For every Mac owner, this happy little fellow is a good sign. It means that the device’s boot sequence has successfully begun and that you’ll be creating cool stuff in no time. Here, the icon is recreated and animated with CSS.

See the Pen


External Monitor | #dailycssimages
by Athoug

Boot Your iMac

While the modern iMac offers a sleek aesthetic, the old school versions were of a different sort. Part of that, of course, was the CRT monitor. But they still held a certain charm, like this classic G3 version. What makes this faithful rendition even better is that you can click the power button to “boot up”.

See the Pen


iMac G3
by Jon Kantner

Inventing the Wheel

The iPod wasn’t the first MP3 music player – but it was the one that took the world by storm. The extra storage was great (the first models came in 5 or 10 GB capacities), but it was the UI that really made the device a hit. Not to mention that, when paired with iTunes software, the device ultimately changed the music industry. This iPod Classic will help you relive the start of the revolution.

See the Pen


CSS iPod Classic
by Daniel Gasson

Retro Desktop

If you grew up in the 1980s or early 90s, you undoubtedly had one of these beasts in school – or something like it. The old desktops featured massive keyboards and weren’t exactly portable. Yet, for many, this type of computer was among the first we’d ever used.

See the Pen


Old Apple Computer
by Cozax

Book It

Heading to a design conference? Then you’ll likely see a number of various MacBook models throughout. Their sleek industrial design is well-regarded by us creative types. As further proof, it’s often used in mockups, such as this HTML and CSS snippet.

See the Pen


Demo: Responsive MacBook retina mockup
by Henri Peetsmann

Pro Tools

The Mac Pro is a seriously beautiful workstation. Over the years, it has pushed desktop design to new heights of form and function. The iteration shown here sports a unique case that lifts right off, providing 360° access to internal components. If you’re curious as to how it opens, well, there’s a pen for that too.

See the Pen


Pure CSS Apple Mac Pro
by Filip Vitas

Watch Out

Debuting to much fanfare in 2015, the Apple Watch has evolved into everything 1960s-era spy movies predicted a smart watch would be – and more. It displays messages, monitors your activity and heart rate, along with a myriad of other functions. And, oh yeah, it plays music. This snippet demonstrates the watch’s activity rings feature.

See the Pen


Apple Watch Pure CSS
by Raja Raghav

The Phone That Changed Everything

The iPhone was, of course, the device that truly revolutionized the smartphone. It raised the expectations of what a phone can and should do. As new models come out, we keep thinking, what will they do next? And it always seems that the product delivers another game-changing feature. Here, we see an iPhone X, complete with the infamous “notch”.

See the Pen Pull to refresh – iPhone X by Kirill Kiyutin

Charting Apple’s Journey

While some of the most popular and successful Apple products are represented above, it’s really just a small portion of the company’s history. Products such as the Newton, Cube, iBook, Lisa and so many others are also important parts of the company’s journey – they’re just not necessarily immortalized in code.

If you’re interested in some of those other devices, apple-history.com is a great place to spend some time. And, if you’d like to see more code Apple-related snippets, check out our CodePen collection.