Funny on Github

Github projects aren’t just frameworks, libs and plugins. There is some funny in there too. Here are some github projects that will make you laugh.

Know of any good ones that I missed? Tweet me at @johnpolacek


The Useless Web Website
The Useless Web
Take me to another useless website please. The useless web is a single button, which opens new links to an array of strange and odd websites. View it at theuselessweb.com

Github Project: github.com/tholman/the-useless-web
By Tim Holman (@twholman)


fartscroll
fartscroll.js
Everyone farts. And now your web pages can too. View it at theonion.github.io/fartscroll.js

Github Project: github.com/theonion/fartscroll.js
By The Onion (@TheOnion)


what the commit
What The Commit
An amusing random commit message generator. View it at whatthecommit.com

Github Project: github.com/ngerakines/commitment
By Nick Gerakines (@ngerakines)


bootstra
BOOTSTRA.386
A Bootstrap to make webpages look like they are from the 1980s. View it at kristopolous.github.io/BOOTSTRA.386

Github Project: github.com/kristopolous/BOOTSTRA.386
By Chris McKenzie (kristopolous)


passwords for the manly man
Passwords for the Manly Man
Generating passwords so strong and secure they strike fear into the heart of darkness. View it at dfcb.github.io/manly-man-passwords

Github Project: github.com/dfcb/manly-man-passwords
By John Polacek (@johnpolacek)


gifs
jglovier/gifs
Joel Glovier’s GIF Collection. View it at gifs.joelglovier.com

Github Project: github.com/jglovier/gifs
By Joel Glovier (@jglovier)


arnoldc
ArnoldC
A programming language based on the one liners of Arnold Schwarzenegger. View it at lhartikk.github.io/ArnoldC

Github Project: https://github.com/lhartikk/ArnoldC
By Lauri Hartikka (@lhartikk)


five
Five
A library to overcomplicate 5. View it at jackdcrawford.github.io/five

Github Project: github.com/jackdcrawford/five
By Jack Crawford (jackdcrawford)


programmer collective nouns
Programmer Collective Nouns
An Enumerable of Rubyists, An Indentation of Pythonistas, A fold of Haskellers, etc… View more at https://gist.github.com/mariusGundersen/6925246

Github Gist by Marius Gundersen (@gundersenmarius)


html9
HTML9 Responsive Boilerstrap JS
H9RBS.js (v0.0001) is a flexible, dependency-free, lightweight, device-agnostic, modular, baked-in, component framework MVC library shoelacestrap to help you kickstart your responsive CSS-based app architecture backbone kitchensink tweetybirds. View it at html9responsiveboilerstrapjs.com

Github Project: github.com/impressivewebs/HTML9-Responsive-Boilerstrap-js
By Louis Lazaris (@ImpressiveWebs)


semicolon programming language
Semicolon
A programming language of semicolons. View it at pksunkara.com/semicolon

Github Project: github.com/pksunkara/semicolon
By Pavan Kumar Sunkara (@pksunkara)


illacceptanything
illacceptanything
The project where literally* anything goes. View it at illacceptanything.github.io

Github Project: github.com/illacceptanything/illacceptanything
By Kristopher Wilson (@mrkrstphr)

Share Your Git Aliases Day

Git aliases have been around for a long time, but in case you don’t know about them, they allow you to create shortcuts for just about any git command or sequence of commands that you can think of. Beyond just the convenience of less key presses, you can use to streamline your workflow by sequencing longer sets of commands that are hard to remember. Here is a nice intro article on Git aliases: Streamline your git workflow with aliases.

Wouldn’t it be fun if today was Share Your Git Aliases Day? Taking a look at other people’s .gitconfig files can give you an insight into how they work and give you ideas for improving your own workflow. For example, check out Must Have Git Aliases: Advanced Examples. Mathias has a really popular .gitconfig in his dotfiles collection that has almost 10K Github stars: https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig.

Here’s mine: https://gist.github.com/johnpolacek/69604a1f6861129ef088

How to Get Open Source Project Ideas and Execute Them

A common question people ask me is how I come up with open source project ideas. It is a pretty simple process:

1. Have A Problem
If you are a developer, when you are building stuff you will have to solve problems. On top of those, as a human being you will have problems every day. How can I share responsive web design examples to educate my clients? How can I make a more flexible grid system for responsive web design? How can I help my kid learn his ABC’s? Are my passwords manly enough?

The first thing most of us do is see if that problem has been solved before, and how. It may be that the problem has been solved effectively, and there is no need for you to solve it again. Many times, there are different approaches to solving the problem, but none that work quite the way you’d like. On rare occasions, you have encountered a problem that doesn’t have any good solutions yet, which can be quite exciting.

1a. Come Up With a Cool Name
This is probably the most fun part of the process, haha. Cool names are cool!

2. Solve The Problem
Get on it. Solve that problem. It could be that solving a particular problem is too large and ambitious to pull off. Either find some friends to collaborate with, or break the problem into smaller components then go after them one at a time.

3. Abstractize Your Solution
When possible, craft your solution in such a way that it can be applied more generally, for people who encounter the same problem.

4. Publish
Throw it on Github, of course, but if you want your project to stand out, go the extra mile. Make a great demo page to showcase your project with some clear, easy-to-follow documentation.

5. Don’t Be Shy
If you release a Github project in the woods, does anyone notice it? To get your project noticed, you need to publicize it. Tweet it out and share it up. Send it off to newsletter publications (e.g. JavaScript Weekly, HTML5 Weekly, etc.) Even better, create a tutorial and try to get it published online somewhere like Codrops, Tuts+ or Smashing Magazine.

6. Repeat
The more you projects you publish, the more ideas you will have. I recommend maintaining a list of your project ideas on Google Drive or Trello.

Github: From Zero to Hero

Are you looking to get some projects up on Github? There are a few different approaches you can take. Here is mine.

First, you need some projects. Front end projects work best for Github project pages. If you have ideas that involve server-side, you will need to host that aspect of your project somewhere else and you would never want to host any api keys or security-sensitive content on a public Github page (obviously).

For my projects, I like to have my project demo page and the master branch of the code be the same. So, start with your master branch and build it out. There are lots of tutorials on Git and Github, so find one that works for you if you want help getting started.

When your demo is ready, the next step is to create a Github Project Page. This can be accomplished simply by creating a new gh-pages branch that is identical to your master branch.

git checkout -b gh-pages
git push origin gh-pages

As you make changes to the project, keep your gh-pages and master branches in sync. The easiest way to do this is with git rebase.

git commit -m 'my master branch update'
git push origin master
git checkout gh-pages
git rebase master
git push origin gh-pages

For more information on this pattern, read these posts by Lea Verou and Oli Studholme. One thing you could try is to make a project and use it as a git/github playground for experimentation.

So, you have your first project page. Now just rinse and repeat. Once you have a few project pages, you should make them a fancy landing page home for them. For example, I have johnpolacek.github.io for my projects. To create one of these, simply create a new repo that follows the naming scheme yourgithubname.github.io and build out a nice web page. When you are all set, commit and push to master and you are done.

If you’d like to have your project pages be on a custom non-github domain, Github has a nice help page devoted to that. (Github makes everything so easy – Thanks Github!)

One benefit to having your content on a github domain is superior search rankings. Because of its massive popularity, Github ranks high for authority. This means that if you keep your code projects on Github, and insert links to your other content (blog, twitter, etc.) you will get some nice Google juice out of it.

Not all of your projects will get attention, and that’s ok. Remember, everyone has to start somewhere. Just keep pushing code and improving your skills. Good things are bound to happen. Most importantly: Have fun!