entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "('#disqus-on').remove()\n )\n\n # console.log \"MICK\"\n # $('#first-page-background').css(\"position\"",
"end": 2287,
"score": 0.9562557935714722,
"start": 2283,
"tag": "NAME",
"value": "MICK"
}
] | assets/_coffeescript/deadrooster.js.coffee | dirtyhenry/blog-deadrooster-org | 0 | # This is all the JavaScript required for the DeadRooster blog
jQuery ->
# Replace Spotify div by new content
$('.dr-playlist').each(() ->
# Create the button
button = $(document.createElement('button')).addClass('btn').addClass('btn-success').addClass('btn-lg')
button.attr('dr-spotify-... | 937 | # This is all the JavaScript required for the DeadRooster blog
jQuery ->
# Replace Spotify div by new content
$('.dr-playlist').each(() ->
# Create the button
button = $(document.createElement('button')).addClass('btn').addClass('btn-success').addClass('btn-lg')
button.attr('dr-spotify-... | true | # This is all the JavaScript required for the DeadRooster blog
jQuery ->
# Replace Spotify div by new content
$('.dr-playlist').each(() ->
# Create the button
button = $(document.createElement('button')).addClass('btn').addClass('btn-success').addClass('btn-lg')
button.attr('dr-spotify-... |
[
{
"context": "= false\n\n $scope.player_list = [\n {name: \"Anish George\", parish: \"Defence Colony\"},\n {name: \"Jibin ",
"end": 279,
"score": 0.9998750686645508,
"start": 267,
"tag": "NAME",
"value": "Anish George"
},
{
"context": "George\", parish: \"Defence Colony\... | js/directives/match.coffee | bassoGeorge/shuttle-up-2015 | 0 | angular.module 'shuttleApp.directives', []
.directive 'saMatch', () ->
restrict: 'E'
templateUrl: 'templates/directives/dir_match.html'
controller: ($scope, $log) ->
$scope.editting = true
$scope.played = false
$scope.player_list = [
{name: "Anish George", parish: "Defence Colony"},
{name... | 171799 | angular.module 'shuttleApp.directives', []
.directive 'saMatch', () ->
restrict: 'E'
templateUrl: 'templates/directives/dir_match.html'
controller: ($scope, $log) ->
$scope.editting = true
$scope.played = false
$scope.player_list = [
{name: "<NAME>", parish: "Defence Colony"},
{name: "<NA... | true | angular.module 'shuttleApp.directives', []
.directive 'saMatch', () ->
restrict: 'E'
templateUrl: 'templates/directives/dir_match.html'
controller: ($scope, $log) ->
$scope.editting = true
$scope.played = false
$scope.player_list = [
{name: "PI:NAME:<NAME>END_PI", parish: "Defence Colony"},
... |
[
{
"context": "s = [\n { \"id\": 1, \"text\": \"Tim Berners-Lee invented the Internet.\"},\n ",
"end": 550,
"score": 0.9996874928474426,
"start": 535,
"tag": "NAME",
"value": "Tim Berners-Lee"
}
] | mini-project-1/src/public/coffee/services/QuestionsService.coffee | codyseibert/random | 3 | # Used for retrieving the questions
angular.module('MINIAPP')
.factory('QuestionsService', [
'HttpStub',
(HttpStub) ->
theQuestions = null
ret =
# Questions are loaded from the backend
isQuestionsLoaded: () ->
return theQue... | 140759 | # Used for retrieving the questions
angular.module('MINIAPP')
.factory('QuestionsService', [
'HttpStub',
(HttpStub) ->
theQuestions = null
ret =
# Questions are loaded from the backend
isQuestionsLoaded: () ->
return theQue... | true | # Used for retrieving the questions
angular.module('MINIAPP')
.factory('QuestionsService', [
'HttpStub',
(HttpStub) ->
theQuestions = null
ret =
# Questions are loaded from the backend
isQuestionsLoaded: () ->
return theQue... |
[
{
"context": "#################################\n\nstorage_key = 'ip_qq_1'\n\nservice = null\ncallbacks = []\n\nbinary_string_to",
"end": 3358,
"score": 0.9852441549301147,
"start": 3351,
"tag": "KEY",
"value": "ip_qq_1"
}
] | webterm/ip.coffee | iambus/WebTerm | 4 |
##################################################
# imports
##################################################
if module?.exports?
encoding = require '../encoding'
else
encoding = this.encoding
##################################################
# QQWry implementation
#############################################... | 85262 |
##################################################
# imports
##################################################
if module?.exports?
encoding = require '../encoding'
else
encoding = this.encoding
##################################################
# QQWry implementation
#############################################... | true |
##################################################
# imports
##################################################
if module?.exports?
encoding = require '../encoding'
else
encoding = this.encoding
##################################################
# QQWry implementation
#############################################... |
[
{
"context": " pkg.version %>\n * https://github.com/dfournier/plasticine\n *\n * Copyrigh",
"end": 3020,
"score": 0.8997528553009033,
"start": 3011,
"tag": "USERNAME",
"value": "dfournier"
},
{
"context": "icine\n *\n * Cop... | Gruntfile.coffee | davidfou/plasticine | 1 | "use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON("package.json")
dir:
source : 'source/'
bower : 'components/'
tmp : '.tmp/'
# Task configuration.
clean:
tmp : ["<%= dir.tmp %>"]
dist : ... | 168307 | "use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON("package.json")
dir:
source : 'source/'
bower : 'components/'
tmp : '.tmp/'
# Task configuration.
clean:
tmp : ["<%= dir.tmp %>"]
dist : ... | true | "use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON("package.json")
dir:
source : 'source/'
bower : 'components/'
tmp : '.tmp/'
# Task configuration.
clean:
tmp : ["<%= dir.tmp %>"]
dist : ... |
[
{
"context": "#\n# Code from [`groc/lib/utils`][1]\n#\n# @copyright Ian MacLeod and groc contributors\n#\n# [1]: https://github.com",
"end": 87,
"score": 0.9998384714126587,
"start": 76,
"tag": "NAME",
"value": "Ian MacLeod"
},
{
"context": "and groc contributors\n#\n# [1]: https://g... | lib/utils/processDocTags.coffee | vitkarpov/grock | 1 | ###
# # Process Doc Tags
#
# Code from [`groc/lib/utils`][1]
#
# @copyright Ian MacLeod and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee
###
Q = require 'q'
DOC_TAGS = require '../docTags'
humanize = require './humanize'
TAG_REGEX = /(?:^|\s)@(\w+)(?:\s+(.*))?/
TAG_VALUE_... | 195138 | ###
# # Process Doc Tags
#
# Code from [`groc/lib/utils`][1]
#
# @copyright <NAME> and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee
###
Q = require 'q'
DOC_TAGS = require '../docTags'
humanize = require './humanize'
TAG_REGEX = /(?:^|\s)@(\w+)(?:\s+(.*))?/
TAG_VALUE_REGEX... | true | ###
# # Process Doc Tags
#
# Code from [`groc/lib/utils`][1]
#
# @copyright PI:NAME:<NAME>END_PI and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee
###
Q = require 'q'
DOC_TAGS = require '../docTags'
humanize = require './humanize'
TAG_REGEX = /(?:^|\s)@(\w+)(?:\s+(.*))?/
T... |
[
{
"context": "->\n assert.equal utils.capitalize('tiger'), 'Tiger'\n\n it 'undefined handling', ->\n assert.equal ",
"end": 271,
"score": 0.6417661905288696,
"start": 267,
"tag": "NAME",
"value": "iger"
},
{
"context": "defined\n\ndescribe 'splitName', ->\n expected = [ 'Don... | test/test.coffee | mullerzs/scapula-utils | 0 | _ = require 'underscore'
utils = require '../lib/scapula-utils'
assert = require 'assert'
# String ----------------------------------------------------------------------
describe 'capitalize', ->
it 'basic func', ->
assert.equal utils.capitalize('tiger'), 'Tiger'
it 'undefined handling', ->
assert.equal... | 86827 | _ = require 'underscore'
utils = require '../lib/scapula-utils'
assert = require 'assert'
# String ----------------------------------------------------------------------
describe 'capitalize', ->
it 'basic func', ->
assert.equal utils.capitalize('tiger'), 'T<NAME>'
it 'undefined handling', ->
assert.equ... | true | _ = require 'underscore'
utils = require '../lib/scapula-utils'
assert = require 'assert'
# String ----------------------------------------------------------------------
describe 'capitalize', ->
it 'basic func', ->
assert.equal utils.capitalize('tiger'), 'TPI:NAME:<NAME>END_PI'
it 'undefined handling', ->
... |
[
{
"context": "to: \"author\"\n post = new Post(author: { name: \"Jonas\", email: \"jonas@elabs.se\" })\n expect(post.name",
"end": 274,
"score": 0.9996686577796936,
"start": 269,
"tag": "NAME",
"value": "Jonas"
},
{
"context": " post = new Post(author: { name: \"Jonas\", email:... | test/model/delegate.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe "Serenade.Model.delegate", ->
it "sets up delegated attributes", ->
class Post extends Serenade.Model
@delegate "name", "email", to: "author"
post = new Post(author: { name: "Jonas", email: "jonas@elabs.se" })
expect(post.... | 29980 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe "Serenade.Model.delegate", ->
it "sets up delegated attributes", ->
class Post extends Serenade.Model
@delegate "name", "email", to: "author"
post = new Post(author: { name: "<NAME>", email: "<EMAIL>" })
expect(post.name).... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe "Serenade.Model.delegate", ->
it "sets up delegated attributes", ->
class Post extends Serenade.Model
@delegate "name", "email", to: "author"
post = new Post(author: { name: "PI:NAME:<NAME>END_PI", email: "PI:EMAIL:<EMAIL>END_... |
[
{
"context": " at: \"@\",\n insertTpl: '<a href=\"/users/${name}\" target=\"_blank\">@${name}</a>',\n data: @par",
"end": 5677,
"score": 0.5140715837478638,
"start": 5673,
"tag": "NAME",
"value": "name"
},
{
"context": "nsertTpl: '<a href=\"/users/${name}\" target=\"_bl... | app/assets/javascripts/spaces/tasks.coffee | pamelladnanexus/pfda-release-repo | 57 | class SpacesTasksView extends Precision.SpacesTasks.PageModel
getTaskById: (task_id) ->
return $.get("/spaces/#{@space_id}/tasks/#{task_id}/task")
updateSelected: (e) ->
tasksActions = @selectedTasksActions()
@selectedItems.remove e.target.value
delete(tasksActions[e.target.value])
if e.target.... | 72987 | class SpacesTasksView extends Precision.SpacesTasks.PageModel
getTaskById: (task_id) ->
return $.get("/spaces/#{@space_id}/tasks/#{task_id}/task")
updateSelected: (e) ->
tasksActions = @selectedTasksActions()
@selectedItems.remove e.target.value
delete(tasksActions[e.target.value])
if e.target.... | true | class SpacesTasksView extends Precision.SpacesTasks.PageModel
getTaskById: (task_id) ->
return $.get("/spaces/#{@space_id}/tasks/#{task_id}/task")
updateSelected: (e) ->
tasksActions = @selectedTasksActions()
@selectedItems.remove e.target.value
delete(tasksActions[e.target.value])
if e.target.... |
[
{
"context": "\nevents = new EventEmitter()\n\nserverUrl = 'http://82.240.88.61:3030'\n\n# if !fs.existsSync __dirname+'/bd.json'\n#",
"end": 340,
"score": 0.9985998272895813,
"start": 328,
"tag": "IP_ADDRESS",
"value": "82.240.88.61"
}
] | src/app/app.coffee | CrepiereAuto/Soft | 0 | 'use strict'
jQuery = $ = require 'jquery'
EventEmitter = require 'events'
io = require 'socket.io-client'
jsonfile = require 'jsonfile'
Handlebars = require 'handlebars'
fs = require 'fs'
request = require 'request'
gpio = require 'gpio'
IOT = require('socket.io-iot').default
events = new EventEmitter()
serverUrl = ... | 53910 | 'use strict'
jQuery = $ = require 'jquery'
EventEmitter = require 'events'
io = require 'socket.io-client'
jsonfile = require 'jsonfile'
Handlebars = require 'handlebars'
fs = require 'fs'
request = require 'request'
gpio = require 'gpio'
IOT = require('socket.io-iot').default
events = new EventEmitter()
serverUrl = ... | true | 'use strict'
jQuery = $ = require 'jquery'
EventEmitter = require 'events'
io = require 'socket.io-client'
jsonfile = require 'jsonfile'
Handlebars = require 'handlebars'
fs = require 'fs'
request = require 'request'
gpio = require 'gpio'
IOT = require('socket.io-iot').default
events = new EventEmitter()
serverUrl = ... |
[
{
"context": ": 1, hostname: 'host1', ip: '1.2.3.4', username: 'Glowacki', password: '12345' },\n { id: 2, hostname: '",
"end": 357,
"score": 0.9996243715286255,
"start": 349,
"tag": "USERNAME",
"value": "Glowacki"
},
{
"context": ", ip: '1.2.3.4', username: 'Glowacki', password... | app/assets/javascript/models/Host.coffee | ehudkaldor/GateKeeper | 0 | define ["App", "ember", "ember-data"], (App, Ember, DS) ->
App.Host = DS.Model.extend
hostname: DS.attr('string'),
ip: DS.attr('string'),
username: DS.attr('string'),
password: DS.attr('string')
console.log("Host model")
App.Host.reopenClass
FIXTURES: [
{ id: 1, hostname: 'host1... | 109307 | define ["App", "ember", "ember-data"], (App, Ember, DS) ->
App.Host = DS.Model.extend
hostname: DS.attr('string'),
ip: DS.attr('string'),
username: DS.attr('string'),
password: DS.attr('string')
console.log("Host model")
App.Host.reopenClass
FIXTURES: [
{ id: 1, hostname: 'host1... | true | define ["App", "ember", "ember-data"], (App, Ember, DS) ->
App.Host = DS.Model.extend
hostname: DS.attr('string'),
ip: DS.attr('string'),
username: DS.attr('string'),
password: DS.attr('string')
console.log("Host model")
App.Host.reopenClass
FIXTURES: [
{ id: 1, hostname: 'host1... |
[
{
"context": "map).toBeDefined()\n map2 = new Map({'20': 'ok', 'alice': 'wonderland'})\n it \"should add passed object's",
"end": 188,
"score": 0.9414763450622559,
"start": 183,
"tag": "NAME",
"value": "alice"
},
{
"context": "efined()\n map2 = new Map({'20': 'ok', 'alice': 'wonde... | tests/Map.spec.coffee | chenglou/data-structures | 106 | Map = require('../source').Map
describe "Create hash map", ->
map = new Map()
it "should give an empty hash map", ->
expect(map).toBeDefined()
map2 = new Map({'20': 'ok', 'alice': 'wonderland'})
it "should add passed object's (key, value) pairs to the map", ->
# console.log map2
callback = jasmine.... | 147197 | Map = require('../source').Map
describe "Create hash map", ->
map = new Map()
it "should give an empty hash map", ->
expect(map).toBeDefined()
map2 = new Map({'20': 'ok', '<NAME>': 'w<NAME>'})
it "should add passed object's (key, value) pairs to the map", ->
# console.log map2
callback = jasmine.cr... | true | Map = require('../source').Map
describe "Create hash map", ->
map = new Map()
it "should give an empty hash map", ->
expect(map).toBeDefined()
map2 = new Map({'20': 'ok', 'PI:NAME:<NAME>END_PI': 'wPI:NAME:<NAME>END_PI'})
it "should add passed object's (key, value) pairs to the map", ->
# console.log ma... |
[
{
"context": "-exunit': exunit\n\n provideProvider: ->\n key: 'elixir-mix'\n mod: require './mix'\n",
"end": 230,
"score": 0.9967201352119446,
"start": 220,
"tag": "KEY",
"value": "elixir-mix"
}
] | lib/build-tools-elixir.coffee | deprint/build-tools-elixir | 0 | compiler = require './compiler-errors'
exunit = require './exunit'
module.exports = BuildToolsElixir =
provideProfiles: ->
'elixir-compiler': compiler
'elixir-exunit': exunit
provideProvider: ->
key: 'elixir-mix'
mod: require './mix'
| 216212 | compiler = require './compiler-errors'
exunit = require './exunit'
module.exports = BuildToolsElixir =
provideProfiles: ->
'elixir-compiler': compiler
'elixir-exunit': exunit
provideProvider: ->
key: '<KEY>'
mod: require './mix'
| true | compiler = require './compiler-errors'
exunit = require './exunit'
module.exports = BuildToolsElixir =
provideProfiles: ->
'elixir-compiler': compiler
'elixir-exunit': exunit
provideProvider: ->
key: 'PI:KEY:<KEY>END_PI'
mod: require './mix'
|
[
{
"context": "## Project: Ember Facebook\n## Copyright: ©2012 Luan Santos\n## License: Licensed under MIT license (see LI",
"end": 140,
"score": 0.9993424415588379,
"start": 129,
"tag": "NAME",
"value": "Luan Santos"
}
] | src/ember-facebook.coffee | ryac/ember-facebook | 1 | ## ==========================================================================
## Project: Ember Facebook
## Copyright: ©2012 Luan Santos
## License: Licensed under MIT license (see LICENSE)
## ==========================================================================
## -----------------------------------------... | 196647 | ## ==========================================================================
## Project: Ember Facebook
## Copyright: ©2012 <NAME>
## License: Licensed under MIT license (see LICENSE)
## ==========================================================================
## ----------------------------------------------... | true | ## ==========================================================================
## Project: Ember Facebook
## Copyright: ©2012 PI:NAME:<NAME>END_PI
## License: Licensed under MIT license (see LICENSE)
## ==========================================================================
## --------------------------------... |
[
{
"context": " event.preventDefault()\n\n password = $('#auth-setup-password').val()\n confirmPassword = $('#auth-setup-conf",
"end": 438,
"score": 0.7918656468391418,
"start": 424,
"tag": "PASSWORD",
"value": "setup-password"
},
{
"context": " event.preventDefault()\n ... | src/js/extension/ux/auth.coffee | obi1kenobi/jester | 2 | logger = require('../../lib/util/logging').logger(['ext', 'ux', 'auth'])
sender = require('../messaging/ui/sender')
authCleanup = () ->
logger("Cleaning up auth...")
$('#jester-auth').addClass('hidden')
getSetupSubmitHandler = (authFinishedCb) ->
return (event) ->
# we never want to leav... | 136786 | logger = require('../../lib/util/logging').logger(['ext', 'ux', 'auth'])
sender = require('../messaging/ui/sender')
authCleanup = () ->
logger("Cleaning up auth...")
$('#jester-auth').addClass('hidden')
getSetupSubmitHandler = (authFinishedCb) ->
return (event) ->
# we never want to leav... | true | logger = require('../../lib/util/logging').logger(['ext', 'ux', 'auth'])
sender = require('../messaging/ui/sender')
authCleanup = () ->
logger("Cleaning up auth...")
$('#jester-auth').addClass('hidden')
getSetupSubmitHandler = (authFinishedCb) ->
return (event) ->
# we never want to leav... |
[
{
"context": "ntials =\n email: email\n password: password\n\n Account.login {rememberMe: rememberMe}, _cr",
"end": 763,
"score": 0.9980359673500061,
"start": 755,
"tag": "PASSWORD",
"value": "password"
}
] | frontend/common/services/authorization/authorization.coffee | Contactis/translation-manager | 0 | angular.module 'translation.services.authorization', [
'ui.router'
'toastr'
'ngCookies'
'lbServices'
'translation.modules.languages'
'translation.services.account'
'translation.providers.userPermissionsSettings'
]
.service 'AuthorizationService', ($q, $state, $timeout, $log, $filter, toastr, AccountServi... | 37776 | angular.module 'translation.services.authorization', [
'ui.router'
'toastr'
'ngCookies'
'lbServices'
'translation.modules.languages'
'translation.services.account'
'translation.providers.userPermissionsSettings'
]
.service 'AuthorizationService', ($q, $state, $timeout, $log, $filter, toastr, AccountServi... | true | angular.module 'translation.services.authorization', [
'ui.router'
'toastr'
'ngCookies'
'lbServices'
'translation.modules.languages'
'translation.services.account'
'translation.providers.userPermissionsSettings'
]
.service 'AuthorizationService', ($q, $state, $timeout, $log, $filter, toastr, AccountServi... |
[
{
"context": "t 1\n\n parsed = [\n {chalk:\"overview\",name:\"hello\"}\n {chalk:\"function\",type:[\"function\"],name:",
"end": 198,
"score": 0.6569427251815796,
"start": 193,
"tag": "NAME",
"value": "hello"
},
{
"context": "}\n {chalk:\"function\",type:[\"function\... | test/format_test.coffee | adrianlee44/chalkboard | 1 | require "coffee-script/register"
chalkboard = require "../src/chalkboard"
exports.formatTest =
"header only test": (test) ->
test.expect 1
parsed = [
{chalk:"overview",name:"hello"}
{chalk:"function",type:["function"],name:"wah"}
]
formatted = chalkboard.format parsed, header: true
... | 54172 | require "coffee-script/register"
chalkboard = require "../src/chalkboard"
exports.formatTest =
"header only test": (test) ->
test.expect 1
parsed = [
{chalk:"overview",name:"<NAME>"}
{chalk:"function",type:["function"],name:"<NAME>ah"}
]
formatted = chalkboard.format parsed, header: tr... | true | require "coffee-script/register"
chalkboard = require "../src/chalkboard"
exports.formatTest =
"header only test": (test) ->
test.expect 1
parsed = [
{chalk:"overview",name:"PI:NAME:<NAME>END_PI"}
{chalk:"function",type:["function"],name:"PI:NAME:<NAME>END_PIah"}
]
formatted = chalkboa... |
[
{
"context": " change at any give point in time.\n#\n# Author:\n# aglover\nmodule.exports = (robot) ->\n robot.respond /dyno",
"end": 513,
"score": 0.999657392501831,
"start": 506,
"tag": "USERNAME",
"value": "aglover"
},
{
"context": "robot.respond /dynos (.*)/i, (msg) ->\n \tto... | src/heroku-dynos.coffee | rlugojr/hubot-heroku-dynos | 3 | # Description
# This script will display the current number and types of dynos in use for a Heroku app.
#
# Dependencies:
# none
#
# Configuration:
# HUBOT_HEROKU_API_TOKEN
#
# Commands:
# hubot dynos <app name> - responds with "There are x web dynos and y worker dynos"
#
# Notes:
# This script assumes at leas... | 56827 | # Description
# This script will display the current number and types of dynos in use for a Heroku app.
#
# Dependencies:
# none
#
# Configuration:
# HUBOT_HEROKU_API_TOKEN
#
# Commands:
# hubot dynos <app name> - responds with "There are x web dynos and y worker dynos"
#
# Notes:
# This script assumes at leas... | true | # Description
# This script will display the current number and types of dynos in use for a Heroku app.
#
# Dependencies:
# none
#
# Configuration:
# HUBOT_HEROKU_API_TOKEN
#
# Commands:
# hubot dynos <app name> - responds with "There are x web dynos and y worker dynos"
#
# Notes:
# This script assumes at leas... |
[
{
"context": "Home Page - Hapi Framework'\n\t\tnames: [\n\t\t\t{name: 'Scott'}\n\t\t\t{name: 'Angela'}\n\t\t\t{name: 'Matthew'}\n\t\t\t{na",
"end": 117,
"score": 0.9994130730628967,
"start": 112,
"tag": "NAME",
"value": "Scott"
},
{
"context": "amework'\n\t\tnames: [\n\t\t\t{name: 'S... | chapters/chapter4/modules/base/home.coffee | scotthathaway/hapifw | 4 | module.exports = (request, reply) ->
context =
pageTitle: 'Home Page - Hapi Framework'
names: [
{name: 'Scott'}
{name: 'Angela'}
{name: 'Matthew'}
{name: 'Kaylie'}
{name: 'Joshua'}
{name: 'Karis'}
]
reply.view('home', context)
| 85335 | module.exports = (request, reply) ->
context =
pageTitle: 'Home Page - Hapi Framework'
names: [
{name: '<NAME>'}
{name: '<NAME>'}
{name: '<NAME>'}
{name: '<NAME>'}
{name: '<NAME>'}
{name: '<NAME>'}
]
reply.view('home', context)
| true | module.exports = (request, reply) ->
context =
pageTitle: 'Home Page - Hapi Framework'
names: [
{name: 'PI:NAME:<NAME>END_PI'}
{name: 'PI:NAME:<NAME>END_PI'}
{name: 'PI:NAME:<NAME>END_PI'}
{name: 'PI:NAME:<NAME>END_PI'}
{name: 'PI:NAME:<NAME>END_PI'}
{name: 'PI:NAME:<NAME>END_PI'}
]
reply.view... |
[
{
"context": "-success\" type=\"email\" placeholder=\"Email\" value=\"alex@smith.com\">\n <span class=\"icon is-small is-lef",
"end": 2645,
"score": 0.9998610615730286,
"start": 2631,
"tag": "EMAIL",
"value": "alex@smith.com"
}
] | snippets/bulma_form.cson | kikoseijo/atom-bootstrap-snippets | 0 | '.text.html.php.blade, .text.html, .text.html.php, .text.html.hack':
'Bulma Form - field':
prefix: 'bulma:field'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#00d1b2">Bulma.io</span> Form Field'
body: """
<div class="field">
<label class="lab... | 105804 | '.text.html.php.blade, .text.html, .text.html.php, .text.html.hack':
'Bulma Form - field':
prefix: 'bulma:field'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#00d1b2">Bulma.io</span> Form Field'
body: """
<div class="field">
<label class="lab... | true | '.text.html.php.blade, .text.html, .text.html.php, .text.html.hack':
'Bulma Form - field':
prefix: 'bulma:field'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#00d1b2">Bulma.io</span> Form Field'
body: """
<div class="field">
<label class="lab... |
[
{
"context": "An example Backbone application contributed by\n# [Jérôme Gravel-Niquet](http://jgn.me/). This demo uses a simple\n# [Loca",
"end": 72,
"score": 0.999896228313446,
"start": 52,
"tag": "NAME",
"value": "Jérôme Gravel-Niquet"
},
{
"context": "m/coffee-script/) variation h... | todos.coffee | JasonGiedymin/backbone-todojs-coffeescript | 14 | # An example Backbone application contributed by
# [Jérôme Gravel-Niquet](http://jgn.me/). This demo uses a simple
# [LocalStorage adapter](backbone-localstorage.html)
# to persist Backbone models within your browser.
#
# This [CoffeeScript](http://jashkenas.github.com/coffee-script/) variation has been provided by [J... | 90155 | # An example Backbone application contributed by
# [<NAME>](http://jgn.me/). This demo uses a simple
# [LocalStorage adapter](backbone-localstorage.html)
# to persist Backbone models within your browser.
#
# This [CoffeeScript](http://jashkenas.github.com/coffee-script/) variation has been provided by [<NAME>](http://... | true | # An example Backbone application contributed by
# [PI:NAME:<NAME>END_PI](http://jgn.me/). This demo uses a simple
# [LocalStorage adapter](backbone-localstorage.html)
# to persist Backbone models within your browser.
#
# This [CoffeeScript](http://jashkenas.github.com/coffee-script/) variation has been provided by [P... |
[
{
"context": " ->\n @before ->\n @concert =\n artist: \"Boredoms\",\n venueName: \"The Forum\",\n cityName: ",
"end": 97,
"score": 0.9941705465316772,
"start": 89,
"tag": "NAME",
"value": "Boredoms"
},
{
"context": " \"renders the artist name\", ->\n @assert... | browser/coffee_uglify/spec/concert_template_spec.coffee | bcowgill/javascript-testing-recipes | 7 | JS.Test.describe "templates.concert()", ->
@before ->
@concert =
artist: "Boredoms",
venueName: "The Forum",
cityName: "Kentish Town",
country: "UK"
@html = $(Handlebars.templates.concert(@concert))
@it "renders the artist name", ->
@assertEqual "Boredoms", @html.find(".a... | 26343 | JS.Test.describe "templates.concert()", ->
@before ->
@concert =
artist: "<NAME>",
venueName: "The Forum",
cityName: "Kentish Town",
country: "UK"
@html = $(Handlebars.templates.concert(@concert))
@it "renders the artist name", ->
@assertEqual "B<NAME>", @html.find(".arti... | true | JS.Test.describe "templates.concert()", ->
@before ->
@concert =
artist: "PI:NAME:<NAME>END_PI",
venueName: "The Forum",
cityName: "Kentish Town",
country: "UK"
@html = $(Handlebars.templates.concert(@concert))
@it "renders the artist name", ->
@assertEqual "BPI:NAME:<NAM... |
[
{
"context": "# Copyright (C) 2017 Alexandre Pielucha\n#\n# Permission to use, copy, modify, and/or distr",
"end": 39,
"score": 0.9998682141304016,
"start": 21,
"tag": "NAME",
"value": "Alexandre Pielucha"
}
] | src/app/http/router.coffee | Riemannn/ast_lab | 0 | # Copyright (C) 2017 Alexandre Pielucha
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ... | 102397 | # Copyright (C) 2017 <NAME>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTI... | true | # Copyright (C) 2017 PI:NAME:<NAME>END_PI
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIM... |
[
{
"context": "'hero' }\n { eid: 'e1', type: 'character', name: 'Link' }\n { eid: 'e1', type: 'bbox', shape: [1,2,3,4] ",
"end": 391,
"score": 0.9564181566238403,
"start": 387,
"tag": "NAME",
"value": "Link"
},
{
"context": "enemy' }\n { eid: 'e2', type: 'character', name: 'Tektike... | spec/search/immutable_object_finder_spec.coffee | dcrosby42/metroid-clone | 5 | Finder = require '../../src/javascript/search/immutable_object_finder'
Immutable = require 'immutable'
ExpectHelpers = require '../helpers/expect_helpers'
expectIs = ExpectHelpers.expectIs
chai = require('chai')
expect = chai.expect
assert = chai.assert
imm = Immutable.fromJS
zeldaObjects = imm [
{ eid: 'e1', typ... | 10223 | Finder = require '../../src/javascript/search/immutable_object_finder'
Immutable = require 'immutable'
ExpectHelpers = require '../helpers/expect_helpers'
expectIs = ExpectHelpers.expectIs
chai = require('chai')
expect = chai.expect
assert = chai.assert
imm = Immutable.fromJS
zeldaObjects = imm [
{ eid: 'e1', typ... | true | Finder = require '../../src/javascript/search/immutable_object_finder'
Immutable = require 'immutable'
ExpectHelpers = require '../helpers/expect_helpers'
expectIs = ExpectHelpers.expectIs
chai = require('chai')
expect = chai.expect
assert = chai.assert
imm = Immutable.fromJS
zeldaObjects = imm [
{ eid: 'e1', typ... |
[
{
"context": "lass\n FIXTURES: [\n {\n id: 1\n name: \"Agastache rugosa 'After Eight'\"\n priceInCents: 240\n posi",
"end": 1241,
"score": 0.9482429027557373,
"start": 1225,
"tag": "NAME",
"value": "Agastache rugosa"
},
{
"context": "opagated: no\n }\n {... | app/models/plant.coffee | koenig/moosi | 0 | `import DS from 'ember-data'`
`import divideWithHundret from '../utils/divide-with-hundret'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
Plant = DS.Model.extend
onInit: (-> @get('searchName')).observes('name').on('init')
name: attr 'string', defaultValue: ''
propagated: attr 'boolean', def... | 149933 | `import DS from 'ember-data'`
`import divideWithHundret from '../utils/divide-with-hundret'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
Plant = DS.Model.extend
onInit: (-> @get('searchName')).observes('name').on('init')
name: attr 'string', defaultValue: ''
propagated: attr 'boolean', def... | true | `import DS from 'ember-data'`
`import divideWithHundret from '../utils/divide-with-hundret'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
Plant = DS.Model.extend
onInit: (-> @get('searchName')).observes('name').on('init')
name: attr 'string', defaultValue: ''
propagated: attr 'boolean', def... |
[
{
"context": "sync'\n\n\n\n\n\n# messages in a group\n# key prefix is `m:{group}`\nmodule.exports = (orm) ->\n\treturn {\n\n\t\th",
"end": 71,
"score": 0.6413065791130066,
"start": 70,
"tag": "KEY",
"value": "m"
}
] | src/messages.coffee | derhuerst/shout-orm | 0 | async = require 'async'
# messages in a group
# key prefix is `m:{group}`
module.exports = (orm) ->
return {
has: (group, id) ->
return orm._exists "m:#{group}:#{id}"
.then (exists) -> !!exists
get: (group, id) ->
return orm._get "m:#{group}:#{id}"
.then (data) ->
if not data then throw bo... | 225694 | async = require 'async'
# messages in a group
# key prefix is `<KEY>:{group}`
module.exports = (orm) ->
return {
has: (group, id) ->
return orm._exists "m:#{group}:#{id}"
.then (exists) -> !!exists
get: (group, id) ->
return orm._get "m:#{group}:#{id}"
.then (data) ->
if not data then thro... | true | async = require 'async'
# messages in a group
# key prefix is `PI:KEY:<KEY>END_PI:{group}`
module.exports = (orm) ->
return {
has: (group, id) ->
return orm._exists "m:#{group}:#{id}"
.then (exists) -> !!exists
get: (group, id) ->
return orm._get "m:#{group}:#{id}"
.then (data) ->
if not d... |
[
{
"context": " email: user[\"email\"]\n password: user[\"password\"]\n\n User.create data, (err, user) ->\n if ",
"end": 586,
"score": 0.9914951324462891,
"start": 578,
"tag": "PASSWORD",
"value": "password"
}
] | routes/user.coffee | mattstone/StarterApp-Server | 0 | path = require 'path'
fs = require 'fs'
module.exports = (app) ->
exp = app.exp
User = app.models.User
isEmpty = app.helpers.isEmpty
isNotEmpty = app.helpers.isNotEmpty
exp.post '/signup', (req, res) ->
# validate form
user = req.body.user
if !user? then return res... | 82919 | path = require 'path'
fs = require 'fs'
module.exports = (app) ->
exp = app.exp
User = app.models.User
isEmpty = app.helpers.isEmpty
isNotEmpty = app.helpers.isNotEmpty
exp.post '/signup', (req, res) ->
# validate form
user = req.body.user
if !user? then return res... | true | path = require 'path'
fs = require 'fs'
module.exports = (app) ->
exp = app.exp
User = app.models.User
isEmpty = app.helpers.isEmpty
isNotEmpty = app.helpers.isNotEmpty
exp.post '/signup', (req, res) ->
# validate form
user = req.body.user
if !user? then return res... |
[
{
"context": "s.titleUIText = {\n \"font\": { \n \"name\": \"Verdana\", \n \"size\": 26, \n \"smallCaps\": ",
"end": 622,
"score": 0.8543887734413147,
"start": 619,
"tag": "NAME",
"value": "Ver"
},
{
"context": ".audioVolText = {\n \"font\": { \n \"n... | Base UI Modifications/VS_MessageBox/LEDA_VS_Style.coffee | Archeia/Archeia-Engine-LEDA | 4 | # ===================================================================
#
# Global Styles
# Create a unique font setting and style for most texts found in
# the game.
#
# ===================================================================
# ===================================================================
# M... | 151446 | # ===================================================================
#
# Global Styles
# Create a unique font setting and style for most texts found in
# the game.
#
# ===================================================================
# ===================================================================
# M... | true | # ===================================================================
#
# Global Styles
# Create a unique font setting and style for most texts found in
# the game.
#
# ===================================================================
# ===================================================================
# M... |
[
{
"context": "bull;•••••'\n name: 'Full Name'\n bankName: 'Bank Name'\n order: '______",
"end": 2017,
"score": 0.9980733394622803,
"start": 2008,
"tag": "NAME",
"value": "Full Name"
}
] | src/coffee/check.coffee | gavruk/check | 1 | $ = jQuery
$.check = {}
$.check.fn = {}
$.fn.check = (opts) ->
$.check.fn.construct.apply(this, opts)
class Check
checkTemplate: """
<div class="check-container">
<div class="check">
<div class="front">
<div class="higher">
<div class="name display">{{name}}</div... | 140722 | $ = jQuery
$.check = {}
$.check.fn = {}
$.fn.check = (opts) ->
$.check.fn.construct.apply(this, opts)
class Check
checkTemplate: """
<div class="check-container">
<div class="check">
<div class="front">
<div class="higher">
<div class="name display">{{name}}</div... | true | $ = jQuery
$.check = {}
$.check.fn = {}
$.fn.check = (opts) ->
$.check.fn.construct.apply(this, opts)
class Check
checkTemplate: """
<div class="check-container">
<div class="check">
<div class="front">
<div class="higher">
<div class="name display">{{name}}</div... |
[
{
"context": "\n url : \"/home\"\n views:\n 'main@app.sidebarTheme':\n templateUrl: 'app/features/home/mai",
"end": 311,
"score": 0.9895609021186829,
"start": 290,
"tag": "EMAIL",
"value": "main@app.sidebarTheme"
},
{
"context": "stomer&department&u... | src/app/features/home/main/scripts/routes.coffee | TimeoutZero/basebuild-boilerplate | 0 |
# =============================================
# Main Module
# =============================================
angular.module 'BBB'
.config ($stateProvider, $urlRouterProvider) ->
$stateProvider
.state "app.sidebarTheme.home",
url : "/home"
views:
'main@app.sidebarTheme':
... | 124683 |
# =============================================
# Main Module
# =============================================
angular.module 'BBB'
.config ($stateProvider, $urlRouterProvider) ->
$stateProvider
.state "app.sidebarTheme.home",
url : "/home"
views:
'<EMAIL>':
template... | true |
# =============================================
# Main Module
# =============================================
angular.module 'BBB'
.config ($stateProvider, $urlRouterProvider) ->
$stateProvider
.state "app.sidebarTheme.home",
url : "/home"
views:
'PI:EMAIL:<EMAIL>END_PI':
... |
[
{
"context": "###\n *\n * jQuery ResponsiveText by Gary Hepting\n * https://github.com/ghepting/jquery-responsive",
"end": 48,
"score": 0.9998887181282043,
"start": 36,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "onsiveText by Gary Hepting\n * https://github.com/ghepti... | src/coffee/plugins/jquery-responsiveText.coffee | katophelix/PristinePooch | 357 | ###
*
* jQuery ResponsiveText by Gary Hepting
* https://github.com/ghepting/jquery-responsive-text
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
delayedAdjustText = []
responsiveTextIndex = 0
class ResponsiveText
constructor: (el) ->
@index = r... | 68933 | ###
*
* jQuery ResponsiveText by <NAME>
* https://github.com/ghepting/jquery-responsive-text
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
delayedAdjustText = []
responsiveTextIndex = 0
class ResponsiveText
constructor: (el) ->
@index = responsiveTex... | true | ###
*
* jQuery ResponsiveText by PI:NAME:<NAME>END_PI
* https://github.com/ghepting/jquery-responsive-text
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
delayedAdjustText = []
responsiveTextIndex = 0
class ResponsiveText
constructor: (el) -... |
[
{
"context": " }\n\n options2 = \n {\n username: 711500\n password: \"hackathon2\"\n token: \"ab",
"end": 373,
"score": 0.9992011189460754,
"start": 367,
"tag": "USERNAME",
"value": "711500"
},
{
"context": " {\n username: 711500\n pa... | server/methods/methods.coffee | niinyarko/retail-pay | 0 | Meteor.methods
createTransaction: (doc) ->
res = Transactions.insert doc
payee_phone = Payees.findOne(doc.payee)?.phone_number
payer_phone = Meteor.users.findOne(_id: @userId)?.profile?.phone_number
options1 =
{
vendor: 711500
amount: doc.amount
phone: payer_phone
... | 129763 | Meteor.methods
createTransaction: (doc) ->
res = Transactions.insert doc
payee_phone = Payees.findOne(doc.payee)?.phone_number
payer_phone = Meteor.users.findOne(_id: @userId)?.profile?.phone_number
options1 =
{
vendor: 711500
amount: doc.amount
phone: payer_phone
... | true | Meteor.methods
createTransaction: (doc) ->
res = Transactions.insert doc
payee_phone = Payees.findOne(doc.payee)?.phone_number
payer_phone = Meteor.users.findOne(_id: @userId)?.profile?.phone_number
options1 =
{
vendor: 711500
amount: doc.amount
phone: payer_phone
... |
[
{
"context": "e('gapi')\n .value 'GoogleApp', \n apiKey: '1234'\n clientId: 'abcd'\n\n beforeEach module 'gap",
"end": 221,
"score": 0.9986239671707153,
"start": 217,
"tag": "KEY",
"value": "1234"
},
{
"context": "pp = {\n oauthToken: {\n access_token: '1234... | public/libs/ngGAPI/test/spec/YoutubeSpec.coffee | Evezown/evezown_production | 94 | describe 'GAPI', ->
{
GAPI,Youtube,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '1234'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach inject ($injector) ->
GAPI ... | 43184 | describe 'GAPI', ->
{
GAPI,Youtube,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '<KEY>'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach inject ($injector) ->
GAPI... | true | describe 'GAPI', ->
{
GAPI,Youtube,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: 'PI:KEY:<KEY>END_PI'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach inject ($injector... |
[
{
"context": "Key, i) ->\n <Line\n {...@props}\n key={i}\n color={@props.dataColors[i]}\n coords=",
"end": 1397,
"score": 0.7546555399894714,
"start": 1396,
"tag": "KEY",
"value": "i"
}
] | app/dashboard/line-graph/line-graph.cjsx | Crentist/Panoptes-frontend-spanish | 1 | React = require 'react'
HoverBox = require './hover-box'
Line = require './line'
XAxis = require './x-axis'
XLabels = require './x-labels'
YRules = require './y-rules'
YLabels = require './y-labels'
module?.exports = React.createClass
displayName: 'LineGraph'
axisColor: 'lightgrey'
propTypes:
data: React.P... | 159619 | React = require 'react'
HoverBox = require './hover-box'
Line = require './line'
XAxis = require './x-axis'
XLabels = require './x-labels'
YRules = require './y-rules'
YLabels = require './y-labels'
module?.exports = React.createClass
displayName: 'LineGraph'
axisColor: 'lightgrey'
propTypes:
data: React.P... | true | React = require 'react'
HoverBox = require './hover-box'
Line = require './line'
XAxis = require './x-axis'
XLabels = require './x-labels'
YRules = require './y-rules'
YLabels = require './y-labels'
module?.exports = React.createClass
displayName: 'LineGraph'
axisColor: 'lightgrey'
propTypes:
data: React.P... |
[
{
"context": " session:\n secret: \"I'mma GREYLIEN!\"\n doorman(config)\n # config.doorma",
"end": 681,
"score": 0.8390476703643799,
"start": 667,
"tag": "NAME",
"value": "I'mma GREYLIEN"
},
{
"context": " # config.doorman.session.secret... | src/server/auth/config_test.coffee | RupertJS/rupert-doorman | 0 | doorman = require('./config')
Config = require('rupert').Config
describe 'Doorman', ->
it 'exports a function to configure', ->
doorman.should.be.an.instanceof Function
it 'configures the Rupert config with its route', ->
config = new Config {}
doorman(config)
config.routing.le... | 132791 | doorman = require('./config')
Config = require('rupert').Config
describe 'Doorman', ->
it 'exports a function to configure', ->
doorman.should.be.an.instanceof Function
it 'configures the Rupert config with its route', ->
config = new Config {}
doorman(config)
config.routing.le... | true | doorman = require('./config')
Config = require('rupert').Config
describe 'Doorman', ->
it 'exports a function to configure', ->
doorman.should.be.an.instanceof Function
it 'configures the Rupert config with its route', ->
config = new Config {}
doorman(config)
config.routing.le... |
[
{
"context": "true\n off: false\n long: 'baz'\n 'name=': 'Andrew'\n list: ['rope', 'jelly']\n X: true\n Given ",
"end": 130,
"score": 0.9994250535964966,
"start": 124,
"tag": "NAME",
"value": "Andrew"
},
{
"context": " long: 'baz'\n 'name=': 'Andrew'\n list: ... | node_modules/opted/test/opted.coffee | Arnaelcio/nodeRed | 0 | describe 'opted', ->
Given -> @options =
a: true
b: 'b'
on: true
off: false
long: 'baz'
'name=': 'Andrew'
list: ['rope', 'jelly']
X: true
Given -> @opted = require '../lib/opted'
context 'singleDash false', ->
When -> @args = @opted(@options)
Then -> @args.should.eql [
... | 39381 | describe 'opted', ->
Given -> @options =
a: true
b: 'b'
on: true
off: false
long: 'baz'
'name=': '<NAME>'
list: ['<NAME>', '<NAME>']
X: true
Given -> @opted = require '../lib/opted'
context 'singleDash false', ->
When -> @args = @opted(@options)
Then -> @args.should.eql [
... | true | describe 'opted', ->
Given -> @options =
a: true
b: 'b'
on: true
off: false
long: 'baz'
'name=': 'PI:NAME:<NAME>END_PI'
list: ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI']
X: true
Given -> @opted = require '../lib/opted'
context 'singleDash false', ->
When -> @args = @opted... |
[
{
"context": ", res) ->\n user =\n username: req.body.username\n password: req.body.password\n\n ctx.mo",
"end": 109,
"score": 0.8888164162635803,
"start": 101,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username: req.body.username\n p... | src/modules/controllers/user.controller.coffee | Soundscape/sublime-oauth2 | 0 | module.exports = (ctx) ->
return {
post: (req, res) ->
user =
username: req.body.username
password: req.body.password
ctx.models.user
.create user
.exec (err, user) ->
if err then res.send err
else res.json user
get: (req, res) ->
ctx.mod... | 132144 | module.exports = (ctx) ->
return {
post: (req, res) ->
user =
username: req.body.username
password: <PASSWORD>
ctx.models.user
.create user
.exec (err, user) ->
if err then res.send err
else res.json user
get: (req, res) ->
ctx.models.use... | true | module.exports = (ctx) ->
return {
post: (req, res) ->
user =
username: req.body.username
password: PI:PASSWORD:<PASSWORD>END_PI
ctx.models.user
.create user
.exec (err, user) ->
if err then res.send err
else res.json user
get: (req, res) ->
... |
[
{
"context": "/memecaptain.com/\n# API Docs at:\n# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_",
"end": 94,
"score": 0.9993071556091309,
"start": 91,
"tag": "USERNAME",
"value": "mmb"
},
{
"context": "<text> / <text> - Meme: Bad joke eel\n# Author:\n# boban... | node_modules/hubot-meme/src/meme.coffee | edwardfernando/jualobot | 0 | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# Dependencies:
# None
#
# Commands:
# hubot Y U NO <text> - Meme: Y U NO GUY w/ bottom caption
# hubot I don't always <something> but when i do <text> - Meme:... | 25854 | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# Dependencies:
# None
#
# Commands:
# hubot Y U NO <text> - Meme: Y U NO GUY w/ bottom caption
# hubot I don't always <something> but when i do <text> - Meme:... | true | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# Dependencies:
# None
#
# Commands:
# hubot Y U NO <text> - Meme: Y U NO GUY w/ bottom caption
# hubot I don't always <something> but when i do <text> - Meme:... |
[
{
"context": "e: \"string\"\n password:\n description: \"Password of the backup server\"\n type: \"string\"\n ",
"end": 527,
"score": 0.8523281216621399,
"start": 519,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": "e: \"string\"\n password:\n ... | device-config-schema.coffee | bertreb/pimatic-save | 1 | module.exports = {
title: "pimatic-save device config schemas"
SaveFtpDevice: {
title: "SaveFtp config options"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
host:
description: "Url to the backup server"
type: "string"
port:
description: "P... | 19178 | module.exports = {
title: "pimatic-save device config schemas"
SaveFtpDevice: {
title: "SaveFtp config options"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
host:
description: "Url to the backup server"
type: "string"
port:
description: "P... | true | module.exports = {
title: "pimatic-save device config schemas"
SaveFtpDevice: {
title: "SaveFtp config options"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
host:
description: "Url to the backup server"
type: "string"
port:
description: "P... |
[
{
"context": "uter.get '/', ->\n @res.html app.bind -> h1 'Hello Coffeecup'\napp.start 3000, -> console.log 'Listening.. on p",
"end": 291,
"score": 0.5912797451019287,
"start": 282,
"tag": "NAME",
"value": "Coffeecup"
}
] | node_modules/ethercalc/node_modules/zappajs/node_modules/coffeecup/examples/flatiron/single/app.coffee | kurakuradave/Etherboard | 21 | flatiron = require 'flatiron'
creamer = require 'creamer'
app = flatiron.app
app.use flatiron.plugins.http
app.use creamer, layout: ->
doctype 5
html ->
head ->
title 'Single Page'
body ->
content()
app.router.get '/', ->
@res.html app.bind -> h1 'Hello Coffeecup'
app.start 3000, -> console.... | 33613 | flatiron = require 'flatiron'
creamer = require 'creamer'
app = flatiron.app
app.use flatiron.plugins.http
app.use creamer, layout: ->
doctype 5
html ->
head ->
title 'Single Page'
body ->
content()
app.router.get '/', ->
@res.html app.bind -> h1 'Hello <NAME>'
app.start 3000, -> console.log... | true | flatiron = require 'flatiron'
creamer = require 'creamer'
app = flatiron.app
app.use flatiron.plugins.http
app.use creamer, layout: ->
doctype 5
html ->
head ->
title 'Single Page'
body ->
content()
app.router.get '/', ->
@res.html app.bind -> h1 'Hello PI:NAME:<NAME>END_PI'
app.start 3000, ... |
[
{
"context": "en_idx > -1\n # I Don't Wanna Care - feat. Jim => I Don't Wanna Care\n str = str.substri",
"end": 385,
"score": 0.9788892269134521,
"start": 382,
"tag": "NAME",
"value": "Jim"
},
{
"context": "en_sq_bracket_idx > -1\n # Pharaohs [feat. Roses G... | app/scripts/services/track_cleanup.coffee | moneypenny/seasonal-playlister | 0 | 'use strict'
###*
# @ngdoc service
# @name seasonSoundApp.TrackCleanupSvc
# @description
# # TrackCleanupSvc
# Service in the seasonSoundApp.
###
angular.module('seasonSoundApp')
.service 'TrackCleanupSvc', ->
class TrackCleanup
strip_after_hyphen: (str) ->
hyphen_idx = str.indexOf(' - ')
... | 75369 | 'use strict'
###*
# @ngdoc service
# @name seasonSoundApp.TrackCleanupSvc
# @description
# # TrackCleanupSvc
# Service in the seasonSoundApp.
###
angular.module('seasonSoundApp')
.service 'TrackCleanupSvc', ->
class TrackCleanup
strip_after_hyphen: (str) ->
hyphen_idx = str.indexOf(' - ')
... | true | 'use strict'
###*
# @ngdoc service
# @name seasonSoundApp.TrackCleanupSvc
# @description
# # TrackCleanupSvc
# Service in the seasonSoundApp.
###
angular.module('seasonSoundApp')
.service 'TrackCleanupSvc', ->
class TrackCleanup
strip_after_hyphen: (str) ->
hyphen_idx = str.indexOf(' - ')
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990048408508301,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-full-response.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 64119 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998693466186523,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/alert/alert.controller.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 45240 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998899698257446,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/admin/roles.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 131976 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "Modules.postify(a_post, {\n csrfToken: \"foobar\"\n })\n\n afterEach ->\n Array.from(",
"end": 411,
"score": 0.8702115416526794,
"start": 405,
"tag": "PASSWORD",
"value": "foobar"
}
] | game/static/spirit/scripts/test/suites/postify-spec.coffee | Yoann-Vie/esgi-hearthstone | 3 | describe "postify plugin tests", ->
a_post = null
plugin_postify = null
isHidden = stModules.utils.isHidden
beforeEach ->
fixtures = jasmine.getFixtures()
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures('postify.html')
a_post = document.querySelectorAll('.js... | 85468 | describe "postify plugin tests", ->
a_post = null
plugin_postify = null
isHidden = stModules.utils.isHidden
beforeEach ->
fixtures = jasmine.getFixtures()
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures('postify.html')
a_post = document.querySelectorAll('.js... | true | describe "postify plugin tests", ->
a_post = null
plugin_postify = null
isHidden = stModules.utils.isHidden
beforeEach ->
fixtures = jasmine.getFixtures()
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures('postify.html')
a_post = document.querySelectorAll('.js... |
[
{
"context": "\n role_id: required: true\n password: required: true\n password_confirmation:\n required",
"end": 439,
"score": 0.96543949842453,
"start": 425,
"tag": "PASSWORD",
"value": "required: true"
},
{
"context": ": 'Role is required'\n pas... | vteams-open-source-billing-7978d62/app/javascript/packs/validations.js.coffee | Ayan-devops/web-app | 0 | class window.Validation
@UserSettingForm = ->
$('#user_side_form').validate
onfocusout: (element) ->
$(element).valid()
onkeyup: (element) ->
$(element).valid()
errorClass: 'error invalid-error'
errorElement: 'span'
ignore: 'input[type=hidden]'
rules:
u... | 202305 | class window.Validation
@UserSettingForm = ->
$('#user_side_form').validate
onfocusout: (element) ->
$(element).valid()
onkeyup: (element) ->
$(element).valid()
errorClass: 'error invalid-error'
errorElement: 'span'
ignore: 'input[type=hidden]'
rules:
u... | true | class window.Validation
@UserSettingForm = ->
$('#user_side_form').validate
onfocusout: (element) ->
$(element).valid()
onkeyup: (element) ->
$(element).valid()
errorClass: 'error invalid-error'
errorElement: 'span'
ignore: 'input[type=hidden]'
rules:
u... |
[
{
"context": "###\n * Author: Steven Meyer <svm9@aber.ac.uk>\n * File: bootstrap.coffe",
"end": 32,
"score": 0.9998878240585327,
"start": 20,
"tag": "NAME",
"value": "Steven Meyer"
},
{
"context": "###\n * Author: Steven Meyer <svm9@aber.ac.uk>\n * File: boots... | src/bootstraplib-2.coffee | StevenMeyer/BootstrapLib | 0 | ###
* Author: Steven Meyer <svm9@aber.ac.uk>
* File: bootstrap.coffee
* Description: Scriptable Twitter Bootstrap widgets and component creation.
*
* DO NOT EDIT THE JAVASCRIPT .js FILE DIRECTLY.
* THE JAVASCRIPT IS GENERATED FROM COFFEESCRIPT.
###
# [namespace.coffee](http://github.com/CodeCatalyst... | 217616 | ###
* Author: <NAME> <<EMAIL>>
* File: bootstrap.coffee
* Description: Scriptable Twitter Bootstrap widgets and component creation.
*
* DO NOT EDIT THE JAVASCRIPT .js FILE DIRECTLY.
* THE JAVASCRIPT IS GENERATED FROM COFFEESCRIPT.
###
# [namespace.coffee](http://github.com/CodeCatalyst/namespace.cof... | true | ###
* Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* File: bootstrap.coffee
* Description: Scriptable Twitter Bootstrap widgets and component creation.
*
* DO NOT EDIT THE JAVASCRIPT .js FILE DIRECTLY.
* THE JAVASCRIPT IS GENERATED FROM COFFEESCRIPT.
###
# [namespace.coffee](http://github.c... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998880624771118,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/resources/user-settings.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 216601 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "ask for a random Chuck Norris joke\n#\n# Author:\n# Rodrigo De Frutos <darkrodry@gmail.com>\n\nmodule.exports = (robot) -",
"end": 155,
"score": 0.9998805522918701,
"start": 138,
"tag": "NAME",
"value": "Rodrigo De Frutos"
},
{
"context": "ck Norris joke\n#\n# Author:... | src/chuck-norris-icndb.coffee | darkrodry/hubot-chuck-norris-icndb | 1 | # Description
# Response with a joke from ICNDb
#
# Commands:
# hubot chuck joke - ask for a random Chuck Norris joke
#
# Author:
# Rodrigo De Frutos <darkrodry@gmail.com>
module.exports = (robot) ->
robot.respond /chuck joke/, (msg) ->
msg.http("http://api.icndb.com/jokes/random")
.get() (err, res, ... | 106909 | # Description
# Response with a joke from ICNDb
#
# Commands:
# hubot chuck joke - ask for a random Chuck Norris joke
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.respond /chuck joke/, (msg) ->
msg.http("http://api.icndb.com/jokes/random")
.get() (err, res, body) ->
msg.se... | true | # Description
# Response with a joke from ICNDb
#
# Commands:
# hubot chuck joke - ask for a random Chuck Norris joke
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.respond /chuck joke/, (msg) ->
msg.http("http://api.icndb.com/jokes/random")
.get() (err,... |
[
{
"context": "terableColumns = ->\n return [\n {\n name: 'test'\n },{\n name: 'test2'\n }\n ]\n",
"end": 1413,
"score": 0.9168381690979004,
"start": 1409,
"tag": "NAME",
"value": "test"
},
{
"context": "n [\n {\n name: 'test'\n },{\n name: 'test2'... | lib/plugins/columnFilter/columnFilter.plugin.coffee | LumaPictures/meteor-jquery-datatables | 38 | # ##### Column Filters
ColumnDrillDownFilters =
initializeColumnDrilldownFilters: ->
@prepareColumnDrilldownFilterContainer()
return @getColumnDrilldownFilterContainer()
prepareColumnDrilldownFilterContainer: ->
container = UI.renderWithData Template.dataTableColumnDrilldownFilterContainer, @getData()
... | 75430 | # ##### Column Filters
ColumnDrillDownFilters =
initializeColumnDrilldownFilters: ->
@prepareColumnDrilldownFilterContainer()
return @getColumnDrilldownFilterContainer()
prepareColumnDrilldownFilterContainer: ->
container = UI.renderWithData Template.dataTableColumnDrilldownFilterContainer, @getData()
... | true | # ##### Column Filters
ColumnDrillDownFilters =
initializeColumnDrilldownFilters: ->
@prepareColumnDrilldownFilterContainer()
return @getColumnDrilldownFilterContainer()
prepareColumnDrilldownFilterContainer: ->
container = UI.renderWithData Template.dataTableColumnDrilldownFilterContainer, @getData()
... |
[
{
"context": " : 'us-east-1'\n access_key : generateRandomString()\n secret_key : generateRandomStri",
"end": 530,
"score": 0.9582037329673767,
"start": 510,
"tag": "KEY",
"value": "generateRandomString"
},
{
"context": "enerateRandomString()\n ... | workers/social/testhelper/models/computeproviders/credentialhelper.coffee | ezgikaysi/koding | 1 | { async
expect
withConvertedUser
generateRandomEmail
generateRandomString } = require '../../index'
JCredential = require '../../../lib/social/models/computeproviders/credential'
generateMetaData = (provider) ->
meta = switch provider
when 'google'
projectId : generateRandomString()
... | 182064 | { async
expect
withConvertedUser
generateRandomEmail
generateRandomString } = require '../../index'
JCredential = require '../../../lib/social/models/computeproviders/credential'
generateMetaData = (provider) ->
meta = switch provider
when 'google'
projectId : generateRandomString()
... | true | { async
expect
withConvertedUser
generateRandomEmail
generateRandomString } = require '../../index'
JCredential = require '../../../lib/social/models/computeproviders/credential'
generateMetaData = (provider) ->
meta = switch provider
when 'google'
projectId : generateRandomString()
... |
[
{
"context": "ileoverview Tests for no-dupe-keys rule.\n# @author Ian Christian Myers\n###\n\n'use strict'\n\n#-----------------------------",
"end": 79,
"score": 0.9997736811637878,
"start": 60,
"tag": "NAME",
"value": "Ian Christian Myers"
}
] | src/tests/rules/no-dupe-keys.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-dupe-keys rule.
# @author Ian Christian Myers
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-dupe-keys... | 213353 | ###*
# @fileoverview Tests for no-dupe-keys rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-dupe-keys'
{RuleTester... | true | ###*
# @fileoverview Tests for no-dupe-keys rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-dupe-key... |
[
{
"context": "ageContent[0].content}</p>\n <p>\n A Kristensen,\n A Neil,\n A. Nikstat,\n ",
"end": 342,
"score": 0.9998148083686829,
"start": 330,
"tag": "NAME",
"value": "A Kristensen"
},
{
"context": "\n <p>\n A Kristense... | app/about/authors.cjsx | zooniverse/chimpandsee | 2 | React = require 'react/addons'
cx = React.addons.classSet
Authors = React.createClass
displayName: 'Authors'
render: ->
<div className="authors-page">
<section className="about-section content">
<h2>{@props.pageContent[0].header}</h2>
<p>{@props.pageContent[0].content}</p>
<p>
... | 36028 | React = require 'react/addons'
cx = React.addons.classSet
Authors = React.createClass
displayName: 'Authors'
render: ->
<div className="authors-page">
<section className="about-section content">
<h2>{@props.pageContent[0].header}</h2>
<p>{@props.pageContent[0].content}</p>
<p>
... | true | React = require 'react/addons'
cx = React.addons.classSet
Authors = React.createClass
displayName: 'Authors'
render: ->
<div className="authors-page">
<section className="about-section content">
<h2>{@props.pageContent[0].header}</h2>
<p>{@props.pageContent[0].content}</p>
<p>
... |
[
{
"context": "> and </span>\n <a href=\"https://github.com/kmalakoff/knockback-reference-app/\">Knockback.js Reference ",
"end": 523,
"score": 0.9580044150352478,
"start": 514,
"tag": "USERNAME",
"value": "kmalakoff"
},
{
"context": "ou by </span>\n <a href=\"https://gi... | app_management/views/credits.coffee | kmalakoff/knockback-reference-app | 1 | template_engine.templates.credits = """
<div data-bind="visible: credits_is_opened">
<div class='modal-backdrop'></div>
<div class="modal" data-bind="fadeIn: credits_is_opened"><div class="modal-body">
<div class='nav pull-right'>
<a data-bind="click: toggleCredits"><i class="icon-remove"></i></... | 17479 | template_engine.templates.credits = """
<div data-bind="visible: credits_is_opened">
<div class='modal-backdrop'></div>
<div class="modal" data-bind="fadeIn: credits_is_opened"><div class="modal-body">
<div class='nav pull-right'>
<a data-bind="click: toggleCredits"><i class="icon-remove"></i></... | true | template_engine.templates.credits = """
<div data-bind="visible: credits_is_opened">
<div class='modal-backdrop'></div>
<div class="modal" data-bind="fadeIn: credits_is_opened"><div class="modal-body">
<div class='nav pull-right'>
<a data-bind="click: toggleCredits"><i class="icon-remove"></i></... |
[
{
"context": "in ['dev', 'prod']\n\t### name ###\n\tname:\n\t\tvalue: 'GridFW'\n\t\tcheck: (value)->\n\t\t\tthrow new Error 'Name expe",
"end": 517,
"score": 0.9991908669471741,
"start": 511,
"tag": "USERNAME",
"value": "GridFW"
},
{
"context": "e is 'string'\n\t###* Author ###\n\tau... | config/settings.coffee | coredigix/gridfw | 0 | # App consts
exports.app = app =
# modes
DEV: 0
PROD: 1
# params
PATH_PARAM : 0
QUERY_PARAM: 1
# default encoding
DEFAULT_ENCODING: 'utf8'
### this file contains app default settings ###
exports.settings=
####<========================== App Id =============================>####
mode:
value: 'dev'
default:... | 37968 | # App consts
exports.app = app =
# modes
DEV: 0
PROD: 1
# params
PATH_PARAM : 0
QUERY_PARAM: 1
# default encoding
DEFAULT_ENCODING: 'utf8'
### this file contains app default settings ###
exports.settings=
####<========================== App Id =============================>####
mode:
value: 'dev'
default:... | true | # App consts
exports.app = app =
# modes
DEV: 0
PROD: 1
# params
PATH_PARAM : 0
QUERY_PARAM: 1
# default encoding
DEFAULT_ENCODING: 'utf8'
### this file contains app default settings ###
exports.settings=
####<========================== App Id =============================>####
mode:
value: 'dev'
default:... |
[
{
"context": "andlebars.render('Hello there {{ name }}', name: 'homie')\n .done((res) => should.match_expected(@han",
"end": 574,
"score": 0.9844018220901489,
"start": 569,
"tag": "NAME",
"value": "homie"
},
{
"context": "pected(\n @handlebars\n res(friend: 'r kell... | test/handlebars.coffee | slang800/accord | 0 | should = require 'should'
path = require 'path'
W = require 'when'
accord = require '../'
describe 'handlebars', ->
before ->
@handlebars = accord.load('handlebars')
@path = path.join(__dirname, 'fixtures', 'handlebars')
it 'should expose name, extensions, output, and engine', ->
@handlebars.extension... | 218464 | should = require 'should'
path = require 'path'
W = require 'when'
accord = require '../'
describe 'handlebars', ->
before ->
@handlebars = accord.load('handlebars')
@path = path.join(__dirname, 'fixtures', 'handlebars')
it 'should expose name, extensions, output, and engine', ->
@handlebars.extension... | true | should = require 'should'
path = require 'path'
W = require 'when'
accord = require '../'
describe 'handlebars', ->
before ->
@handlebars = accord.load('handlebars')
@path = path.join(__dirname, 'fixtures', 'handlebars')
it 'should expose name, extensions, output, and engine', ->
@handlebars.extension... |
[
{
"context": "# GainText\n#\n# Martin Waitz <tali@admingilde.org>\n\nblock = require '../src/bl",
"end": 27,
"score": 0.9997977614402771,
"start": 15,
"tag": "NAME",
"value": "Martin Waitz"
},
{
"context": "# GainText\n#\n# Martin Waitz <tali@admingilde.org>\n\nblock = require '../sr... | test/block.coffee | gaintext/gaintext.js | 0 | # GainText
#
# Martin Waitz <tali@admingilde.org>
block = require '../src/block'
mona = require 'mona-parser'
{expect} = require 'chai'
describe 'block', ->
describe 'Paragraph', ->
paragraph = new block.Paragraph().parser()
it 'parses a single line', ->
expect(mona.parse paragrap... | 109418 | # GainText
#
# <NAME> <<EMAIL>>
block = require '../src/block'
mona = require 'mona-parser'
{expect} = require 'chai'
describe 'block', ->
describe 'Paragraph', ->
paragraph = new block.Paragraph().parser()
it 'parses a single line', ->
expect(mona.parse paragraph, "Hello World.\n... | true | # GainText
#
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
block = require '../src/block'
mona = require 'mona-parser'
{expect} = require 'chai'
describe 'block', ->
describe 'Paragraph', ->
paragraph = new block.Paragraph().parser()
it 'parses a single line', ->
expect(mona.par... |
[
{
"context": "##\n# oss-easy\n# https://github.com/yi/node-oss-easy\n#\n# Copyright (c) 2013 yi\n# License",
"end": 37,
"score": 0.9990803003311157,
"start": 35,
"tag": "USERNAME",
"value": "yi"
},
{
"context": "github.com/yi/node-oss-easy\n#\n# Copyright (c) 2013 yi\n# Licensed unde... | src/oss-easy.coffee | yxdh4620/node-oss-easy | 0 | ##
# oss-easy
# https://github.com/yi/node-oss-easy
#
# Copyright (c) 2013 yi
# Licensed under the MIT license.
##
_ = require "underscore"
ossAPI = require 'oss-client'
fs = require "fs"
async = require "async"
path = require "path"
debuglog = require("debug")("oss-easy")
assert = require "assert"
generateRandomId =... | 59446 | ##
# oss-easy
# https://github.com/yi/node-oss-easy
#
# Copyright (c) 2013 <NAME>i
# Licensed under the MIT license.
##
_ = require "underscore"
ossAPI = require 'oss-client'
fs = require "fs"
async = require "async"
path = require "path"
debuglog = require("debug")("oss-easy")
assert = require "assert"
generateRando... | true | ##
# oss-easy
# https://github.com/yi/node-oss-easy
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PIi
# Licensed under the MIT license.
##
_ = require "underscore"
ossAPI = require 'oss-client'
fs = require "fs"
async = require "async"
path = require "path"
debuglog = require("debug")("oss-easy")
assert = require "assert"
... |
[
{
"context": " class InnerGlow\n @shouldParse: (key) -> key is 'iglw'\n\n BLEND_MODES = {\n norm: 'normal',\n dark: 'da",
"end": 72,
"score": 0.9545557498931885,
"start": 68,
"tag": "KEY",
"value": "iglw"
}
] | lib/psd/layer_info/effect_info/inner_glow.coffee | fzx-design/Trims-psd-resolving | 0 |
module.exports = class InnerGlow
@shouldParse: (key) -> key is 'iglw'
BLEND_MODES = {
norm: 'normal',
dark: 'darken',
lite: 'lighten',
hue: 'hue',
sat: 'saturation',
colr: 'color',
lum: 'luminosity',
mul: 'multiply',
scrn: 'screen',
diss: 'dissolve',
over: 'overlay',
hLit: 'hard_light... | 141522 |
module.exports = class InnerGlow
@shouldParse: (key) -> key is '<KEY>'
BLEND_MODES = {
norm: 'normal',
dark: 'darken',
lite: 'lighten',
hue: 'hue',
sat: 'saturation',
colr: 'color',
lum: 'luminosity',
mul: 'multiply',
scrn: 'screen',
diss: 'dissolve',
over: 'overlay',
hLit: 'hard_ligh... | true |
module.exports = class InnerGlow
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
BLEND_MODES = {
norm: 'normal',
dark: 'darken',
lite: 'lighten',
hue: 'hue',
sat: 'saturation',
colr: 'color',
lum: 'luminosity',
mul: 'multiply',
scrn: 'screen',
diss: 'dissolve',
over: 'overlay',
hLi... |
[
{
"context": "ain]\n Is _, -> 'no match'\n )\n ret = m('bob@alice.com')\n assert ret[0] is 'bob'\n assert ret[1] is",
"end": 742,
"score": 0.9999160766601562,
"start": 729,
"tag": "EMAIL",
"value": "bob@alice.com"
},
{
"context": "\n assert ret[0] is 'bob'\n as... | node_modules/pat-mat/test/spec-test.coffee | prasanthbendra/ng-2 | 0 | {
Match
Is
As
On
NoMatchError
extract
guard
parameter
paramSeq
wildcard
wildcardSeq
} = require('../dest/api')
assert = require('assert')
$ = parameter
$$ = paramSeq
_ = wildcard
__ = wildcardSeq
describe 'Match ', ->
it 'should match Is branch', ->
m = Match(
Is Number, (p) -> p *... | 200442 | {
Match
Is
As
On
NoMatchError
extract
guard
parameter
paramSeq
wildcard
wildcardSeq
} = require('../dest/api')
assert = require('assert')
$ = parameter
$$ = paramSeq
_ = wildcard
__ = wildcardSeq
describe 'Match ', ->
it 'should match Is branch', ->
m = Match(
Is Number, (p) -> p *... | true | {
Match
Is
As
On
NoMatchError
extract
guard
parameter
paramSeq
wildcard
wildcardSeq
} = require('../dest/api')
assert = require('assert')
$ = parameter
$$ = paramSeq
_ = wildcard
__ = wildcardSeq
describe 'Match ', ->
it 'should match Is branch', ->
m = Match(
Is Number, (p) -> p *... |
[
{
"context": ", ->\n assert validate\n id: 1\n name: 'John Doe'\n email: 'foo@bar.com'\n taxRate: 0.1\n ",
"end": 190,
"score": 0.9998695850372314,
"start": 182,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "\n id: 1\n name: 'John Doe'\n e... | 07-validation/test/index.coffee | SaritaChakote/node-puzzle | 0 | assert = require 'assert'
{validate} = require '../lib'
describe '07-validation', ->
it 'should return `true` for valid data', ->
assert validate
id: 1
name: 'John Doe'
email: 'foo@bar.com'
taxRate: 0.1
favouriteColour: '#ccccff'
interests: ["cycling", "programming"]
it... | 128794 | assert = require 'assert'
{validate} = require '../lib'
describe '07-validation', ->
it 'should return `true` for valid data', ->
assert validate
id: 1
name: '<NAME>'
email: '<EMAIL>'
taxRate: 0.1
favouriteColour: '#ccccff'
interests: ["cycling", "programming"]
it 'shou... | true | assert = require 'assert'
{validate} = require '../lib'
describe '07-validation', ->
it 'should return `true` for valid data', ->
assert validate
id: 1
name: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
taxRate: 0.1
favouriteColour: '#ccccff'
interests: ["cycling... |
[
{
"context": "###*\n * Cookie parser for GridFW\n * @copyright khalid RAFIK 2018\n###\n'use strict'\n\nplugName = require('../pac",
"end": 59,
"score": 0.9991590976715088,
"start": 47,
"tag": "NAME",
"value": "khalid RAFIK"
}
] | assets/index.coffee | gridfw/i18n-gulp | 0 | ###*
* Cookie parser for GridFW
* @copyright khalid RAFIK 2018
###
'use strict'
plugName = require('../package.json').name
gutil = require 'gulp-util'
Path = require 'path'
through = require 'through2'
Pug = require 'pug'
Terser = require 'terser'
I18N_SYMBOL = Symbol 'i18n module'
#=include _noramlize.coffee
#=i... | 226176 | ###*
* Cookie parser for GridFW
* @copyright <NAME> 2018
###
'use strict'
plugName = require('../package.json').name
gutil = require 'gulp-util'
Path = require 'path'
through = require 'through2'
Pug = require 'pug'
Terser = require 'terser'
I18N_SYMBOL = Symbol 'i18n module'
#=include _noramlize.coffee
#=include... | true | ###*
* Cookie parser for GridFW
* @copyright PI:NAME:<NAME>END_PI 2018
###
'use strict'
plugName = require('../package.json').name
gutil = require 'gulp-util'
Path = require 'path'
through = require 'through2'
Pug = require 'pug'
Terser = require 'terser'
I18N_SYMBOL = Symbol 'i18n module'
#=include _noramlize.co... |
[
{
"context": "#\t> File Name: log-test.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: F",
"end": 45,
"score": 0.9976768493652344,
"start": 43,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "ile Name: log-test.coffee\n#\t> Author: LY\n#\t> Mail: ly.fran... | server/test/log-test.coffee | wiiliamking/miac-website | 0 | # > File Name: log-test.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Friday, November 21, 2014 AM09:29:20 CST
chai = require 'chai'
chai.should()
app = require '../app.coffee'
request = (require 'supertest')(app)
UserModel = require '../db/models/user.coffee'
describe 'log test', ->
descr... | 37091 | # > File Name: log-test.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Friday, November 21, 2014 AM09:29:20 CST
chai = require 'chai'
chai.should()
app = require '../app.coffee'
request = (require 'supertest')(app)
UserModel = require '../db/models/user.coffee'
describe 'log test', ->
describe 'user lo... | true | # > File Name: log-test.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Friday, November 21, 2014 AM09:29:20 CST
chai = require 'chai'
chai.should()
app = require '../app.coffee'
request = (require 'supertest')(app)
UserModel = require '../db/models/user.coffee'
describe 'log test', ->
de... |
[
{
"context": "n an argument error', (cb) ->\n invalid = ['hallo','frank']\n\n helper.store.users.getByIds in",
"end": 3156,
"score": 0.9968947172164917,
"start": 3151,
"tag": "NAME",
"value": "hallo"
},
{
"context": "ument error', (cb) ->\n invalid = ['hallo','fr... | test/method-users-get-by-ids-tests.coffee | codedoctor/mongoose-user-store-multi-tenant | 4 | should = require 'should'
helper = require './support/helper'
_ = require 'underscore'
mongoose = require 'mongoose'
ObjectId = mongoose.Types.ObjectId
sampleUsers = null
describe 'WHEN working with store.users.getByIds', ->
before (cb) ->
helper.start null, cb
after (cb) ->
helper.stop cb
it 'should... | 110532 | should = require 'should'
helper = require './support/helper'
_ = require 'underscore'
mongoose = require 'mongoose'
ObjectId = mongoose.Types.ObjectId
sampleUsers = null
describe 'WHEN working with store.users.getByIds', ->
before (cb) ->
helper.start null, cb
after (cb) ->
helper.stop cb
it 'should... | true | should = require 'should'
helper = require './support/helper'
_ = require 'underscore'
mongoose = require 'mongoose'
ObjectId = mongoose.Types.ObjectId
sampleUsers = null
describe 'WHEN working with store.users.getByIds', ->
before (cb) ->
helper.start null, cb
after (cb) ->
helper.stop cb
it 'should... |
[
{
"context": " 'entry'\n @sheet_id = sheet._id\n @key ?= rfc4122.v4()\n\n render: ->\n {\n project: @project",
"end": 278,
"score": 0.9810497164726257,
"start": 266,
"tag": "KEY",
"value": "rfc4122.v4()"
}
] | coffeescript/libs/services/entry-service.coffee | mechanoid/timerevel | 0 | angular.module('EntryService', ['DbService', 'uuid'])
.factory 'entries', ($q, db, rfc4122) ->
class Entry
constructor: (@date, sheet, @project = '', @begin, @end, @intermission, @notice, @tm) ->
@type = 'entry'
@sheet_id = sheet._id
@key ?= rfc4122.v4()
render: ->
{
project: ... | 163414 | angular.module('EntryService', ['DbService', 'uuid'])
.factory 'entries', ($q, db, rfc4122) ->
class Entry
constructor: (@date, sheet, @project = '', @begin, @end, @intermission, @notice, @tm) ->
@type = 'entry'
@sheet_id = sheet._id
@key ?= <KEY>
render: ->
{
project: @projec... | true | angular.module('EntryService', ['DbService', 'uuid'])
.factory 'entries', ($q, db, rfc4122) ->
class Entry
constructor: (@date, sheet, @project = '', @begin, @end, @intermission, @notice, @tm) ->
@type = 'entry'
@sheet_id = sheet._id
@key ?= PI:KEY:<KEY>END_PI
render: ->
{
pro... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9970431327819824,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "T_CASES = [\n {\n algo: \"aes-128-gcm\"\n key: \"6970787039613669314d623455536234\"\n ... | test/simple/test-crypto-authenticated.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 125333 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " r2._rChunkLength emitDuration:1, streamKey:\"testing\"\n\n rewind.hls_segmenter.snapshot (err,",
"end": 15658,
"score": 0.712083101272583,
"start": 15651,
"tag": "KEY",
"value": "testing"
}
] | test/hls_segmenter.coffee | firebrandv2/FirebrandNetwork.ga | 342 | RewindBuffer = $src "rewind_buffer"
HLSSegmenter = $src "rewind/hls_segmenter"
Logger = $src "logger"
ChunkGenerator = $src "util/chunk_generator"
debug = require("debug")("sm:tests:hls_segmenter")
_ = require "underscore"
#----------
class FakeStreamGroup extends require("events").EventEmitter
... | 155212 | RewindBuffer = $src "rewind_buffer"
HLSSegmenter = $src "rewind/hls_segmenter"
Logger = $src "logger"
ChunkGenerator = $src "util/chunk_generator"
debug = require("debug")("sm:tests:hls_segmenter")
_ = require "underscore"
#----------
class FakeStreamGroup extends require("events").EventEmitter
... | true | RewindBuffer = $src "rewind_buffer"
HLSSegmenter = $src "rewind/hls_segmenter"
Logger = $src "logger"
ChunkGenerator = $src "util/chunk_generator"
debug = require("debug")("sm:tests:hls_segmenter")
_ = require "underscore"
#----------
class FakeStreamGroup extends require("events").EventEmitter
... |
[
{
"context": "@host = \"mit.edu\".split('').reverse().join('')\n\t\t@stubbedUser1 =\n\t\t\t_id: \"3131231\"\n\t\t\tname:\"bob\"\n\t\t\temail:\"hell",
"end": 444,
"score": 0.7454670071601868,
"start": 433,
"tag": "USERNAME",
"value": "stubbedUser"
},
{
"context": "('')\n\t\t@stubbedUs... | test/unit/coffee/Institutions/InstitutionsControllerTests.coffee | shyoshyo/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsController"
expect = require("chai").expect
describe "InstitutionsController... | 2144 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsController"
expect = require("chai").expect
describe "InstitutionsController... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsController"
expect = require("chai").expect
describe "InstitutionsController... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9976980090141296,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-zlib-dictionary-fail.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 13319 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999189555644989,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-event-emitter-remove-all-listeners.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 112584 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n\t(c) 2016 Julian Gonggrijp\n###\n\ndefine [\n\t'backbone'\n\t'view/home'\n], (bb, Ho",
"end": 30,
"score": 0.9998828172683716,
"start": 14,
"tag": "NAME",
"value": "Julian Gonggrijp"
}
] | client/script/router/main.coffee | NBOCampbellToets/CampbellSoup | 0 | ###
(c) 2016 Julian Gonggrijp
###
define [
'backbone'
'view/home'
], (bb, HomeView) ->
'use strict'
homeView = new HomeView
class MainRouter extends bb.Router
routes:
'': 'home'
home: -> homeView.render()
| 151034 | ###
(c) 2016 <NAME>
###
define [
'backbone'
'view/home'
], (bb, HomeView) ->
'use strict'
homeView = new HomeView
class MainRouter extends bb.Router
routes:
'': 'home'
home: -> homeView.render()
| true | ###
(c) 2016 PI:NAME:<NAME>END_PI
###
define [
'backbone'
'view/home'
], (bb, HomeView) ->
'use strict'
homeView = new HomeView
class MainRouter extends bb.Router
routes:
'': 'home'
home: -> homeView.render()
|
[
{
"context": "r disallow usage of \"English\" operators.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 109,
"score": 0.9998564720153809,
"start": 97,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/english-operators.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview This rule shoud require or disallow usage of "English" operators.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
ENGLISH_OPERATOR... | 213465 | ###*
# @fileoverview This rule shoud require or disallow usage of "English" operators.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
ENGLISH_OPERATORS =
... | true | ###*
# @fileoverview This rule shoud require or disallow usage of "English" operators.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
ENGLISH_... |
[
{
"context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n\ttemplateData:\n\n\t\t# Specify some",
"end": 320,
"score": 0.9961287975311279,
"start": 315,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "\n\t\t\t# The default title of our website\n\t\... | docpad.coffee | patocallaghan/little-glitch | 0 | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... | 224971 | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... | true | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... |
[
{
"context": "qlite.coffee - top level file\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\nnosqlite = module.exports",
"end": 77,
"score": 0.9998509287834167,
"start": 58,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
}
] | node_modules/resources/persistence/vendor/jugglingdb/lib/nosqlite/src/nosqlite.coffee | manecz/storytail | 0 | #
# nosqlite.coffee - top level file
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
nosqlite = module.exports
# Requiring modules
path = require 'path'
fs = require 'fs'
rimraf = require '../vendor/rimraf'
async = require 'async'
# Declaring variables
nosqlite.path = path.join __dirname, '..', 'data... | 217690 | #
# nosqlite.coffee - top level file
#
# Copyright © 2011 <NAME>. All rights reserved
#
nosqlite = module.exports
# Requiring modules
path = require 'path'
fs = require 'fs'
rimraf = require '../vendor/rimraf'
async = require 'async'
# Declaring variables
nosqlite.path = path.join __dirname, '..', 'data'
# Connecti... | true | #
# nosqlite.coffee - top level file
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
nosqlite = module.exports
# Requiring modules
path = require 'path'
fs = require 'fs'
rimraf = require '../vendor/rimraf'
async = require 'async'
# Declaring variables
nosqlite.path = path.join __dirname, '..', 'dat... |
[
{
"context": ":\n#\n# Configuration:\n#\n# Commands:\n#\n# Author:\n# Thomas Howe - ghostofbasho@gmail.com\n#\n\nTelnet = require('tel",
"end": 125,
"score": 0.9998669624328613,
"start": 114,
"tag": "NAME",
"value": "Thomas Howe"
},
{
"context": "ation:\n#\n# Commands:\n#\n# Author... | src/scripts/telnet.coffee | green-bot/hubot-session | 1 | # Description:
# Connects greenbot to Telnet
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# Thomas Howe - ghostofbasho@gmail.com
#
Telnet = require('telnet')
ShortUUID = require 'shortid'
module.exports = (robot) ->
Telnet.createServer((client) ->
sessionId = ShortUUID.generate()
clien... | 1526 | # Description:
# Connects greenbot to Telnet
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# <NAME> - <EMAIL>
#
Telnet = require('telnet')
ShortUUID = require 'shortid'
module.exports = (robot) ->
Telnet.createServer((client) ->
sessionId = ShortUUID.generate()
client.on 'data', (b) ->
... | true | # Description:
# Connects greenbot to Telnet
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
#
Telnet = require('telnet')
ShortUUID = require 'shortid'
module.exports = (robot) ->
Telnet.createServer((client) ->
sessionId = ShortUUID.generate()
... |
[
{
"context": "ame: \"from\", 'data-default-text': \"from\", value: \"jae@ycatalyst.com\"\n br()\n input id: \"to\", type: \"text\", name:",
"end": 200,
"score": 0.999925971031189,
"start": 183,
"tag": "EMAIL",
"value": "jae@ycatalyst.com"
}
] | templates/admin/messages.coffee | jaekwon/YCatalyst | 3 | exports.template = ->
p "Send an email"
form action: "/admin/messages", method: "POST", ->
input id: "from", type: "text", name: "from", 'data-default-text': "from", value: "jae@ycatalyst.com"
br()
input id: "to", type: "text", name: "to", 'data-default-text': "to"
br()
input id: "subject", typ... | 5574 | exports.template = ->
p "Send an email"
form action: "/admin/messages", method: "POST", ->
input id: "from", type: "text", name: "from", 'data-default-text': "from", value: "<EMAIL>"
br()
input id: "to", type: "text", name: "to", 'data-default-text': "to"
br()
input id: "subject", type: "text",... | true | exports.template = ->
p "Send an email"
form action: "/admin/messages", method: "POST", ->
input id: "from", type: "text", name: "from", 'data-default-text': "from", value: "PI:EMAIL:<EMAIL>END_PI"
br()
input id: "to", type: "text", name: "to", 'data-default-text': "to"
br()
input id: "subject"... |
[
{
"context": "obile, text, options = {}, callback = ->) ->\n # @osv\n return callback(null, ok: 1)\n {redis} = re",
"end": 242,
"score": 0.8085721135139465,
"start": 238,
"tag": "USERNAME",
"value": "@osv"
},
{
"context": " = moment().endOf('day').valueOf()\n rateKey = \"... | talk-api2x/server/util/sms.coffee | ikingye/talk-os | 3,084 | Err = require 'err1st'
Promise = require 'bluebird'
requestAsync = Promise.promisify(require 'request')
config = require 'config'
moment = require 'moment'
module.exports =
sendSMS: (mobile, text, options = {}, callback = ->) ->
# @osv
return callback(null, ok: 1)
{redis} = require '../components'
en... | 5516 | Err = require 'err1st'
Promise = require 'bluebird'
requestAsync = Promise.promisify(require 'request')
config = require 'config'
moment = require 'moment'
module.exports =
sendSMS: (mobile, text, options = {}, callback = ->) ->
# @osv
return callback(null, ok: 1)
{redis} = require '../components'
en... | true | Err = require 'err1st'
Promise = require 'bluebird'
requestAsync = Promise.promisify(require 'request')
config = require 'config'
moment = require 'moment'
module.exports =
sendSMS: (mobile, text, options = {}, callback = ->) ->
# @osv
return callback(null, ok: 1)
{redis} = require '../components'
en... |
[
{
"context": "(RepositoryRow {repos: reposPair, key: reposPair[0].id + '-' + reposPair[1]?.id})\n )\n\n (div {className",
"end": 650,
"score": 0.796488881111145,
"start": 640,
"tag": "KEY",
"value": "id + '-' +"
},
{
"context": "eposPair, key: reposPair[0].id + '-' + reposP... | app/scripts/repository-list.coffee | Ocramius/travis-wallboard | 1 |
React = require('react')
RepositoryRow = require './repository-row.coffee'
_ = require('underscore')
{table, tr, td, th, thead, tbody, span, div, a, input} = React.DOM
RepositoryList = React.createClass(
displayName :'RepositoryFilter'
pairs: ->
_.chain(@props.repos)
.groupBy (repo, index) ->
... | 143850 |
React = require('react')
RepositoryRow = require './repository-row.coffee'
_ = require('underscore')
{table, tr, td, th, thead, tbody, span, div, a, input} = React.DOM
RepositoryList = React.createClass(
displayName :'RepositoryFilter'
pairs: ->
_.chain(@props.repos)
.groupBy (repo, index) ->
... | true |
React = require('react')
RepositoryRow = require './repository-row.coffee'
_ = require('underscore')
{table, tr, td, th, thead, tbody, span, div, a, input} = React.DOM
RepositoryList = React.createClass(
displayName :'RepositoryFilter'
pairs: ->
_.chain(@props.repos)
.groupBy (repo, index) ->
... |
[
{
"context": ": 'post'\n\t\t\turl: '/signup'\n\t\t\tdata: \n\t\t\t\tpassword: data.password\n\t\t\t\trePassword: data.rePassword\n\t\t\t\tloginname: da",
"end": 126,
"score": 0.9918140769004822,
"start": 113,
"tag": "PASSWORD",
"value": "data.password"
},
{
"context": "data: \n\t\t\t... | public/src/pages/sign/signup.coffee | yuanzm/Live-Chat | 56 | signUpDataBus =
signup: (data, callback)->
$.ajax {
type: 'post'
url: '/signup'
data:
password: data.password
rePassword: data.rePassword
loginname: data.loginname
avatar: "/public/images/static/avatar.jpg"
email: data.email
success: (data)->
callback(data)
}
# 缓存DOM节点变量
$log... | 203545 | signUpDataBus =
signup: (data, callback)->
$.ajax {
type: 'post'
url: '/signup'
data:
password: <PASSWORD>
rePassword: <PASSWORD>
loginname: data.loginname
avatar: "/public/images/static/avatar.jpg"
email: data.email
success: (data)->
callback(data)
}
# 缓存DOM节点变量
$loginname =... | true | signUpDataBus =
signup: (data, callback)->
$.ajax {
type: 'post'
url: '/signup'
data:
password: PI:PASSWORD:<PASSWORD>END_PI
rePassword: PI:PASSWORD:<PASSWORD>END_PI
loginname: data.loginname
avatar: "/public/images/static/avatar.jpg"
email: data.email
success: (data)->
callback... |
[
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apache Lice",
"end": 30,
"score": 0.9998871684074402,
"start": 17,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apac... | results/front/app/coffee/services/model.coffee | gnufede/results | 0 | # Copyright 2013 Andrey Antukh <niwi@niwi.be>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | 224312 | # Copyright 2013 <NAME> <<EMAIL>>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | true | # Copyright 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... |
[
{
"context": "e Function class extensions\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\next Function.prototype,\n\n #\n # Binds this fun",
"end": 74,
"score": 0.9998807311058044,
"start": 57,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/lang/src/function.coffee | lovely-io/lovely.io-stl | 2 | #
# The Function class extensions
#
# Copyright (C) 2011 Nikolay Nemshilov
#
ext Function.prototype,
#
# Binds this function to be executed in given context
#
# @param {Object} context
# @param {mixed} optional argument to curry
# ....
# @return {Function} the proxy function
#
bind: Function.prototyp... | 130448 | #
# The Function class extensions
#
# Copyright (C) 2011 <NAME>
#
ext Function.prototype,
#
# Binds this function to be executed in given context
#
# @param {Object} context
# @param {mixed} optional argument to curry
# ....
# @return {Function} the proxy function
#
bind: Function.prototype.bind || -... | true | #
# The Function class extensions
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
ext Function.prototype,
#
# Binds this function to be executed in given context
#
# @param {Object} context
# @param {mixed} optional argument to curry
# ....
# @return {Function} the proxy function
#
bind: Function.proto... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9946807622909546,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/revisionHistory.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Lists entries of revisions from provided rev-history, with add/removed diffing
Imm = require 'immutable'
DiffMatchPa... | 6069 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Lists entries of revisions from provided rev-history, with add/removed diffing
Imm = require 'immutable'
DiffMatchPa... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Lists entries of revisions from provided rev-history, with add/removed diffing
Imm = require 'immutabl... |
[
{
"context": " , (done) ->\n req.query =\n a: 'jack*or*jill'\n \n options = getOpti",
"end": 4261,
"score": 0.8893854022026062,
"start": 4257,
"tag": "NAME",
"value": "jack"
},
{
"context": "one) ->\n req.query =\n a: 'jack*or*ji... | test/server/controllers/helper/requestOptions.coffee | valueflowquality/gi-util-update | 0 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
moment = require 'moment'
dir = path.normalize __dirname + '../../../../../server'
proxyquire = require 'proxyquire'
module.exports = () ->
stubs =
'./querySplitter':
processSplits: sinon.stub().returns [ {a: '1'}, {a: '2'} ... | 54966 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
moment = require 'moment'
dir = path.normalize __dirname + '../../../../../server'
proxyquire = require 'proxyquire'
module.exports = () ->
stubs =
'./querySplitter':
processSplits: sinon.stub().returns [ {a: '1'}, {a: '2'} ... | true | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
moment = require 'moment'
dir = path.normalize __dirname + '../../../../../server'
proxyquire = require 'proxyquire'
module.exports = () ->
stubs =
'./querySplitter':
processSplits: sinon.stub().returns [ {a: '1'}, {a: '2'} ... |
[
{
"context": "module.exports =\n admin: [\n 'admin@abc.com'\n ]\n ca:\n passphrase: 'password'\n oauth2:\n ",
"end": 46,
"score": 0.9999195337295532,
"start": 33,
"tag": "EMAIL",
"value": "admin@abc.com"
},
{
"context": " [\n 'admin@abc.com'\n ]\n ca:\n passphrase: ... | backend/config/env/production.coffee | twhtanghk/ca | 0 | module.exports =
admin: [
'admin@abc.com'
]
ca:
passphrase: 'password'
oauth2:
url:
verify: 'https://mobtest.ml/auth/oauth2/verify/'
| 103623 | module.exports =
admin: [
'<EMAIL>'
]
ca:
passphrase: '<PASSWORD>'
oauth2:
url:
verify: 'https://mobtest.ml/auth/oauth2/verify/'
| true | module.exports =
admin: [
'PI:EMAIL:<EMAIL>END_PI'
]
ca:
passphrase: 'PI:PASSWORD:<PASSWORD>END_PI'
oauth2:
url:
verify: 'https://mobtest.ml/auth/oauth2/verify/'
|
[
{
"context": "tPOST(\n url(\"/users\"),\n {username: \"johndoe\", password: 'foobar'}\n signedHeaders\n ",
"end": 999,
"score": 0.9989417791366577,
"start": 992,
"tag": "USERNAME",
"value": "johndoe"
},
{
"context": "users\"),\n {username: \"johndoe\",... | test/unit/authSpec.coffee | theodo/angular-parse | 82 | describe 'auth', ->
backend = null
signedHeaders = null
url = null
afterEach inject ($window) ->
$window.localStorage.clear()
beforeEach ->
angular.module('ParseSpec', ['Parse']).config (ParseProvider) ->
ParseProvider.initialize 'appId', 'apiKey'
module 'ParseSpec'
inject (Parse, $... | 185607 | describe 'auth', ->
backend = null
signedHeaders = null
url = null
afterEach inject ($window) ->
$window.localStorage.clear()
beforeEach ->
angular.module('ParseSpec', ['Parse']).config (ParseProvider) ->
ParseProvider.initialize 'appId', 'apiKey'
module 'ParseSpec'
inject (Parse, $... | true | describe 'auth', ->
backend = null
signedHeaders = null
url = null
afterEach inject ($window) ->
$window.localStorage.clear()
beforeEach ->
angular.module('ParseSpec', ['Parse']).config (ParseProvider) ->
ParseProvider.initialize 'appId', 'apiKey'
module 'ParseSpec'
inject (Parse, $... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.49162521958351135,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/models/Property.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 59730 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998838305473328,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
},
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is her... | test/blocks.test.coffee | SimeonC/squel | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish... | 143469 | ###
Copyright (c) 2014 <NAME> (hiddentao.<EMAIL>)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish,... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.PI:EMAIL:<EMAIL>END_PI)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
... |
[
{
"context": "f type.isObject answers\n # TODO: 2008-11-24 <brian@wesabe.com> -- this is only here until the new style (Array)",
"end": 7421,
"score": 0.9999277591705322,
"start": 7405,
"tag": "EMAIL",
"value": "brian@wesabe.com"
}
] | application/chrome/content/wesabe/download/Player.coffee | wesabe/ssu | 28 | wesabe.provide 'fi-scripts'
extend = require 'lang/extend'
date = require 'lang/date'
array = require 'lang/array'
dateForElement = (require 'dom/date').forElement
{trim} = require 'lang/string'
func = require 'lang/func'
type = require 'lang/type'
{uuid} ... | 71510 | wesabe.provide 'fi-scripts'
extend = require 'lang/extend'
date = require 'lang/date'
array = require 'lang/array'
dateForElement = (require 'dom/date').forElement
{trim} = require 'lang/string'
func = require 'lang/func'
type = require 'lang/type'
{uuid} ... | true | wesabe.provide 'fi-scripts'
extend = require 'lang/extend'
date = require 'lang/date'
array = require 'lang/array'
dateForElement = (require 'dom/date').forElement
{trim} = require 'lang/string'
func = require 'lang/func'
type = require 'lang/type'
{uuid} ... |
[
{
"context": " if session_data\n key = \"app:session:#{crypto.createHash('md5').update(session_data.sessi",
"end": 795,
"score": 0.9550021886825562,
"start": 781,
"tag": "KEY",
"value": "app:session:#{"
},
{
"context": "n_data\n key = \"app:ses... | src/server/lib/session.coffee | mauriciodelrio/carbon | 0 | CONFIG = require('../../../config').CONFIG
User = new (require('./pgconn').User)()
crypto = require 'crypto'
redis = require 'redis'
Url = process.env.REDIS_URL or 'redis://localhost:6379'
rclient = redis.createClient Url, prefix: CONFIG?.DB?.REDIS?.PREFIX
class Session
constructor: () ->
@config =
session... | 223389 | CONFIG = require('../../../config').CONFIG
User = new (require('./pgconn').User)()
crypto = require 'crypto'
redis = require 'redis'
Url = process.env.REDIS_URL or 'redis://localhost:6379'
rclient = redis.createClient Url, prefix: CONFIG?.DB?.REDIS?.PREFIX
class Session
constructor: () ->
@config =
session... | true | CONFIG = require('../../../config').CONFIG
User = new (require('./pgconn').User)()
crypto = require 'crypto'
redis = require 'redis'
Url = process.env.REDIS_URL or 'redis://localhost:6379'
rclient = redis.createClient Url, prefix: CONFIG?.DB?.REDIS?.PREFIX
class Session
constructor: () ->
@config =
session... |
[
{
"context": "me: $5\n instance_type: $6\n key_name: $7\n monitoring: $8\n region: $9\n ",
"end": 249,
"score": 0.7404003143310547,
"start": 247,
"tag": "KEY",
"value": "$7"
}
] | snippets/aws.cson | skord/atom-ansible-snippets | 6 | ".source.yaml":
"newEC2Instance":
"prefix": "ec2"
"body": """
ec2:
assign_public_ip: $1
group: $2
group_id: $3
image: $4
instance_profile_name: $5
instance_type: $6
key_name: $7
monitoring: $8
region: $9
state: present
... | 45082 | ".source.yaml":
"newEC2Instance":
"prefix": "ec2"
"body": """
ec2:
assign_public_ip: $1
group: $2
group_id: $3
image: $4
instance_profile_name: $5
instance_type: $6
key_name: <KEY>
monitoring: $8
region: $9
state: present
... | true | ".source.yaml":
"newEC2Instance":
"prefix": "ec2"
"body": """
ec2:
assign_public_ip: $1
group: $2
group_id: $3
image: $4
instance_profile_name: $5
instance_type: $6
key_name: PI:KEY:<KEY>END_PI
monitoring: $8
region: $9
stat... |
[
{
"context": " 'must not be null or undefined'\n password: 'must not be null or undefined'\n }\n\n test.deepEqual validateUser({\n e",
"end": 450,
"score": 0.9964537620544434,
"start": 421,
"tag": "PASSWORD",
"value": "must not be null or undefined"
},
{
"context": "m... | test/waechter.coffee | snd/waechter | 0 | Promise = require 'bluebird'
waechter = require '../src/waechter'
module.exports =
'schemaToValidator': (test) ->
userSchema =
email: waechter.email
password: waechter.stringNotEmpty
validateUser = waechter.schemaToValidator userSchema
test.equal validateUser(), 'must be an object'
t... | 128859 | Promise = require 'bluebird'
waechter = require '../src/waechter'
module.exports =
'schemaToValidator': (test) ->
userSchema =
email: waechter.email
password: waechter.stringNotEmpty
validateUser = waechter.schemaToValidator userSchema
test.equal validateUser(), 'must be an object'
t... | true | Promise = require 'bluebird'
waechter = require '../src/waechter'
module.exports =
'schemaToValidator': (test) ->
userSchema =
email: waechter.email
password: waechter.stringNotEmpty
validateUser = waechter.schemaToValidator userSchema
test.equal validateUser(), 'must be an object'
t... |
[
{
"context": "You're looking at the <a href=\"https://github.com/KyleAMathews/coffee-react-quickstart\">Coffeescript React Quick",
"end": 195,
"score": 0.9867673516273499,
"start": 183,
"tag": "USERNAME",
"value": "KyleAMathews"
},
{
"context": "start</a> project by <a href=\"https:/... | src/scripts/hello_world.cjsx | arjunblj/pyplay | 0 | Link = require('react-router').Link
module.exports = React.createClass
render: ->
<div>
<h1>Hello world!</h1>
<p>You're looking at the <a href="https://github.com/KyleAMathews/coffee-react-quickstart">Coffeescript React Quickstart</a> project by <a href="https://twitter.com/kylemathews">Kyle Mathews... | 208059 | Link = require('react-router').Link
module.exports = React.createClass
render: ->
<div>
<h1>Hello world!</h1>
<p>You're looking at the <a href="https://github.com/KyleAMathews/coffee-react-quickstart">Coffeescript React Quickstart</a> project by <a href="https://twitter.com/kylemathews"><NAME></a>.<... | true | Link = require('react-router').Link
module.exports = React.createClass
render: ->
<div>
<h1>Hello world!</h1>
<p>You're looking at the <a href="https://github.com/KyleAMathews/coffee-react-quickstart">Coffeescript React Quickstart</a> project by <a href="https://twitter.com/kylemathews">PI:NAME:<NAM... |
[
{
"context": "rackEvent('HoC2018 completed', {\n name: name,\n teacherEmail: teacherEmail,\n ",
"end": 909,
"score": 0.9947576522827148,
"start": 905,
"tag": "NAME",
"value": "name"
}
] | app/views/special_event/HoC2018VictoryModal.coffee | cihatislamdede/codecombat | 4,858 | ModalComponent = require 'views/core/ModalComponent'
HoC2018VictoryComponent = require('./HoC2018VictoryModal.vue').default
module.exports = class HoC2018VictoryModal extends ModalComponent
id: 'hoc-victory-modal'
template: require 'templates/core/modal-base-flat'
closeButton: true
VueComponent: HoC2018Victory... | 35783 | ModalComponent = require 'views/core/ModalComponent'
HoC2018VictoryComponent = require('./HoC2018VictoryModal.vue').default
module.exports = class HoC2018VictoryModal extends ModalComponent
id: 'hoc-victory-modal'
template: require 'templates/core/modal-base-flat'
closeButton: true
VueComponent: HoC2018Victory... | true | ModalComponent = require 'views/core/ModalComponent'
HoC2018VictoryComponent = require('./HoC2018VictoryModal.vue').default
module.exports = class HoC2018VictoryModal extends ModalComponent
id: 'hoc-victory-modal'
template: require 'templates/core/modal-base-flat'
closeButton: true
VueComponent: HoC2018Victory... |
[
{
"context": " module', ->\n\n hubotHear = (message, userName = 'momo', tempo = 40) ->\n beforeEach (done) ->\n r",
"end": 437,
"score": 0.999289870262146,
"start": 433,
"tag": "USERNAME",
"value": "momo"
},
{
"context": "ut (done), tempo\n\n hubot = (message, userName = 'm... | test/phabs_hear_test.coffee | f0ff886f/hubot-phabs | 22 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_hear.coffee')
nock = require('nock')
sinon = require('sinon')
expect = require('chai').use(require('sinon-chai')).expe... | 113131 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_hear.coffee')
nock = require('nock')
sinon = require('sinon')
expect = require('chai').use(require('sinon-chai')).expe... | true | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_hear.coffee')
nock = require('nock')
sinon = require('sinon')
expect = require('chai').use(require('sinon-chai')).expe... |
[
{
"context": "ileoverview Tests for react-in-jsx-scope\n# @author Glen Mailer\n###\n\n'use strict'\n\n# ----------------------------",
"end": 71,
"score": 0.999714732170105,
"start": 60,
"tag": "NAME",
"value": "Glen Mailer"
}
] | src/tests/rules/react-in-jsx-scope.coffee | helixbass/eslint-plugin-known-imports | 4 | ###*
# @fileoverview Tests for react-in-jsx-scope
# @author Glen Mailer
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/react-in-jsx-scope'
{Rule... | 4559 | ###*
# @fileoverview Tests for react-in-jsx-scope
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/react-in-jsx-scope'
{RuleTeste... | true | ###*
# @fileoverview Tests for react-in-jsx-scope
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/react-in-jsx-sco... |
[
{
"context": " has at least 1 keyboard event listener.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 150,
"score": 0.9998871088027954,
"start": 139,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/click-events-have-key-events.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce a clickable non-interactive element has at least 1 keyboard event listener.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -------------------------------------------------------------------... | 219332 | ### eslint-env jest ###
###*
# @fileoverview Enforce a clickable non-interactive element has at least 1 keyboard event listener.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce a clickable non-interactive element has at least 1 keyboard event listener.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# ----------------------------------------------------------... |
[
{
"context": "stream, @role, @port, @land ) ->\n @name = 'DriveBar'\n @lastTrip = { name:'' }\n @created = f",
"end": 225,
"score": 0.4192925989627838,
"start": 220,
"tag": "NAME",
"value": "Drive"
},
{
"context": "m, @role, @port, @land ) ->\n @name = 'DriveBar'... | src/augm/tool/DriveBarUC.coffee | axiom6/aug | 0 |
import $ from 'jquery'
import * as d3 from 'd3'
import Util from '../util/Util.js'
class DriveBarUC
# @port [0,0,92,33] @land =[0,0,100,50
constructor:( @stream, @role, @port, @land ) ->
@name = 'DriveBar'
@lastTrip = { name:'' }
@created = false
@screen = null # Set by position()... | 31860 |
import $ from 'jquery'
import * as d3 from 'd3'
import Util from '../util/Util.js'
class DriveBarUC
# @port [0,0,92,33] @land =[0,0,100,50
constructor:( @stream, @role, @port, @land ) ->
@name = '<NAME>Bar'
@lastTrip = { name:'' }
@created = false
@screen = null # Set by position(... | true |
import $ from 'jquery'
import * as d3 from 'd3'
import Util from '../util/Util.js'
class DriveBarUC
# @port [0,0,92,33] @land =[0,0,100,50
constructor:( @stream, @role, @port, @land ) ->
@name = 'PI:NAME:<NAME>END_PIBar'
@lastTrip = { name:'' }
@created = false
@screen = null # Se... |
[
{
"context": " テスト書いてない - returns a t_wada.png\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nmodule.exports = (robot) ->\n p",
"end": 160,
"score": 0.9996874928474426,
"start": 153,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "い - returns a t_wada.png\n#\n# Author:\n# ... | src/scripts/twada.coffee | bouzuya/hubot-twada | 7 | # Description
# A Hubot script that returns a t_wada.png
#
# Configuration:
# None
#
# Commands:
# テスト書いてない - returns a t_wada.png
#
# Author:
# bouzuya <m@bouzuya.net>
#
module.exports = (robot) ->
pattern = /((?:test|テスト)[をは]?(?:[書か]いてい?ない|[書か]きたくない))$/i
robot.hear pattern, (res) ->
res.send "#{res.ma... | 12839 | # Description
# A Hubot script that returns a t_wada.png
#
# Configuration:
# None
#
# Commands:
# テスト書いてない - returns a t_wada.png
#
# Author:
# bouzuya <<EMAIL>>
#
module.exports = (robot) ->
pattern = /((?:test|テスト)[をは]?(?:[書か]いてい?ない|[書か]きたくない))$/i
robot.hear pattern, (res) ->
res.send "#{res.match[1]... | true | # Description
# A Hubot script that returns a t_wada.png
#
# Configuration:
# None
#
# Commands:
# テスト書いてない - returns a t_wada.png
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
module.exports = (robot) ->
pattern = /((?:test|テスト)[をは]?(?:[書か]いてい?ない|[書か]きたくない))$/i
robot.hear pattern, (res) ->
res.send ... |
[
{
"context": "###\n QuoJS 2.1\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$) -",
"end": 52,
"score": 0.9998633861541748,
"start": 33,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": "#\n QuoJS 2.1\n (c) 2011, 2012 Javi Jimén... | src/QuoJS/src/quo.environment.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
_current = null
IS_WEBKIT = /WebKit\/([\d.]+)/
SUPPORTED_OS =
Android: /(Android)\s+([\d.]+)/
ipad: /(iPad).*OS\s([\d_]+)/
iphone: /(iPhone\sOS)\s([\d_]+)/
blackberry: /(B... | 221275 | ###
QuoJS 2.1
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
_current = null
IS_WEBKIT = /WebKit\/([\d.]+)/
SUPPORTED_OS =
Android: /(Android)\s+([\d.]+)/
ipad: /(iPad).*OS\s([\d_]+)/
iphone: /(iPhone\sOS)\s([\d_]+)/
blackberry: /(BlackBerry).*V... | true | ###
QuoJS 2.1
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
_current = null
IS_WEBKIT = /WebKit\/([\d.]+)/
SUPPORTED_OS =
Android: /(Android)\s+([\d.]+)/
ipad: /(iPad).*OS\s([\d_]+)/
iphone: /(iPhone\sOS)\s([\d_]+)/
blackberry: /(... |
[
{
"context": " end: 2.5,\n# texts: [\n# {text: 'Hum', position: 1.2},\n# {text: 'bewafaa'",
"end": 120,
"score": 0.7531973123550415,
"start": 117,
"tag": "NAME",
"value": "Hum"
},
{
"context": " end: 4.3,\n# texts: [\n# {text: 'Hargiz'... | app/assets/javascripts/strut_builder.js.coffee | shirshendu/kine_type | 1 | window.StrutBuilder ||= {}
# [
# { #slide 1
# start: 0,
# end: 2.5,
# texts: [
# {text: 'Hum', position: 1.2},
# {text: 'bewafaa', position: 1.7}
# ]
# },
# { #slide 2
# start: 2.5,
# end: 4.3,
# texts: [
# {text: 'Hargiz', position: 3.3},... | 168098 | window.StrutBuilder ||= {}
# [
# { #slide 1
# start: 0,
# end: 2.5,
# texts: [
# {text: '<NAME>', position: 1.2},
# {text: 'bewafaa', position: 1.7}
# ]
# },
# { #slide 2
# start: 2.5,
# end: 4.3,
# texts: [
# {text: '<NAME>', position: 3.... | true | window.StrutBuilder ||= {}
# [
# { #slide 1
# start: 0,
# end: 2.5,
# texts: [
# {text: 'PI:NAME:<NAME>END_PI', position: 1.2},
# {text: 'bewafaa', position: 1.7}
# ]
# },
# { #slide 2
# start: 2.5,
# end: 4.3,
# texts: [
# {text: 'PI:NAME... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.