Skip to content

Instantly share code, notes, and snippets.

./vendor/rails/activesupport/lib/active_support/multibyte/utils.rb: string.split(//).grep(expression).join
./vendor/rails/activesupport/lib/active_support/core_ext/exception.rb: clean_backtrace.grep FrameworkRegexp
./vendor/rails/activerecord/test/cases/autosave_association_test.rb: model.instance_variables.grep(/_callbacks$/).map do |ivar|
./vendor/rails/activerecord/test/cases/schema_dumper_test.rb: index_definition = standard_dump.split(/\n/).grep(/add_index.*companies/).first.strip
./vendor/rails/railties/html/javascripts/prototype.js: grep: function(filter, iterator, context) {
./vendor/rails/railties/lib/rails_generator/commands.rb: Dir.glob("#{@migration_directory}/[0-9]*_*.rb").grep(/[0-9]+_#{file_name}.rb$/)
./vendor/rails/railties/CHANGELOG:* Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
./vendor/rails/railties/CHANGELOG:* Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
./vendor/rails/actionpack/lib/action_controller
Dear Elizabeth,
I wanted to let you know of my deepest sympathies for you as a Christian. I understand how hard it must be to own a
foundation/Estate that you would like to finish without having the heart to instead put your money towards other
meaningful endeavors such as funding a hospital or treating other sick individuals. No doubt the sickness you are
battling is that of a vengeful demon possessing your frail mind and body and drawing you nearer to the dark side. I
may have a solution to your problem though. You could put your wealth to hiring an equally wealthy priest to exorcise
said demon in enough time to grasp the concept of "Giving" and "Charity". Better yet, I could send thoughtful Christian
thoughts to you and exorcise this demon with my well honed psychic powers. I would do this, of course, for a meager
payment of $1,000,000 directly sent into my paypal account. I am desperately trying to buy a house to live in and would
Base Directory: /home/sdwrage/work/grailsapps/grose
Resolving dependencies...
Dependencies resolved in 1477ms.
Running script /home/sdwrage/grails/scripts/RunApp.groovy
Environment set to development
[groovyc] Compiling 14 source files to /home/sdwrage/work/grailsapps/grose/target/classes
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[groovyc] /home/sdwrage/work/grailsapps/grose/grails-app/services/grose/SetupDataService.groovy: 25: unable to resolve class PriceLevel
[groovyc] @ line 25, column 14.
[groovyc] def pl1 = new PriceLevel(name:"PL1").save()
NameError in ContactController#create
undefined local variable or method `emails_params' for #<Notifications:0xa0d5304>
Rails.root: /home/sdwrage/Work/railsapps/microsuds
Application Trace | Framework Trace | Full Trace
app/mailers/notifications.rb:5:in `contactme'
app/controllers/contact_controller.rb:7:in `create'
Request
Building native extensions. This could take a while...
ERROR: Error installing gosu:
ERROR: Failed to build gem native extension.
/home/sdwrage/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
The Gosu gem requires some libraries to be installed system-wide.
See the following site for a list:
http://code.google.com/p/gosu/wiki/GettingStartedOnLinux
checking for Mix_OpenAudio() in -lSDL_mixer... no
at pass (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
app-0 (err): at nextRoute (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
app-0 (err): at callbacks (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
app-0 (err): at /Users/justinlonas/projects/ease-sails/node_modules/sails/lib/router/bind.js:186:7
app-0 (err): at /Users/justinlonas/projects/ease-sails/api/policies/sessionAuth.js:50:5
app-0 (err): at /Users/justinlonas/projects/ease-sails/node_modules/jsonwebtoken/index.js:101:18
app-0 (err): at process._tickDomainCallback (node.js:381:11) [TypeError: undefined is not a function]
app-0 (err): error: Sending 500 ("Server Error") response:
app-0 (err): TypeError: undefined is not a function
app-0 (err): at module.exports.create (/Users/justinlonas/projects/ease-sails/api/controllers/MultipleChoiceAttemptC

WorkRPG

WorkRPG is a collaborative document to spec out how to add RPG gaming elements to your productivity workflow/office/home-office

Biomes O Plenty
Arcane Scrolls
Thaumcraft 3
Enchanting+
Chat Bubbles
Cartographer
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GrabObject : MonoBehaviour {
protected GameObject heldObject;
protected RaycastHit hit;
public float heldForwardPosition = 1f;