Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / README.md
Last active August 29, 2015 14:12
Byte conversions

Megabytes – Gigabytes – Terabyte – Units of Digital Measurement

What is a byte, and what are the other units of measure for digital information?

A byte is a unit of measure for digital information. A single byte contains eight consecutive bits, and is capable of storing a single ASCII character, like "h".

A kilobyte (KB) is 1,024 bytes, not one thousand bytes as might be expected. This odd number results from the fact that computers use binary (base two) math, instead of a decimal (base ten) system.

Computer storage and memory is often measured in megabytes (MB). A medium-sized novel contains about 1MB of information. 1MB is 1,024 kilobytes, or 1,048,576 (1024x1024) bytes, not one million bytes. Again, this number results from the fact that computers use binary math.

data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NDgiIGhlaWdodD0iNDQ4Ij48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJyZ2IoODYsIDE5OSwgNjEpIiAgLz48cmVjdCB4PSIwIiB5PSIxMyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMjAiIG9wYWNpdHk9IjAuMTUiIGZpbGw9IiMyMjIiICAvPjxyZWN0IHg9IjAiIHk9IjUyIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxNCIgb3BhY2l0eT0iMC4wOTgiIGZpbGw9IiMyMjIiICAvPjxyZWN0IHg9IjAiIHk9IjgyIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMyIgb3BhY2l0eT0iMC4wODkzMzMzMzMzMzMzMzMzMyIgZmlsbD0iI2RkZCIgIC8+PHJlY3QgeD0iMCIgeT0iMTEyIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxOSIgb3BhY2l0eT0iMC4xNDEzMzMzMzMzMzMzMzMzNCIgZmlsbD0iI2RkZCIgIC8+PHJlY3QgeD0iMCIgeT0iMTM5IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI1IiBvcGFjaXR5PSIwLjAyIiBmaWxsPSIjZGRkIiAgLz48cmVjdCB4PSIwIiB5PSIxNTIiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjE0IiBvcGFjaXR5PSIwLjA5OCIgZmlsbD0iIzIyMiIgIC8+PHJlY3QgeD0iMCIgeT0iMTg0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMCIgb3BhY2l0eT0iMC4wNjMzMzMzMzMzMzMzMzMzNCIgZmlsbD0iIzIyMiIgIC8+PHJlY3QgeD0iMCIgeT0iMjEwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI3Ii
@roachhd
roachhd / README.md
Created January 2, 2015 11:08
Managing Issues and Pull Requests Across Repositories

Source

Managing Issues and Pull Requests Across Repositories · GitHub

Keep track of all of your issues and pull requests with the new [Issues Dashboard][1] and the new [Pull Requests Dashboard][2].

![Dashboards][3]

@roachhd
roachhd / README.md
Created January 1, 2015 13:58
Faster github pages, from the GitHub blog.

Source

Faster, More Awesome GitHub Pages · GitHub

We just rolled out some big improvements to GitHub Pages. Now, when someone visits a Pages site, rather than GitHub serving the content directly, the page is served by a global [Content Delivery Network][1], ensuring that the nearest physical server can serve up a cached page at blazingly fast speeds. As an added bonus, we can now protect your GitHub Pages site with the same kind of [Denial of Service][2] mitigation services used for [GitHub.com][3].

If you are using a subdomain, custom subdomain, or an A record with GitHub Pages, you may need to make some changes.

Default User Domain - username.github.io

@roachhd
roachhd / README.md
Last active March 28, 2024 06:44
Teach Kids Programming

Teach kids programming 🆒

2 min read

![][4]

A collection of resources

I've been gathering the best resources to teach children & teens programming — books, environments, apps, courseware and games.

@roachhd
roachhd / README.md
Last active March 31, 2022 11:06
Useful info for parents in games and internet safety

Useful Information for Parents

Christmas time usually brings on the in-flight of new gifts, these days a minority of those a changes and digital devices. Here is a bunch of useful links for parents. Start with the ones about parental controls, you really should know how to restrict your child's one interactions. It's also a good idea to look at your own internet safety practices, the safer and more aware you are, the more you will be able to educate your children on internet interactions. It's just as important in cyber safety education to also teach children how not to become the bully, as well as avoid being bullied.

The following links provide useful information, resources and advice for parents wanting to help their children safely enjoy video and PC games, and navigate the online world:

  • A series of [videos ][1]from the iGEA on how to set up Parental Controls
@roachhd
roachhd / example-using-singlepaged-theme.md
Last active February 28, 2019 04:33
Jekyll Themes List
@roachhd
roachhd / README.md
Last active October 22, 2023 12:22
Guitar Lesson List
@roachhd
roachhd / README.md
Created December 30, 2014 03:24
Git words books