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: | |
| # Capistrano deployment from hubot | |
| # | |
| # Dependencies: | |
| # Prepare capistrano config files in your repo. | |
| # | |
| # 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
| # dev.rlx.jp | |
| casper.httpAuth = | |
| user: 'http' | |
| password: 'auth' | |
| # test user | |
| casper.testUser = | |
| email: '[email protected]' | |
| password: 'p@ssw0rd' |
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
| machine: | |
| timezone: | |
| Asia/Tokyo | |
| hosts: | |
| ci.example.com: 127.0.0.1 | |
| php: | |
| version: 5.6.2 | |
| node: | |
| version: 0.10.28 | |
| python: |
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 scripts to greet members friendly | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # 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
| 'use strict' | |
| class NgWebsocket | |
| @$inject: ['$window', '$location', '$rootScope'] | |
| constructor: (@$window, @$location, @$rootScope) -> | |
| @WebSocket = @$window.WebSocket || @$window.MozWebSocket || @$window.WebkitWebSocket | |
| @client = null | |
| @queue = | |
| 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
| 'use strict' | |
| angular.module('chatcenter.filters') | |
| .filter 'nl2br', () -> | |
| (input) -> | |
| (input+'').replace(/(:?\r\n|\n\r|\r|\n| )/g, '<br>') |
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
| #!/usr/bin/env ruby | |
| require 'json' | |
| json = JSON.parse(STDIN.read) | |
| tr = [] | |
| tds = [] | |
| fetch = lambda { |o| | |
| tr = o.keys |
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
| namespace :db do | |
| %w[create migrate reset rollback seed setup].each do |command| | |
| desc "Rake db:#{command}" | |
| task command.to_sym do | |
| on roles(:app), in: :sequence, wait: 5 do | |
| within current_path do | |
| with :rails_env => fetch(:rails_env) do | |
| execute :rake, "db:#{command}" | |
| end | |
| end |
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
| --- | |
| - hosts: b2g | |
| remote_user: ubuntu | |
| sudo: yes | |
| vars: | |
| - ccache_size: 3GB | |
| - git_user: b2g | |
| - git_email: [email protected] | |
| - b2g_repo: git://github.com/mozilla-b2g/B2G.git |
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
| .vspace(50); | |
| .vspace(@n, @i: 5) when (@i =< @n) { | |
| .vspace-@{i} { | |
| margin-top: @i * 1px; | |
| margin-bottom: @i * 1px; | |
| } | |
| .vspace-tp-@{i} { | |
| margin-top: @i * 1px; | |
| } |