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
// Note: this example assumes that you have a door object in your room with the ID of 0, or name of oDoor. | |
// Another assumption is that the WalkableArea value that connects the indoors and outdoors has an ID of 3 | |
// Effectively, all this script does is checks and sets states based on when the player steps on a given region. | |
// Keep in mind that the Object Properties are prepared outside of this script. The properties are: | |
// "open", and "inside_building", both boolean values. | |
// These properties are set based on which region the player steps on. | |
// It's assumed that region 1 is inside the doorway, region 2 is outside it. | |
// Each region, upon being stepped on, switches itself off and turns on the other one | |
// while setting the "inside_building" state. |
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
{ | |
"type":"Video", | |
"id":"https://peertube2.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5", | |
"name":"Big Buck Bunny","duration":"PT596S","uuid":"5a6133b8-3e0c-40dc-b859-69d0540c3fe5", | |
"tag":[ | |
{ | |
"type":"Hashtag", | |
"name":"blender" | |
}], | |
"category": |
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
function personaLogin(url) { | |
navigator.id.get(function(assertion) { | |
if (assertion) { | |
// This code will be invoked once the user has successfully | |
// selected an email address they control to sign in with. | |
$.ajax({ | |
url: '/users/sign_in', | |
type: "POST", | |
dataType: "json", |
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
Using tentd (0.0.1) from git://github.com/tent/tentd.git (at master) | |
NoMethodError: undefined method `[]' for nil:NilClass | |
An error occurred while installing tentd (0.0.1), and Bundler cannot continue. | |
Make sure that `gem install tentd -v '0.0.1'` succeeds before bundling. |
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
rake aborted! | |
/var/lib/gems/1.8/gems/heroku_san-2.1.1/lib/tasks.rb:112: syntax error, unexpected ':', expecting kEND | |
puts stage.push_config RACK_ENV: stage.name | |
^ | |
(See full trace by running task with --trace) | |
Exiting | |
/var/lib/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:240:in `require': no such file to load -- /home/sean/Workspace/Rails/d-script/diasporaaa/config/initializers/secret_token.rb (LoadError) | |
from /var/lib/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:240:in `require' | |
from /var/lib/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:223:in `load_dependency' |
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
# Copyright (c) 2010-2011, Diaspora Inc. This file is | |
# licensed under the Affero General Public License version 3 or later. See | |
# the COPYRIGHT file. | |
defaults: &defaults | |
###################################################### | |
Environment Configuration | |
###################################################### |