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://<ip:port>/model?modified_after=<value>&page=1&per_page=10 |
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
Question.where( | |
QuestionSkipCount.where( | |
question_id: Question.where(messages_count: 0).all.map(&:id), # 1.Returns all question id's for each question without a message | |
# Pending | |
).all # 2.Gets all question_skip_counts for each question that has no message | |
).all # 3.Gives all the questions that have no messages, and (soon) the least amount of skips. |
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
Good Morning Johnneylee, | |
You have been selected for a phone interview. Prior to the interview, the hiring manager would like you to complete the following puzzle. Please complete and return to me. | |
=========== BEGIN PUZZLE TEST ============= | |
Z1. "Queue-Tip" | |
Imagine a queue that looks like the following: ABCDEFGH | |
A is in slot 0 of the queue, and H is in slot 7. The alphabet gods have now | |
told you to defy the order of this queue on-demand. Your task is to write a | |
program that accepts pairs of values, one being a slot number, and the other |
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
ubuntu-desktop-x64 :: ~/Code » rspec 2274040/undefined_method_oddity_spec.rb | |
FF | |
Failures: | |
1) UndefinedMethodOddity correctly complaints 'expected: 1 time, received: 2 times' | |
Failure/Error: subject.should_receive(:bar) | |
(#<UndefinedMethodOddity:0x000000010b7c68>).bar(any args) | |
expected: 1 time | |
received: 0 times |
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
Please don't email Obie and bcc me and God knows how many other people. | |
Respect me, email me personally, even if you're just using a template. | |
~Johnneylee | |
On Thu, Apr 12, 2012 at 5:01 PM, Maggie Shepard <mshepard@intlstaffinggroup.com> wrote: | |
Hey there, |
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
Johnneylees-MacBook-Pro :: ~/Projects/ProjectQuest ‹master*› » bundle install --verbose | |
Updating https://github.com/couchrest/couchrest_model.git | |
Updating https://github.com/aemadrid/orientdb-ar.git | |
Fetching gem metadata from https://rubygems.org/ | |
Query List: ["rails", "decent_exposure", "couchrest_model", "orientdb-ar", "sass-rails", "coffee-rails", "therubyracer", "uglifier", "rspec", "rspec-rails", "jquery-rails", "bcrypt-ruby", "orientdb", "activemodel", "jnunemaker-validatable", "awesome_print", "couchrest", "mime-types", "tzinfo", "json", "rack-test", "rake"] | |
Query Gemcutter Dependency Endpoint API: rails decent_exposure couchrest_model orientdb-ar sass-rails coffee-rails therubyracer uglifier rspec rspec-rails jquery-rails bcrypt-ruby orientdb activemodel jnunemaker-validatable awesome_print couchrest mime-types tzinfo json rack-test rake | |
Fetching from: https://rubygems.org/api/v1/dependencies?gems=rails,decent_exposure,couchrest_model,orientdb-ar,sass-rails,coffee-rails,therubyracer,uglifier,rspec,rsp |
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
jruby --ng-server | |
Exception in thread "main" java.net.UnknownHostException: --1.9: nodename nor servname provided, or not known | |
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) | |
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866) | |
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258) | |
at java.net.InetAddress.getAllByName0(InetAddress.java:1211) | |
at java.net.InetAddress.getAllByName(InetAddress.java:1127) | |
at java.net.InetAddress.getAllByName(InetAddress.java:1063) | |
at java.net.InetAddress.getByName(InetAddress.java:1013) | |
at com.martiansoftware.nailgun.NGServer.main(Unknown Source) |
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
ProjectQuest git:master ❯ rspec spec/model/project.rb ✹ | |
Project | |
should respond to [:name, :name=] | |
should respond to [:description, :description=] | |
should respond to [:public?, :public=] | |
public? defaults to false | |
validations | |
should require name to be set |
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
iabbrev rdebug require 'ruby-debug'; Debugger.start; Debugger.settings[:autoeval] = 1; Debugger.settings[:autolist] |
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
Error detected while processing /Users/spaceghost/.vimrc: | |
line 70: | |
E492: Not an editor command: GuiColorScheme wombat256modSorry, LustyExplorer requires ruby. Here are some tips for adding it: | |
Debian / Ubuntu: | |
# apt-get install vim-ruby | |
Fedora: | |
# yum install vim-enhanced |