This file contains hidden or 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
| God.watch do |w| | |
| w.name = "tstats-worker" | |
| w.group = "tstats" | |
| w.interval = 30.seconds | |
| w.start = "/usr/local/www/wiwz.net/tstats/script/worker.pl" | |
| #w.dir = "/home/tstats_worker" | |
| #w.log = "/home/tstats_worker/worker.log" | |
| #w.uid = 'tstats_worker' | |
| #w.gid = 'tstats_worker' |
This file contains hidden or 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
| // From http://217.25.215.20/tn/tablo/map/js/def/def.js | |
| //**************************************************** | |
| //---Вспомогательные константы и перечисления | |
| //**************************************************** | |
| //Массивы для хранения значений градусов и соответствующих им значений курсов | |
| var ARRAY_DEGREE_VALUES = new Array(); | |
| var BASE_IMAGE_PATH = "images/"; |
This file contains hidden or 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
| sletixbook :: work/cleanplates/apiserv » mvn jetty:run | |
| [INFO] Scanning for projects... | |
| [WARNING] | |
| [WARNING] Some problems were encountered while building the effective model for com.cleanplates:cleanplates-apiserv:war:1.0-SNAPSHOT | |
| [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: cglib:cglib-nodep:jar -> version [2.1_3,) vs 2.2 @ line 71, column 21 | |
| [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 431, column 29 | |
| [WARNING] | |
| [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
| [WARNING] | |
| [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. |
This file contains hidden or 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
| class Adminapp.Router extends Backbone.Router | |
| body: ".body-container.js" | |
| initialize: (options) -> | |
| @authenticated = !!options.authenticated | |
| @locations = new Adminapp.Models.Locations | |
| if @authenticated | |
| @locations.fetch() | |
| beforeRoute: (name) -> |
This file contains hidden or 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
| sletixbook :: ~ » curl api.cleanplates.dev/fixtures/images | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> | |
| <title>Error 500 Cannot invoke method newReader() on null object</title> | |
| </head> | |
| <body><h2>HTTP ERROR 500</h2> | |
| <p>Problem accessing /fixtures/images. Reason: | |
| <pre> Cannot invoke method newReader() on null object</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException: Cannot invoke method newReader() on null object | |
| at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) |
This file contains hidden or 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 'bowling' | |
| describe Bowling do | |
| before(:each) do | |
| @bowling = Bowling.new | |
| end | |
| it "should score 0 for gutter game" do | |
| 20.times { @bowling.hit(0) } | |
| @bowling.score.should == 0 |
This file contains hidden or 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_once 'Bowling.php'; | |
| class DescribeNewBowlingGame extends PHPSpec_Context | |
| { | |
| private $_bowling = null; | |
| public function before() | |
| { | |
| $this->_bowling = new Bowling; |
This file contains hidden or 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
| |~bem/ | |
| | |~blocks/ | |
| | | |~b-confirm-logout/ | |
| | | | |-b-confirm-logout.deps.js | |
| | | | `-b-confirm-logout.js | |
| | | |~b-desktop/ | |
| | | | |~__start-menu/ | |
| | | | | |-b-desktop__start-menu.deps.js | |
| | | | | `-b-desktop__start-menu.js | |
| | | | |~__sub-start-menu/ |
This file contains hidden or 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
| - @players.each do |player| | |
| %h3= player.title | |
| %b Player results: | |
| %ul | |
| - player.results.each do |result| | |
| %li= result.current_handicap |