This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> | |
<profiles> | |
<profile> | |
<id>jruby</id> | |
<repositories> | |
<repository> | |
<id>rubygems-proxy</id> | |
<name>Rubygems Proxy</name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.reflect.InvocationTargetException; | |
import javax.swing.JFrame; | |
import javax.swing.JLabel; | |
import javax.swing.SwingUtilities; | |
public class CreateAndShowGUI extends Thread{ | |
Runnable HelloWorldFrame = new Runnable() { | |
public void run() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/1860902 | |
https://gist.github.com/3210129 | |
https://github.com/sstephenson/ruby-build/issues/193 | |
http://coderwall.com/p/pagj2w | |
http://apple.stackexchange.com/questions/58116/enabling-java-7-on-mountain-lion | |
http://www.graphviz.org/Download_macos.php | |
https://trac.macports.org/ticket/32575 | |
http://stackoverflow.com/questions/6116697/macports-python-select-command-not-found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://wiredupandfiredup.blogspot.com.es/2008/09/pimp-your-macvim.html | |
http://spf13.com/post/perfect-vimrc-vim-config-file/ | |
https://github.com/altercation/vim-colors-solarized | |
https://wincent.com/products/command-t | |
http://superuser.com/questions/247678/installing-command-t-breaks-macvim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://cheat.errtheblog.com/s/tmux/ | |
http://blog.sanctum.geek.nz/vi-mode-in-tmux/ | |
https://gist.github.com/1769870 | |
http://unix.stackexchange.com/questions/15715/getting-tmux-to-copy-a-buffer-to-the-clipboard | |
http://www.drbunsen.org/text-triumvirate.html#tmux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'sinatra', '1.3.6' | |
gem 'json', '1.7.7' | |
gem 'haml', '3.1.7' | |
gem 'mongoid', '3.1.2' | |
gem 'bcrypt-ruby', '3.0.1' | |
gem 'rest-client', '1.6.7' | |
gem 'stringex', '1.5.1' | |
gem 'vlad', :require => false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... requires | |
ENV['RACK_ENV'] ||= 'development' | |
# This tempdir stuff is important for Torquebox deployments | |
(tmp = '.' | |
dirs = [ENV['TMPDIR'], ENV['TMP'], ENV['TEMP'], '/tmp', tmp] | |
for dir in dirs | |
unless dir.nil? | |
stat = File.stat(dir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'rubygems' | |
require 'bundler' | |
Bundler.setup(:default) | |
APP_ROOT = File.join(File.dirname(__FILE__)) | |
SUPPORTED_BROWSERS=%w(firefox chrome safari ie9 ie8 ie7) | |
TEST_BROWSER='poltergeist' | |
# See: http://www.ruby-forum.com/topic/207203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TorqueBox.configure do | |
web do |web| | |
web.context '/' | |
end | |
ruby do | |
version '1.9' | |
end | |
environment do | |
TMPDIR '/tmp/torquebox' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
require 'rubygems' | |
require 'spoon' | |
APPNAME = 'fileserver' | |
WORK_PATH = Dir.pwd | |
EXEC = "#{ENV['HOME']}/.rbenv/shims/puma" | |
PID_PATH = "#{WORK_PATH}/log/#{APPNAME}.pid" | |
OUT_PATH = "#{WORK_PATH}/log/#{APPNAME}.out.log" |
OlderNewer