Skip to content

Instantly share code, notes, and snippets.

@boue
boue / lightningtalk.txt
Created March 14, 2014 02:11
What's the difference between ruby's standard library, core library, and gems?
Ruby Core Library is the API documentation for the base classes and modules that come with your current version of Ruby. Examples include: Enumerator, Array, [], etcs, the documentation we refer to when we want to know what a module or class does
It can be found at: http://ruby-doc.org/core-2.1.1/.
The Ruby Standard Library is a large collection of internal libraries that come with every Ruby version. Most of the internal libraries have to do with internal mechanisms to connect to the internet, read/write various formats, access system features. They must be required in your files if needed before they can be used. A few examples are:
- CSV package
- Debug package
- Json
- Minitest
- Rake
@boue
boue / jquery_example.html
Last active August 29, 2015 13:56 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@boue
boue / 0.2.1-boggle_class_from_methods.rb
Last active January 1, 2016 03:49 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
#Pseudocode
#We want to be able to create a new boggleboard. Dice_grid will be passed as an argument.
#From our past work we will be able to re-use and integrate some of the methods into our classes.
#When we create a new instance of BoggleBoard we will have to pass Dice_grid as an argument to be able to call the board 2D array.
class BoggleBoard
attr_reader :board