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": "l 200\n\t\t\t\tlayer.states.current.name.should.equal \"testA\"\n\t\t\t\tlayer.stateCycle [\"testA\", \"testB\"], onEnd: ",
"end": 16306,
"score": 0.9354599714279175,
"start": 16301,
"tag": "NAME",
"value": "testA"
},
{
"context": " 400\n\t\t\t\t\tlayer.states.current.n... | test/tests/LayerStatesTest.coffee | ig-la/Framer | 3,817 | assert = require "assert"
{expect} = require "chai"
initialStateName = "default"
AnimationTime = 0.001
stateWithoutName = (state) ->
return _.pickBy(state, (value, key) -> key isnt "name")
describe "LayerStates", ->
describe "Events", ->
beforeEach ->
@layer = new Layer()
@layer.states.a = {x: 100, y: 10... | 102970 | assert = require "assert"
{expect} = require "chai"
initialStateName = "default"
AnimationTime = 0.001
stateWithoutName = (state) ->
return _.pickBy(state, (value, key) -> key isnt "name")
describe "LayerStates", ->
describe "Events", ->
beforeEach ->
@layer = new Layer()
@layer.states.a = {x: 100, y: 10... | true | assert = require "assert"
{expect} = require "chai"
initialStateName = "default"
AnimationTime = 0.001
stateWithoutName = (state) ->
return _.pickBy(state, (value, key) -> key isnt "name")
describe "LayerStates", ->
describe "Events", ->
beforeEach ->
@layer = new Layer()
@layer.states.a = {x: 100, y: 10... |
[
{
"context": "t\n\t\tusername: knexfile.connection.user\n\t\tpassword: knexfile.connection.password\n\t\tdatabase: knexfile.connection.database\n\t\tdebug:",
"end": 2653,
"score": 0.9991934895515442,
"start": 2625,
"tag": "PASSWORD",
"value": "knexfile.connection.password"
}
] | app.coffee | joepie91/pdfy2 | 11 | express = require('express')
uuid = require "uuid"
fs = require "fs"
domain = require "domain"
app = express()
reportError = (err, type = "error", sync = false) ->
if err.code == "ECONNRESET"
# We're not interested in these for now, they're just aborted requests.
# TODO: Investigate whether there may also be oth... | 146900 | express = require('express')
uuid = require "uuid"
fs = require "fs"
domain = require "domain"
app = express()
reportError = (err, type = "error", sync = false) ->
if err.code == "ECONNRESET"
# We're not interested in these for now, they're just aborted requests.
# TODO: Investigate whether there may also be oth... | true | express = require('express')
uuid = require "uuid"
fs = require "fs"
domain = require "domain"
app = express()
reportError = (err, type = "error", sync = false) ->
if err.code == "ECONNRESET"
# We're not interested in these for now, they're just aborted requests.
# TODO: Investigate whether there may also be oth... |
[
{
"context": "es/CDS-411/instructors\"\n ]\n }\n {\n title: \"Spyns\"\n group: \"Development\"\n paths: [\n \"~/D",
"end": 142,
"score": 0.9786941409111023,
"start": 137,
"tag": "NAME",
"value": "Spyns"
}
] | atom/dot-atom/projects.glasbren-oryxpro.cson | jkglasbrenner/dotfiles | 0 | [
{
title: "CDS-411 Instructors"
group: "CDS-411"
paths: [
"~/Courses/CDS-411/instructors"
]
}
{
title: "Spyns"
group: "Development"
paths: [
"~/Development/spyns"
]
}
{
title: "CSI-702 Spr17: Homework02 Instructor Attempt"
group: "CSI-702"
paths: [
... | 155854 | [
{
title: "CDS-411 Instructors"
group: "CDS-411"
paths: [
"~/Courses/CDS-411/instructors"
]
}
{
title: "<NAME>"
group: "Development"
paths: [
"~/Development/spyns"
]
}
{
title: "CSI-702 Spr17: Homework02 Instructor Attempt"
group: "CSI-702"
paths: [
... | true | [
{
title: "CDS-411 Instructors"
group: "CDS-411"
paths: [
"~/Courses/CDS-411/instructors"
]
}
{
title: "PI:NAME:<NAME>END_PI"
group: "Development"
paths: [
"~/Development/spyns"
]
}
{
title: "CSI-702 Spr17: Homework02 Instructor Attempt"
group: "CSI-702"
... |
[
{
"context": "ers'\n Users.identifier 'user_id'\n Users.unique 'username'\n Users.index 'email'\n Users = client.get 'user",
"end": 240,
"score": 0.9965708255767822,
"start": 232,
"tag": "USERNAME",
"value": "username"
},
{
"context": "r', (next) ->\n Users.create {\n use... | test/remove.coffee | wdavidw/node-ron | 14 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get 'users'
Users.identifier 'user_id'
Users.unique 'username'
Users.index 'email'
Users = client.get 'users'
next()
beforeEach (next)... | 178057 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get 'users'
Users.identifier 'user_id'
Users.unique 'username'
Users.index 'email'
Users = client.get 'users'
next()
beforeEach (next)... | true |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get 'users'
Users.identifier 'user_id'
Users.unique 'username'
Users.index 'email'
Users = client.get 'users'
next()
beforeEach (next)... |
[
{
"context": "body': '''\n ${1:\\$this->email}->bcc(${2:'${3:you@example.com}'});\n '''\n 'E-mail Carbon Copy':\n 'prefix'",
"end": 276,
"score": 0.9994802474975586,
"start": 261,
"tag": "EMAIL",
"value": "you@example.com"
},
{
"context": "'body': '''\n ${1:\\$this->... | snippets/email.cson | femi-dd/codeigniter-atom | 1 | '.source.php':
'E-mail Attach File':
'prefix': 'cimailatt'
'body': '''
${1:\$this->email}->attach(${2:'${3:/path/to/file}'});
'''
'E-mail Blind Carbon Copy':
'prefix': 'cimailbcc'
'body': '''
${1:\$this->email}->bcc(${2:'${3:you@example.com}'});
'''
'E-mail Carbon Copy':
'p... | 193159 | '.source.php':
'E-mail Attach File':
'prefix': 'cimailatt'
'body': '''
${1:\$this->email}->attach(${2:'${3:/path/to/file}'});
'''
'E-mail Blind Carbon Copy':
'prefix': 'cimailbcc'
'body': '''
${1:\$this->email}->bcc(${2:'${3:<EMAIL>}'});
'''
'E-mail Carbon Copy':
'prefix': ... | true | '.source.php':
'E-mail Attach File':
'prefix': 'cimailatt'
'body': '''
${1:\$this->email}->attach(${2:'${3:/path/to/file}'});
'''
'E-mail Blind Carbon Copy':
'prefix': 'cimailbcc'
'body': '''
${1:\$this->email}->bcc(${2:'${3:PI:EMAIL:<EMAIL>END_PI}'});
'''
'E-mail Carbon Copy':... |
[
{
"context": "ebkit api and the new standard api.\n #\n # THANKS OBAMA!\n patchWindow_: ->\n # Treat all context's equ",
"end": 2420,
"score": 0.9812248349189758,
"start": 2415,
"tag": "NAME",
"value": "OBAMA"
}
] | coffee/SoundManager.coffee | ndrwhr/tumbler | 20 |
SoundManager =
initialize: ->
this.patchWindow_();
@isSupported = Modernizr.webaudio
@context_ = new AudioContext()
@masterGainNode_ = @context_.createGain()
@masterGainNode_.gain.value = 1
@compressorNode_ = @context_.createDynamicsCompressor()
@convolverNode_ = @context_.createConvolv... | 87452 |
SoundManager =
initialize: ->
this.patchWindow_();
@isSupported = Modernizr.webaudio
@context_ = new AudioContext()
@masterGainNode_ = @context_.createGain()
@masterGainNode_.gain.value = 1
@compressorNode_ = @context_.createDynamicsCompressor()
@convolverNode_ = @context_.createConvolv... | true |
SoundManager =
initialize: ->
this.patchWindow_();
@isSupported = Modernizr.webaudio
@context_ = new AudioContext()
@masterGainNode_ = @context_.createGain()
@masterGainNode_.gain.value = 1
@compressorNode_ = @context_.createDynamicsCompressor()
@convolverNode_ = @context_.createConvolv... |
[
{
"context": "id: 8\nname: \"Carer’s Allowance Digital Service\"\ndescription: \"Lets use",
"end": 20,
"score": 0.9325408935546875,
"start": 13,
"tag": "NAME",
"value": "Carer’s"
},
{
"context": "sability\"\nlocation: \"Preston\"\nphase: \"live\"\nsro: \"Derek Hobbs\"\nservice_man: \... | app/data/projects/carers-allowance.cson | tsmorgan/dwp-ux-work | 0 | id: 8
name: "Carer’s Allowance Digital Service"
description: "Lets users who care for another person for more than 35 hours a week get a regular payment so that they can carry on giving care."
theme: "Health & Disability"
location: "Preston"
phase: "live"
sro: "Derek Hobbs"
service_man: "Pete Desmond"
phase_history:
... | 148408 | id: 8
name: "<NAME> Allowance Digital Service"
description: "Lets users who care for another person for more than 35 hours a week get a regular payment so that they can carry on giving care."
theme: "Health & Disability"
location: "Preston"
phase: "live"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [... | true | id: 8
name: "PI:NAME:<NAME>END_PI Allowance Digital Service"
description: "Lets users who care for another person for more than 35 hours a week get a regular payment so that they can carry on giving care."
theme: "Health & Disability"
location: "Preston"
phase: "live"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<... |
[
{
"context": "on occurs\ntmp.setGracefulCleanup()\nCHANNEL_KEY = 'retailerA'\n\n{ client_id, client_secret, project_key } = Con",
"end": 503,
"score": 0.9958871006965637,
"start": 494,
"tag": "KEY",
"value": "retailerA"
},
{
"context": "Type\",\"name\",\"variantId\",\"slug\",\"prices... | src/spec/integration/importXlsx.spec.coffee | daern91/sphere-node-product-csv-sync | 0 | Promise = require 'bluebird'
_ = require 'underscore'
archiver = require 'archiver'
_.mixin require('underscore-mixins')
iconv = require 'iconv-lite'
{Import} = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
Excel = require 'exceljs'
cuid = require 'cuid'
path = require '... | 74508 | Promise = require 'bluebird'
_ = require 'underscore'
archiver = require 'archiver'
_.mixin require('underscore-mixins')
iconv = require 'iconv-lite'
{Import} = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
Excel = require 'exceljs'
cuid = require 'cuid'
path = require '... | true | Promise = require 'bluebird'
_ = require 'underscore'
archiver = require 'archiver'
_.mixin require('underscore-mixins')
iconv = require 'iconv-lite'
{Import} = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
Excel = require 'exceljs'
cuid = require 'cuid'
path = require '... |
[
{
"context": "pponentName: @nameMap[session.get('creator')] or 'Anoner'\n opponentID: session.get('creator')\n ",
"end": 4541,
"score": 0.5210468769073486,
"start": 4539,
"tag": "NAME",
"value": "An"
},
{
"context": "onentName: @nameMap[session.get('creator')] or 'Anoner'\n ... | app/views/play/ladder/team_view.coffee | vyz1194/codecombat | 0 | RootView = require 'views/kinds/RootView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
LeaderboardCollection = require 'collections/LeaderboardCollection'
module.exports = class LadderTeamView extends RootView
id: 'ladder-team-view'
template: require 'templates/play/ladder/team'
s... | 174012 | RootView = require 'views/kinds/RootView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
LeaderboardCollection = require 'collections/LeaderboardCollection'
module.exports = class LadderTeamView extends RootView
id: 'ladder-team-view'
template: require 'templates/play/ladder/team'
s... | true | RootView = require 'views/kinds/RootView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
LeaderboardCollection = require 'collections/LeaderboardCollection'
module.exports = class LadderTeamView extends RootView
id: 'ladder-team-view'
template: require 'templates/play/ladder/team'
s... |
[
{
"context": "zych\"\n it_it: -> \"Nuova griglia da guide esistenti\"\n\n # Label for the “column width” field in t",
"end": 8340,
"score": 0.92681884765625,
"start": 8333,
"tag": "NAME",
"value": "istenti"
},
{
"context": "e\"\n pt_br: -> \"Direita\"\n es_e... | src/messages.coffee | JeemeJH/messages | 1 | define ->
Messages =
locale: "en_us"
supportedLocales: [
"en_us"
"fr_fr"
"pt_br"
"es_es"
"pl_pl"
"it_it"
]
# Get a localized string.
#
# key - key to find in in @library
# data - data passed to the message that can be used in the template
#
... | 102725 | define ->
Messages =
locale: "en_us"
supportedLocales: [
"en_us"
"fr_fr"
"pt_br"
"es_es"
"pl_pl"
"it_it"
]
# Get a localized string.
#
# key - key to find in in @library
# data - data passed to the message that can be used in the template
#
... | true | define ->
Messages =
locale: "en_us"
supportedLocales: [
"en_us"
"fr_fr"
"pt_br"
"es_es"
"pl_pl"
"it_it"
]
# Get a localized string.
#
# key - key to find in in @library
# data - data passed to the message that can be used in the template
#
... |
[
{
"context": "iew Rule to flag use constant conditions\n# @author Christian Schulz <http://rndm.de>\n###\n\n'use strict'\n\n#------------",
"end": 84,
"score": 0.9997936487197876,
"start": 68,
"tag": "NAME",
"value": "Christian Schulz"
}
] | src/rules/no-constant-condition.coffee | danielbayley/eslint-plugin-coffee | 0 | ###*
# @fileoverview Rule to flag use constant conditions
# @author Christian Schulz <http://rndm.de>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
m... | 140016 | ###*
# @fileoverview Rule to flag use constant conditions
# @author <NAME> <http://rndm.de>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
d... | true | ###*
# @fileoverview Rule to flag use constant conditions
# @author PI:NAME:<NAME>END_PI <http://rndm.de>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =... |
[
{
"context": " this\n\n # users = [{\n # username : \"gokmen\"\n # email : \"gokmen@koding.com\"\n ",
"end": 2829,
"score": 0.9995869994163513,
"start": 2823,
"tag": "USERNAME",
"value": "gokmen"
},
{
"context": "ername : \"gokmen\"\n # email ... | scripts/user-importer/main.coffee | ezgikaysi/koding | 1 |
createUsers = (users)->
Bongo = require 'bongo'
{ join: joinPath } = require 'path'
{ v4: createId } = require 'node-uuid'
KONFIG = require 'koding-config-manager'
mongo = "mongodb://#{KONFIG.mongo}"
if process.env.MONGO_URL
mongo = process.env.MONGO_URL
modelPath = '../../workers/social/... | 32952 |
createUsers = (users)->
Bongo = require 'bongo'
{ join: joinPath } = require 'path'
{ v4: createId } = require 'node-uuid'
KONFIG = require 'koding-config-manager'
mongo = "mongodb://#{KONFIG.mongo}"
if process.env.MONGO_URL
mongo = process.env.MONGO_URL
modelPath = '../../workers/social/... | true |
createUsers = (users)->
Bongo = require 'bongo'
{ join: joinPath } = require 'path'
{ v4: createId } = require 'node-uuid'
KONFIG = require 'koding-config-manager'
mongo = "mongodb://#{KONFIG.mongo}"
if process.env.MONGO_URL
mongo = process.env.MONGO_URL
modelPath = '../../workers/social/... |
[
{
"context": "(@robot)\n\n setTimeout done, 100\n room.user.say 'alice', 'hubot graf db monitoring-default:network serve",
"end": 699,
"score": 0.995623767375946,
"start": 694,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "'\n process.env.HUBOT_GRAFANA_S3_ACCESS_KEY_ID='9... | test/grafana-s3-test.coffee | shonenada/hubot-grafana | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
room = null
before ->
matchesBlanket = (path) -> path.match /node_modules\/blanket/
runningTestCoverage = O... | 140511 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
room = null
before ->
matchesBlanket = (path) -> path.match /node_modules\/blanket/
runningTestCoverage = O... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
room = null
before ->
matchesBlanket = (path) -> path.match /node_modules\/blanket/
runningTestCoverage = O... |
[
{
"context": "init = =>\n this.pusher = new Pusher '2d212b249c84f8c7ba5c',\n encrypted: tru",
"end": 283,
"score": 0.5166587829589844,
"start": 282,
"tag": "PASSWORD",
"value": "2"
},
{
"context": " =>\n this.pusher = new Pusher '2d212b249c84f8c7b... | resources/assets/coffee/services/pusher.coffee | maxflex/egerep | 0 | angular.module 'Egerep'
.service 'PusherService', ($http) ->
this.bind = (channel, callback) ->
init() if this.pusher is undefined
this.channel.bind "App\\Events\\#{ channel }", callback
init = =>
this.pusher = new Pusher '2d212b249c84f8c7ba5c',
e... | 166597 | angular.module 'Egerep'
.service 'PusherService', ($http) ->
this.bind = (channel, callback) ->
init() if this.pusher is undefined
this.channel.bind "App\\Events\\#{ channel }", callback
init = =>
this.pusher = new Pusher '2d<PASSWORD>12b24<PASSWORD>f8c<PASSWORD>... | true | angular.module 'Egerep'
.service 'PusherService', ($http) ->
this.bind = (channel, callback) ->
init() if this.pusher is undefined
this.channel.bind "App\\Events\\#{ channel }", callback
init = =>
this.pusher = new Pusher '2dPI:PASSWORD:<PASSWORD>END_PI12b24PI:PA... |
[
{
"context": "tockpile, Fairgrounds, Hamlet, Jester, Journeyman, Taxman\"\n \"Thrill of the Hunt: Way of the Rat, Pursue, ",
"end": 3334,
"score": 0.8563030362129211,
"start": 3328,
"tag": "NAME",
"value": "Taxman"
}
] | process/kingdoms.coffee | davidtorosyan/KingdomCreator | 27 | Loader = require('./loader')
sets = Loader.loadSets()
findCardByShortId = (shortId) ->
for setId, set of sets
for card in set.cards
if shortId == card.shortId
return card
if set.events
for event in set.events
if shortId == event.shortId
return e... | 58846 | Loader = require('./loader')
sets = Loader.loadSets()
findCardByShortId = (shortId) ->
for setId, set of sets
for card in set.cards
if shortId == card.shortId
return card
if set.events
for event in set.events
if shortId == event.shortId
return e... | true | Loader = require('./loader')
sets = Loader.loadSets()
findCardByShortId = (shortId) ->
for setId, set of sets
for card in set.cards
if shortId == card.shortId
return card
if set.events
for event in set.events
if shortId == event.shortId
return e... |
[
{
"context": "bre\"\n contact: \"Contacto\"\n twitter_follow: \"Seguir\"\n teachers: \"Profesores\"\n\n modal:\n close: ",
"end": 1668,
"score": 0.9994849562644958,
"start": 1662,
"tag": "USERNAME",
"value": "Seguir"
},
{
"context": "spectate: \"Observar\" # Ladder page\... | app/locale/es-419.coffee | rishiloyola/codecombat | 0 | module.exports = nativeDescription: "español (América Latina)", englishDescription: "Spanish (Latin America)", translation:
home:
slogan: "Aprende a programar jugando"
no_ie: "¡Lo sentimos! CodeCombat no funciona en Internet Explorer 8 o versiones anteriores." # Warning that only shows up in IE8 and older
... | 188854 | module.exports = nativeDescription: "español (América Latina)", englishDescription: "Spanish (Latin America)", translation:
home:
slogan: "Aprende a programar jugando"
no_ie: "¡Lo sentimos! CodeCombat no funciona en Internet Explorer 8 o versiones anteriores." # Warning that only shows up in IE8 and older
... | true | module.exports = nativeDescription: "español (América Latina)", englishDescription: "Spanish (Latin America)", translation:
home:
slogan: "Aprende a programar jugando"
no_ie: "¡Lo sentimos! CodeCombat no funciona en Internet Explorer 8 o versiones anteriores." # Warning that only shows up in IE8 and older
... |
[
{
"context": "###\n * javascript 打包\n * @author jackie Lin <dashi_lin @163.com>\n###\n\n'use strict'\nthrough2 =",
"end": 42,
"score": 0.9996557831764221,
"start": 32,
"tag": "NAME",
"value": "jackie Lin"
},
{
"context": "###\n * javascript 打包\n * @author jackie Lin <dashi_lin @163.c... | pack.coffee | JackieLin/gis | 0 | ###
* javascript 打包
* @author jackie Lin <dashi_lin @163.com>
###
'use strict'
through2 = require 'through2'
FS = require "q-io/fs"
path = require 'path'
gutil = require 'gulp-util'
_ = require 'lodash'
config = {}
###
* 设置配置
###
exports.setConfig = (projectConfig) ->
config = projectConfig
###
* 将对应目录的文件进... | 190006 | ###
* javascript 打包
* @author <NAME> <<EMAIL>>
###
'use strict'
through2 = require 'through2'
FS = require "q-io/fs"
path = require 'path'
gutil = require 'gulp-util'
_ = require 'lodash'
config = {}
###
* 设置配置
###
exports.setConfig = (projectConfig) ->
config = projectConfig
###
* 将对应目录的文件进行合并
###
exports... | true | ###
* javascript 打包
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
through2 = require 'through2'
FS = require "q-io/fs"
path = require 'path'
gutil = require 'gulp-util'
_ = require 'lodash'
config = {}
###
* 设置配置
###
exports.setConfig = (projectConfig) ->
config = projectConfig
##... |
[
{
"context": "eventDefault()\n @btnDisable()\n username = @$username.val()\n password = @$password.val()\n if @$re",
"end": 724,
"score": 0.9315829873085022,
"start": 716,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n username = @$username.val()\n passw... | NodeSite/NodeSite/static/coffee/login.coffee | creamidea/Mushroom | 1 | class Login
# alert 'ice'
constructor: (uri) ->
@$login = $login = $('#login')
@$username = $login.find('input[name=username]')
@$password = $login.find('input[name=password]')
@$remember = $login.find('input[name=remember]')
@$btnLogin = $btnLogin = $login.find('button[type="submit"]')
@log... | 48105 | class Login
# alert 'ice'
constructor: (uri) ->
@$login = $login = $('#login')
@$username = $login.find('input[name=username]')
@$password = $login.find('input[name=password]')
@$remember = $login.find('input[name=remember]')
@$btnLogin = $btnLogin = $login.find('button[type="submit"]')
@log... | true | class Login
# alert 'ice'
constructor: (uri) ->
@$login = $login = $('#login')
@$username = $login.find('input[name=username]')
@$password = $login.find('input[name=password]')
@$remember = $login.find('input[name=remember]')
@$btnLogin = $btnLogin = $login.find('button[type="submit"]')
@log... |
[
{
"context": "ollaborators = [\n id: \"35\"\n full_name: \"Aaron Baker\"\n info: \"testroles2, collaborator\"\n ]\n\n ",
"end": 500,
"score": 0.9998461008071899,
"start": 489,
"tag": "NAME",
"value": "Aaron Baker"
}
] | test/javascripts/integration/super_ad_hoc_test.js.coffee | johan--/tahi | 1 | module 'Integration: Super AdHoc Card',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
records = ETahi.Setups.paperWithTask('Task'
id: 1
title: "Super Ad-Hoc"
)
ETahi.Test = {}
ETahi.Test.currentPaper = records[0]
paperPayload = ef.createP... | 202367 | module 'Integration: Super AdHoc Card',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
records = ETahi.Setups.paperWithTask('Task'
id: 1
title: "Super Ad-Hoc"
)
ETahi.Test = {}
ETahi.Test.currentPaper = records[0]
paperPayload = ef.createP... | true | module 'Integration: Super AdHoc Card',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
records = ETahi.Setups.paperWithTask('Task'
id: 1
title: "Super Ad-Hoc"
)
ETahi.Test = {}
ETahi.Test.currentPaper = records[0]
paperPayload = ef.createP... |
[
{
"context": "tClient = new CanadaPostClient\n username: 'oh canada'\n password: 'zamboni'\n\n\n describe \"delivere",
"end": 505,
"score": 0.651942789554596,
"start": 499,
"tag": "USERNAME",
"value": "canada"
},
{
"context": "ient\n username: 'oh canada'\n passw... | test/canada_post.coffee | launchd-baemon/rebu-track | 82 | fs = require 'fs'
assert = require 'assert'
should = require('chai').should()
expect = require('chai').expect
bond = require 'bondjs'
{CanadaPostClient} = require '../lib/canada_post'
{ShipperClient} = require '../lib/shipper'
{Builder, Parser} = require 'xml2js'
describe "canada post client", ->
_canpostClient = nu... | 86739 | fs = require 'fs'
assert = require 'assert'
should = require('chai').should()
expect = require('chai').expect
bond = require 'bondjs'
{CanadaPostClient} = require '../lib/canada_post'
{ShipperClient} = require '../lib/shipper'
{Builder, Parser} = require 'xml2js'
describe "canada post client", ->
_canpostClient = nu... | true | fs = require 'fs'
assert = require 'assert'
should = require('chai').should()
expect = require('chai').expect
bond = require 'bondjs'
{CanadaPostClient} = require '../lib/canada_post'
{ShipperClient} = require '../lib/shipper'
{Builder, Parser} = require 'xml2js'
describe "canada post client", ->
_canpostClient = nu... |
[
{
"context": "e:\n label: 'Username (temporary)'\n id: 'instructor_username'\n value: ''\n \n wizard_start_date:\n ",
"end": 743,
"score": 0.9991706609725952,
"start": 724,
"tag": "USERNAME",
"value": "instructor_username"
},
{
"context": "hing_else:\n ty... | source/javascripts/data/WizardStepInputs.coffee | WikiEducationFoundation/WikiEduWizard | 1 | WizardStepInputs =
intro:
teacher:
type: 'text'
label: 'Instructor name'
id: 'teacher'
value: ''
required: true
course_name:
type: 'text'
label: 'Course name'
id: 'course_name'
value: ''
required: true
school:
type: 'text'
labe... | 146488 | WizardStepInputs =
intro:
teacher:
type: 'text'
label: 'Instructor name'
id: 'teacher'
value: ''
required: true
course_name:
type: 'text'
label: 'Course name'
id: 'course_name'
value: ''
required: true
school:
type: 'text'
labe... | true | WizardStepInputs =
intro:
teacher:
type: 'text'
label: 'Instructor name'
id: 'teacher'
value: ''
required: true
course_name:
type: 'text'
label: 'Course name'
id: 'course_name'
value: ''
required: true
school:
type: 'text'
labe... |
[
{
"context": " : \"(555) 123-4567\"\n \"contact person\": \"JOHN DOE\"\n \"title\" : \"WWW Widgets Associati",
"end": 354,
"score": 0.9998860359191895,
"start": 346,
"tag": "NAME",
"value": "JOHN DOE"
},
{
"context": "Profile.aspx?applid=9\"\n \"email\... | test/issue-13.coffee | rodolforios/json-csv | 3 | jsoncsv = require '../index'
should = require "should"
describe.skip "Issue 13", ->
describe "When exporting fields containing literal periods as opposed to object separators", ->
before (done) ->
@items = [{
"website url" : "http ://www.somewhere.com"
"phone no." : "(555) 123-4567"
... | 150377 | jsoncsv = require '../index'
should = require "should"
describe.skip "Issue 13", ->
describe "When exporting fields containing literal periods as opposed to object separators", ->
before (done) ->
@items = [{
"website url" : "http ://www.somewhere.com"
"phone no." : "(555) 123-4567"
... | true | jsoncsv = require '../index'
should = require "should"
describe.skip "Issue 13", ->
describe "When exporting fields containing literal periods as opposed to object separators", ->
before (done) ->
@items = [{
"website url" : "http ://www.somewhere.com"
"phone no." : "(555) 123-4567"
... |
[
{
"context": "ocessor\n\nasp = new ASP {}\nbundle = null\nuserid = 'maxtaco@keybase.io'\nmaster_passphrase = Buffer.from 'so long and tha",
"end": 465,
"score": 0.9999043345451355,
"start": 447,
"tag": "EMAIL",
"value": "maxtaco@keybase.io"
},
{
"context": "taco@keybase.io'\nmaster_p... | test/files/keymanager.iced | samkenxstream/kbpgp | 464 | kbpgp = require '../../'
{kb,KeyManager} = kbpgp
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
example_keys = (require '../data/keys.iced').keys
C = requ... | 130251 | kbpgp = require '../../'
{kb,KeyManager} = kbpgp
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
example_keys = (require '../data/keys.iced').keys
C = requ... | true | kbpgp = require '../../'
{kb,KeyManager} = kbpgp
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
example_keys = (require '../data/keys.iced').keys
C = requ... |
[
{
"context": "# @fileoverview Tests for global-require\n# @author Jamund Ferguson\n###\n\n'use strict'\n\n#-----------------------------",
"end": 71,
"score": 0.9998663663864136,
"start": 56,
"tag": "NAME",
"value": "Jamund Ferguson"
}
] | src/tests/rules/global-require.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for global-require
# @author Jamund Ferguson
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/global-require'
{Rul... | 70844 | ###*
# @fileoverview Tests for global-require
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/global-require'
{RuleTester} ... | true | ###*
# @fileoverview Tests for global-require
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/global-require'... |
[
{
"context": "le: 'test'\n inspired: no\n users: [\n {email: 'house@gmail.com', name: 'house'}\n {email: 'cuddy@gmail.com', n",
"end": 219,
"score": 0.9999223947525024,
"start": 204,
"tag": "EMAIL",
"value": "house@gmail.com"
},
{
"context": "\n users: [\n {email: 'house@... | wro4j-examples/wro4j-demo/src/main/webapp/static/coffee/benchmark.coffee | changcheng/wro4j | 1 | coffeekup = require './src/coffeekup'
jade = require 'jade'
ejs = require 'ejs'
eco = require 'eco'
haml = require 'haml'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: 'house@gmail.com', name: 'house'}
{email: 'cuddy@gmail.com', name: 'cuddy'}
{email: 'wilson@gmail.com', name:... | 222066 | coffeekup = require './src/coffeekup'
jade = require 'jade'
ejs = require 'ejs'
eco = require 'eco'
haml = require 'haml'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: '<EMAIL>', name: 'house'}
{email: '<EMAIL>', name: '<NAME>'}
{email: '<EMAIL>', name: '<NAME>'}
]
coffeeku... | true | coffeekup = require './src/coffeekup'
jade = require 'jade'
ejs = require 'ejs'
eco = require 'eco'
haml = require 'haml'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'house'}
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'PI:NAME:<NAME>END_PI'}
{ema... |
[
{
"context": "est 'nested for .. of .. loops', (cb) ->\n x =\n christian:\n age: 36\n last: \"rudder\"\n max:\n ",
"end": 6467,
"score": 0.9364180564880371,
"start": 6458,
"tag": "NAME",
"value": "christian"
},
{
"context": "\n x =\n christian:\n age: 36\... | test/iced.coffee | zapu/iced-coffee-script-v3 | 1 |
delay = (cb, i) ->
i = i || 3
setTimeout cb, i
atest "cb scoping", (cb) ->
# Common pattern used in iced programming - ensure
# scoping rules here do not change for any reason.
foo = (cb) ->
await delay defer()
cb false, {} # to be ignored - we should call foo's func cb, not outer func cb
await ... | 210396 |
delay = (cb, i) ->
i = i || 3
setTimeout cb, i
atest "cb scoping", (cb) ->
# Common pattern used in iced programming - ensure
# scoping rules here do not change for any reason.
foo = (cb) ->
await delay defer()
cb false, {} # to be ignored - we should call foo's func cb, not outer func cb
await ... | true |
delay = (cb, i) ->
i = i || 3
setTimeout cb, i
atest "cb scoping", (cb) ->
# Common pattern used in iced programming - ensure
# scoping rules here do not change for any reason.
foo = (cb) ->
await delay defer()
cb false, {} # to be ignored - we should call foo's func cb, not outer func cb
await ... |
[
{
"context": " \":\" + String app.config.port\n\nvalidEmail = \"matthieu.stone@gmail.com\"\ninvalidEmail = \"nol\"\n\nvalidPassword = \"vali",
"end": 728,
"score": 0.9999203085899353,
"start": 704,
"tag": "EMAIL",
"value": "matthieu.stone@gmail.com"
},
{
"context": ".com\"\... | test/working-tests/user-create-login.test.coffee | mattstone/StarterApp-Server | 0 | should = require('chai').should()
config = require '../config/config.test.coffee'
request = require 'request'
# Start Setup App
app = {}
app.config = require '../config/config.test.coffee'
app.helpers = require '../lib/helpers.coffee'
app.mongoose = require 'mongoose'
app.mongoose.promise = global.Promise
app.... | 123896 | should = require('chai').should()
config = require '../config/config.test.coffee'
request = require 'request'
# Start Setup App
app = {}
app.config = require '../config/config.test.coffee'
app.helpers = require '../lib/helpers.coffee'
app.mongoose = require 'mongoose'
app.mongoose.promise = global.Promise
app.... | true | should = require('chai').should()
config = require '../config/config.test.coffee'
request = require 'request'
# Start Setup App
app = {}
app.config = require '../config/config.test.coffee'
app.helpers = require '../lib/helpers.coffee'
app.mongoose = require 'mongoose'
app.mongoose.promise = global.Promise
app.... |
[
{
"context": "<li class=\"item click20\" data-id=\"3\" data-key=\"anyone\">Tre<span class=\"tags\">bully,zombopuppy</span></l",
"end": 9225,
"score": 0.7801569104194641,
"start": 9222,
"tag": "KEY",
"value": "one"
}
] | test/components/list/nested_list_test.coffee | pieces-js/pieces-list | 0 | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List.NestedSelect", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div ... | 60837 | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List.NestedSelect", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div ... | true | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List.NestedSelect", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div ... |
[
{
"context": "path\n id: @token.getID()\n token: @token.get()\n\n @termView = new TerminalView(@term, null, ",
"end": 6205,
"score": 0.5788967609405518,
"start": 6202,
"tag": "KEY",
"value": "get"
}
] | lib/commit-live.coffee | commit-live-admin/dev-greyatom-ide | 5 | localStorage = require './local-storage'
{CompositeDisposable, Notification} = require 'atom'
Terminal = require './terminal'
TerminalView = require './views/terminal'
StatusView = require './views/status'
{EventEmitter} = require 'events'
Updater = require './updater'
ProjectSearch = require './project-search'
bus = r... | 201180 | localStorage = require './local-storage'
{CompositeDisposable, Notification} = require 'atom'
Terminal = require './terminal'
TerminalView = require './views/terminal'
StatusView = require './views/status'
{EventEmitter} = require 'events'
Updater = require './updater'
ProjectSearch = require './project-search'
bus = r... | true | localStorage = require './local-storage'
{CompositeDisposable, Notification} = require 'atom'
Terminal = require './terminal'
TerminalView = require './views/terminal'
StatusView = require './views/status'
{EventEmitter} = require 'events'
Updater = require './updater'
ProjectSearch = require './project-search'
bus = r... |
[
{
"context": "ontroller.create()\n#myArray.content.pushObjects([\"Jack\", \"Cassandra\", \"Raj\"])\n\n#window.myArray2 = Ember.",
"end": 1231,
"score": 0.9971268773078918,
"start": 1227,
"tag": "NAME",
"value": "Jack"
},
{
"context": "r.create()\n#myArray.content.pushObjects([\"Jack\... | app/assets/javascripts/sorted-array.js.coffee | StoneCypher/coderwall | 1 | Ember.SortedArrayController = Ember.ArrayController.extend(
sortOrder: "normal"
sortFunction: null
inputCollectionName: "content"
outputCollectionName: "content"
maxCollectionSize: -1
init: ->
@set(@inputCollectionName, [])
@addObserver(@inputCollectionName + '.@each', ->
@elementAdded())
... | 52055 | Ember.SortedArrayController = Ember.ArrayController.extend(
sortOrder: "normal"
sortFunction: null
inputCollectionName: "content"
outputCollectionName: "content"
maxCollectionSize: -1
init: ->
@set(@inputCollectionName, [])
@addObserver(@inputCollectionName + '.@each', ->
@elementAdded())
... | true | Ember.SortedArrayController = Ember.ArrayController.extend(
sortOrder: "normal"
sortFunction: null
inputCollectionName: "content"
outputCollectionName: "content"
maxCollectionSize: -1
init: ->
@set(@inputCollectionName, [])
@addObserver(@inputCollectionName + '.@each', ->
@elementAdded())
... |
[
{
"context": " ->\n x = 0x40000000\n \n # Put in an eval to foil Crankshaft.\n eval \"\"\n i = 0\n\n while i < 1000000\n asser",
"end": 2162,
"score": 0.9997960925102234,
"start": 2152,
"tag": "NAME",
"value": "Crankshaft"
}
] | deps/v8/test/mjsunit/bit-not.coffee | lxe/io.coffee | 0 | # Copyright 2009 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | 109043 | # Copyright 2009 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | true | # Copyright 2009 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... |
[
{
"context": ".com/'\n\ndescribe 'Balena SDK', ->\n\n\tvalidKeys = ['auth', 'models', 'logs', 'settings', 'version']\n\n\tdescribe 'factory function', ->\n\n\t\tdes",
"end": 289,
"score": 0.9624083042144775,
"start": 251,
"tag": "KEY",
"value": "auth', 'models', 'logs', 'settings', '"
}
] | tests/integration/balena.spec.coffee | josecoelho/balena-sdk | 1 | m = require('mochainon')
packageJSON = require('../../package.json')
{ balena, getSdk, sdkOpts, givenLoggedInUser } = require('./setup')
DIFFERENT_TEST_SERVER_URL = 'https://www.non-balena-api-domain.com/'
describe 'Balena SDK', ->
validKeys = ['auth', 'models', 'logs', 'settings', 'version']
describe 'factory f... | 207671 | m = require('mochainon')
packageJSON = require('../../package.json')
{ balena, getSdk, sdkOpts, givenLoggedInUser } = require('./setup')
DIFFERENT_TEST_SERVER_URL = 'https://www.non-balena-api-domain.com/'
describe 'Balena SDK', ->
validKeys = ['<KEY>version']
describe 'factory function', ->
describe 'given n... | true | m = require('mochainon')
packageJSON = require('../../package.json')
{ balena, getSdk, sdkOpts, givenLoggedInUser } = require('./setup')
DIFFERENT_TEST_SERVER_URL = 'https://www.non-balena-api-domain.com/'
describe 'Balena SDK', ->
validKeys = ['PI:KEY:<KEY>END_PIversion']
describe 'factory function', ->
desc... |
[
{
"context": "00\n\nstartServer = ->\n books = [\n {id:\"1\", title:\"Moby Dick\", author:\"Herman Melville\"}\n ]\n\n removeBook = (re",
"end": 190,
"score": 0.9902864694595337,
"start": 181,
"tag": "NAME",
"value": "Moby Dick"
},
{
"context": "\n books = [\n {id:\"1\", title:\"Mo... | server.coffee | andrewglind/library-app | 0 | "use strict"
express = require "express"
bodyParser = require "body-parser"
_ = require "underscore"
PORT = process.env.PORT || 3000
startServer = ->
books = [
{id:"1", title:"Moby Dick", author:"Herman Melville"}
]
removeBook = (req) ->
{id} = req.params
_.reject(books, (it) -> it.id is id)
router = expr... | 27189 | "use strict"
express = require "express"
bodyParser = require "body-parser"
_ = require "underscore"
PORT = process.env.PORT || 3000
startServer = ->
books = [
{id:"1", title:"<NAME>", author:"<NAME>"}
]
removeBook = (req) ->
{id} = req.params
_.reject(books, (it) -> it.id is id)
router = express.Router()... | true | "use strict"
express = require "express"
bodyParser = require "body-parser"
_ = require "underscore"
PORT = process.env.PORT || 3000
startServer = ->
books = [
{id:"1", title:"PI:NAME:<NAME>END_PI", author:"PI:NAME:<NAME>END_PI"}
]
removeBook = (req) ->
{id} = req.params
_.reject(books, (it) -> it.id is id)... |
[
{
"context": "#\n# ©2016 Lakiryt\n# \"Uebersicht Widget: Sun radar (english)\"\n#\n# Fo",
"end": 17,
"score": 0.9981982111930847,
"start": 10,
"tag": "NAME",
"value": "Lakiryt"
}
] | single language/en.coffee | lakiryt/sun-radar | 5 | #
# ©2016 Lakiryt
# "Uebersicht Widget: Sun radar (english)"
#
# Formulas:
# http://www.pveducation.org/pvcdrom/properties-of-sunlight/suns-position and /elevation-angle
#
### Everything likely to be changed are marked with a star (⭐️ there should be 5 of them). ###
### The earth-sign (🌍) marks passages that could be... | 115199 | #
# ©2016 <NAME>
# "Uebersicht Widget: Sun radar (english)"
#
# Formulas:
# http://www.pveducation.org/pvcdrom/properties-of-sunlight/suns-position and /elevation-angle
#
### Everything likely to be changed are marked with a star (⭐️ there should be 5 of them). ###
### The earth-sign (🌍) marks passages that could be ... | true | #
# ©2016 PI:NAME:<NAME>END_PI
# "Uebersicht Widget: Sun radar (english)"
#
# Formulas:
# http://www.pveducation.org/pvcdrom/properties-of-sunlight/suns-position and /elevation-angle
#
### Everything likely to be changed are marked with a star (⭐️ there should be 5 of them). ###
### The earth-sign (🌍) marks passages ... |
[
{
"context": "###\n MS Excel 2007 Creater v0.0.1\n Author : chuanyi.zheng@gmail.com\n History: 2012/11/07 first created\n###\n\nfs = re",
"end": 69,
"score": 0.9998787045478821,
"start": 46,
"tag": "EMAIL",
"value": "chuanyi.zheng@gmail.com"
}
] | src/msexcel-builder.coffee | chanlee/msexcel-builder | 8 | ###
MS Excel 2007 Creater v0.0.1
Author : chuanyi.zheng@gmail.com
History: 2012/11/07 first created
###
fs = require 'fs'
path = require 'path'
exec = require 'child_process'
xml = require 'xmlbuilder'
existsSync = fs.existsSync || path.existsSync
tool =
i2a : (i) ->
return 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.... | 182740 | ###
MS Excel 2007 Creater v0.0.1
Author : <EMAIL>
History: 2012/11/07 first created
###
fs = require 'fs'
path = require 'path'
exec = require 'child_process'
xml = require 'xmlbuilder'
existsSync = fs.existsSync || path.existsSync
tool =
i2a : (i) ->
return 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.charAt(i-1)
c... | true | ###
MS Excel 2007 Creater v0.0.1
Author : PI:EMAIL:<EMAIL>END_PI
History: 2012/11/07 first created
###
fs = require 'fs'
path = require 'path'
exec = require 'child_process'
xml = require 'xmlbuilder'
existsSync = fs.existsSync || path.existsSync
tool =
i2a : (i) ->
return 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.c... |
[
{
"context": "ons\" unless (@options.token.substring(0, 5) in ['xoxb-', 'xoxp-'])\n\n # Setup client event handlers\n ",
"end": 558,
"score": 0.7124569416046143,
"start": 555,
"tag": "KEY",
"value": "oxb"
},
{
"context": " (@options.token.substring(0, 5) in ['xoxb-', 'xoxp-'])\n\n... | src/bot.coffee | EdtechFoundry/hubot-slack | 0 | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Message, CatchAllMessage} = require.main.require 'hubot'
SlackClient = require './client'
class SlackBot extends Adapter
constructor: (@robot, @options) ->
@client = new SlackClient(@options)
###
Slackbot initialization
###
run: ->
... | 83160 | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Message, CatchAllMessage} = require.main.require 'hubot'
SlackClient = require './client'
class SlackBot extends Adapter
constructor: (@robot, @options) ->
@client = new SlackClient(@options)
###
Slackbot initialization
###
run: ->
... | true | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Message, CatchAllMessage} = require.main.require 'hubot'
SlackClient = require './client'
class SlackBot extends Adapter
constructor: (@robot, @options) ->
@client = new SlackClient(@options)
###
Slackbot initialization
###
run: ->
... |
[
{
"context": "ods section unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\nTest.set \"/c",
"end": 95,
"score": 0.9998844265937805,
"start": 78,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/test/element/commons_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The Element common methods section unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
Test.set "/commons.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="test" data-test="test"... | 83620 | #
# The Element common methods section unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
Test.set "/commons.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="test" data-test="test"></div>
... | true | #
# The Element common methods section unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
Test.set "/commons.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="test" data-test="te... |
[
{
"context": "e Prem\n# hubot kee ghoshana Prem\n#\n# Author:\n# Mateusz Kopij <sagasu>\n\nPREM_QU = [\n \"Bugz, Bugz, Bugz\",\n \"Wo",
"end": 260,
"score": 0.9998694062232971,
"start": 247,
"tag": "NAME",
"value": "Mateusz Kopij"
},
{
"context": " kee ghoshana Prem\n#\n# Autho... | scripts/prem.coffee | sagasu/hubot-prem | 0 | ### # Description:
# Prem at its glory
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot tell me
# hubot how are you?
# hubot what do you think
# hubot announce Prem
# hubot kee ghoshana Prem
#
# Author:
# Mateusz Kopij <sagasu>
PREM_QU = [
"Bugz, Bugz, Bugz",
"Worship me, ... | 86162 | ### # Description:
# Prem at its glory
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot tell me
# hubot how are you?
# hubot what do you think
# hubot announce Prem
# hubot kee ghoshana Prem
#
# Author:
# <NAME> <sagasu>
PREM_QU = [
"Bugz, Bugz, Bugz",
"Worship me, mere pe... | true | ### # Description:
# Prem at its glory
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot tell me
# hubot how are you?
# hubot what do you think
# hubot announce Prem
# hubot kee ghoshana Prem
#
# Author:
# PI:NAME:<NAME>END_PI <sagasu>
PREM_QU = [
"Bugz, Bugz, Bugz",
"Worsh... |
[
{
"context": " : 'name'\n value : 'Fatih'\n }\n {\n type : ",
"end": 595,
"score": 0.7805279493331909,
"start": 590,
"tag": "NAME",
"value": "Fatih"
},
{
"context": "d update form data', ->\n form.setData { name: 'Joh... | src/tests/components/forms/test_form.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.Form'
goog.require 'spark.components.Input'
goog.require 'spark.components.Button'
goog.require 'spark.components.LabeledInput'
describe 'spark.components.Form', ->
form = null
f = null
cancelled = null
submitted = null
options ... | 170586 | goog = goog or goog = require: ->
goog.require 'spark.components.Form'
goog.require 'spark.components.Input'
goog.require 'spark.components.Button'
goog.require 'spark.components.LabeledInput'
describe 'spark.components.Form', ->
form = null
f = null
cancelled = null
submitted = null
options ... | true | goog = goog or goog = require: ->
goog.require 'spark.components.Form'
goog.require 'spark.components.Input'
goog.require 'spark.components.Button'
goog.require 'spark.components.LabeledInput'
describe 'spark.components.Form', ->
form = null
f = null
cancelled = null
submitted = null
options ... |
[
{
"context": "ity.login()\n \n user=prompt('username')\n pass=prompt('password')\n ",
"end": 2102,
"score": 0.9955651164054871,
"start": 2094,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ompt('username')\n pass... | examples/cluster/frontend/app.coffee | nero-networks/floyd | 0 |
SECRETS = floyd.tools.stores.read('auth', '../secrets.json')
module.exports = new floyd.Config 'config.gui.server', 'config.dnode.server',
UID: 33 ## www-data
GID: 33 ## www-data
##
data:
debug: true
#logger: (level: 'DEBUG')
port: 8030
children: [
... | 119061 |
SECRETS = floyd.tools.stores.read('auth', '../secrets.json')
module.exports = new floyd.Config 'config.gui.server', 'config.dnode.server',
UID: 33 ## www-data
GID: 33 ## www-data
##
data:
debug: true
#logger: (level: 'DEBUG')
port: 8030
children: [
... | true |
SECRETS = floyd.tools.stores.read('auth', '../secrets.json')
module.exports = new floyd.Config 'config.gui.server', 'config.dnode.server',
UID: 33 ## www-data
GID: 33 ## www-data
##
data:
debug: true
#logger: (level: 'DEBUG')
port: 8030
children: [
... |
[
{
"context": "m/2.0/?method=track.search' +\n '&api_key=c513f3a2a2dad1d1a07021e181df1b1f&format=json&track=' +\n encodeURIComponen",
"end": 1698,
"score": 0.9997285604476929,
"start": 1666,
"tag": "KEY",
"value": "c513f3a2a2dad1d1a07021e181df1b1f"
}
] | coffee/_trackSource.coffee | sachintaware/Atraci | 1 | request = require('request')
class TrackSource
#Variables
imageCoverLarge = 'images/cover_default_large.png'
@search: (options, success) ->
tracks_all = {
"itunes": []
"lastfm": []
"soundcloud": []
}
mashTracks = ->
tracks_allconcat = tracks_all['itunes'].concat(
track... | 1248 | request = require('request')
class TrackSource
#Variables
imageCoverLarge = 'images/cover_default_large.png'
@search: (options, success) ->
tracks_all = {
"itunes": []
"lastfm": []
"soundcloud": []
}
mashTracks = ->
tracks_allconcat = tracks_all['itunes'].concat(
track... | true | request = require('request')
class TrackSource
#Variables
imageCoverLarge = 'images/cover_default_large.png'
@search: (options, success) ->
tracks_all = {
"itunes": []
"lastfm": []
"soundcloud": []
}
mashTracks = ->
tracks_allconcat = tracks_all['itunes'].concat(
track... |
[
{
"context": "他机器测试,需要修改URL中所有内容\n#\n#XHR-Polling 测试\n#connect-url:119.254.108.75:8203/websocket?appId=cpj2xarlj5cdn&token=dXOJIInq",
"end": 201,
"score": 0.9996485710144043,
"start": 187,
"tag": "IP_ADDRESS",
"value": "119.254.108.75"
},
{
"context": "4.108.75:8203/websocket?appId=c... | test/spec/websocketSpec.coffee | nojsja/rongcloud-web-im-sdk-v2 | 98 | #测试方法
#用WebSDK1.0(以下简称:V1.0)的Sever作为测试Sever
#1、获取V1.0的URL
#2、用V2.0的通讯通道发送消息,V1.0接收消息(避免转换二进制等操作)
#3、验证:可互相收发消息为测试通过(通道畅通),后续完善细节
#PS:
#若其他机器测试,需要修改URL中所有内容
#
#XHR-Polling 测试
#connect-url:119.254.108.75:8203/websocket?appId=cpj2xarlj5cdn&token=dXOJIInqKDahrpig%2BTJcq3U1lgYP6zEv1OpCrfDse9JiBi4BNyqa2MRus3mUdaZlHmSaXaVmp5%... | 155771 | #测试方法
#用WebSDK1.0(以下简称:V1.0)的Sever作为测试Sever
#1、获取V1.0的URL
#2、用V2.0的通讯通道发送消息,V1.0接收消息(避免转换二进制等操作)
#3、验证:可互相收发消息为测试通过(通道畅通),后续完善细节
#PS:
#若其他机器测试,需要修改URL中所有内容
#
#XHR-Polling 测试
#connect-url:172.16.58.3:8203/websocket?appId=cpj2xarlj5cdn&token=<KEY>&sdkVer=1.0.0&apiVer=1.0.0
#send-url:172.16.58.3:8203/websocket?messageid=9... | true | #测试方法
#用WebSDK1.0(以下简称:V1.0)的Sever作为测试Sever
#1、获取V1.0的URL
#2、用V2.0的通讯通道发送消息,V1.0接收消息(避免转换二进制等操作)
#3、验证:可互相收发消息为测试通过(通道畅通),后续完善细节
#PS:
#若其他机器测试,需要修改URL中所有内容
#
#XHR-Polling 测试
#connect-url:PI:IP_ADDRESS:172.16.58.3END_PI:8203/websocket?appId=cpj2xarlj5cdn&token=PI:KEY:<KEY>END_PI&sdkVer=1.0.0&apiVer=1.0.0
#send-url:PI:IP... |
[
{
"context": "$.parseTemp('[a] is falling love with [b]!', {a: 'Homura', b: 'Madoka'})\", ->\n\n temp = '[a] is falling ",
"end": 3046,
"score": 0.9990390539169312,
"start": 3040,
"tag": "NAME",
"value": "Homura"
},
{
"context": "[a] is falling love with [b]!', {a: 'Homura', b: 'M... | test/test.coffee | phonowell/node-jquery-extend | 0 | # require
$ = require './../index'
{_} = $
# test variable
SUBJECT = [
1024 # number
'hello world' # string
true # boolean
[1, 2, 3] # array
{a: 1, b: 2} # object
-> null # function
new Date() # date
new Error('All Right') # error
new Buffer('String') # buffer
null # null
undefined # undefined
... | 223943 | # require
$ = require './../index'
{_} = $
# test variable
SUBJECT = [
1024 # number
'hello world' # string
true # boolean
[1, 2, 3] # array
{a: 1, b: 2} # object
-> null # function
new Date() # date
new Error('All Right') # error
new Buffer('String') # buffer
null # null
undefined # undefined
... | true | # require
$ = require './../index'
{_} = $
# test variable
SUBJECT = [
1024 # number
'hello world' # string
true # boolean
[1, 2, 3] # array
{a: 1, b: 2} # object
-> null # function
new Date() # date
new Error('All Right') # error
new Buffer('String') # buffer
null # null
undefined # undefined
... |
[
{
"context": "f aircon:clean 123abc... .\n# hubot set @kitchen 192.168.1.23 - Names IP address 192.168.1.23 kitchen.\n",
"end": 2503,
"score": 0.9997091293334961,
"start": 2491,
"tag": "IP_ADDRESS",
"value": "192.168.1.23"
},
{
"context": " @kitchen 192.168.1.23 - N... | src/broadlink-rm.coffee | takjg/hubot-broadlink-rm | 26 | # Description
# Learns and sends IR hex codes with Broadlink RM.
#
# Configuration:
# None
#
# Messages:
# hubot learn <code> [n-m] [@<room>] - Learns IR hex code at <room> and names it <code>.
# hubot send [[<wait>]] (<code>[@<room>]|<cmd>)[[<wait>]]*n ... - Sends IR hex <code> to <room> in <wait> <n> t... | 2204 | # Description
# Learns and sends IR hex codes with Broadlink RM.
#
# Configuration:
# None
#
# Messages:
# hubot learn <code> [n-m] [@<room>] - Learns IR hex code at <room> and names it <code>.
# hubot send [[<wait>]] (<code>[@<room>]|<cmd>)[[<wait>]]*n ... - Sends IR hex <code> to <room> in <wait> <n> t... | true | # Description
# Learns and sends IR hex codes with Broadlink RM.
#
# Configuration:
# None
#
# Messages:
# hubot learn <code> [n-m] [@<room>] - Learns IR hex code at <room> and names it <code>.
# hubot send [[<wait>]] (<code>[@<room>]|<cmd>)[[<wait>]]*n ... - Sends IR hex <code> to <room> in <wait> <n> t... |
[
{
"context": " -h about :: Prints some info about me, Haruka!\n ```\n \"\"\"\n}\n",
"end": 869,
"score": 0.9575796127319336,
"start": 863,
"tag": "NAME",
"value": "Haruka"
}
] | src/functions/about.coffee | MindfulMinun/discord-haruka | 2 | #! ========================================
#! About
Discord = require 'discord.js'
handler = (msg, match, H) ->
chosenBlob = H.config.about.blobs.choose()
if Array.isArray chosenBlob then chosenBlob = chosenBlob.choose()
embed = new Discord.RichEmbed()
.setColor '#448aff'
.setTitle "Haruk... | 93285 | #! ========================================
#! About
Discord = require 'discord.js'
handler = (msg, match, H) ->
chosenBlob = H.config.about.blobs.choose()
if Array.isArray chosenBlob then chosenBlob = chosenBlob.choose()
embed = new Discord.RichEmbed()
.setColor '#448aff'
.setTitle "Haruk... | true | #! ========================================
#! About
Discord = require 'discord.js'
handler = (msg, match, H) ->
chosenBlob = H.config.about.blobs.choose()
if Array.isArray chosenBlob then chosenBlob = chosenBlob.choose()
embed = new Discord.RichEmbed()
.setColor '#448aff'
.setTitle "Haruk... |
[
{
"context": "ata: [\n\t\t_id: '53ff303205efd776ebcaa280'\n\t\tname: 'Andrew'\n\t\temail: 'andrew.sygyda@gmail.com'\n\t\tposition: 1",
"end": 95,
"score": 0.9998032450675964,
"start": 89,
"tag": "NAME",
"value": "Andrew"
},
{
"context": "f303205efd776ebcaa280'\n\t\tname: 'Andrew'\n\t... | test-helpers/migrate.coffee | winnlab/Optimeal | 0 | module.exports =
modelName: 'test'
data: [
_id: '53ff303205efd776ebcaa280'
name: 'Andrew'
email: 'andrew.sygyda@gmail.com'
position: 1
photos: []
,
_id: '53ff303a05efd776ebcaa281'
name: 'Yura'
email: 'yriy.kabay@gmail.com'
position: 3
photos: []
,
_id: '53ff304405efd776ebcaa282'
name: 'Sere... | 89580 | module.exports =
modelName: 'test'
data: [
_id: '53ff303205efd776ebcaa280'
name: '<NAME>'
email: '<EMAIL>'
position: 1
photos: []
,
_id: '53ff303a05efd776ebcaa281'
name: '<NAME>'
email: '<EMAIL>'
position: 3
photos: []
,
_id: '53ff304405efd776ebcaa282'
name: '<NAME>'
email: '<EMAIL>'
po... | true | module.exports =
modelName: 'test'
data: [
_id: '53ff303205efd776ebcaa280'
name: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
position: 1
photos: []
,
_id: '53ff303a05efd776ebcaa281'
name: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
position: 3
photos: []
,
_id: '53ff3044... |
[
{
"context": "ssword', ->\n krb5.kinit\n # username: 'myself'\n principal: 'myself@realm'\n passwo",
"end": 211,
"score": 0.9994624853134155,
"start": 205,
"tag": "USERNAME",
"value": "myself"
},
{
"context": " principal: 'myself@realm'\n password... | packages/core/test/misc/krb5.coffee | chibanemourad/node-nikita | 1 |
krb5 = require '../../src/misc/krb5'
{tags} = require '../test'
return unless tags.api
describe 'misc krb5', ->
describe 'kinit', ->
it 'with password', ->
krb5.kinit
# username: 'myself'
principal: 'myself@realm'
password: 'myprecious'
.should.eql 'echo myprecious | kinit... | 122988 |
krb5 = require '../../src/misc/krb5'
{tags} = require '../test'
return unless tags.api
describe 'misc krb5', ->
describe 'kinit', ->
it 'with password', ->
krb5.kinit
# username: 'myself'
principal: 'myself@realm'
password: '<PASSWORD>'
.should.eql 'echo myprecious | kinit... | true |
krb5 = require '../../src/misc/krb5'
{tags} = require '../test'
return unless tags.api
describe 'misc krb5', ->
describe 'kinit', ->
it 'with password', ->
krb5.kinit
# username: 'myself'
principal: 'myself@realm'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
.should.eql 'echo ... |
[
{
"context": "exports.test_accounts = [ \r\n 'rBmhuVAvi372AerwzwERGjhLjqkMmAwxX',\r\n 'r4nmQNH4Fhjfh6cHDbvVSsBv7KySbj4cBf',\r\n 'rG",
"end": 64,
"score": 0.999211847782135,
"start": 31,
"tag": "KEY",
"value": "rBmhuVAvi372AerwzwERGjhLjqkMmAwxX"
},
{
"context": " = [ \r\n 'rBmhuVA... | test/random-test-addresses.coffee | SAN-CHAIN/sand | 0 | exports.test_accounts = [
'rBmhuVAvi372AerwzwERGjhLjqkMmAwxX',
'r4nmQNH4Fhjfh6cHDbvVSsBv7KySbj4cBf',
'rGpeQzUWFu4fMhJHZ1Via5aqFC3A5twZUD',
'rrnsYgWn13Z28GtRgznrSUsLfMkvsXCZSu',
'rJsaPnGdeo7BhMnHjuc3n44Mf7Ra1qkSVJ',
'rnYDWQaRdMb5neCGgvFfhw3MBoxmv5LtfH',
'r31PEiKfa3y6xTi7uBcSp7F3nDLvVMmqyi',
'rfM... | 75288 | exports.test_accounts = [
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>o<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>',
'<KEY>i<KEY>',
'<KEY>Ri4<KEY>',
'<KEY>',
'<KEY>y<KEY>X<KEY>... | true | exports.test_accounts = [
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PIoPI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',
'PI:KEY:<KEY>END_PI',... |
[
{
"context": "eio.com\").constant(\"SIMPLE_LOGIN_PROVIDERS\", [\n \"password\"\n \"anonymous\"\n]).constant \"loginRedirectPath\", \"",
"end": 179,
"score": 0.9992341995239258,
"start": 171,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "stant(\"SIMPLE_LOGIN_PROVIDERS\", [... | app/scripts/angularfire/config.coffee | nerdfiles/utxo_us | 0 |
#.constant('loginRedirectPath', '/login');
angular.module("firebase.config", []).constant("FBURL", "https://utxo.firebaseio.com").constant("SIMPLE_LOGIN_PROVIDERS", [
"password"
"anonymous"
]).constant "loginRedirectPath", "/"
| 29315 |
#.constant('loginRedirectPath', '/login');
angular.module("firebase.config", []).constant("FBURL", "https://utxo.firebaseio.com").constant("SIMPLE_LOGIN_PROVIDERS", [
"<PASSWORD>"
"<PASSWORD>"
]).constant "loginRedirectPath", "/"
| true |
#.constant('loginRedirectPath', '/login');
angular.module("firebase.config", []).constant("FBURL", "https://utxo.firebaseio.com").constant("SIMPLE_LOGIN_PROVIDERS", [
"PI:PASSWORD:<PASSWORD>END_PI"
"PI:PASSWORD:<PASSWORD>END_PI"
]).constant "loginRedirectPath", "/"
|
[
{
"context": " track = req.fromUrl.track\n allowedKeys = [ 'name', 'prevent_copying' ]\n unless track.publishe",
"end": 8375,
"score": 0.9412021636962891,
"start": 8371,
"tag": "KEY",
"value": "name"
},
{
"context": " req.fromUrl.track\n allowedKeys = [ 'name', 'preven... | server/api.coffee | triggerrally/triggerrally.github.io | 0 | _ = require('underscore')
bb = require('./public/scripts/models')
Backbone = bb.Backbone
# Disable all caching on the server.
bb.Model::useCache = no
# Attach backbone models to MongoDB via Mongoose.
require('./backbone-mongoose') bb
jsonClone = (obj) -> JSON.parse JSON.stringify obj
findModel = (Model, pub_id, don... | 69320 | _ = require('underscore')
bb = require('./public/scripts/models')
Backbone = bb.Backbone
# Disable all caching on the server.
bb.Model::useCache = no
# Attach backbone models to MongoDB via Mongoose.
require('./backbone-mongoose') bb
jsonClone = (obj) -> JSON.parse JSON.stringify obj
findModel = (Model, pub_id, don... | true | _ = require('underscore')
bb = require('./public/scripts/models')
Backbone = bb.Backbone
# Disable all caching on the server.
bb.Model::useCache = no
# Attach backbone models to MongoDB via Mongoose.
require('./backbone-mongoose') bb
jsonClone = (obj) -> JSON.parse JSON.stringify obj
findModel = (Model, pub_id, don... |
[
{
"context": "cess.env[\"DATABASE_USER\"], \n password: process.env[\"DATABASE_PASS\"], \n database: process.env[\"DAT",
"end": 1550,
"score": 0.6870337128639221,
"start": 1547,
"tag": "PASSWORD",
"value": "env"
},
{
"context": "env[\"DATABASE_USER\"], \n password: process.e... | src/server.coffee | Gnolfo/cgsk | 1 | express = require("express")
http = require('http')
# https = require('https')
# fs = require('fs')
path = require("path")
# favicon = require("serve-favicon")
logger = require("morgan")
cookieParser = require("cookie-parser")
bodyParser = require("body-parser")
mysql = require('mysql')
Q = require('q')
SHA256 = requir... | 43573 | express = require("express")
http = require('http')
# https = require('https')
# fs = require('fs')
path = require("path")
# favicon = require("serve-favicon")
logger = require("morgan")
cookieParser = require("cookie-parser")
bodyParser = require("body-parser")
mysql = require('mysql')
Q = require('q')
SHA256 = requir... | true | express = require("express")
http = require('http')
# https = require('https')
# fs = require('fs')
path = require("path")
# favicon = require("serve-favicon")
logger = require("morgan")
cookieParser = require("cookie-parser")
bodyParser = require("body-parser")
mysql = require('mysql')
Q = require('q')
SHA256 = requir... |
[
{
"context": " or in\n # the frontend config (Jyrki Niemi 2014-09-04).\n util.copyCorpusI",
"end": 12650,
"score": 0.9296979904174805,
"start": 12639,
"tag": "NAME",
"value": "Jyrki Niemi"
},
{
"context": "to\n # all subfolders and... | app/scripts/services.coffee | CSCfi/Kielipankki-korp-frontend | 0 | korpApp = angular.module("korpApp")
korpApp.factory "utils", ($location) ->
valfilter : (attrobj) ->
return if attrobj.isStructAttr then "_." + attrobj.value else attrobj.value
setupHash : (scope, config) ->
onWatch = () ->
for obj in config
val = $location.search()... | 213625 | korpApp = angular.module("korpApp")
korpApp.factory "utils", ($location) ->
valfilter : (attrobj) ->
return if attrobj.isStructAttr then "_." + attrobj.value else attrobj.value
setupHash : (scope, config) ->
onWatch = () ->
for obj in config
val = $location.search()... | true | korpApp = angular.module("korpApp")
korpApp.factory "utils", ($location) ->
valfilter : (attrobj) ->
return if attrobj.isStructAttr then "_." + attrobj.value else attrobj.value
setupHash : (scope, config) ->
onWatch = () ->
for obj in config
val = $location.search()... |
[
{
"context": "# Mislav Cimpersak\n# 2015\n# mislav.cimpersak@gmail.com\n\n# INSERT YOU",
"end": 18,
"score": 0.9998645782470703,
"start": 2,
"tag": "NAME",
"value": "Mislav Cimpersak"
},
{
"context": "# Mislav Cimpersak\n# 2015\n# mislav.cimpersak@gmail.com\n\n# INSERT YOUR NAME AND ... | anydo.widget/index.coffee | mislavcimpersak/anydo-widget | 2 | # Mislav Cimpersak
# 2015
# mislav.cimpersak@gmail.com
# INSERT YOUR NAME AND PASSWORD HERE
username = '' # 'username@domain.com'
password = '' # 'password'
command: "python ./anydo.widget/get_anydo.py #{username} #{password}"
refreshFrequency: 300000 # ms (5 minutes)
style: """
width: 100%
left: 60px
top: ... | 28939 | # <NAME>
# 2015
# <EMAIL>
# INSERT YOUR NAME AND PASSWORD HERE
username = '' # '<EMAIL>'
password = '' # '<PASSWORD>'
command: "python ./anydo.widget/get_anydo.py #{username} #{password}"
refreshFrequency: 300000 # ms (5 minutes)
style: """
width: 100%
left: 60px
top: 30px
color: #000
overflow: hidden
... | true | # PI:NAME:<NAME>END_PI
# 2015
# PI:EMAIL:<EMAIL>END_PI
# INSERT YOUR NAME AND PASSWORD HERE
username = '' # 'PI:EMAIL:<EMAIL>END_PI'
password = '' # 'PI:PASSWORD:<PASSWORD>END_PI'
command: "python ./anydo.widget/get_anydo.py #{username} #{password}"
refreshFrequency: 300000 # ms (5 minutes)
style: """
width: 10... |
[
{
"context": "oordinates[1]\n \n @_id = obj._id\n @_name = 'GritsNode'\n \n if typeof marker != 'undefined' and marke",
"end": 770,
"score": 0.7218003869056702,
"start": 761,
"tag": "NAME",
"value": "GritsNode"
}
] | app/packages/grits-net-mapper/src/grits_node.coffee | billdmcconnell/fliightData | 4 | # creates an instance of a node
#
# @param [Object] obj, an object that represents a node, it must contain a
# unique _id and a geoJSON 'loc' property
# @param [Object] marker, an instance of GritsMarker
class GritsNode
constructor: (obj, marker) ->
if typeof obj == 'undefined' or obj == null
throw new Err... | 200897 | # creates an instance of a node
#
# @param [Object] obj, an object that represents a node, it must contain a
# unique _id and a geoJSON 'loc' property
# @param [Object] marker, an instance of GritsMarker
class GritsNode
constructor: (obj, marker) ->
if typeof obj == 'undefined' or obj == null
throw new Err... | true | # creates an instance of a node
#
# @param [Object] obj, an object that represents a node, it must contain a
# unique _id and a geoJSON 'loc' property
# @param [Object] marker, an instance of GritsMarker
class GritsNode
constructor: (obj, marker) ->
if typeof obj == 'undefined' or obj == null
throw new Err... |
[
{
"context": "bject spread property over Object.assign\n# @author Sharmila Jesupaul\n# See LICENSE file in root directory for full lic",
"end": 98,
"score": 0.9998677968978882,
"start": 81,
"tag": "NAME",
"value": "Sharmila Jesupaul"
}
] | src/tests/rules/prefer-object-spread.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prefers object spread property over Object.assign
# @author Sharmila Jesupaul
# See LICENSE file in root directory for full license.
###
'use strict'
rule = require '../../rules/prefer-object-spread'
{RuleTester} = require 'eslint'
path = require 'path'
ruleTester = new RuleTester parser: path.j... | 179855 | ###*
# @fileoverview Prefers object spread property over Object.assign
# @author <NAME>
# See LICENSE file in root directory for full license.
###
'use strict'
rule = require '../../rules/prefer-object-spread'
{RuleTester} = require 'eslint'
path = require 'path'
ruleTester = new RuleTester parser: path.join __dirna... | true | ###*
# @fileoverview Prefers object spread property over Object.assign
# @author PI:NAME:<NAME>END_PI
# See LICENSE file in root directory for full license.
###
'use strict'
rule = require '../../rules/prefer-object-spread'
{RuleTester} = require 'eslint'
path = require 'path'
ruleTester = new RuleTester parser: pat... |
[
{
"context": "is is a somewhat hacked up version of filedrop, by Weixi Yen:\r\n# \r\n# Email: [Firstname][Lastname]@gmail.com\r\n",
"end": 72,
"score": 0.9996782541275024,
"start": 63,
"tag": "NAME",
"value": "Weixi Yen"
},
{
"context": "ersion of filedrop, by Weixi Yen:\r\n# \r\n# ... | app/assets/javascripts/cropper/filedrop.js.coffee | spanner/cropper | 1 | #
#
# This is a somewhat hacked up version of filedrop, by Weixi Yen:
#
# Email: [Firstname][Lastname]@gmail.com
#
# Copyright (c) 2010 Resopollution
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
#
# Project home:
# http://www.github.com/weixiyen/... | 115835 | #
#
# This is a somewhat hacked up version of filedrop, by <NAME>:
#
# Email: [<EMAIL>name][<EMAIL>
#
# Copyright (c) 2010 Resopollution
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
#
# Project home:
# http://www.github.com/weixiyen/jquery-filedr... | true | #
#
# This is a somewhat hacked up version of filedrop, by PI:NAME:<NAME>END_PI:
#
# Email: [PI:EMAIL:<EMAIL>END_PIname][PI:EMAIL:<EMAIL>END_PI
#
# Copyright (c) 2010 Resopollution
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
#
# Project home:
# ... |
[
{
"context": "-sign@0.3.0':\n repository: 'https://github.com/mikeal/aws-sign'\n license: 'MIT'\n source: 'index.j",
"end": 79,
"score": 0.9992480278015137,
"start": 73,
"tag": "USERNAME",
"value": "mikeal"
},
{
"context": "*!\n * knox - auth\n * Copyright(c) 201... | build/tasks/license-overrides.coffee | Austen-G/BlockBuilder | 0 | module.exports =
'aws-sign@0.3.0':
repository: 'https://github.com/mikeal/aws-sign'
license: 'MIT'
source: 'index.js'
sourceText: """
/*!
* knox - auth
* Copyright(c) 2010 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
<content omitted>
"""
'bufferjs@2.... | 69184 | module.exports =
'aws-sign@0.3.0':
repository: 'https://github.com/mikeal/aws-sign'
license: 'MIT'
source: 'index.js'
sourceText: """
/*!
* knox - auth
* Copyright(c) 2010 LearnBoost <<EMAIL>>
* MIT Licensed
*/
<content omitted>
"""
'bufferjs@2.0.0':
r... | true | module.exports =
'aws-sign@0.3.0':
repository: 'https://github.com/mikeal/aws-sign'
license: 'MIT'
source: 'index.js'
sourceText: """
/*!
* knox - auth
* Copyright(c) 2010 LearnBoost <PI:EMAIL:<EMAIL>END_PI>
* MIT Licensed
*/
<content omitted>
"""
'bufferj... |
[
{
"context": "\n###\n Author: Nicholas McCready & jfriend00\n AsyncProcessor handles things asy",
"end": 34,
"score": 0.9998745918273926,
"start": 17,
"tag": "NAME",
"value": "Nicholas McCready"
},
{
"context": "\n###\n Author: Nicholas McCready & jfriend00\n AsyncProcess... | www/lib/js/angular-google-maps/src/coffee/directives/api/utils/async-processor.coffee | neilff/liqbo-cordova | 1 |
###
Author: Nicholas McCready & jfriend00
AsyncProcessor handles things asynchronous-like :), to allow the UI to be free'd to do other things
Code taken from http://stackoverflow.com/questions/10344498/best-way-to-iterate-over-an-array-without-blocking-the-ui
###
@ngGmapModule "directives.api.utils", ->
... | 11601 |
###
Author: <NAME> & jfriend00
AsyncProcessor handles things asynchronous-like :), to allow the UI to be free'd to do other things
Code taken from http://stackoverflow.com/questions/10344498/best-way-to-iterate-over-an-array-without-blocking-the-ui
###
@ngGmapModule "directives.api.utils", ->
@AsyncPro... | true |
###
Author: PI:NAME:<NAME>END_PI & jfriend00
AsyncProcessor handles things asynchronous-like :), to allow the UI to be free'd to do other things
Code taken from http://stackoverflow.com/questions/10344498/best-way-to-iterate-over-an-array-without-blocking-the-ui
###
@ngGmapModule "directives.api.utils", ->... |
[
{
"context": "###\n# controllers/user.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module de",
"end": 52,
"score": 0.9996830821037292,
"start": 41,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/controllers/users.coffee | dlnichols/h_media | 0 | ###
# controllers/user.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module defines the basic CRUD actions for the user resource, for use in
# our express router.
###
'use strict'
# External libs
mongoose = require 'mongoose'
debug = require('debug') 'hMedia:controllers:user'
# Retrieve our... | 68679 | ###
# controllers/user.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module defines the basic CRUD actions for the user resource, for use in
# our express router.
###
'use strict'
# External libs
mongoose = require 'mongoose'
debug = require('debug') 'hMedia:controllers:user'
# Retrieve our mode... | true | ###
# controllers/user.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module defines the basic CRUD actions for the user resource, for use in
# our express router.
###
'use strict'
# External libs
mongoose = require 'mongoose'
debug = require('debug') 'hMedia:controllers:user'
# Ret... |
[
{
"context": "uest = require 'supertest'\nagent = request.agent '127.0.0.1:3003'\n\ndescribe 'route /admin/dynamic-indexes::',",
"end": 116,
"score": 0.9997382760047913,
"start": 107,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "n/login'\n .type 'form'\n .send... | coffees/test-dynamic-create-tickets-index.coffee | android1and1/tickets | 0 | assert = require 'assert'
cheerio = require 'cheerio'
request = require 'supertest'
agent = request.agent '127.0.0.1:3003'
describe 'route /admin/dynamic-indexes::',->
it 'access successful if authenticate good::',->
agent.post '/admin/login'
.type 'form'
.send {'alias':'fengfeng2','password':'123456... | 166341 | assert = require 'assert'
cheerio = require 'cheerio'
request = require 'supertest'
agent = request.agent '127.0.0.1:3003'
describe 'route /admin/dynamic-indexes::',->
it 'access successful if authenticate good::',->
agent.post '/admin/login'
.type 'form'
.send {'alias':'fengfeng2','password':'<PASSW... | true | assert = require 'assert'
cheerio = require 'cheerio'
request = require 'supertest'
agent = request.agent '127.0.0.1:3003'
describe 'route /admin/dynamic-indexes::',->
it 'access successful if authenticate good::',->
agent.post '/admin/login'
.type 'form'
.send {'alias':'fengfeng2','password':'PI:PAS... |
[
{
"context": "lication/json'\n .set 'x-forwarded-email', 'admin@mob.myvnc.com'\n .send prefix: \"/#{app}\", target: \"http:/",
"end": 368,
"score": 0.9999256134033203,
"start": 349,
"tag": "EMAIL",
"value": "admin@mob.myvnc.com"
},
{
"context": "tion/json'\n ... | test/unit/controller/UpstreamController.coffee | dorissschoi/sails_proxy_bk | 0 | _ = require 'lodash'
path = require 'path'
req = require 'supertest-as-promised'
describe 'UpstreamController', ->
@timeout 500000
_.each ['app1', 'app2'], (app) ->
it "create upstream #{app}", ->
req sails.hooks.http.app
.post "/upstream"
.set 'Content-Type', 'application/json'
... | 39451 | _ = require 'lodash'
path = require 'path'
req = require 'supertest-as-promised'
describe 'UpstreamController', ->
@timeout 500000
_.each ['app1', 'app2'], (app) ->
it "create upstream #{app}", ->
req sails.hooks.http.app
.post "/upstream"
.set 'Content-Type', 'application/json'
... | true | _ = require 'lodash'
path = require 'path'
req = require 'supertest-as-promised'
describe 'UpstreamController', ->
@timeout 500000
_.each ['app1', 'app2'], (app) ->
it "create upstream #{app}", ->
req sails.hooks.http.app
.post "/upstream"
.set 'Content-Type', 'application/json'
... |
[
{
"context": " =\n\ttitle: \"Extension: Wine Shope Cart\"\n\tauthor: \"Tony Jing (Original: Anadea Inc)\"\n\ttwitter: \"TonyJing\"\n\tdes",
"end": 84,
"score": 0.9998446106910706,
"start": 75,
"tag": "NAME",
"value": "Tony Jing"
},
{
"context": "or: \"Tony Jing (Original: Anadea Inc)... | 53cart.framer/framer/backups/backup-2016-08-08 22.34.41.coffee | gremjua-forks/100daysofframer | 26 | #Project Info
Framer.Info =
title: "Extension: Wine Shope Cart"
author: "Tony Jing (Original: Anadea Inc)"
twitter: "TonyJing"
description: "An another approach for the UX of Anadea Inc's app. Visual and UI design are from Anadea Inc."
#Variables
bgColor = "#FBF2E7"
purple = "#800363"
addedCount = 1
numBottles = ... | 110595 | #Project Info
Framer.Info =
title: "Extension: Wine Shope Cart"
author: "<NAME> (Original: Anadea Inc)"
twitter: "TonyJing"
description: "An another approach for the UX of Anadea Inc's app. Visual and UI design are from Anadea Inc."
#Variables
bgColor = "#FBF2E7"
purple = "#800363"
addedCount = 1
numBottles = 5
a... | true | #Project Info
Framer.Info =
title: "Extension: Wine Shope Cart"
author: "PI:NAME:<NAME>END_PI (Original: Anadea Inc)"
twitter: "TonyJing"
description: "An another approach for the UX of Anadea Inc's app. Visual and UI design are from Anadea Inc."
#Variables
bgColor = "#FBF2E7"
purple = "#800363"
addedCount = 1
nu... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nModule = require './module.coffee'\nLogger = requ",
"end": 66,
"score": 0.9999125003814697,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/scorpion.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
Util = require './util/util.coffee'
WIDTH = 96
HEIGHT = 108
class Scorpion extends Module
@include Logger
logPrefix: 'Scorpion'
sprite: 'scorpion'
health: 1
p... | 136680 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
Util = require './util/util.coffee'
WIDTH = 96
HEIGHT = 108
class Scorpion extends Module
@include Logger
logPrefix: 'Scorpion'
sprite: 'scorpion'
health: 1
points:
... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
Util = require './util/util.coffee'
WIDTH = 96
HEIGHT = 108
class Scorpion extends Module
@include Logger
logPrefix: 'Scorpion'
sprite: 'scorpion'
health: 1... |
[
{
"context": "ng key', ->\n policy = 'Foo'\n settingsKey = 'ScheduleStateDefinedPolicy'\n settings = {}\n settings[settingsKey] = po",
"end": 9821,
"score": 0.9857760071754456,
"start": 9795,
"tag": "KEY",
"value": "ScheduleStateDefinedPolicy"
},
{
"context": "etting', ->... | test/spec/kanban/KanbanAppSpec.coffee | CustomAgile/app-catalog | 31 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.ui.report.StandardReport',
'Rally.apps.kanban.KanbanApp',
'Rally.util.Element',
'Rally.ui.notify.Notifier',
'Rally.app.Context',
'Rally.test.helpers.CardBoard',
'Rally.data.Ranker'
]
describe 'Rally.apps.kanban.KanbanApp', ->
beforeEach ->
@aja... | 201532 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.ui.report.StandardReport',
'Rally.apps.kanban.KanbanApp',
'Rally.util.Element',
'Rally.ui.notify.Notifier',
'Rally.app.Context',
'Rally.test.helpers.CardBoard',
'Rally.data.Ranker'
]
describe 'Rally.apps.kanban.KanbanApp', ->
beforeEach ->
@aja... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.ui.report.StandardReport',
'Rally.apps.kanban.KanbanApp',
'Rally.util.Element',
'Rally.ui.notify.Notifier',
'Rally.app.Context',
'Rally.test.helpers.CardBoard',
'Rally.data.Ranker'
]
describe 'Rally.apps.kanban.KanbanApp', ->
beforeEach ->
@aja... |
[
{
"context": "->\n manager = new PullRequestManager(token: 'token123')\n assert @authenticate.callCount is 1\n ",
"end": 471,
"score": 0.8331344723701477,
"start": 463,
"tag": "PASSWORD",
"value": "token123"
},
{
"context": "(0).args, [\n type: 'oauth'\n t... | test/clients/pull-request-manager-test.coffee | faithcreates/hubot-fgb | 1 | assert = require 'power-assert'
sinon = require 'sinon'
GitHub = require 'github'
{PullRequestManager} = require '../../src/clients/pull-request-manager'
describe 'PullRequestManager', ->
beforeEach ->
@sinon = sinon.sandbox.create()
@authenticate = @sinon.stub GitHub.prototype, 'authenticate', ->
# do... | 111366 | assert = require 'power-assert'
sinon = require 'sinon'
GitHub = require 'github'
{PullRequestManager} = require '../../src/clients/pull-request-manager'
describe 'PullRequestManager', ->
beforeEach ->
@sinon = sinon.sandbox.create()
@authenticate = @sinon.stub GitHub.prototype, 'authenticate', ->
# do... | true | assert = require 'power-assert'
sinon = require 'sinon'
GitHub = require 'github'
{PullRequestManager} = require '../../src/clients/pull-request-manager'
describe 'PullRequestManager', ->
beforeEach ->
@sinon = sinon.sandbox.create()
@authenticate = @sinon.stub GitHub.prototype, 'authenticate', ->
# do... |
[
{
"context": "r = null\nadminUser = null\npassword = \"P4thw0rd\"\nsocket = null\ntoken = null\nuserAccess",
"end": 830,
"score": 0.9992499351501465,
"start": 822,
"tag": "PASSWORD",
"value": "P4thw0rd"
},
{
"context": " user: (done) ->\n user =\n ... | test/socket-api.test.coffee | mattstone/StarterApp-Server | 0 | request = require 'request'
should = require('chai').should()
async = require 'async'
io = require('socket.io-client')
helpers = require '../lib/helpers'
mongoose = require 'mongoose'
arr = (args...) -> args
app = {}
app.config = require('../config/config.test')
app.helpers = require '../lib/helpers.... | 109345 | request = require 'request'
should = require('chai').should()
async = require 'async'
io = require('socket.io-client')
helpers = require '../lib/helpers'
mongoose = require 'mongoose'
arr = (args...) -> args
app = {}
app.config = require('../config/config.test')
app.helpers = require '../lib/helpers.... | true | request = require 'request'
should = require('chai').should()
async = require 'async'
io = require('socket.io-client')
helpers = require '../lib/helpers'
mongoose = require 'mongoose'
arr = (args...) -> args
app = {}
app.config = require('../config/config.test')
app.helpers = require '../lib/helpers.... |
[
{
"context": " audio.play()\n\nbaseAdmiral = ->\n storageKey = 'base_select_number'\n vue = new Vue\n el: '#search-admiral'\n da",
"end": 304,
"score": 0.9803589582443237,
"start": 286,
"tag": "KEY",
"value": "base_select_number"
}
] | server/app/assets/javascript/index.coffee | Moesugi/MFG | 68 | $(document).ready ->
baseAdmiral()
new CommandWatcher([38, 38, 40, 40, 37, 39, 37, 39, 66, 65]).watch ->
if localStorage.getItem('sound') != 'false'
audio = (new Audio('/rest/v1/sound/random'))
audio.volume = 0.3
audio.play()
baseAdmiral = ->
storageKey = 'base_select_number'
vue = new Vu... | 8944 | $(document).ready ->
baseAdmiral()
new CommandWatcher([38, 38, 40, 40, 37, 39, 37, 39, 66, 65]).watch ->
if localStorage.getItem('sound') != 'false'
audio = (new Audio('/rest/v1/sound/random'))
audio.volume = 0.3
audio.play()
baseAdmiral = ->
storageKey = '<KEY>'
vue = new Vue
el: '#s... | true | $(document).ready ->
baseAdmiral()
new CommandWatcher([38, 38, 40, 40, 37, 39, 37, 39, 66, 65]).watch ->
if localStorage.getItem('sound') != 'false'
audio = (new Audio('/rest/v1/sound/random'))
audio.volume = 0.3
audio.play()
baseAdmiral = ->
storageKey = 'PI:KEY:<KEY>END_PI'
vue = new Vu... |
[
{
"context": ".redirect '/'\n else if passOk\n token = uuid.v4()\n await User.update(id: user.id).set\n ",
"end": 2020,
"score": 0.6990065574645996,
"start": 2016,
"tag": "KEY",
"value": "uuid"
},
{
"context": "ect '/'\n else if passOk\n token = uuid.v4... | api/controllers/auth/login.coffee | nkofl/sails-1.0-template | 0 | uuid = require 'uuid'
module.exports =
friendlyName: 'Login'
description: 'Log in using the provided email and password combination.'
inputs:
email:
description: 'The email to log in as'
type: 'string'
required: true
password:
description: 'The unencrypted password to try'
ty... | 132071 | uuid = require 'uuid'
module.exports =
friendlyName: 'Login'
description: 'Log in using the provided email and password combination.'
inputs:
email:
description: 'The email to log in as'
type: 'string'
required: true
password:
description: 'The unencrypted password to try'
ty... | true | uuid = require 'uuid'
module.exports =
friendlyName: 'Login'
description: 'Log in using the provided email and password combination.'
inputs:
email:
description: 'The email to log in as'
type: 'string'
required: true
password:
description: 'The unencrypted password to try'
ty... |
[
{
"context": " 'body': '''\n valid_email(${1:'${2:me@example.com}'});\n '''\n",
"end": 312,
"score": 0.9997886419296265,
"start": 298,
"tag": "EMAIL",
"value": "me@example.com"
}
] | snippets/mail_helper.cson | femi-dd/codeigniter-atom | 1 | '.source.php':
'Codeigniter Send Mail':
'prefix':'cisendemail'
'body': '''
send_email(${1:'${2:recipient}'}, ${3:'${4:subject'}}, ${5:'${6:message}'});
'''
'Codeigniter Valid Email':
'prefix':'civalidemail'
'body': '''
valid_email(${1:'${2:me@example.com}'});
... | 83755 | '.source.php':
'Codeigniter Send Mail':
'prefix':'cisendemail'
'body': '''
send_email(${1:'${2:recipient}'}, ${3:'${4:subject'}}, ${5:'${6:message}'});
'''
'Codeigniter Valid Email':
'prefix':'civalidemail'
'body': '''
valid_email(${1:'${2:<EMAIL>}'});
... | true | '.source.php':
'Codeigniter Send Mail':
'prefix':'cisendemail'
'body': '''
send_email(${1:'${2:recipient}'}, ${3:'${4:subject'}}, ${5:'${6:message}'});
'''
'Codeigniter Valid Email':
'prefix':'civalidemail'
'body': '''
valid_email(${1:'${2:PI:EMAIL:<EMAIL>END_PI... |
[
{
"context": "##\n##\n## Forked from Jeff Mott's CryptoJS\n##\n## https://code.google.com/p/cryp",
"end": 30,
"score": 0.999871015548706,
"start": 21,
"tag": "NAME",
"value": "Jeff Mott"
}
] | node_modules/triplesec/src/wordarray.iced | seekersapp2013/new | 151 | ##
##
## Forked from Jeff Mott's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
util = require './util'
#=======================================================================
buffer_to_ui8a = (b) ->
ret = new Uint8Array b.length
for i in [0...b.length]
ret[i] = b.readUInt8(i)
ret
#----------
... | 179080 | ##
##
## Forked from <NAME>'s CryptoJS
##
## https://code.google.com/p/crypto-js/
##
util = require './util'
#=======================================================================
buffer_to_ui8a = (b) ->
ret = new Uint8Array b.length
for i in [0...b.length]
ret[i] = b.readUInt8(i)
ret
#----------
ui8... | true | ##
##
## Forked from PI:NAME:<NAME>END_PI's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
util = require './util'
#=======================================================================
buffer_to_ui8a = (b) ->
ret = new Uint8Array b.length
for i in [0...b.length]
ret[i] = b.readUInt8(i)
ret
#-... |
[
{
"context": ".DesignerNews extends Columns.FeedColumn\n name: \"DesignerNews\"\n width: 1\n thumb: \"img/column-designernews.png",
"end": 75,
"score": 0.807325541973114,
"start": 63,
"tag": "NAME",
"value": "DesignerNews"
}
] | src/columns/designernews/DesignerNews.coffee | jariz/hackertab | 548 | class Columns.DesignerNews extends Columns.FeedColumn
name: "DesignerNews"
width: 1
thumb: "img/column-designernews.png"
link: "https://www.designernews.co/"
url: "https://api.designernews.co/api/v2/stories/"
element: "dn-item"
dataPath: "stories"
tabbie.register "DesignerNews" | 194703 | class Columns.DesignerNews extends Columns.FeedColumn
name: "<NAME>"
width: 1
thumb: "img/column-designernews.png"
link: "https://www.designernews.co/"
url: "https://api.designernews.co/api/v2/stories/"
element: "dn-item"
dataPath: "stories"
tabbie.register "DesignerNews" | true | class Columns.DesignerNews extends Columns.FeedColumn
name: "PI:NAME:<NAME>END_PI"
width: 1
thumb: "img/column-designernews.png"
link: "https://www.designernews.co/"
url: "https://api.designernews.co/api/v2/stories/"
element: "dn-item"
dataPath: "stories"
tabbie.register "DesignerNews" |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author kile / http://kile",
"end": 17,
"score": 0.9616553783416748,
"start": 10,
"tag": "NAME",
"value": "mr.doob"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author kile / http://kile.stravaganza.org/\n# @autho... | source/javascripts/new_src/core/vector_3.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author kile / http://kile.stravaganza.org/
# @author philogb / http://blog.thejit.org/
# @author mikael emtinger / http://gomo.se/
# @author egraether / http://egraether.com/
# @author aladjev.andrew@gmail.com
class Vector3
constructor: (x, y, z) ->
@x = x or 0
@y = ... | 164517 | # @author <NAME> / http://mrdoob.com/
# @author kile / http://kile.stravaganza.org/
# @author philogb / http://blog.thejit.org/
# @author <NAME> / http://gomo.se/
# @author egraether / http://egraether.com/
# @author <EMAIL>
class Vector3
constructor: (x, y, z) ->
@x = x or 0
@y = y or 0
@z = z or 0
s... | true | # @author PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author kile / http://kile.stravaganza.org/
# @author philogb / http://blog.thejit.org/
# @author PI:NAME:<NAME>END_PI / http://gomo.se/
# @author egraether / http://egraether.com/
# @author PI:EMAIL:<EMAIL>END_PI
class Vector3
constructor: (x, y, z) ->
@x = ... |
[
{
"context": "# Paul Rudd isn't a douchebag\n#\n# load up celery man please\n#",
"end": 11,
"score": 0.9998610615730286,
"start": 2,
"tag": "NAME",
"value": "Paul Rudd"
}
] | scripts/celery-man.coffee | RiotGamesMinions/lefay | 7 | # Paul Rudd isn't a douchebag
#
# load up celery man please
# can i get a printout of oyster smiling?
# do we have any new sequences?
# can i see a flarhgunnstow?
module.exports = (robot) ->
robot.respond /load up celery man please/i, (msg) ->
msg.send "http://www.simpleindustries.com/wp-content/uploads/2010/05/... | 25497 | # <NAME> isn't a douchebag
#
# load up celery man please
# can i get a printout of oyster smiling?
# do we have any new sequences?
# can i see a flarhgunnstow?
module.exports = (robot) ->
robot.respond /load up celery man please/i, (msg) ->
msg.send "http://www.simpleindustries.com/wp-content/uploads/2010/05/pau... | true | # PI:NAME:<NAME>END_PI isn't a douchebag
#
# load up celery man please
# can i get a printout of oyster smiling?
# do we have any new sequences?
# can i see a flarhgunnstow?
module.exports = (robot) ->
robot.respond /load up celery man please/i, (msg) ->
msg.send "http://www.simpleindustries.com/wp-content/uploa... |
[
{
"context": "estore?()\n\n setup = =>\n createUser()\n .then (@currentUser)=>\n createUser\n slackUsername: \"Bob\"\n",
"end": 816,
"score": 0.9960333108901978,
"start": 803,
"tag": "USERNAME",
"value": "(@currentUser"
},
{
"context": "tUser)=>\n createUser\n... | test/controllers/rewards-state-controller-tests.coffee | citizencode/swarmbot | 21 | { createUser, createProject, createRewardType, message } = require '../helpers/test-helper'
{ p, json } = require 'lightsaber'
sinon = require 'sinon'
RewardsStateController = require '../../src/controllers/rewards-state-controller'
User = require '../../src/models/user'
Project = require '../../src/models/project'
Rew... | 132925 | { createUser, createProject, createRewardType, message } = require '../helpers/test-helper'
{ p, json } = require 'lightsaber'
sinon = require 'sinon'
RewardsStateController = require '../../src/controllers/rewards-state-controller'
User = require '../../src/models/user'
Project = require '../../src/models/project'
Rew... | true | { createUser, createProject, createRewardType, message } = require '../helpers/test-helper'
{ p, json } = require 'lightsaber'
sinon = require 'sinon'
RewardsStateController = require '../../src/controllers/rewards-state-controller'
User = require '../../src/models/user'
Project = require '../../src/models/project'
Rew... |
[
{
"context": "counts()\n messaging.accounts.create = (username, password, companyname, phone, address, city, sta",
"end": 19178,
"score": 0.8256922364234924,
"start": 19170,
"tag": "USERNAME",
"value": "username"
},
{
"context": "_create._call(messaging, {}, _.defaults({us... | src/dyn-js.coffee | dyninc/dyn-js | 6 | 'use strict'
_ = require 'underscore'
q = require 'q'
https = require 'https'
log = require 'npmlog'
qs = require 'querystring'
_.templateSettings = { interpolate: /\{\{(.+?)\}\}/g }
_request_q = (dyn, method, path, body, isTraffic) ->
log.verbose 'dyn', "invoking via https : #{method} #{path}"
defe... | 117820 | 'use strict'
_ = require 'underscore'
q = require 'q'
https = require 'https'
log = require 'npmlog'
qs = require 'querystring'
_.templateSettings = { interpolate: /\{\{(.+?)\}\}/g }
_request_q = (dyn, method, path, body, isTraffic) ->
log.verbose 'dyn', "invoking via https : #{method} #{path}"
defe... | true | 'use strict'
_ = require 'underscore'
q = require 'q'
https = require 'https'
log = require 'npmlog'
qs = require 'querystring'
_.templateSettings = { interpolate: /\{\{(.+?)\}\}/g }
_request_q = (dyn, method, path, body, isTraffic) ->
log.verbose 'dyn', "invoking via https : #{method} #{path}"
defe... |
[
{
"context": " : $scope.email\n password : $scope.password\n callback : (err, success)",
"end": 1941,
"score": 0.5138763785362244,
"start": 1941,
"tag": "PASSWORD",
"value": ""
},
{
"context": "il = null\n $scope.password = null\n ... | src/server/applications/authentication_interface/js/controller.coffee | bladepan/cloudbrowser | 0 | CBAuthentication = angular.module("CBAuthentication", [])
# API Objects
curBrowser = cloudbrowser.currentBrowser
auth = cloudbrowser.auth
appConfig = cloudbrowser.parentAppConfig
googleStrategy = auth.getGoogleStrategy()
localStrategy = auth.getLocalStrategy()
# Status Strings
AUTH_FAIL = "In... | 178369 | CBAuthentication = angular.module("CBAuthentication", [])
# API Objects
curBrowser = cloudbrowser.currentBrowser
auth = cloudbrowser.auth
appConfig = cloudbrowser.parentAppConfig
googleStrategy = auth.getGoogleStrategy()
localStrategy = auth.getLocalStrategy()
# Status Strings
AUTH_FAIL = "In... | true | CBAuthentication = angular.module("CBAuthentication", [])
# API Objects
curBrowser = cloudbrowser.currentBrowser
auth = cloudbrowser.auth
appConfig = cloudbrowser.parentAppConfig
googleStrategy = auth.getGoogleStrategy()
localStrategy = auth.getLocalStrategy()
# Status Strings
AUTH_FAIL = "In... |
[
{
"context": "as URLs\", ->\n {tokens} = grammar.tokenizeLine(\"John Smith <johnSmith@example.com>\")\n expect(tokens[0]).t",
"end": 2097,
"score": 0.9998739361763,
"start": 2087,
"tag": "NAME",
"value": "John Smith"
},
{
"context": "\n {tokens} = grammar.tokenizeLine(\"John... | .atom/.atom/packages/language-asciidoc/spec/asciidoc-spec.coffee | thepieuvre/dotfiles | 0 | describe "AsciiDoc grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-asciidoc")
runs ->
grammar = atom.grammars.grammarForScopeName("source.asciidoc")
# convenience function during development
debug = (tokens) ->
console.log(JSON.stri... | 22559 | describe "AsciiDoc grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-asciidoc")
runs ->
grammar = atom.grammars.grammarForScopeName("source.asciidoc")
# convenience function during development
debug = (tokens) ->
console.log(JSON.stri... | true | describe "AsciiDoc grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-asciidoc")
runs ->
grammar = atom.grammars.grammarForScopeName("source.asciidoc")
# convenience function during development
debug = (tokens) ->
console.log(JSON.stri... |
[
{
"context": "api/sign_up', { sign_up: { email: email, password: password } })\n .success((data) ->\n console.l",
"end": 1623,
"score": 0.9984756112098694,
"start": 1615,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "api/sign_in', { session: { email: email, pa... | webapp/app/scripts/app.coffee | ntaoo/angularwithrails | 0 | 'use strict'
app = angular.module('app', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute'
])
app.config(["$locationProvider", ($locationProvider) ->
$locationProvider.html5Mode(true)
])
app.config(["$routeProvider", ($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'views/main.html'
... | 107882 | 'use strict'
app = angular.module('app', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute'
])
app.config(["$locationProvider", ($locationProvider) ->
$locationProvider.html5Mode(true)
])
app.config(["$routeProvider", ($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'views/main.html'
... | true | 'use strict'
app = angular.module('app', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute'
])
app.config(["$locationProvider", ($locationProvider) ->
$locationProvider.html5Mode(true)
])
app.config(["$routeProvider", ($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'views/main.html'
... |
[
{
"context": "nterest = new Backbone.Model id: 'foobar', name: 'Foo Bar'\n @view.resultsList.trigger 'add', interest\n",
"end": 770,
"score": 0.9946351051330566,
"start": 763,
"tag": "NAME",
"value": "Foo Bar"
},
{
"context": "'foobar'\n interest: id: 'foobar', name: 'F... | src/desktop/components/user_interests/test/view.coffee | kanaabe/force | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
UserInterestsView = null
describe 'UserInterestsView', ->
before (done) ->
benv.setup ->
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
UserInterestsVi... | 157972 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
UserInterestsView = null
describe 'UserInterestsView', ->
before (done) ->
benv.setup ->
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
UserInterestsVi... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
UserInterestsView = null
describe 'UserInterestsView', ->
before (done) ->
benv.setup ->
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
UserInterestsVi... |
[
{
"context": "given registration.\n *\n * The key is 'Realigned' if there is exactly one registration,\n * o",
"end": 3103,
"score": 0.748318076133728,
"start": 3094,
"tag": "KEY",
"value": "Realigned"
},
{
"context": "Values)\n bolusDataSeries =\n k... | app/javascripts/intensityChart.coffee | ohsu-qin/qiprofile | 0 | define ['angular', 'chart'], (ng) ->
intensityChart = ng.module 'qiprofile.intensitychart', []
intensityChart.factory 'IntensityChart', ->
###*
* The Y axis value formatter function. If the given intensity
* value is integral, then this function returns the integer.
* Otherwise, the value is tru... | 34105 | define ['angular', 'chart'], (ng) ->
intensityChart = ng.module 'qiprofile.intensitychart', []
intensityChart.factory 'IntensityChart', ->
###*
* The Y axis value formatter function. If the given intensity
* value is integral, then this function returns the integer.
* Otherwise, the value is tru... | true | define ['angular', 'chart'], (ng) ->
intensityChart = ng.module 'qiprofile.intensitychart', []
intensityChart.factory 'IntensityChart', ->
###*
* The Y axis value formatter function. If the given intensity
* value is integral, then this function returns the integer.
* Otherwise, the value is tru... |
[
{
"context": "v_key, salesforce: { user_name: \"one\", password: \"two\", key: \"thre\" } } )\n .fail (error) => \n ",
"end": 855,
"score": 0.9993171691894531,
"start": 852,
"tag": "PASSWORD",
"value": "two"
},
{
"context": "rl: \"https://na99.salesforce.com\", access_token:... | tests/integration/action_salesforce.coffee | 3vot/3vot-cli | 0 | Setup = require("../../app/actions/salesforce_setup")
should = require("should")
nock = require("nock")
rimraf = require("rimraf");
Path = require("path");
sinon = require("sinon")
#nock.recorder.rec();
describe '3VOT Salesforce', ->
before (done) ->
projectPath = Path.join( process.cwd() , "3vot_cli_2_test"... | 37452 | Setup = require("../../app/actions/salesforce_setup")
should = require("should")
nock = require("nock")
rimraf = require("rimraf");
Path = require("path");
sinon = require("sinon")
#nock.recorder.rec();
describe '3VOT Salesforce', ->
before (done) ->
projectPath = Path.join( process.cwd() , "3vot_cli_2_test"... | true | Setup = require("../../app/actions/salesforce_setup")
should = require("should")
nock = require("nock")
rimraf = require("rimraf");
Path = require("path");
sinon = require("sinon")
#nock.recorder.rec();
describe '3VOT Salesforce', ->
before (done) ->
projectPath = Path.join( process.cwd() , "3vot_cli_2_test"... |
[
{
"context": "name: \"VimL\"\nscopeName: \"source.viml\"\ninjectionSelector: \"",
"end": 8,
"score": 0.5525156259536743,
"start": 7,
"tag": "NAME",
"value": "V"
}
] | grammars/viml.cson | Alhadis/atom-vimL | 15 | name: "VimL"
scopeName: "source.viml"
injectionSelector: "source.gfm source.embedded.viml"
fileTypes: [
"vim"
"vimrc"
"gvimrc"
"nvimrc"
"_vimrc"
"exrc"
"nexrc"
"vmb"
]
firstLineMatch: """(?x)
# Vimball
(?:^|\\n)UseVimball\\b
|
# Hashbang
^\\#!.*(?:\\s|\\/|(?<=!)\\b)
(?:vim|nvim)
(?:$|\\s)
|
... | 130471 | name: "<NAME>imL"
scopeName: "source.viml"
injectionSelector: "source.gfm source.embedded.viml"
fileTypes: [
"vim"
"vimrc"
"gvimrc"
"nvimrc"
"_vimrc"
"exrc"
"nexrc"
"vmb"
]
firstLineMatch: """(?x)
# Vimball
(?:^|\\n)UseVimball\\b
|
# Hashbang
^\\#!.*(?:\\s|\\/|(?<=!)\\b)
(?:vim|nvim)
(?:$|\\s)
... | true | name: "PI:NAME:<NAME>END_PIimL"
scopeName: "source.viml"
injectionSelector: "source.gfm source.embedded.viml"
fileTypes: [
"vim"
"vimrc"
"gvimrc"
"nvimrc"
"_vimrc"
"exrc"
"nexrc"
"vmb"
]
firstLineMatch: """(?x)
# Vimball
(?:^|\\n)UseVimball\\b
|
# Hashbang
^\\#!.*(?:\\s|\\/|(?<=!)\\b)
(?:vim|nvim)
... |
[
{
"context": "eoverview Tests for no-cond-assign rule.\n# @author Stephen Murray <spmurrayzzz>\n###\n\n'use strict'\n\n#---------------",
"end": 76,
"score": 0.9998177289962769,
"start": 62,
"tag": "NAME",
"value": "Stephen Murray"
},
{
"context": "or no-cond-assign rule.\n# @author ... | src/tests/rules/no-cond-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-cond-assign rule.
# @author Stephen Murray <spmurrayzzz>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-con... | 199845 | ###*
# @fileoverview Tests for no-cond-assign rule.
# @author <NAME> <spmurrayzzz>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-cond-assign... | true | ###*
# @fileoverview Tests for no-cond-assign rule.
# @author PI:NAME:<NAME>END_PI <spmurrayzzz>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/... |
[
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi",
"end": 27,
"score": 0.9998809099197388,
"start": 15,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi... | src/json.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
class JSON
read: (obj, params) ->
throw ReferenceError 'obj is undefined' unless obj?
throw ReferenceError 'params is undefined' unless ... | 109001 | ###
# @author <NAME> <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
class JSON
read: (obj, params) ->
throw ReferenceError 'obj is undefined' unless obj?
throw ReferenceError 'params is undefined' unless params... | true | ###
# @author PI:NAME:<NAME>END_PI <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
class JSON
read: (obj, params) ->
throw ReferenceError 'obj is undefined' unless obj?
throw ReferenceError 'params is undefined'... |
[
{
"context": ">\n\n token = {}\n\n userOfApplication =\n name: 'Nombre usuario',\n email: 'nombreusuario@gertuproject.info',\n ",
"end": 467,
"score": 0.7198461890220642,
"start": 453,
"tag": "NAME",
"value": "Nombre usuario"
},
{
"context": "ication =\n name: 'Nombre usua... | test/mobileapi/api.coffee | gertu/gertu | 1 | should = require "should"
app = require "../../server"
mongoose = require "mongoose"
request = require "supertest"
User = mongoose.model "User"
Shop = mongoose.model "Shop"
Deal = mongoose.model "Deal"
Token = mongoose.model "Token"
Reservation = mongoose.model "Reservation"
server ... | 209551 | should = require "should"
app = require "../../server"
mongoose = require "mongoose"
request = require "supertest"
User = mongoose.model "User"
Shop = mongoose.model "Shop"
Deal = mongoose.model "Deal"
Token = mongoose.model "Token"
Reservation = mongoose.model "Reservation"
server ... | true | should = require "should"
app = require "../../server"
mongoose = require "mongoose"
request = require "supertest"
User = mongoose.model "User"
Shop = mongoose.model "Shop"
Deal = mongoose.model "Deal"
Token = mongoose.model "Token"
Reservation = mongoose.model "Reservation"
server ... |
[
{
"context": "nito - Finite State Machines \n# Copyright (c) 2014 Jon Nordby <jononor@gmail.com>\n# Finito may be freely distri",
"end": 65,
"score": 0.999817967414856,
"start": 55,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": " State Machines \n# Copyright (c) 2014 Jon Nordb... | test/Fsm.coffee | jonnor/finito | 5 | # Finito - Finite State Machines
# Copyright (c) 2014 Jon Nordby <jononor@gmail.com>
# Finito may be freely distributed under the MIT license
##
if typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1
finito = require '../'
chai = require 'chai'
path = require ... | 117289 | # Finito - Finite State Machines
# Copyright (c) 2014 <NAME> <<EMAIL>>
# Finito may be freely distributed under the MIT license
##
if typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1
finito = require '../'
chai = require 'chai'
path = require 'path'
else
... | true | # Finito - Finite State Machines
# Copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Finito may be freely distributed under the MIT license
##
if typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1
finito = require '../'
chai = require 'chai'
... |
[
{
"context": "ss_key,\n new_credential:this.attr('password'),\n partner_code: 'tmus'\n ",
"end": 7775,
"score": 0.6003761291503906,
"start": 7767,
"tag": "PASSWORD",
"value": "password"
}
] | models/user/user.coffee | signonsridhar/sridhar_hbs | 0 | define(['bases/model',
'_',
'models/auth/auth',
'models/bundle/bundle',
'env!dev:models/user/fixture/email_uniqueness',
'env!dev:models/user/fixture/get_user',
'env!dev:models/user/fixture/delete_user',
'env!dev:models/user/fixture/remove_bundle_for_user',
... | 104649 | define(['bases/model',
'_',
'models/auth/auth',
'models/bundle/bundle',
'env!dev:models/user/fixture/email_uniqueness',
'env!dev:models/user/fixture/get_user',
'env!dev:models/user/fixture/delete_user',
'env!dev:models/user/fixture/remove_bundle_for_user',
... | true | define(['bases/model',
'_',
'models/auth/auth',
'models/bundle/bundle',
'env!dev:models/user/fixture/email_uniqueness',
'env!dev:models/user/fixture/get_user',
'env!dev:models/user/fixture/delete_user',
'env!dev:models/user/fixture/remove_bundle_for_user',
... |
[
{
"context": "d.be.false\n\t\t\tvalidator.testInternal({key: [\"a\", \"s\", \"d\"]}, {rule: \"maxLength\", maxLength:2}, \"key\")",
"end": 904,
"score": 0.505500853061676,
"start": 903,
"tag": "KEY",
"value": "s"
},
{
"context": "uld.not.be.false\n\t\t\tvalidator.testInternal({key: -... | test/test_validator.coffee | livechat/express-validate | 1 | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
validator = require '../src/validator'
describe "Validator", ()->
describe "rules", ->
it "required rule", () ->
validator.testInternal({key: 5}, "required", "key").should.be.false
validator.testInternal({key: {}}, "required", "key").... | 83797 | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
validator = require '../src/validator'
describe "Validator", ()->
describe "rules", ->
it "required rule", () ->
validator.testInternal({key: 5}, "required", "key").should.be.false
validator.testInternal({key: {}}, "required", "key").... | true | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
validator = require '../src/validator'
describe "Validator", ()->
describe "rules", ->
it "required rule", () ->
validator.testInternal({key: 5}, "required", "key").should.be.false
validator.testInternal({key: {}}, "required", "key").... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998857378959656,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/app.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
... | 35482 | ###
# 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": "#!\n# * async\n# * https://github.com/caolan/async\n# *\n# * Copyright 2010-2014 Caolan McMahon\n",
"end": 42,
"score": 0.9996331334114075,
"start": 36,
"tag": "USERNAME",
"value": "caolan"
},
{
"context": "ithub.com/caolan/async\n# *\n# * Copyright 2010-2014 Caolan McM... | deps/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.coffee | lxe/io.coffee | 0 | #!
# * async
# * https://github.com/caolan/async
# *
# * Copyright 2010-2014 Caolan McMahon
# * Released under the MIT license
#
#jshint onevar: false, indent:4
#global setImmediate: false, setTimeout: false, console: false
(->
# global on the server, window in the browser
only_once = (fn) ->
called = f... | 211743 | #!
# * async
# * https://github.com/caolan/async
# *
# * Copyright 2010-2014 <NAME>
# * Released under the MIT license
#
#jshint onevar: false, indent:4
#global setImmediate: false, setTimeout: false, console: false
(->
# global on the server, window in the browser
only_once = (fn) ->
called = false
... | true | #!
# * async
# * https://github.com/caolan/async
# *
# * Copyright 2010-2014 PI:NAME:<NAME>END_PI
# * Released under the MIT license
#
#jshint onevar: false, indent:4
#global setImmediate: false, setTimeout: false, console: false
(->
# global on the server, window in the browser
only_once = (fn) ->
call... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998140931129456,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/handler/isadore_current_bl_filltab.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 162080 | # Copyright 2010-2019 <NAME>, <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 ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, 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 requ... |
[
{
"context": "ey can be used', ->\n flow = 'EXR'\n key = '.CHF+NOK.EUR..2'\n q = AvailabilityQuery.from({flow: flow, ke",
"end": 2113,
"score": 0.9984492063522339,
"start": 2097,
"tag": "KEY",
"value": "'.CHF+NOK.EUR..2"
},
{
"context": " query.should.have.property('... | test/avail/availability-query.test.coffee | sosna/sdmx-rest.js | 16 | should = require('chai').should()
{AvailabilityMode} = require '../../src/avail/availability-mode'
{AvailabilityReferences} = require '../../src/avail/availability-references'
{AvailabilityQuery} = require '../../src/avail/availability-query'
describe 'Availability queries', ->
it 'has the expected properties', ->... | 2865 | should = require('chai').should()
{AvailabilityMode} = require '../../src/avail/availability-mode'
{AvailabilityReferences} = require '../../src/avail/availability-references'
{AvailabilityQuery} = require '../../src/avail/availability-query'
describe 'Availability queries', ->
it 'has the expected properties', ->... | true | should = require('chai').should()
{AvailabilityMode} = require '../../src/avail/availability-mode'
{AvailabilityReferences} = require '../../src/avail/availability-references'
{AvailabilityQuery} = require '../../src/avail/availability-query'
describe 'Availability queries', ->
it 'has the expected properties', ->... |
[
{
"context": "rtext password with the hash\n user.password = hash\n next()\n\n\nUserSchema.methods.comparePassword",
"end": 828,
"score": 0.6199815273284912,
"start": 824,
"tag": "PASSWORD",
"value": "hash"
}
] | app/models/user.coffee | kvchen/mizzen | 1 | bcrypt = require 'bcrypt'
mongoose = require 'mongoose'
UserSchema = new mongoose.Schema
username:
type: String
required: true
unique: true
password:
type: String
required: true
first:
type: String
required: true
last:
type: String
required: true
courses: [{type... | 202992 | bcrypt = require 'bcrypt'
mongoose = require 'mongoose'
UserSchema = new mongoose.Schema
username:
type: String
required: true
unique: true
password:
type: String
required: true
first:
type: String
required: true
last:
type: String
required: true
courses: [{type... | true | bcrypt = require 'bcrypt'
mongoose = require 'mongoose'
UserSchema = new mongoose.Schema
username:
type: String
required: true
unique: true
password:
type: String
required: true
first:
type: String
required: true
last:
type: String
required: true
courses: [{type... |
[
{
"context": "ore installing/testing this plugin\n#\n# Author:\n# Ravikiran Janardhana <ravikiran.j.127@gmail.com>\n\nemoticonRegex = /\\([",
"end": 362,
"score": 0.9998880624771118,
"start": 342,
"tag": "NAME",
"value": "Ravikiran Janardhana"
},
{
"context": "this plugin\n#\n# Aut... | src/emoticon-stats.coffee | ravikiranj/hubot-emoticon-stats | 0 | # Description
# Emoticon Stats
#
# Configuration:
#
# Commands:
# /emoticon top - lists top 10 emoticons used
# /emoticon bottom - lists bottom 10 emoticons sorted by count
# /emoticon (emoticon) - lists count of a particular emoticon
#
# Notes:
# Please install a redis server before installing/testing this p... | 53611 | # Description
# Emoticon Stats
#
# Configuration:
#
# Commands:
# /emoticon top - lists top 10 emoticons used
# /emoticon bottom - lists bottom 10 emoticons sorted by count
# /emoticon (emoticon) - lists count of a particular emoticon
#
# Notes:
# Please install a redis server before installing/testing this p... | true | # Description
# Emoticon Stats
#
# Configuration:
#
# Commands:
# /emoticon top - lists top 10 emoticons used
# /emoticon bottom - lists bottom 10 emoticons sorted by count
# /emoticon (emoticon) - lists count of a particular emoticon
#
# Notes:
# Please install a redis server before installing/testing this p... |
[
{
"context": " parentView: mockParent\n bodyPart: {subject: \"Greetings!\", value: \"Welcome to Vulcan!\"}\n overlayPa",
"end": 1376,
"score": 0.5044839382171631,
"start": 1372,
"tag": "NAME",
"value": "reet"
}
] | test/javascripts/components/inline_edit_email_test.js.coffee | johan--/tahi | 1 | moduleForComponent 'inline-edit-email', 'Unit: components/inline-edit-email',
setup: ->
setupApp()
test '#sendEmail', ->
targetObject =
emailMock: (data) ->
ok true, 'sends the sendEmail action to its target'
ok data.subject == "Greetings!", "contains the subject"
ok data.body == "Welcom... | 126127 | moduleForComponent 'inline-edit-email', 'Unit: components/inline-edit-email',
setup: ->
setupApp()
test '#sendEmail', ->
targetObject =
emailMock: (data) ->
ok true, 'sends the sendEmail action to its target'
ok data.subject == "Greetings!", "contains the subject"
ok data.body == "Welcom... | true | moduleForComponent 'inline-edit-email', 'Unit: components/inline-edit-email',
setup: ->
setupApp()
test '#sendEmail', ->
targetObject =
emailMock: (data) ->
ok true, 'sends the sendEmail action to its target'
ok data.subject == "Greetings!", "contains the subject"
ok data.body == "Welcom... |
[
{
"context": "e keys in the data. Every key of the form:\n # `req123_xxx` will be used to populate its map.\n reg",
"end": 12295,
"score": 0.6132519841194153,
"start": 12292,
"tag": "KEY",
"value": "req"
},
{
"context": " support watchFile. See:\n # https://github.com/joseph... | lib/server.coffee | adig/node-browserchannel | 0 | # # A BrowserChannel server.
#
# - Its still pretty young, so there's probably bugs lurking around and the API
# will still change quickly.
# - Its missing integration tests
#
# It works in all the browsers I've tried.
#
# I've written this using the literate programming style to try it out. So, thats why
# there's a... | 84661 | # # A BrowserChannel server.
#
# - Its still pretty young, so there's probably bugs lurking around and the API
# will still change quickly.
# - Its missing integration tests
#
# It works in all the browsers I've tried.
#
# I've written this using the literate programming style to try it out. So, thats why
# there's a... | true | # # A BrowserChannel server.
#
# - Its still pretty young, so there's probably bugs lurking around and the API
# will still change quickly.
# - Its missing integration tests
#
# It works in all the browsers I've tried.
#
# I've written this using the literate programming style to try it out. So, thats why
# there's a... |
[
{
"context": "\n# @fileoverview Tests for new-cap rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 72,
"score": 0.9998176097869873,
"start": 55,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/new-cap.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for new-cap rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/new-cap'
{RuleTeste... | 48413 | ###*
# @fileoverview Tests for new-cap rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/new-cap'
{RuleTester} = requir... | true | ###*
# @fileoverview Tests for new-cap rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/new-cap'
{RuleTe... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991995692253113,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-timers.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... | 159546 | # 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": " @_name = sourceUser.name\n @setPassword(sourceUser.password)\n @setConfirmKey(sourceUser.confirmKey)\n\n ",
"end": 869,
"score": 0.9600814580917358,
"start": 850,
"tag": "PASSWORD",
"value": "sourceUser.password"
}
] | src/server/auth/password/model.coffee | LaPingvino/rizzoma | 88 | crypto = require('crypto')
{AuthModel} = require('../model')
{IdUtils} = require('../../utils/id_utils')
{UserUtils} = require('../../user/utils')
{DateUtils} = require('../../utils/date_utils')
PASSWORD_SALT_DELIMITER = '$' # разделяет в поле документа соль и соленый им хеш пароля
CONFIRM_KEY_EXPIRATION_TIMEOUT = 86... | 202919 | crypto = require('crypto')
{AuthModel} = require('../model')
{IdUtils} = require('../../utils/id_utils')
{UserUtils} = require('../../user/utils')
{DateUtils} = require('../../utils/date_utils')
PASSWORD_SALT_DELIMITER = '$' # разделяет в поле документа соль и соленый им хеш пароля
CONFIRM_KEY_EXPIRATION_TIMEOUT = 86... | true | crypto = require('crypto')
{AuthModel} = require('../model')
{IdUtils} = require('../../utils/id_utils')
{UserUtils} = require('../../user/utils')
{DateUtils} = require('../../utils/date_utils')
PASSWORD_SALT_DELIMITER = '$' # разделяет в поле документа соль и соленый им хеш пароля
CONFIRM_KEY_EXPIRATION_TIMEOUT = 86... |
[
{
"context": " \"application/json\"\n \"trakt-api-key\": \"6a858663eb2b89454c785ce93981f7726b90f33169ac454004d33d8837c4d0e8\"\n \"trakt-api-version\": \"2\"\n\n\n #",
"end": 686,
"score": 0.9997210502624512,
"start": 622,
"tag": "KEY",
"value": "6a858663eb2b89454... | app/scripts/providers/trakt.coffee | dackmin/Gummy | 3 | 'use strict'
###*
# @ngdoc function
# @name gummyApp.provider:$trakt
# @description
# # $trakt
# Trakt TV API provider
###
angular
.module 'gummyApp'
.service '$trakt', ($http, $q) ->
###*
# Api method
# @attribute API_METHOD
###
@API_METHOD = "https://"
... | 126666 | 'use strict'
###*
# @ngdoc function
# @name gummyApp.provider:$trakt
# @description
# # $trakt
# Trakt TV API provider
###
angular
.module 'gummyApp'
.service '$trakt', ($http, $q) ->
###*
# Api method
# @attribute API_METHOD
###
@API_METHOD = "https://"
... | true | 'use strict'
###*
# @ngdoc function
# @name gummyApp.provider:$trakt
# @description
# # $trakt
# Trakt TV API provider
###
angular
.module 'gummyApp'
.service '$trakt', ($http, $q) ->
###*
# Api method
# @attribute API_METHOD
###
@API_METHOD = "https://"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.