Skip to content

Instantly share code, notes, and snippets.

View juandefelix's full-sized avatar

Juan Ortiz juandefelix

View GitHub Profile
@juandefelix
juandefelix / osx-10.10-setup.md
Created March 4, 2016 22:19 — forked from kevinelliott/osx-10.10-setup.md
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

@juandefelix
juandefelix / form-validator.js
Last active March 5, 2020 03:32 — forked from ksolo/form-validator.js
Form Validation
$(function(){
$("#target").submit(function(event){
event.preventDefault();
email = $("input[name='email']").val();
password = $("input[name='password']").val();
$('li').remove();
if (password.match(/\w{8}/) == null){
$("#errors").append("<li>Password must be at least 8 characters</li>");
@juandefelix
juandefelix / carousel.js
Last active August 29, 2015 13:56 — forked from ksolo/carousel.js
Image Carousel
@juandefelix
juandefelix / zoo.js
Last active August 29, 2015 13:56 — forked from dbc-challenges/zoo.js
//------------------------------------------------------------------------------------------------------------------
// YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here.
//------------------------------------------------------------------------------------------------------------------
function Animal (name, feet)
{
this.name = name;
this.feet = feet;
// this wasn't passing the last test,
@juandefelix
juandefelix / index.html
Last active August 29, 2015 13:56 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
@juandefelix
juandefelix / 0.2.1-boggle_class_from_methods.rb
Last active December 27, 2015 22:39 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
def initialize(board)
@board = board
end
def create_word(*coords)
coords.map {|coord| @board[coord.first][coord.last]}.join("")
end