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
require 'net/http' | |
uri = URI('https://students.foster.washington.edu/undergrad/_vti_bin/usergroup.asmx?WSDL') | |
req = Net::HTTP::Get.new(uri) | |
req.basic_auth 'USERNAME', 'PASSWORD' | |
res = Net::HTTP.start(uri.hostname, uri.port, | |
:use_ssl => uri.scheme == 'https') {|http| | |
http.request(req) |
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
Lois:~ Lois$ ruby -v | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13] | |
Lois:~ Lois$ sudo gem install gosu | |
Password: | |
Building native extensions. This could take a while... | |
ERROR: Error installing gosu: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb | |
The Gosu gem requires some libraries to be installed system-wide. |
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
Original error was | |
[288/319] COFFEE build/release/rethinkdb_web_assets/cluster-min.js | |
/usr/bin/env: node: No such file or directory | |
make[1]: *** [build/release/rethinkdb_web_assets/cluster-min.js] Error 127 | |
so a | |
'grep -i NPM config.mk' | |
NPM := /usr/bin/npm | |
and a |
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
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '1.10.1-fallback' (defined in ./scripts/gen-version.sh) | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '0.0-internal-unknown-fallback' (defined in ./scripts/gen-version.sh) | |
[1/34] NPM-I coffee-script | |
[2/34] LN support/usr/bin/coffee | |
[3/34] COFFEE build/release/rethinkdb_web_assets/cluster-min.js | |
[4/34] NPM-I less | |
Error log: /home/marc/Documents/Projects/pscripts/rethinkdb/support/log/less.log | |
npm WARN coffee-script@1.4.0 package.json: bugs['name'] should probably be bugs['url'] | |
npm http GET https://registry.npmjs.org/less/1.4.0 | |
npm http 304 https://registry.npmjs.org/less/1.4.0 |
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
npm http GET https://registry.npmjs.org/n | |
npm http 200 https://registry.npmjs.org/n | |
npm http GET https://registry.npmjs.org/n/-/n-1.1.0.tgz | |
npm http 200 https://registry.npmjs.org/n/-/n-1.1.0.tgz | |
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n | |
n@1.1.0 /usr/local/lib/node_modules/n | |
install : 0.10.21 | |
mkdir : /usr/local/n/versions/0.10.21 | |
fetch : http://nodejs.org/dist/v0.10.21/node-v0.10.21-linux-x64.tar.gz |
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
marc@ItsAllGood ~/Documents/Projects/pscripts/rethinkdb $ which node | |
/usr/local/n/versions/0.10.21/bin/node | |
marc@ItsAllGood ~/Documents/Projects/pscripts/rethinkdb $ make | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '1.10.1-fallback' (defined in ./scripts/gen-version.sh) | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '0.0-internal-unknown-fallback' (defined in ./scripts/gen-version.sh) | |
[1/34] NPM-I coffee-script | |
[2/34] LN support/usr/bin/coffee | |
[3/34] COFFEE build/release/rethinkdb_web_assets/cluster-min.js | |
[4/34] NPM-I less | |
Error log: /home/marc/Documents/Projects/pscripts/rethinkdb/support/log/less.log |
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
marc@ItsAllGood ~/Documents/Projects/pscripts/rethinkdb $ make | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '1.10.1-fallback' (defined in ./scripts/gen-version.sh) | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '0.0-internal-unknown-fallback' (defined in ./scripts/gen-version.sh) | |
[1/34] NPM-I coffee-script | |
[2/34] LN support/usr/bin/coffee | |
[3/34] COFFEE build/release/rethinkdb_web_assets/cluster-min.js | |
[4/34] NPM-I less | |
[5/34] LN support/usr/bin/lessc | |
[6/34] LESSC build/release/rethinkdb_web_assets/cluster.css | |
[7/34] SED build/release/rethinkdb_web_assets/index.html |
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
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '1.10.1-fallback' (defined in ./scripts/gen-version.sh) | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '0.0-internal-unknown-fallback' (defined in ./scripts/gen-version.sh) | |
[1/8] LN support/usr/bin/browserify | |
[2/8] BROWSERIFY build/drivers/javascript/rethinkdb.js | |
module.js:340 | |
throw err; | |
^ | |
Error: Cannot find module 'resolve' | |
at Function.Module._resolveFilename (module.js:338:15) |
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
marc@ItsAllGood ~/Documents/Projects/pscripts/rethinkdb $ make | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '1.10.1-fallback' (defined in ./scripts/gen-version.sh) | |
./scripts/gen-version.sh: Warning: could not determine the version, using the default version '0.0-internal-unknown-fallback' (defined in ./scripts/gen-version.sh) | |
[1/17] NPM-I coffee-script | |
[2/17] LN support/usr/bin/coffee | |
[3/17] COFFEE build/release/rethinkdb_web_assets/cluster-min.js | |
[4/17] NPM-I less | |
[5/17] LN support/usr/bin/lessc | |
[6/17] LESSC build/release/rethinkdb_web_assets/cluster.css | |
[7/17] NPM-I protobufjs |
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
#this query works | |
r.table("course").filter({ | |
:Curriculum =>{ | |
:Year => 2012, | |
:Quarter => "winter" | |
} | |
}).run.each do |i| | |
puts i | |
end | |
OlderNewer