Skip to content

Instantly share code, notes, and snippets.

View mtheoryx's full-sized avatar
🐳
Making happy little clouds

David Poindexter mtheoryx

🐳
Making happy little clouds
View GitHub Profile
@mtheoryx
mtheoryx / gist:1279022
Created October 11, 2011 18:51
rvm-install error
-bash-3.00$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
Cloning into rvm...
remote: Counting objects: 5671, done.
remote: Compressing objects: 100% (2729/2729), done.
remote: Total 5671 (delta 3718), reused 4004 (delta 2205)
Receiving objects: 100% (5671/5671), 1.89 MiB | 493 KiB/s, done.
Resolving deltas: 100% (3718/3718), done.
bash: line 329: syntax error near unexpected token `"--trace"'
-bash-3.00$
@mtheoryx
mtheoryx / gist:1314293
Created October 25, 2011 21:12
what i have for twurl
podpilot:twurl-0.6.5 podcapadmin$ ls -la
total 72
drwxr-xr-x 15 root admin 510 Oct 25 16:50 .
drwxrwxr-x 4 root admin 136 Oct 25 16:50 ..
-rw-rw-r-- 1 root admin 0 Oct 25 16:50 .gemtest
-rw-rw-r-- 1 root admin 371 Oct 25 16:50 .gitignore
-rw-rw-r-- 1 root admin 61 Oct 25 16:50 .travis.yml
-rw-r--r-- 1 root admin 130 Oct 25 16:50 CHANGELOG
-rw-r--r-- 1 root admin 1126 Oct 25 16:50 COPYING
-rw-rw-r-- 1 root admin 95 Oct 25 16:50 Gemfile
@mtheoryx
mtheoryx / gist:1314333
Created October 25, 2011 21:24
get RVM
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
---
:benchmark: false
:verbose: true
:update_sources: true
:sources:
- http://gems.rubyforge.org/
- http://gems.github.com
:backtrace: false
:bulk_threshold: 1000
@mtheoryx
mtheoryx / gist:2030446
Created March 13, 2012 18:20
Basic IU Search Box
<!-- BEGIN IU SEARCH BOX -->
<form id="iusearch" method="get" action="https://search.sharepoint.iu.edu/sites/demo2/Pages/results.aspx">
<fieldset id="set1">
<ul class="unstyled">
<li><a href="http://people.iu.edu/">People</a></li>
<li><label for="k">IU Search:</label></li>
</ul>
</fieldset>
<fieldset id="set2">
@mtheoryx
mtheoryx / gist:2030643
Created March 13, 2012 18:47
IU Search Box with Campus-specific option
<!-- BEGIN BASIC IU SEARCH BOX WITH CAMPUS SCOPE OPTION -->
<form id="iusearch" method="get" action="https://search.sharepoint.iu.edu/sites/demo2/Pages/results.aspx">
<fieldset id="set1">
<ul class="unstyled">
<li><a href="http://people.iu.edu/">People</a></li>
<li>
<!-- Input to customize for narrowing search scope -->
<input type="radio" name="s" id="search1" value="indiana" />
<label for="search1">Indiana</label>
</li>
@mtheoryx
mtheoryx / gist:2050884
Created March 16, 2012 16:28
'type gem' output
gem is a function
gem ()
{
typeset result;
( typeset rvmrc;
for rvmrc in /etc/rvmrc "${HOME:-}/.rvmrc";
do
[[ -s "${rvmrc}" ]] && source "${rvmrc}" || true;
done;
command gem "$@" ) || result=$?;
@mtheoryx
mtheoryx / gist:2050917
Created March 16, 2012 16:30
echo $PATH
/Users/davpoind/.rvm/gems/ruby-1.9.3-p125@goiu_shorten/bin:/Users/davpoind/.rvm/gems/ruby-1.9.3-p125@global/bin:/Users/davpoind/.rvm/rubies/ruby-1.9.3-p125/bin:/Users/davpoind/.rvm/bin:/usr/local:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/Users/davpoind/bin:/usr/local/git/libexec/git-core
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.19
- RUBY VERSION: 1.9.3 (2012-02-16 patchlevel 125) [x86_64-darwin11.3.0]
- INSTALLATION DIRECTORY: /Users/davpoind/.rvm/gems/ruby-1.9.3-p125@goiu_shorten
- RUBY EXECUTABLE: /Users/davpoind/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
- EXECUTABLE DIRECTORY: /Users/davpoind/.rvm/gems/ruby-1.9.3-p125@goiu_shorten/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-11
- GEM PATHS:
@mtheoryx
mtheoryx / gist:2126391
Created March 19, 2012 20:12
rvm current version
rvm current | ruby -e 'rvm=STDIN.readlines.to_s.split("-");rvm_v=rvm[2];r=rvm[1];v=rvm[2].split("@")[0];puts r+"-"+v'