Setting up this blog, I knew I would be including a lot of code snippets into the postings. GitHub gists seemed like a good option for easily embedding, formatting, and color-coding my code snippets. The color scheme of the embedded gists somewhat clashed with my blog color scheme and the formatting of the gists made the blog posts look a bit busy. After some searching, I found and modified some CSS code to give the embedded gists a cleaner look and mesh better with the overall design of the blog. There seems to be a lot of options of which I only used a small subset. It is essential to include “!important” after each CSS attribute, since the gist stylesheet will be loaded after your site's stylesheet, giving the gist stylesheet priority over your styles, unless you use the “!important”.
A repository of programs, scripts, and tips essential to
genetic epidemiology, statistical genetics, and bioinformatics
Welcome to the Genome Toolbox! I am glad you navigated to the blog and hope you find the contents useful and insightful for your genomic needs. If you find any of the entries particularly helpful, be sure to click the +1 button on the bottom of the post and share with your colleagues. Your input is encouraged, so if you have comments or are aware of more efficient tools not included in a post, I would love to hear from you. Enjoy your time browsing through the Toolbox.
Showing posts with label GitHub. Show all posts
Showing posts with label GitHub. Show all posts
Wednesday, May 8, 2013
Thursday, May 2, 2013
GibHub
Starting this blog, I found it difficult to share snippets of code easily through the blogger interface. I stumbled across an easy tool to help do this: GitHub. Its a pretty easy-to-use interface that allows you to paste your code into a text box, select which coding language you are using, and then creates an easy one line link you can embed into your Blogger blog. It even highlights certain commands and syntax that are relevant to that coding language. Pretty slick.
Subscribe to:
Posts (Atom)