Skip to content

Instantly share code, notes, and snippets.

View rhettl's full-sized avatar

Rhett Lowe rhettl

View GitHub Profile
$ cat /Users/rhett/Projects/uci-node-ldap/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'git+ssh://github.oit.uci.edu:education/node-ldap.git' ]
2 info using npm@2.7.1
3 info using node@v0.12.7
4 silly cache add args [ 'git+ssh://github.oit.uci.edu:education/node-ldap.git', null ]
<div id="faqs">
<div id="faqs-toc"></div>
<div id="faqs-questions">
<section>
<h2>General Rules</h2>
<div class="question">
<h3>Question one goes here</h3>
<p>the answer goes here</p><a>[href="#"] citation goes here</a>
</div>
<div class="question">
/**
* Created by rhett on 7/7/15.
*/
var permutation = function (col){
if (col.length <= 1) {
return col;
} else if (col.length === 2) {
return [
/**
* Created by rhett on 7/9/15.
*/
var encrypt = function (message, pass, shift) {
var alpha = shiftAlpha(shift);
message = message.toUpperCase().split('');
pass = pass.toUpperCase().replace(/\s/g, '').split('').map(function (i) {
/**
* preset Telerik's RadComboBox based on URL fragment parameters
*
* This function will autorun at startup. it requires Telerik and jQuery to be installed.
* It listens to the URL Fragment, ex: 'http://example.com/page?unimportant=stuff#greeting=hello%20world' would produce {greeting: "hello world"}
* It presently watches for 2 values, "search" and "category", and is separated similarly to the query line, i.e. = and &
* category IS case sensitive and space sensitive. Spaces __can__ be in the form of ' ' but __should__ be in the form of '%20' URL encoded
*
* @author Rhett Lowe <rng2ml@gmail.com>
* @param {Object} $ The windows jQuery object
@rhettl
rhettl / text.txt
Created June 18, 2014 22:52
Download VMware vSphere Hypervisor for Free
https://my.vmware.com/group/vmware/evalcenter?p=free-esxi5&source=dwnp
<style>
.designers .container {
position: fixed;
width: 100%;
}
</style>
<div class="designers">
<a>designers</a>
<div class="container">
@rhettl
rhettl / chosenObjectTest.html
Last active December 24, 2015 21:09
Testing that angular-chosen works with objects
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="chosen/chosen.css"/>
<style>
select {
width: 200px;
}
</style>