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 Scene < ActiveRecord::Base | |
| has_and_belongs_to_many :buttons | |
| has_many :overlay_buttons | |
| has_many :flag_buttons | |
| has_many :ticker_buttons | |
| has_many :bug_buttons | |
| has_many :background_buttons | |
| has_many :other_buttons | |
| has_many :preset_buttons | |
| has_many :button_groups |
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
| # Description: | |
| # Hubot will listen for potential math band names. | |
| # | |
| # Dependencies: | |
| # Requires an inflector. (http://code.google.com/p/inflection-js/) | |
| # | |
| # Configuration: | |
| # None | |
| # | |
| # Commands: |
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
| var mod; | |
| mod = angular.module('sceneServices', ['ngResource']); | |
| mod.factory('sceneResource', function($resource) { | |
| return $resource("/sceenz.json"); | |
| }); |
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
| util = require "util" | |
| exec = require("child_process").exec | |
| module.exports = (robot) -> | |
| robot.router.post "/github", (req, res) -> | |
| payload = JSON.parse req.body.payload | |
| if payload.ref is "refs/heads/master" | |
| robot.messageRoom 'github', "Recieved master, deploying to production." | |
| child = exec "/app/pullpushprod.sh", (err, stdout, stderr) -> |
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 ChannelBox < Chyron | |
| class Scene | |
| def play(id) | |
| send_command "B\\PL\\#{id}" | |
| end | |
| def load(id) | |
| send_command "B\\LO\\#{id}" | |
| end | |
| def stop(id) | |
| send_command "B\\ST\\#{id}" |
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
| BOOKSURVEY1476BFG | |
| BOOKSURVEY1976BFD | |
| BOOKSURVEY1979QWE |
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
| d5l58nveajaeng=> select * from posts; | |
| id | message | author_name | author_image | posted_at | url | channel_id | service_id | org_id | created_at | updated_at | type | service_data | |
| ----+---------+-----------------------+---------------------------------------------------------+---------------------+-----+------------+------------+--------+----------------------------+----------------------------+--------------+------------------------------------------- |
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
| \x7b226964223a2233363235393233383637355f31303135313034323038323332333637365f37383130353935222c2266726f6d223a7b226e616d65223a2254696e61204c617772656e6365204c6563686c6572222c226964223a2231343032313330303532227d2c226d657373616765223a22486177616969222c2263616e5f72656d6f7665223a2266616c7365222c22637265617465645f74696d65223a22323031322d30372d30365430323a35303a31312b30303030222c226c696b655f636f756e74223a2231222c22757365725f6c696b6573223a2266616c7365222c226c696b6573223a2231227d |
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
| replaceMethod = function(entry) { | |
| entry.parent.$el.fadeOut(250,function(){ | |
| entry.parent.$el.html(entry.$el.html()); | |
| entry.parent.$el.fadeIn(250); | |
| }); | |
| }; | |
| exports.add = replaceMethod |
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
| this.require.define({"outputs/view/test":function(exports,require,module){ | |
| exports.awesome = function(){console.log("WOOO")} | |
| console.log("required!") | |
| }}) |