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
bear | |
desert | |
average_population: 2 | |
maximum_population: 2 | |
mortality_rate: 100.00% | |
age: 0.00% | |
cold: 0.00% | |
hot: 100.00% | |
hunger: 0.00% | |
thirst: 0.00% |
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
<?php | |
use Silex\Provider\FormServiceProvider; | |
use Silex\Provider\HttpCacheServiceProvider; | |
use Silex\Provider\MonologServiceProvider; | |
use Silex\Provider\SecurityServiceProvider; | |
use Silex\Provider\SessionServiceProvider; | |
use Silex\Provider\TranslationServiceProvider; | |
use Silex\Provider\TwigServiceProvider; | |
use Silex\Provider\UrlGeneratorServiceProvider; |
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
<?php | |
require_once __DIR__.'/OAuthSimple.php'; | |
function authenticateDiscogs() { | |
// This example uses the OAuthSimple library for PHP | |
// found here: https://github.com/jrconlin/oauthsimple/tree/master/php | |
// | |
// For more information about the OAuth process for applications | |
// accessing Discogs API, read: |
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
// Generated on 2014-07-22 using generator-webapp 0.4.9 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { |
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
module.exports = (robot) -> | |
robot.hear /(.*)/i, (msg) -> | |
fool msg | |
robot.respond /(.*)/i, (msg) -> | |
fool msg | |
fool = (msg) -> | |
newMsg = msg.split('').reverse().join('') | |
msg.send newMsg |