Skip to content

Instantly share code, notes, and snippets.

View ksolo's full-sized avatar

Kevin Solorio ksolo

  • Provi
  • Chicago, IL
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ksolo on github.
  • I am ksolo (https://keybase.io/ksolo) on keybase.
  • I have a public key ASDQlznXYRGwi1awBL2fDpzmw1QUu6qtMNeU2Afirao4FAo

To claim this, I am signing this object:

@ksolo
ksolo / 0_reuse_code.js
Created June 24, 2014 04:00
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
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css">
<title>Fixed Nav</title>
</head>
<body>
<div class="top-nav">
<div class="container">
<h1>Website</h1>
//////// Your Code ///////////////////////////////////////////////
/////// Driver Code /////////////////////////////////////////////
var tree = new OrangeTree();
while (!tree.hasOranges()) {
tree.incrementAge();
@ksolo
ksolo / carousel.js
Created August 2, 2013 18:53
Image Carousel
@ksolo
ksolo / form-validator.js
Created August 2, 2013 18:27
Form Validation
// shorthand for $(document).ready();
$(function(){
//Your code...
});
@ksolo
ksolo / gist:4033679
Created November 7, 2012 19:07
API Errors
# Example Error failing to validate the requesting client.
{
'errors' : [
'The client you are using did not sumbit a client code, please contact your Virtual Hold Administrator'
]
}
# Example Error failing to validate a model (User).
{
@ksolo
ksolo / Functional Module
Created July 31, 2012 16:01
function libs
module Services
module Utils
module DecryptsData
extend self
def execute(service_result)
body...
end