Skip to content

Instantly share code, notes, and snippets.

View jhyqt5's full-sized avatar
💭
I may be slow to respond.

deepfried_mantou jhyqt5

💭
I may be slow to respond.
View GitHub Profile
@jhyqt5
jhyqt5 / gem_compass_research.md
Last active August 29, 2015 14:02
gem research

Compass

What is it?

Compass core framework is a design-agnostic framework that provides common code that would otherwise be dublicated across other framworks and extensions.

files can be imported using @import "compass"

Setting up the Environment

Compass runs on any computer that has ruby installed.

@jhyqt5
jhyqt5 / jquery_example.html
Last active August 29, 2015 13:58 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<!-- Add a link to jQuery CDN here script here -->
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@jhyqt5
jhyqt5 / git_commands.md
Last active August 29, 2015 13:57
Git Commands

Git Commands List

Step 1 Creating the Repository

1. cd into the working directory 
2. in the terminal type `git clone <link>`, this will create a sub-directory in the current directory
3. cd into the newly created sub-directory

Step 2 Creating a Working Branch

@jhyqt5
jhyqt5 / command_history.md
Created March 6, 2014 00:31
DBC Command Line Obstacle Course Challenge

#CLI Obstacle Course: Command Line History

#Moving to Phase0 Directory
cd Desktop/DBC/Phase0

#Making and moving into the new cmd2 directory
mkdir cmd2
cd cmd2
@jhyqt5
jhyqt5 / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:56 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
#initial code with bonus get_diagonal
class BoggleBoard
@@DIAGONAL_COORDINATES = []
def initialize(dice_grid)
@game_board = dice_grid
end
def create_word(*coords)
@jhyqt5
jhyqt5 / Fibonacci
Created February 1, 2014 06:47
Fibonacci Challenge
#Using Perfect Squares
require 'bigdecimal'
def is_fibonacci?(i)
i = BigDecimal.new(i)
a= (5*(i**2) +4).sqrt(0)
b= (5*(i**2) -4).sqrt(0)
return (a == a.round || b == b.round)
end
@jhyqt5
jhyqt5 / 0_reuse_code.js
Created January 31, 2014 17:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console