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": "# The MIT License (MIT)\n\n# Copyright (c) 2015 Jacobus Meulen\n\n# Permission is hereby granted, free of charge, ",
"end": 60,
"score": 0.9998505711555481,
"start": 46,
"tag": "NAME",
"value": "Jacobus Meulen"
}
] | mongojs-live.coffee | sjaakiejj/mongojs-live | 0 | # The MIT License (MIT)
# Copyright (c) 2015 Jacobus Meulen
# 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, modi... | 220067 | # The MIT License (MIT)
# Copyright (c) 2015 <NAME>
# 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, merg... | true | # The MIT License (MIT)
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990174770355225,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-upgrade-server.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... | 225201 | # 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": "ager \n# ---------------------\n# \n# @author : Fábio Azevedo <fabio.azevedo@unit9.com> UNIT9\n# @date : Sep",
"end": 111,
"score": 0.9998770952224731,
"start": 98,
"tag": "NAME",
"value": "Fábio Azevedo"
},
{
"context": "---------------\n# \n# @author : F... | src/coffee/utils/MediaQueries.coffee | neilcarpenter/codedoodl.es-chrome-extension | 0 | # ---------------------
# Media Queries Manager
# ---------------------
#
# @author : Fábio Azevedo <fabio.azevedo@unit9.com> UNIT9
# @date : September 14
#
# Instructions are on /project/sass/utils/_responsive.scss.
class MediaQueries
# Breakpoints
@SMALL : "small"
@IPAD ... | 181173 | # ---------------------
# Media Queries Manager
# ---------------------
#
# @author : <NAME> <<EMAIL>> UNIT9
# @date : September 14
#
# Instructions are on /project/sass/utils/_responsive.scss.
class MediaQueries
# Breakpoints
@SMALL : "small"
@IPAD : "ipad"
@MEDIUM ... | true | # ---------------------
# Media Queries Manager
# ---------------------
#
# @author : PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> UNIT9
# @date : September 14
#
# Instructions are on /project/sass/utils/_responsive.scss.
class MediaQueries
# Breakpoints
@SMALL : "small"
@IPAD ... |
[
{
"context": "d process.env.MAIL_URL\n\t\t\t\t\tEmail.send\n\t\t\t\t\t\tto: 'support@steedos.com'\n\t\t\t\t\t\tfrom: 'Steedos <noreply@message.steedos.co",
"end": 668,
"score": 0.9999249577522278,
"start": 649,
"tag": "EMAIL",
"value": "support@steedos.com"
},
{
"context": "\t\tto: '... | packages/steedos-weixin/server/routes/refresh_access_token.coffee | zonglu233/fuel-car | 42 |
JsonRoutes.add 'get', '/api/steedos/weixin/refresh/token/:appId', (req, res, next) ->
try
userId = Steedos.getUserIdFromAuthToken(req, res)
if !userId
throw new Meteor.Error(500, "No permission")
appId = req.params.appId
app = Creator.getCollection("vip_apps").findOne(appId)
if not app
throw new M... | 141346 |
JsonRoutes.add 'get', '/api/steedos/weixin/refresh/token/:appId', (req, res, next) ->
try
userId = Steedos.getUserIdFromAuthToken(req, res)
if !userId
throw new Meteor.Error(500, "No permission")
appId = req.params.appId
app = Creator.getCollection("vip_apps").findOne(appId)
if not app
throw new M... | true |
JsonRoutes.add 'get', '/api/steedos/weixin/refresh/token/:appId', (req, res, next) ->
try
userId = Steedos.getUserIdFromAuthToken(req, res)
if !userId
throw new Meteor.Error(500, "No permission")
appId = req.params.appId
app = Creator.getCollection("vip_apps").findOne(appId)
if not app
throw new M... |
[
{
"context": " 'thangType', 'components']\n 'default':\n id: 'Boris'\n thangType: 'Soldier'\n components: []\n},\n ",
"end": 20218,
"score": 0.7909665107727051,
"start": 20213,
"tag": "NAME",
"value": "Boris"
}
] | app/schemas/models/level.coffee | FlexBlur/codecombat | 1 | c = require './../schemas'
ThangComponentSchema = require './thang_component'
SpecificArticleSchema = c.object()
c.extendNamedProperties SpecificArticleSchema # name first
SpecificArticleSchema.properties.body = {type: 'string', title: 'Content', description: 'The body content of the article, in Markdown.', format: '... | 25060 | c = require './../schemas'
ThangComponentSchema = require './thang_component'
SpecificArticleSchema = c.object()
c.extendNamedProperties SpecificArticleSchema # name first
SpecificArticleSchema.properties.body = {type: 'string', title: 'Content', description: 'The body content of the article, in Markdown.', format: '... | true | c = require './../schemas'
ThangComponentSchema = require './thang_component'
SpecificArticleSchema = c.object()
c.extendNamedProperties SpecificArticleSchema # name first
SpecificArticleSchema.properties.body = {type: 'string', title: 'Content', description: 'The body content of the article, in Markdown.', format: '... |
[
{
"context": "\n * @namespace KINOUT\n * @class View\n *\n * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\nKINOUT.View = ",
"end": 111,
"score": 0.9998862743377686,
"start": 90,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": " @class View\n *\n ... | components/Kinout/src/Kinout.View.coffee | biojazzard/kirbout | 2 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class View
*
* @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
KINOUT.View = ((knt, $$, undefined_) ->
SELECTOR = knt.Constants.SELECTOR
STYLE = knt.Constants.STYLE
_index = knt.index
_steps = []
slide = (horizont... | 202144 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class View
*
* @author <NAME> <<EMAIL>> || @soyjavi
###
KINOUT.View = ((knt, $$, undefined_) ->
SELECTOR = knt.Constants.SELECTOR
STYLE = knt.Constants.STYLE
_index = knt.index
_steps = []
slide = (horizontal, vertical, next_step... | true | ###
* Description or Responsability
*
* @namespace KINOUT
* @class View
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
KINOUT.View = ((knt, $$, undefined_) ->
SELECTOR = knt.Constants.SELECTOR
STYLE = knt.Constants.STYLE
_index = knt.index
_steps = []
slide = (ho... |
[
{
"context": "\t\t\ts += ia.html(level+1)\n\ts += \"</div>\"\n\ts\n###\n#\n# НАВИГАТОР Пирамиды\n#\nnavi[PIECHART] = (eo) ->\n\tif $txt.attr(\"content",
"end": 1859,
"score": 0.997076690196991,
"start": 1841,
"tag": "NAME",
"value": "НАВИГАТОР Пирамиды"
}
] | piechart.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.008BI
# piechart.coffee
# Процедуры для рисования диаграммы с долями
################################################
svg[PIECHART] = ->
ppr[@id] = Raphael "pap"+@id,500,320
pp = $('#pap'+@id).position() # Берем координаты всей пирамиды
$('#bag'+@id).heig... | 194082 | ################################################
# MINDAY 0.008BI
# piechart.coffee
# Процедуры для рисования диаграммы с долями
################################################
svg[PIECHART] = ->
ppr[@id] = Raphael "pap"+@id,500,320
pp = $('#pap'+@id).position() # Берем координаты всей пирамиды
$('#bag'+@id).heig... | true | ################################################
# MINDAY 0.008BI
# piechart.coffee
# Процедуры для рисования диаграммы с долями
################################################
svg[PIECHART] = ->
ppr[@id] = Raphael "pap"+@id,500,320
pp = $('#pap'+@id).position() # Берем координаты всей пирамиды
$('#bag'+@id).heig... |
[
{
"context": "s = testData.getEditors schema.editors, [\"name\", \"username\", \"email\"]\n\t\tpjs = new PJS \".propertyEditor\", sch",
"end": 455,
"score": 0.9991362690925598,
"start": 447,
"tag": "USERNAME",
"value": "username"
},
{
"context": "(objs[0].name).to.be.equal \"123\"\n\... | test/modules/editors/text.spec.coffee | icebob/propertiesjs | 21 | expect = require("chai").expect
PJS = require "../../../src/js/propertiesJS"
testData = require "../../test-data"
describe "Test PJSTextEditor", ->
pjs = null
objs = null
schema = null
pe = null
before ->
testData.createDivs(@test.parent.title)
pe = $ ".propertyEditor"
beforeEach -> [objs, schema] = ... | 27011 | expect = require("chai").expect
PJS = require "../../../src/js/propertiesJS"
testData = require "../../test-data"
describe "Test PJSTextEditor", ->
pjs = null
objs = null
schema = null
pe = null
before ->
testData.createDivs(@test.parent.title)
pe = $ ".propertyEditor"
beforeEach -> [objs, schema] = ... | true | expect = require("chai").expect
PJS = require "../../../src/js/propertiesJS"
testData = require "../../test-data"
describe "Test PJSTextEditor", ->
pjs = null
objs = null
schema = null
pe = null
before ->
testData.createDivs(@test.parent.title)
pe = $ ".propertyEditor"
beforeEach -> [objs, schema] = ... |
[
{
"context": " 0.5 }\n ]\n\nclient = new Myna.Client\n apiKey: \"092c90f6-a8f2-11e2-a2b9-7c6d628b25f7\"\n apiRoot: testApiRoot\n experiments: [ expt ]\n",
"end": 311,
"score": 0.9997587203979492,
"start": 275,
"tag": "KEY",
"value": "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
}
] | src/test/google-analytics-spec.coffee | plyfe/myna-js | 2 | expt = window.expt = new Myna.Experiment
uuid: "45923780-80ed-47c6-aa46-15e2ae7a0e8c"
id: "id"
settings: "myna.web.sticky": false
variants: [
{ id: "variant1", weight: 0.5 }
{ id: "variant2", weight: 0.5 }
]
client = new Myna.Client
apiKey: "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
apiRo... | 168481 | expt = window.expt = new Myna.Experiment
uuid: "45923780-80ed-47c6-aa46-15e2ae7a0e8c"
id: "id"
settings: "myna.web.sticky": false
variants: [
{ id: "variant1", weight: 0.5 }
{ id: "variant2", weight: 0.5 }
]
client = new Myna.Client
apiKey: "<KEY>"
apiRoot: testApiRoot
experiments:... | true | expt = window.expt = new Myna.Experiment
uuid: "45923780-80ed-47c6-aa46-15e2ae7a0e8c"
id: "id"
settings: "myna.web.sticky": false
variants: [
{ id: "variant1", weight: 0.5 }
{ id: "variant2", weight: 0.5 }
]
client = new Myna.Client
apiKey: "PI:KEY:<KEY>END_PI"
apiRoot: testApiRoot
... |
[
{
"context": " @model = new Essence.Models.Timelet\n name: 'Awesome timer'\n duration: 42\n @model.state.running = tr",
"end": 125,
"score": 0.96760094165802,
"start": 112,
"tag": "NAME",
"value": "Awesome timer"
},
{
"context": ">\n model = new Essence.Models.Timel... | spec/javascripts/modules/timelet/views/layout/timelets_panel_spec.js.coffee | kaethorn/essence | 0 | describe 'Essence.Views.TimeletsPanel', ->
beforeEach ->
@model = new Essence.Models.Timelet
name: 'Awesome timer'
duration: 42
@model.state.running = true
@model.state.timer = 10
@collection = new Essence.Collections.Timelets [@model]
@model.collection = @collection
@view = new ... | 38787 | describe 'Essence.Views.TimeletsPanel', ->
beforeEach ->
@model = new Essence.Models.Timelet
name: '<NAME>'
duration: 42
@model.state.running = true
@model.state.timer = 10
@collection = new Essence.Collections.Timelets [@model]
@model.collection = @collection
@view = new Essence... | true | describe 'Essence.Views.TimeletsPanel', ->
beforeEach ->
@model = new Essence.Models.Timelet
name: 'PI:NAME:<NAME>END_PI'
duration: 42
@model.state.running = true
@model.state.timer = 10
@collection = new Essence.Collections.Timelets [@model]
@model.collection = @collection
@view... |
[
{
"context": "lass=\"blue\">blue</span> line?'\n # translations by David Marin (fluent/careful but not a native speaker)\n es:\n ",
"end": 1595,
"score": 0.9910984635353088,
"start": 1584,
"tag": "NAME",
"value": "David Marin"
}
] | tasks/line-perception/js/line-perception.coffee | jhowe-uw/tabcat | 0 | ###
Copyright (c) 2013, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of... | 219651 | ###
Copyright (c) 2013, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of... | true | ###
Copyright (c) 2013, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of... |
[
{
"context": " * Maple.css\n * Copyright 2013 Koji Ishimoto\n * Licensed under the MIT License\n ",
"end": 1190,
"score": 0.9997862577438354,
"start": 1177,
"tag": "NAME",
"value": "Koji Ishimoto"
}
] | app/templates/src/Gruntfile.coffee | t32k/generator-maple | 1 | module.exports = (grunt) ->
'use strict'
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON 'package.json'
# Parse CSS and add vendor-prefixed CSS properties using the Can I Use database.
autoprefixer:
options:
browsers: ['ios >= 5', 'android >= 2.3']
... | 61527 | module.exports = (grunt) ->
'use strict'
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON 'package.json'
# Parse CSS and add vendor-prefixed CSS properties using the Can I Use database.
autoprefixer:
options:
browsers: ['ios >= 5', 'android >= 2.3']
... | true | module.exports = (grunt) ->
'use strict'
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON 'package.json'
# Parse CSS and add vendor-prefixed CSS properties using the Can I Use database.
autoprefixer:
options:
browsers: ['ios >= 5', 'android >= 2.3']
... |
[
{
"context": "[\n \"ěščřžýáí\"\n \"\\u011b\\u0161\\u010d\\u0159\\u017e\\u00fd\\u00e1\\",
"end": 15,
"score": 0.6472693085670471,
"start": 7,
"tag": "NAME",
"value": "ěščřžýáí"
}
] | test/parser/unicode.cson | asellappen/pycson | 634 | [
"ěščřžýáí"
"\u011b\u0161\u010d\u0159\u017e\u00fd\u00e1\u00ed"
"ě\u0161č\u0159ž\u00fdá\u00ed"
"\u011bš\u010dř\u017eý\u00e1í"
] | 211965 | [
"<NAME>"
"\u011b\u0161\u010d\u0159\u017e\u00fd\u00e1\u00ed"
"ě\u0161č\u0159ž\u00fdá\u00ed"
"\u011bš\u010dř\u017eý\u00e1í"
] | true | [
"PI:NAME:<NAME>END_PI"
"\u011b\u0161\u010d\u0159\u017e\u00fd\u00e1\u00ed"
"ě\u0161č\u0159ž\u00fdá\u00ed"
"\u011bš\u010dř\u017eý\u00e1í"
] |
[
{
"context": "', =>\n it 'should pass', =>\n test = new Test 'Peter'\n expect(test.sayHello()).to.equal 'Hello, Pet",
"end": 139,
"score": 0.992812991142273,
"start": 134,
"tag": "NAME",
"value": "Peter"
},
{
"context": "eter'\n expect(test.sayHello()).to.equal 'Hello, Pete... | chapter2/node_modules/grunt-mocha-test/test/scenarios/requireCompilersOption/test.coffee | pipihei/phptest | 3 | expect = require('chai').expect
Test = require './lib'
describe 'test coffee-script', =>
it 'should pass', =>
test = new Test 'Peter'
expect(test.sayHello()).to.equal 'Hello, Peter'
expect(testVar).to.equal 'test'
| 23243 | expect = require('chai').expect
Test = require './lib'
describe 'test coffee-script', =>
it 'should pass', =>
test = new Test '<NAME>'
expect(test.sayHello()).to.equal 'Hello, <NAME>'
expect(testVar).to.equal 'test'
| true | expect = require('chai').expect
Test = require './lib'
describe 'test coffee-script', =>
it 'should pass', =>
test = new Test 'PI:NAME:<NAME>END_PI'
expect(test.sayHello()).to.equal 'Hello, PI:NAME:<NAME>END_PI'
expect(testVar).to.equal 'test'
|
[
{
"context": "\t\tusername\t:\tsettings.username\n\t\t\t\t\t\t\t\tpassword\t:\tpassword\n\t\t\t\t\t\t\t\tactive\t\t:\ttrue \n\t\t\t\t\t\t\t\tcreated\t\t:\tnew Da",
"end": 495,
"score": 0.9993351101875305,
"start": 487,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "sername =... | applications/lighter/modules/user.coffee | nodebenchmark/benchmarks | 13 | module.exports = (settings)->
class User
constructor:(settings)->
@settings = settings
@user = settings.mongoose.model 'user'
@crypto = require('crypto')
# initializes the user from settings.
init:(callback)->
@user.findOne username : settings.username, (err, data)=>
password = @crypto.... | 122202 | module.exports = (settings)->
class User
constructor:(settings)->
@settings = settings
@user = settings.mongoose.model 'user'
@crypto = require('crypto')
# initializes the user from settings.
init:(callback)->
@user.findOne username : settings.username, (err, data)=>
password = @crypto.... | true | module.exports = (settings)->
class User
constructor:(settings)->
@settings = settings
@user = settings.mongoose.model 'user'
@crypto = require('crypto')
# initializes the user from settings.
init:(callback)->
@user.findOne username : settings.username, (err, data)=>
password = @crypto.... |
[
{
"context": "ame.trim().replace /\\s/gm, ' '\r\n\t\t\t\t\tkeyName = new Jaco(keyName).toNarrow().toWideKatakana().toString()\r\n",
"end": 3798,
"score": 0.8397259712219238,
"start": 3794,
"tag": "KEY",
"value": "Jaco"
},
{
"context": "place /\\s/gm, ' '\r\n\t\t\t\t\tkeyName = new Ja... | src/typed-table.coffee | YusukeHirao/typed-table | 0 | 'use strict'
fs = require 'fs'
path = require 'path'
xlsx = require 'xlsx'
jaco = require 'jaco'
Jaco = jaco.Jaco
PARENT = module.parent
BASE_DIR = path.dirname PARENT.filename
CHAR_CODE_A = 64
CHAR_CODE_Z = 90
NAME_COLUMN_VALUES = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split('')
NAME_COLUMN_VALUES_LENGTH = ... | 107116 | 'use strict'
fs = require 'fs'
path = require 'path'
xlsx = require 'xlsx'
jaco = require 'jaco'
Jaco = jaco.Jaco
PARENT = module.parent
BASE_DIR = path.dirname PARENT.filename
CHAR_CODE_A = 64
CHAR_CODE_Z = 90
NAME_COLUMN_VALUES = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split('')
NAME_COLUMN_VALUES_LENGTH = ... | true | 'use strict'
fs = require 'fs'
path = require 'path'
xlsx = require 'xlsx'
jaco = require 'jaco'
Jaco = jaco.Jaco
PARENT = module.parent
BASE_DIR = path.dirname PARENT.filename
CHAR_CODE_A = 64
CHAR_CODE_Z = 90
NAME_COLUMN_VALUES = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split('')
NAME_COLUMN_VALUES_LENGTH = ... |
[
{
"context": "an_educator: \"I'm an Educator\"\n im_a_teacher: \"Sunt Profesor\"\n im_a_student: \"Sunt Student\"\n learn_more:",
"end": 9496,
"score": 0.8706863522529602,
"start": 9483,
"tag": "NAME",
"value": "Sunt Profesor"
},
{
"context": "pact\"\n contact: \"Contact\... | app/locale/ro.coffee | suwijakza/codecombat | 0 | module.exports = nativeDescription: "limba română", englishDescription: "Romanian", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_keywords: "CodeCombat, python, javascript, Coding Games"
# meta_description: "Learn typed code through a programming game. Lea... | 220540 | module.exports = nativeDescription: "limba română", englishDescription: "Romanian", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_keywords: "CodeCombat, python, javascript, Coding Games"
# meta_description: "Learn typed code through a programming game. Lea... | true | module.exports = nativeDescription: "limba română", englishDescription: "Romanian", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_keywords: "CodeCombat, python, javascript, Coding Games"
# meta_description: "Learn typed code through a programming game. Lea... |
[
{
"context": "e = pp.scope {\n name: \"marvin gardens\"\n }\n ",
"end": 6523,
"score": 0.9998447299003601,
"start": 6509,
"tag": "NAME",
"value": "marvin gardens"
}
] | src/test/spec-parkplace.coffee | brekk/parkplace | 0 | assert = require 'assert'
should = require 'should'
_ = require 'lodash'
pp = require '../lib/parkplace'
(->
"use strict"
try
fixture = require './fixture.json'
boardwalk = fixture.base
mutableDef = fixture.definitions.mutable
secretDef = fixture.definitions.secret
reada... | 39262 | assert = require 'assert'
should = require 'should'
_ = require 'lodash'
pp = require '../lib/parkplace'
(->
"use strict"
try
fixture = require './fixture.json'
boardwalk = fixture.base
mutableDef = fixture.definitions.mutable
secretDef = fixture.definitions.secret
reada... | true | assert = require 'assert'
should = require 'should'
_ = require 'lodash'
pp = require '../lib/parkplace'
(->
"use strict"
try
fixture = require './fixture.json'
boardwalk = fixture.base
mutableDef = fixture.definitions.mutable
secretDef = fixture.definitions.secret
reada... |
[
{
"context": "scription various utility app directives\n# @author Michael Lin, Snaphappi Inc.\n#\n###\n\n\nangular.module('starter')",
"end": 121,
"score": 0.9969658851623535,
"start": 110,
"tag": "NAME",
"value": "Michael Lin"
}
] | app/js/services/app-directives.coffee | mixersoft/ionic-parse-facebook-scaffold | 5 | 'use strict'
###*
# @ngdoc directive
# @name various
# @description various utility app directives
# @author Michael Lin, Snaphappi Inc.
#
###
angular.module('starter')
.directive 'map', [ ()->
return {
restrict: 'E',
scope: {
onCreate: '&'
latlon: '='
# template: <map on-create="mapCre... | 76826 | 'use strict'
###*
# @ngdoc directive
# @name various
# @description various utility app directives
# @author <NAME>, Snaphappi Inc.
#
###
angular.module('starter')
.directive 'map', [ ()->
return {
restrict: 'E',
scope: {
onCreate: '&'
latlon: '='
# template: <map on-create="mapCreated(... | true | 'use strict'
###*
# @ngdoc directive
# @name various
# @description various utility app directives
# @author PI:NAME:<NAME>END_PI, Snaphappi Inc.
#
###
angular.module('starter')
.directive 'map', [ ()->
return {
restrict: 'E',
scope: {
onCreate: '&'
latlon: '='
# template: <map on-creat... |
[
{
"context": "type: CardType.Tile\n\t@type: CardType.Tile\n\tname: \"Tile\"\n\n\thp: 0\n\tmaxHP: 0\n\tmanaCost: 0\n\tisTargetable: fa",
"end": 282,
"score": 0.6139403581619263,
"start": 278,
"tag": "NAME",
"value": "Tile"
}
] | app/sdk/entities/tile.coffee | willroberts/duelyst | 5 | Logger = require 'app/common/logger'
UtilsGameSession = require 'app/common/utils/utils_game_session'
Entity = require './entity'
CardType = require 'app/sdk/cards/cardType'
_ = require 'underscore'
class Tile extends Entity
type: CardType.Tile
@type: CardType.Tile
name: "Tile"
hp: 0
maxHP: 0
manaCost: 0
isTa... | 5145 | Logger = require 'app/common/logger'
UtilsGameSession = require 'app/common/utils/utils_game_session'
Entity = require './entity'
CardType = require 'app/sdk/cards/cardType'
_ = require 'underscore'
class Tile extends Entity
type: CardType.Tile
@type: CardType.Tile
name: "<NAME>"
hp: 0
maxHP: 0
manaCost: 0
is... | true | Logger = require 'app/common/logger'
UtilsGameSession = require 'app/common/utils/utils_game_session'
Entity = require './entity'
CardType = require 'app/sdk/cards/cardType'
_ = require 'underscore'
class Tile extends Entity
type: CardType.Tile
@type: CardType.Tile
name: "PI:NAME:<NAME>END_PI"
hp: 0
maxHP: 0
m... |
[
{
"context": " expect(services.public).to.have.keys ['public1', 'publicServer']\n\n names = (obj.nam",
"end": 8160,
"score": 0.7468550801277161,
"start": 8159,
"tag": "KEY",
"value": "1"
}
] | spec/bijous-spec.coffee | mbrio/bijous | 0 | path = require 'path'
fs = require 'fs'
expect = require('chai').expect
series = require 'array-series'
sinon = require 'sinon'
Bijous = require '../lib/bijous'
findModule = (modules, name) ->
return true for module in modules when module.name is name
false
describe 'Bijous', ->
describe '#cwd', ->
context... | 66659 | path = require 'path'
fs = require 'fs'
expect = require('chai').expect
series = require 'array-series'
sinon = require 'sinon'
Bijous = require '../lib/bijous'
findModule = (modules, name) ->
return true for module in modules when module.name is name
false
describe 'Bijous', ->
describe '#cwd', ->
context... | true | path = require 'path'
fs = require 'fs'
expect = require('chai').expect
series = require 'array-series'
sinon = require 'sinon'
Bijous = require '../lib/bijous'
findModule = (modules, name) ->
return true for module in modules when module.name is name
false
describe 'Bijous', ->
describe '#cwd', ->
context... |
[
{
"context": "mailAddress: @getAccount()\n password: @getPassword()\n success: (resp) =>\n cont",
"end": 2762,
"score": 0.8908627033233643,
"start": 2750,
"tag": "PASSWORD",
"value": "@getPassword"
},
{
"context": " action: 'signup'\n ... | talk-account/client/app/signup.coffee | ikingye/talk-os | 3,084 |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
analytics = require '../util/analytics'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory req... | 33067 |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
analytics = require '../util/analytics'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory req... | true |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
analytics = require '../util/analytics'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory req... |
[
{
"context": "for a standard project\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\n\nfs = require('fs')\n\n#\n# Preconverts coffe-sc",
"end": 118,
"score": 0.9998903870582581,
"start": 101,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/source.coffee | lovely-io/lovely.io-stl | 2 | #
# This module handles source code compilation
# for a standard project
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
fs = require('fs')
#
# Preconverts coffe-script into javascript
#
# @param {String} CoffeeScript
# @param {String} patch
# @return {String} JavaScript
#
convert_from_coffee = (source, patch)->
... | 162920 | #
# This module handles source code compilation
# for a standard project
#
# Copyright (C) 2011-2012 <NAME>
#
fs = require('fs')
#
# Preconverts coffe-script into javascript
#
# @param {String} CoffeeScript
# @param {String} patch
# @return {String} JavaScript
#
convert_from_coffee = (source, patch)->
if patch
... | true | #
# This module handles source code compilation
# for a standard project
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
fs = require('fs')
#
# Preconverts coffe-script into javascript
#
# @param {String} CoffeeScript
# @param {String} patch
# @return {String} JavaScript
#
convert_from_coffee = (source, patch)->... |
[
{
"context": "rstName = newFirstName\n data.lastName = newLastName\n data.picture = newPicture\n ",
"end": 1287,
"score": 0.7033793926239014,
"start": 1284,
"tag": "NAME",
"value": "new"
}
] | client/views/profile.coffee | jameswhiteman/communicator-web | 0 | root = global ? window
if root.Meteor.isClient
Template.profile.helpers
firstName: ->
user = Meteor.user()
if user
return user.profile.firstName
return ''
lastName: ->
user = Meteor.user()
if user
return us... | 66250 | root = global ? window
if root.Meteor.isClient
Template.profile.helpers
firstName: ->
user = Meteor.user()
if user
return user.profile.firstName
return ''
lastName: ->
user = Meteor.user()
if user
return us... | true | root = global ? window
if root.Meteor.isClient
Template.profile.helpers
firstName: ->
user = Meteor.user()
if user
return user.profile.firstName
return ''
lastName: ->
user = Meteor.user()
if user
return us... |
[
{
"context": "urrent_class = =>\n cls = new Class(\n name: current_class\n super_classes: _.clone(current_super_",
"end": 654,
"score": 0.9349086880683899,
"start": 647,
"tag": "NAME",
"value": "current"
}
] | temp/graph-examples/model-master/model_app/controllers.coffee | cnstntn-kndrtv/terrapin | 0 | EXAMPLES = {}
EXAMPLES["simple"] = """
Class1 : BaseClass1
+method1
+method2
-method3
Class2 : BaseClass1
+method1
+method2
-method3
Class3 : Class2
+method1
+method2
-method3
"""
show_example = (which) ->
$("#source_input").val(EXAMPLES[which])
create_parser = ->
previous_source = ""
current_class = ""
cu... | 211701 | EXAMPLES = {}
EXAMPLES["simple"] = """
Class1 : BaseClass1
+method1
+method2
-method3
Class2 : BaseClass1
+method1
+method2
-method3
Class3 : Class2
+method1
+method2
-method3
"""
show_example = (which) ->
$("#source_input").val(EXAMPLES[which])
create_parser = ->
previous_source = ""
current_class = ""
cu... | true | EXAMPLES = {}
EXAMPLES["simple"] = """
Class1 : BaseClass1
+method1
+method2
-method3
Class2 : BaseClass1
+method1
+method2
-method3
Class3 : Class2
+method1
+method2
-method3
"""
show_example = (which) ->
$("#source_input").val(EXAMPLES[which])
create_parser = ->
previous_source = ""
current_class = ""
cu... |
[
{
"context": "3-2014 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 129,
"score": 0.9998415112495422,
"start": 116,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "(Rituwall Inc.)\n# (c) 2011-2012 He... | src/lib/InternalSocket.coffee | jonnor/noflo | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
{EventEmitter} = require 'events'
# ## Internal Sockets
#
# The default communications mechanism between NoFlo processes ... | 79699 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
{EventEmitter} = require 'events'
# ## Internal Sockets
#
# The default communications mechanism between NoFlo processes is
# an... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
{EventEmitter} = require 'events'
# ## Internal Sockets
#
# The default communications mechanism bet... |
[
{
"context": "# © 2015 Logan Martel\n# Extensible class for terminal emulator in web a",
"end": 21,
"score": 0.9998800158500671,
"start": 9,
"tag": "NAME",
"value": "Logan Martel"
},
{
"context": ", \"projects\", \"skills\", \"resume\"]\n\t,\t@secrets = [\"gandalf\"]\n\t) ->\n\t\tins... | javascripts/terminal.coffee | TuringPlanck/loganmartel | 0 | # © 2015 Logan Martel
# Extensible class for terminal emulator in web application
class Terminal
constructor:\
( @target=".shell .text"
, @PS1="$ "
, @welcome="./hello_friend"
, @guide="Run 'help' for basic commands"
, @commands= ["about", "projects", "skills", "resume", "interests", "glass_sort", "clear","ls",... | 23854 | # © 2015 <NAME>
# Extensible class for terminal emulator in web application
class Terminal
constructor:\
( @target=".shell .text"
, @PS1="$ "
, @welcome="./hello_friend"
, @guide="Run 'help' for basic commands"
, @commands= ["about", "projects", "skills", "resume", "interests", "glass_sort", "clear","ls", "help... | true | # © 2015 PI:NAME:<NAME>END_PI
# Extensible class for terminal emulator in web application
class Terminal
constructor:\
( @target=".shell .text"
, @PS1="$ "
, @welcome="./hello_friend"
, @guide="Run 'help' for basic commands"
, @commands= ["about", "projects", "skills", "resume", "interests", "glass_sort", "clea... |
[
{
"context": "# The MIT License (MIT)\n# \n# Copyright (c) 2013 Alytis\n# \n# Permission is hereby granted, free of charge",
"end": 54,
"score": 0.9986651539802551,
"start": 48,
"tag": "NAME",
"value": "Alytis"
}
] | src/bone.coffee | monokrome/HyperBone | 0 | # The MIT License (MIT)
#
# Copyright (c) 2013 Alytis
#
# 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, ... | 99515 | # The MIT License (MIT)
#
# Copyright (c) 2013 <NAME>
#
# 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, ... | true | # The MIT License (MIT)
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, ... |
[
{
"context": "s= []\n\n i= 0\n\n keys.push\n name: 'まばたき'\n time: 0\n weight: 0.00\n\n keys",
"end": 1196,
"score": 0.9986559152603149,
"start": 1192,
"tag": "KEY",
"value": "まばたき"
},
{
"context": " weight: 0.00\n\n keys.push\n name... | src/app/loaders.coffee | 59naga/vpd.berabou.me | 2 | # Dependencies
vpvpVpd= require 'vpvp-vpd'
pako= require 'pako'
# Publish
app= angular.module process.env.APP
app.factory 'Loaders',($window,Promise,renderer)->
class Loader
constructor: (pmxName,vmdName)->
@clock= new THREE.Clock
@pmx= @loadPmx pmxName
@vmd= @loadVmd vmdName
@model= @cr... | 139101 | # Dependencies
vpvpVpd= require 'vpvp-vpd'
pako= require 'pako'
# Publish
app= angular.module process.env.APP
app.factory 'Loaders',($window,Promise,renderer)->
class Loader
constructor: (pmxName,vmdName)->
@clock= new THREE.Clock
@pmx= @loadPmx pmxName
@vmd= @loadVmd vmdName
@model= @cr... | true | # Dependencies
vpvpVpd= require 'vpvp-vpd'
pako= require 'pako'
# Publish
app= angular.module process.env.APP
app.factory 'Loaders',($window,Promise,renderer)->
class Loader
constructor: (pmxName,vmdName)->
@clock= new THREE.Clock
@pmx= @loadPmx pmxName
@vmd= @loadVmd vmdName
@model= @cr... |
[
{
"context": "lert(\"Galloping...\")\n super(45)\n\nsam: new Snake(\"Sammy the Python\")\ntom: new Horse(\"Tommy the Palomino\")\n\nsam.move(",
"end": 325,
"score": 0.9951704740524292,
"start": 309,
"tag": "NAME",
"value": "Sammy the Python"
},
{
"context": "am: new Snake(\"Sammy th... | documentation/coffee/super.coffee | tlrobinson/coffee-script | 1 | Animal: =>
Animal::move: meters =>
alert(this.name + " moved " + meters + "m.")
Snake: name => this.name: name
Snake extends Animal
Snake::move: =>
alert("Slithering...")
super(5)
Horse: name => this.name: name
Horse extends Animal
Horse::move: =>
alert("Galloping...")
super(45)
sam: new Snake("Sammy the P... | 124951 | Animal: =>
Animal::move: meters =>
alert(this.name + " moved " + meters + "m.")
Snake: name => this.name: name
Snake extends Animal
Snake::move: =>
alert("Slithering...")
super(5)
Horse: name => this.name: name
Horse extends Animal
Horse::move: =>
alert("Galloping...")
super(45)
sam: new Snake("<NAME>")
to... | true | Animal: =>
Animal::move: meters =>
alert(this.name + " moved " + meters + "m.")
Snake: name => this.name: name
Snake extends Animal
Snake::move: =>
alert("Slithering...")
super(5)
Horse: name => this.name: name
Horse extends Animal
Horse::move: =>
alert("Galloping...")
super(45)
sam: new Snake("PI:NAME:<NA... |
[
{
"context": "# # service layer\n#\n# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 55,
"score": 0.9998607635498047,
"start": 41,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": " layer\n#\n# Copyright (c) 2013 JeongHoon Byun... | src/service.coffee | outsideris/popularconvention | 421 | # # service layer
#
# Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
logger = (require './helpers').logger
helpers = (require './helpers')
http = require 'http'
fs = require 'fs'
zlib = require 'zlib'
path = require... | 111465 | # # service layer
#
# Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
logger = (require './helpers').logger
helpers = (require './helpers')
http = require 'http'
fs = require 'fs'
zlib = require 'zlib'
path = require 'path'
... | true | # # service layer
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
logger = (require './helpers').logger
helpers = (require './helpers')
http = require 'http'
fs = require 'fs'
zlib = require 'zlib'
path = r... |
[
{
"context": "r\n @renderer.pause()\n\n getName: -> 'Extruded'\n\n getForm: ->\n @runButton = $('<button",
"end": 13378,
"score": 0.9986192584037781,
"start": 13370,
"tag": "NAME",
"value": "Extruded"
}
] | csat/visualization/assets/coffeescripts/strategies.coffee | GaretJax/csat | 0 | class Strategy
getName: -> '<Abstract strategy>'
activate: (@viewer) ->
deactivate: ->
setScene: (@scene) ->
getForm: ->
$('<div/>')
.addClass('strategy-config')
.append($('<p class="muted">No settings for this strategy</p>'))
class SingleStrategy extends Strategy
... | 31389 | class Strategy
getName: -> '<Abstract strategy>'
activate: (@viewer) ->
deactivate: ->
setScene: (@scene) ->
getForm: ->
$('<div/>')
.addClass('strategy-config')
.append($('<p class="muted">No settings for this strategy</p>'))
class SingleStrategy extends Strategy
... | true | class Strategy
getName: -> '<Abstract strategy>'
activate: (@viewer) ->
deactivate: ->
setScene: (@scene) ->
getForm: ->
$('<div/>')
.addClass('strategy-config')
.append($('<p class="muted">No settings for this strategy</p>'))
class SingleStrategy extends Strategy
... |
[
{
"context": "meta:\n name: \"shiptag\"\n version: \"2019/05/25/02\"\n\ndata:\n mapname: [\n ",
"end": 22,
"score": 0.4568105936050415,
"start": 20,
"tag": "NAME",
"value": "ag"
}
] | fcd/shiptag.cson | xykdaGhost/poi | 1 | meta:
name: "shiptag"
version: "2019/05/25/02"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
"E4"
"E5"
]
color: [
"#9E9E9E"
"#FF9800"
"#03A9F4"
"#8BC34A"
"#FFEB3B"
"#009688"
]
fleetname:
"zh-CN": [
"第百四战队"
"第二舰队"
"北方部队"
"机动部队"
"攻略部队... | 98534 | meta:
name: "shipt<NAME>"
version: "2019/05/25/02"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
"E4"
"E5"
]
color: [
"#9E9E9E"
"#FF9800"
"#03A9F4"
"#8BC34A"
"#FFEB3B"
"#009688"
]
fleetname:
"zh-CN": [
"第百四战队"
"第二舰队"
"北方部队"
"机动部队"
"... | true | meta:
name: "shiptPI:NAME:<NAME>END_PI"
version: "2019/05/25/02"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
"E4"
"E5"
]
color: [
"#9E9E9E"
"#FF9800"
"#03A9F4"
"#8BC34A"
"#FFEB3B"
"#009688"
]
fleetname:
"zh-CN": [
"第百四战队"
"第二舰队"
"北方部队"
... |
[
{
"context": "y, refsList of refsIndex\n\n if refKey == 'CREDO'\n continue\n\n for ref in refsL",
"end": 1063,
"score": 0.6590322256088257,
"start": 1058,
"tag": "KEY",
"value": "CREDO"
},
{
"context": "ef.link = ref.xref_url\n\n if refKey == '... | src/glados/static/coffee/views/References/ReferencesView.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | glados.useNameSpace 'glados.views.References',
ReferencesView: Backbone.View.extend
initialize: ->
@config = arguments[0].config
@model.on 'change', @render, @
render: ->
refsGroups = []
refsFilter = @config.filter
if @config.is_unichem
references = @model.get('_metada... | 104740 | glados.useNameSpace 'glados.views.References',
ReferencesView: Backbone.View.extend
initialize: ->
@config = arguments[0].config
@model.on 'change', @render, @
render: ->
refsGroups = []
refsFilter = @config.filter
if @config.is_unichem
references = @model.get('_metada... | true | glados.useNameSpace 'glados.views.References',
ReferencesView: Backbone.View.extend
initialize: ->
@config = arguments[0].config
@model.on 'change', @render, @
render: ->
refsGroups = []
refsFilter = @config.filter
if @config.is_unichem
references = @model.get('_metada... |
[
{
"context": "menus, etc:\n\n msg.currentUser ?= new User name: @whose(msg)\n msg.currentUser.fetch()\n .then (@user",
"end": 2181,
"score": 0.9927724003791809,
"start": 2175,
"tag": "USERNAME",
"value": "@whose"
},
{
"context": "itialState\n\n if newRecord\n slackUs... | src/app.coffee | citizencode/swarmbot | 21 | {airbrake} = require './util/setup' # do this first
{ d, json, log, p, pjson, type } = require 'lightsaber'
{ defaults, isEmpty, merge } = require 'lodash'
swarmbot = require './models/swarmbot'
KeenioInfo = require './services/keenio-info.coffee'
User = require './models/user'
controllers =
projects: require '... | 131626 | {airbrake} = require './util/setup' # do this first
{ d, json, log, p, pjson, type } = require 'lightsaber'
{ defaults, isEmpty, merge } = require 'lodash'
swarmbot = require './models/swarmbot'
KeenioInfo = require './services/keenio-info.coffee'
User = require './models/user'
controllers =
projects: require '... | true | {airbrake} = require './util/setup' # do this first
{ d, json, log, p, pjson, type } = require 'lightsaber'
{ defaults, isEmpty, merge } = require 'lodash'
swarmbot = require './models/swarmbot'
KeenioInfo = require './services/keenio-info.coffee'
User = require './models/user'
controllers =
projects: require '... |
[
{
"context": "age, State, Resource, Analytics) ->\n\n ID_PASS = 'id_pass'\n\n $scope.accounts = []\n $scope.option = { apiK",
"end": 151,
"score": 0.9991331696510315,
"start": 144,
"tag": "PASSWORD",
"value": "id_pass"
}
] | coffee/controllers/accountCtrl.coffee | oparkadiusz/RedmineTimeTracker | 0 | timeTracker.controller 'AccountCtrl', ($scope, $modal, Redmine, Account, Project, Ticket, Message, State, Resource, Analytics) ->
ID_PASS = 'id_pass'
$scope.accounts = []
$scope.option = { apiKey:'', id:'', pass:'', url:'' }
$scope.authWay = ID_PASS
$scope.searchField = text: ''
$scope.state = State
$sc... | 53230 | timeTracker.controller 'AccountCtrl', ($scope, $modal, Redmine, Account, Project, Ticket, Message, State, Resource, Analytics) ->
ID_PASS = '<PASSWORD>'
$scope.accounts = []
$scope.option = { apiKey:'', id:'', pass:'', url:'' }
$scope.authWay = ID_PASS
$scope.searchField = text: ''
$scope.state = State
... | true | timeTracker.controller 'AccountCtrl', ($scope, $modal, Redmine, Account, Project, Ticket, Message, State, Resource, Analytics) ->
ID_PASS = 'PI:PASSWORD:<PASSWORD>END_PI'
$scope.accounts = []
$scope.option = { apiKey:'', id:'', pass:'', url:'' }
$scope.authWay = ID_PASS
$scope.searchField = text: ''
$scop... |
[
{
"context": " .init').text 'Welcome to the photography game. As Mark, you must do your job for at least 4 month. Do no",
"end": 6907,
"score": 0.9959393739700317,
"start": 6903,
"tag": "NAME",
"value": "Mark"
}
] | public/javascripts/game.photography.coffee | STAB-Inc/DECO1800-Project | 3 | ###
@file
Handles the functionality of the photography game.
###
jQuery(document).ready ->
class event
###
Constructs the event object.
@constructor
@param {string} title
Title of the event.
@param {string} time
The game time of when the event occurred.
@param {str... | 2179 | ###
@file
Handles the functionality of the photography game.
###
jQuery(document).ready ->
class event
###
Constructs the event object.
@constructor
@param {string} title
Title of the event.
@param {string} time
The game time of when the event occurred.
@param {str... | true | ###
@file
Handles the functionality of the photography game.
###
jQuery(document).ready ->
class event
###
Constructs the event object.
@constructor
@param {string} title
Title of the event.
@param {string} time
The game time of when the event occurred.
@param {str... |
[
{
"context": "#\n# Commands:\n# git help <topic>\n#\n# Author:\n# vquaiato, Jens Jahnke\n\njsdom = require(\"jsdom\").jsdom\n\nmod",
"end": 175,
"score": 0.9995734691619873,
"start": 167,
"tag": "USERNAME",
"value": "vquaiato"
},
{
"context": "ds:\n# git help <topic>\n#\n# Auth... | src/scripts/git-help.coffee | contolini/hubot-scripts | 1,450 | # Description:
# Show some help to git noobies
#
# Dependencies:
# jsdom
# jquery
#
# Configuration:
# None
#
# Commands:
# git help <topic>
#
# Author:
# vquaiato, Jens Jahnke
jsdom = require("jsdom").jsdom
module.exports = (robot) ->
robot.respond /git help (.+)$/i, (msg) ->
topic = msg.match[1].t... | 90607 | # Description:
# Show some help to git noobies
#
# Dependencies:
# jsdom
# jquery
#
# Configuration:
# None
#
# Commands:
# git help <topic>
#
# Author:
# vquaiato, <NAME>
jsdom = require("jsdom").jsdom
module.exports = (robot) ->
robot.respond /git help (.+)$/i, (msg) ->
topic = msg.match[1].toLowe... | true | # Description:
# Show some help to git noobies
#
# Dependencies:
# jsdom
# jquery
#
# Configuration:
# None
#
# Commands:
# git help <topic>
#
# Author:
# vquaiato, PI:NAME:<NAME>END_PI
jsdom = require("jsdom").jsdom
module.exports = (robot) ->
robot.respond /git help (.+)$/i, (msg) ->
topic = msg.m... |
[
{
"context": "id: 'thank-you-for-considering'\n token: 'this-will-not-work'\n @datastore.insert record, done\n\n be",
"end": 1700,
"score": 0.9981221556663513,
"start": 1682,
"tag": "PASSWORD",
"value": "this-will-not-work"
},
{
"context": "Id: 'axed'\n ... | test/check-root-token-spec.coffee | octoblu/meshblu-core-task-check-root-token | 0 | Datastore = require 'meshblu-core-datastore'
mongojs = require 'mongojs'
RootTokenManager = require 'meshblu-core-manager-root-token'
CheckRootToken = require '../'
describe 'CheckRootToken', ->
beforeEach (done) ->
@uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid
datab... | 50702 | Datastore = require 'meshblu-core-datastore'
mongojs = require 'mongojs'
RootTokenManager = require 'meshblu-core-manager-root-token'
CheckRootToken = require '../'
describe 'CheckRootToken', ->
beforeEach (done) ->
@uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid
datab... | true | Datastore = require 'meshblu-core-datastore'
mongojs = require 'mongojs'
RootTokenManager = require 'meshblu-core-manager-root-token'
CheckRootToken = require '../'
describe 'CheckRootToken', ->
beforeEach (done) ->
@uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid
datab... |
[
{
"context": "'clear-list text-center'>\n <li>Developed by JCJ</li>\n <li>Report bugs or suggestions to my",
"end": 513,
"score": 0.9826878905296326,
"start": 510,
"tag": "USERNAME",
"value": "JCJ"
},
{
"context": " bugs or suggestions to my email</li>\n <li>juan... | components/About.react.coffee | juancjara/guitar-hero-firefox-os | 0 | React = require 'react'
module.exports = About = React.createClass
handleClick: (to) ->
@props.changeTab('About', to)
render: ->
className = 'about tabs '+@props.show
<div className = {className}>
<div
className = 'btn blue pull-left'
onTouchEnd={@handleClick.bind(this, 'MainMenu... | 61658 | React = require 'react'
module.exports = About = React.createClass
handleClick: (to) ->
@props.changeTab('About', to)
render: ->
className = 'about tabs '+@props.show
<div className = {className}>
<div
className = 'btn blue pull-left'
onTouchEnd={@handleClick.bind(this, 'MainMenu... | true | React = require 'react'
module.exports = About = React.createClass
handleClick: (to) ->
@props.changeTab('About', to)
render: ->
className = 'about tabs '+@props.show
<div className = {className}>
<div
className = 'btn blue pull-left'
onTouchEnd={@handleClick.bind(this, 'MainMenu... |
[
{
"context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw",
"end": 123,
"score": 0.999818742275238,
"start": 114,
"tag": "NAME",
"value": "Joe Drago"
}
] | lib/templates/src/coffee/PixelsView.coffee | EwoutH/colorist | 0 | # ---------------------------------------------------------------------------
# Copyright Joe Drago 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#... | 1019 | # ---------------------------------------------------------------------------
# Copyright <NAME> 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# --... | true | # ---------------------------------------------------------------------------
# Copyright PI:NAME:<NAME>END_PI 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE... |
[
{
"context": "cation_data'\n dialog.positiveLocalizableKey = 'common.no'\n dialog.negativeLocalizableKey = 'common.yes'",
"end": 498,
"score": 0.9990413784980774,
"start": 489,
"tag": "KEY",
"value": "common.no"
},
{
"context": " 'common.no'\n dialog.negativeLocalizableKey =... | app/src/controllers/wallet/settings/tools/wallet_settings_tools_utilities_setting_view_controller.coffee | romanornr/ledger-wallet-crw | 173 | class @WalletSettingsToolsUtilitiesSettingViewController extends WalletSettingsSettingViewController
renderSelector: "#protocols_table_container"
openRegistration: ->
window.open "https://www.ledgerwallet.com/wallet/register"
@parentViewController.dismiss()
resetApplicationData: ->
dialog = new Com... | 36081 | class @WalletSettingsToolsUtilitiesSettingViewController extends WalletSettingsSettingViewController
renderSelector: "#protocols_table_container"
openRegistration: ->
window.open "https://www.ledgerwallet.com/wallet/register"
@parentViewController.dismiss()
resetApplicationData: ->
dialog = new Com... | true | class @WalletSettingsToolsUtilitiesSettingViewController extends WalletSettingsSettingViewController
renderSelector: "#protocols_table_container"
openRegistration: ->
window.open "https://www.ledgerwallet.com/wallet/register"
@parentViewController.dismiss()
resetApplicationData: ->
dialog = new Com... |
[
{
"context": "SON.stringify(metadata) isnt '{}'\n return res\n\n\n# Yi-Jeng Chen. (2016). Young Children's Collaboration on the Co",
"end": 9582,
"score": 0.9998445510864258,
"start": 9570,
"tag": "NAME",
"value": "Yi-Jeng Chen"
},
{
"context": "tp://www.jstor.org/stable/jeductechso... | worker/src/svc/oaworks/find.coffee | oaworks/paradigm | 1 |
P.svc.oaworks.metadata = (doi) ->
res = await @svc.oaworks.find doi # may not be a DOI, but most likely thing
return res?.metadata
P.svc.oaworks.find = (options, metadata={}, content) ->
res = {}
_metadata = (input) =>
ct = await @svc.oaworks.citation input
for k of ct
if k in ['url', 'paywall... | 127676 |
P.svc.oaworks.metadata = (doi) ->
res = await @svc.oaworks.find doi # may not be a DOI, but most likely thing
return res?.metadata
P.svc.oaworks.find = (options, metadata={}, content) ->
res = {}
_metadata = (input) =>
ct = await @svc.oaworks.citation input
for k of ct
if k in ['url', 'paywall... | true |
P.svc.oaworks.metadata = (doi) ->
res = await @svc.oaworks.find doi # may not be a DOI, but most likely thing
return res?.metadata
P.svc.oaworks.find = (options, metadata={}, content) ->
res = {}
_metadata = (input) =>
ct = await @svc.oaworks.citation input
for k of ct
if k in ['url', 'paywall... |
[
{
"context": " create user with specific role: create nexus user testuser1 with any-all-view role\n#to get details of user: p",
"end": 1041,
"score": 0.9994258284568787,
"start": 1032,
"tag": "USERNAME",
"value": "testuser1"
},
{
"context": "iew role\n#to get details of user: print n... | scripts/nexus/scripts-slack/Nexus.coffee | akash1233/OnBot_Demo | 0 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | 140237 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... |
[
{
"context": " .post('/v1/rooms/message?format=json&auth_token=testtoken', {\n message_format: 'html',\n c",
"end": 2878,
"score": 0.5358365774154663,
"start": 2869,
"tag": "KEY",
"value": "testtoken"
},
{
"context": ",\n room_id: 'testchan',\n fr... | test/utils.coffee | boxuk/albot | 0 | Require = require('covershot').require.bind(null, require)
should = require('chai').should()
Utils = Require '../lib/utils'
Nock = require 'nock'
describe 'Utils', () ->
describe '#format_term()', () ->
it 'should have styled status', () ->
ok = Utils.format_term("title", null, "infos", "comments", true)... | 21187 | Require = require('covershot').require.bind(null, require)
should = require('chai').should()
Utils = Require '../lib/utils'
Nock = require 'nock'
describe 'Utils', () ->
describe '#format_term()', () ->
it 'should have styled status', () ->
ok = Utils.format_term("title", null, "infos", "comments", true)... | true | Require = require('covershot').require.bind(null, require)
should = require('chai').should()
Utils = Require '../lib/utils'
Nock = require 'nock'
describe 'Utils', () ->
describe '#format_term()', () ->
it 'should have styled status', () ->
ok = Utils.format_term("title", null, "infos", "comments", true)... |
[
{
"context": "ype extensions for javascript strings \n Author: Cody Kochmann\n\n To do list:\n [X] - contains\n [X] - rem",
"end": 78,
"score": 0.9996813535690308,
"start": 65,
"tag": "NAME",
"value": "Cody Kochmann"
}
] | strings_extensions.coffee | CodyKochmann/enhancing_javascript | 0 | ###
Prototype extensions for javascript strings
Author: Cody Kochmann
To do list:
[X] - contains
[X] - remove_all
[X] - word_count
[X] - base64_encode
[X] - base64_decode
[ ] - find_all
[ ] - count_sentences
[ ] - longest_word
[ ] - most_common_word
[ ] - most_commo... | 59770 | ###
Prototype extensions for javascript strings
Author: <NAME>
To do list:
[X] - contains
[X] - remove_all
[X] - word_count
[X] - base64_encode
[X] - base64_decode
[ ] - find_all
[ ] - count_sentences
[ ] - longest_word
[ ] - most_common_word
[ ] - most_common_patte... | true | ###
Prototype extensions for javascript strings
Author: PI:NAME:<NAME>END_PI
To do list:
[X] - contains
[X] - remove_all
[X] - word_count
[X] - base64_encode
[X] - base64_decode
[ ] - find_all
[ ] - count_sentences
[ ] - longest_word
[ ] - most_common_word
[ ] - mos... |
[
{
"context": "\t\t\t\t\tparams:\n\t\t\t\t\t\t\tBucket: bucket\n\t\t\t\t\t\t\tKey: key.get()\n\t\t\t\t\t\t\tBody: readStream\n\t\t\t\t\t\t\tACL: 'private'\n\t",
"end": 5056,
"score": 0.7797527313232422,
"start": 5053,
"tag": "KEY",
"value": "get"
},
{
"context": "ql\n\t\t\t\t\t\tparam... | lib/tests/s3/S3Artifactory.tests.coffee | NiteoSoftware/s3artifactor | 3 | path = require 'path'
should = require 'should'
aws = require 'aws-sdk'
Q = require 'q'
_ = require 'lodash'
sinon = require 'sinon'
events = require 'events'
s3Key = require path.join( __dirname, "../../s3/s3Key.js")
s3artifactory = require path.join( __dirname, "../../s3/s3Artifactory.js")
collection = aws = fs = ... | 93279 | path = require 'path'
should = require 'should'
aws = require 'aws-sdk'
Q = require 'q'
_ = require 'lodash'
sinon = require 'sinon'
events = require 'events'
s3Key = require path.join( __dirname, "../../s3/s3Key.js")
s3artifactory = require path.join( __dirname, "../../s3/s3Artifactory.js")
collection = aws = fs = ... | true | path = require 'path'
should = require 'should'
aws = require 'aws-sdk'
Q = require 'q'
_ = require 'lodash'
sinon = require 'sinon'
events = require 'events'
s3Key = require path.join( __dirname, "../../s3/s3Key.js")
s3artifactory = require path.join( __dirname, "../../s3/s3Artifactory.js")
collection = aws = fs = ... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998370409011841,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | METEOR-OLD/client/15-base.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 116230 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": "ot of scantwo results (2-dim, 2-QTL genome scan)\n# Karl W Broman\n\niplotScantwo = (scantwo_data, pheno_and_geno, ch",
"end": 94,
"score": 0.9998127222061157,
"start": 81,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/charts/iplotScantwo.coffee | FourchettesDeInterActive/qtlcharts | 0 | # iplotScantwo: interactive plot of scantwo results (2-dim, 2-QTL genome scan)
# Karl W Broman
iplotScantwo = (scantwo_data, pheno_and_geno, chartOpts) ->
# chartOpts start
pixelPerCell = chartOpts?.pixelPerCell ? null # pixels per cell in heat map
chrGap = chartOpts?.chrGap ? 2 # gaps between chr in heat... | 35298 | # iplotScantwo: interactive plot of scantwo results (2-dim, 2-QTL genome scan)
# <NAME>
iplotScantwo = (scantwo_data, pheno_and_geno, chartOpts) ->
# chartOpts start
pixelPerCell = chartOpts?.pixelPerCell ? null # pixels per cell in heat map
chrGap = chartOpts?.chrGap ? 2 # gaps between chr in heat map
... | true | # iplotScantwo: interactive plot of scantwo results (2-dim, 2-QTL genome scan)
# PI:NAME:<NAME>END_PI
iplotScantwo = (scantwo_data, pheno_and_geno, chartOpts) ->
# chartOpts start
pixelPerCell = chartOpts?.pixelPerCell ? null # pixels per cell in heat map
chrGap = chartOpts?.chrGap ? 2 # gaps between chr ... |
[
{
"context": "l_id: 'cell_chembl_id'\n bucket_key: 'BUCKET.key'\n extra_buckets: 'EXTRA_BUCKETS.key'",
"end": 6906,
"score": 0.849937915802002,
"start": 6896,
"tag": "KEY",
"value": "BUCKET.key"
},
{
"context": "l_id: 'cell_chembl_id'\n bucket_k... | src/glados/static/coffee/cellLineReportCardApp.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | class CellLineReportCardApp extends glados.ReportCardApp
# -------------------------------------------------------------
# Initialisation
# -------------------------------------------------------------
@init = ->
super
cellLine = CellLineReportCardApp.getCurrentCellLine()
breadcrumbLinks = [
... | 91911 | class CellLineReportCardApp extends glados.ReportCardApp
# -------------------------------------------------------------
# Initialisation
# -------------------------------------------------------------
@init = ->
super
cellLine = CellLineReportCardApp.getCurrentCellLine()
breadcrumbLinks = [
... | true | class CellLineReportCardApp extends glados.ReportCardApp
# -------------------------------------------------------------
# Initialisation
# -------------------------------------------------------------
@init = ->
super
cellLine = CellLineReportCardApp.getCurrentCellLine()
breadcrumbLinks = [
... |
[
{
"context": "file': 'enableLoad'\n 'keyup input:password': 'enableLoadVsac'\n 'change input:password': 'enableLoadVsac'\n ",
"end": 1860,
"score": 0.9985111951828003,
"start": 1846,
"tag": "PASSWORD",
"value": "enableLoadVsac"
},
{
"context": "': 'enableLoadVsac'\n 'chang... | app/assets/javascripts/views/import_measure_view.js.coffee | projectcypress/bonnie | 33 | class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView
template: JST['import/import_measure']
initialize: ->
@programReleaseNamesCache = {}
context: ->
hqmfSetId = @model.get('cqmMeasure').hqmf_set_id if @model?
calculationTypeLabel = if @model?
if (@model.get('cqmMeasure').calculati... | 158354 | class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView
template: JST['import/import_measure']
initialize: ->
@programReleaseNamesCache = {}
context: ->
hqmfSetId = @model.get('cqmMeasure').hqmf_set_id if @model?
calculationTypeLabel = if @model?
if (@model.get('cqmMeasure').calculati... | true | class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView
template: JST['import/import_measure']
initialize: ->
@programReleaseNamesCache = {}
context: ->
hqmfSetId = @model.get('cqmMeasure').hqmf_set_id if @model?
calculationTypeLabel = if @model?
if (@model.get('cqmMeasure').calculati... |
[
{
"context": ", (next) ->\n Users.create [\n { username: 'username_1', email: '1@email.com', password: 'my_password' }",
"end": 842,
"score": 0.999579668045044,
"start": 832,
"tag": "USERNAME",
"value": "username_1"
},
{
"context": ".create [\n { username: 'username_1', ... | test/list.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
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
name: index: t... | 110855 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
name: index: t... | 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
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
name: index: t... |
[
{
"context": " - stop and remove a scheduler \n#\n# Author:\n# Leon van Kammen\n#\n\nmodule.exports = (robot) ->\n util = requ",
"end": 903,
"score": 0.9998334050178528,
"start": 888,
"tag": "NAME",
"value": "Leon van Kammen"
}
] | test/scripts/recurry.coffee | coderofsalvation/hubot-recurry | 0 | # Description:
# interface to recurry
#
# Dependencies: easy-table
#
# Commands:
# hubot recurry - get overview of scheduled jobs (being pushed to core)
# hubot recurry setscheduler - set scheduler frequency
# hubot recurry setpayload <id> <jsonstr> - set json payload for... | 151562 | # Description:
# interface to recurry
#
# Dependencies: easy-table
#
# Commands:
# hubot recurry - get overview of scheduled jobs (being pushed to core)
# hubot recurry setscheduler - set scheduler frequency
# hubot recurry setpayload <id> <jsonstr> - set json payload for... | true | # Description:
# interface to recurry
#
# Dependencies: easy-table
#
# Commands:
# hubot recurry - get overview of scheduled jobs (being pushed to core)
# hubot recurry setscheduler - set scheduler frequency
# hubot recurry setpayload <id> <jsonstr> - set json payload for... |
[
{
"context": " forks, pushed commits, and wikis\n#\n# Authors:\n# pnsk, mgriffin\n\nmodule.exports = (robot) ->\n url = pr",
"end": 1148,
"score": 0.9996919631958008,
"start": 1144,
"tag": "USERNAME",
"value": "pnsk"
},
{
"context": ", pushed commits, and wikis\n#\n# Authors:\n# ... | src/ghe.coffee | hubot-scripts/hubot-ghe | 4 | # Description:
# Access your GitHub Enterprise instance through Hubot
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_GHE_URL
# HUBOT_GHE_TOKEN
#
# Commands:
# hubot ghe license - returns license information
# hubot ghe stats issues - returns the number of open and closed issues
# hubot ghe stats hook... | 32393 | # Description:
# Access your GitHub Enterprise instance through Hubot
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_GHE_URL
# HUBOT_GHE_TOKEN
#
# Commands:
# hubot ghe license - returns license information
# hubot ghe stats issues - returns the number of open and closed issues
# hubot ghe stats hook... | true | # Description:
# Access your GitHub Enterprise instance through Hubot
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_GHE_URL
# HUBOT_GHE_TOKEN
#
# Commands:
# hubot ghe license - returns license information
# hubot ghe stats issues - returns the number of open and closed issues
# hubot ghe stats hook... |
[
{
"context": "valuate(\"query\")).toEqual {query:\"WZM2hwPXWx4+7SbaJpUPrh6KZl7c4lqZ/67En5tJy8DGTjW+mxDV0g8t2UtDklW4f1Ec/mr",
"end": 469,
"score": 0.5457465052604675,
"start": 464,
"tag": "KEY",
"value": "JpUPr"
},
{
"context": "(\"query\")).toEqual {query:\"WZM2hwPXWx4+7SbaJpUPrh6KZl... | public/test/e2e/protractor/fullquery.coffee | vetstoria-testing/angularjs-crypto | 77 | "use strict"
describe "fullquery example", ->
beforeEach ->
browser.get "#/fullquery"
expect(browser.getCurrentUrl()).toBe "http://localhost:9000/#/fullquery"
it "check plain fullquery", ->
expect(element(By.binding("plainQueryParam")).evaluate("plainQueryParam")).toEqual {name:"COMMERZBANK AG", value:1234... | 119138 | "use strict"
describe "fullquery example", ->
beforeEach ->
browser.get "#/fullquery"
expect(browser.getCurrentUrl()).toBe "http://localhost:9000/#/fullquery"
it "check plain fullquery", ->
expect(element(By.binding("plainQueryParam")).evaluate("plainQueryParam")).toEqual {name:"COMMERZBANK AG", value:1234... | true | "use strict"
describe "fullquery example", ->
beforeEach ->
browser.get "#/fullquery"
expect(browser.getCurrentUrl()).toBe "http://localhost:9000/#/fullquery"
it "check plain fullquery", ->
expect(element(By.binding("plainQueryParam")).evaluate("plainQueryParam")).toEqual {name:"COMMERZBANK AG", value:1234... |
[
{
"context": "lly on a port that probably isn't taken\ndomain = \"127.0.0.1\"\nport = 6080\n\nrequestURL = \"https://trello.com/1/",
"end": 144,
"score": 0.9997342228889465,
"start": 135,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ace these with your application key/s... | app/scripts/code/oauth.coffee | SeanKilleen/api-docs | 0 | http = require('http')
OAuth = require('oauth').OAuth
url = require('url')
#run locally on a port that probably isn't taken
domain = "127.0.0.1"
port = 6080
requestURL = "https://trello.com/1/OAuthGetRequestToken"
accessURL = "https://trello.com/1/OAuthGetAccessToken"
authorizeURL = "https://trello.com/1/OAuthAuthori... | 200050 | http = require('http')
OAuth = require('oauth').OAuth
url = require('url')
#run locally on a port that probably isn't taken
domain = "127.0.0.1"
port = 6080
requestURL = "https://trello.com/1/OAuthGetRequestToken"
accessURL = "https://trello.com/1/OAuthGetAccessToken"
authorizeURL = "https://trello.com/1/OAuthAuthori... | true | http = require('http')
OAuth = require('oauth').OAuth
url = require('url')
#run locally on a port that probably isn't taken
domain = "127.0.0.1"
port = 6080
requestURL = "https://trello.com/1/OAuthGetRequestToken"
accessURL = "https://trello.com/1/OAuthGetAccessToken"
authorizeURL = "https://trello.com/1/OAuthAuthori... |
[
{
"context": "ost', ->\n div class: 'field', ->\n label for: 'username', -> 'Username: '\n input id: 'username', name:",
"end": 169,
"score": 0.999419093132019,
"start": 161,
"tag": "USERNAME",
"value": "username"
},
{
"context": "l for: 'username', -> 'Username: '\n input ... | node_modules/coffeekup/examples/express/views/login.coffee | brad-langshaw/project2 | 157 | @title = 'Log In'
h1 @title
p "A local var: #{ping}"
p "A context var: #{@foo}"
form action: '/', method: 'post', ->
div class: 'field', ->
label for: 'username', -> 'Username: '
input id: 'username', name: 'username'
div class: 'field', ->
label for: 'password', -> 'Password: '
input id: 'passw... | 209423 | @title = 'Log In'
h1 @title
p "A local var: #{ping}"
p "A context var: #{@foo}"
form action: '/', method: 'post', ->
div class: 'field', ->
label for: 'username', -> 'Username: '
input id: 'username', name: 'username'
div class: 'field', ->
label for: 'password', -> 'Password: '
input id: '<PASS... | true | @title = 'Log In'
h1 @title
p "A local var: #{ping}"
p "A context var: #{@foo}"
form action: '/', method: 'post', ->
div class: 'field', ->
label for: 'username', -> 'Username: '
input id: 'username', name: 'username'
div class: 'field', ->
label for: 'password', -> 'Password: '
input id: 'PI:PA... |
[
{
"context": " { separator: \"---------------\" },\n { name: \"Картинка\"\n key: \"P\"\n replaceWith: \"![[![Альте",
"end": 1367,
"score": 0.5141812562942505,
"start": 1366,
"tag": "NAME",
"value": "К"
},
{
"context": " separator: \"---------------\" },\n { name: \"Карт... | app/assets/javascripts/markitup-setup.js.coffee | akolosov/houston | 0 | window.markdownSettings = {
nameSpace: "markdown" # Useful to prevent multi-instances CSS conflict
onShiftEnter:
keepDefault: false
openWith: "\n\n"
markupSet: [
{ name: "Заголовок 1-го уровня"
key: "1"
placeHolder: "Название здесь..."
closeWith: (markItUp) ->
miu.markdownTitle mark... | 223172 | window.markdownSettings = {
nameSpace: "markdown" # Useful to prevent multi-instances CSS conflict
onShiftEnter:
keepDefault: false
openWith: "\n\n"
markupSet: [
{ name: "Заголовок 1-го уровня"
key: "1"
placeHolder: "Название здесь..."
closeWith: (markItUp) ->
miu.markdownTitle mark... | true | window.markdownSettings = {
nameSpace: "markdown" # Useful to prevent multi-instances CSS conflict
onShiftEnter:
keepDefault: false
openWith: "\n\n"
markupSet: [
{ name: "Заголовок 1-го уровня"
key: "1"
placeHolder: "Название здесь..."
closeWith: (markItUp) ->
miu.markdownTitle mark... |
[
{
"context": "pi\n# A NodeJS interface for the Public Bitly API\n# Nathaniel Kirby <nate@projectspong.com\n# https://github.com/nkirb",
"end": 132,
"score": 0.9998853802680969,
"start": 117,
"tag": "NAME",
"value": "Nathaniel Kirby"
},
{
"context": "rface for the Public Bitly API\n# ... | src/BitlyUser.coffee | nkirby/node-bitlyapi | 30 | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# Nathaniel Kirby <nate@projectspong.com
# https://github.com/nkirby/node-bitlyapi
####################################################
class BitlyUser
constructor: (@login, @bitly) ->
################... | 175341 | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# <NAME> <<EMAIL>
# https://github.com/nkirby/node-bitlyapi
####################################################
class BitlyUser
constructor: (@login, @bitly) ->
#######################################... | true | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI
# https://github.com/nkirby/node-bitlyapi
####################################################
class BitlyUser
constructor: (@login, @bitly) ->
##########... |
[
{
"context": " \"start_year\":\"2009\"\n },\n {\n \"grant_title\":\"Stimulus Tracker\",\n \"id\":\"33\",\n \"organization\":\"Education Wr",
"end": 10198,
"score": 0.9720997214317322,
"start": 10182,
"tag": "NAME",
"value": "Stimulus Tracker"
},
{
"context": "tion Network... | app/data/bubble/default.coffee | Tuhaj/ember-charts | 1 | App.data.bubble_default = [
{
"grant_title":"New Mexico Business Roundtable",
"id":"1",
"organization":"New Mexico Business Roundtable for Educational Excellence",
"total_amount":"5000",
"group":"low",
"Grant start date":"2/4/2010",
"start_month":"2",
"start_day":"4",
"start_year":... | 225928 | App.data.bubble_default = [
{
"grant_title":"New Mexico Business Roundtable",
"id":"1",
"organization":"New Mexico Business Roundtable for Educational Excellence",
"total_amount":"5000",
"group":"low",
"Grant start date":"2/4/2010",
"start_month":"2",
"start_day":"4",
"start_year":... | true | App.data.bubble_default = [
{
"grant_title":"New Mexico Business Roundtable",
"id":"1",
"organization":"New Mexico Business Roundtable for Educational Excellence",
"total_amount":"5000",
"group":"low",
"Grant start date":"2/4/2010",
"start_month":"2",
"start_day":"4",
"start_year":... |
[
{
"context": "name: \"Pfunk\"\nscopeName: \"source.pf\"\nfoldingStartMarker: \"(",
"end": 9,
"score": 0.7155128121376038,
"start": 7,
"tag": "NAME",
"value": "Pf"
},
{
"context": "name: \"Pfunk\"\nscopeName: \"source.pf\"\nfoldingStartMarker: \"(/\\\\",
"end": 12,
"score": 0.... | grammars/pfunk.cson | Chronoes/language-pfunk | 0 | name: "Pfunk"
scopeName: "source.pf"
foldingStartMarker: "(/\\*|\\{|\\()"
foldingEndMarker: "(\\*/|\\}|\\))"
firstLineMatch: "^#!\\s*/.*\\b(node|js)$\\n?"
fileTypes: [
"pf"
]
patterns: [
{ include: "#core" }
]
repository:
core:
patterns: [
{ include: "#ignore-long-lines" }
{ include: "#literal-lab... | 217441 | name: "<NAME>unk"
scopeName: "source.pf"
foldingStartMarker: "(/\\*|\\{|\\()"
foldingEndMarker: "(\\*/|\\}|\\))"
firstLineMatch: "^#!\\s*/.*\\b(node|js)$\\n?"
fileTypes: [
"pf"
]
patterns: [
{ include: "#core" }
]
repository:
core:
patterns: [
{ include: "#ignore-long-lines" }
{ include: "#literal... | true | name: "PI:NAME:<NAME>END_PIunk"
scopeName: "source.pf"
foldingStartMarker: "(/\\*|\\{|\\()"
foldingEndMarker: "(\\*/|\\}|\\))"
firstLineMatch: "^#!\\s*/.*\\b(node|js)$\\n?"
fileTypes: [
"pf"
]
patterns: [
{ include: "#core" }
]
repository:
core:
patterns: [
{ include: "#ignore-long-lines" }
{ incl... |
[
{
"context": " Ogre kills fighter\n\n# Lvl 7 Gladiator\n# Axe rends Steve in twain\n# CARL: \"Steve's dead man...\"\n# Carl doe",
"end": 1621,
"score": 0.7810045480728149,
"start": 1616,
"tag": "NAME",
"value": "Steve"
},
{
"context": "l 7 Gladiator\n# Axe rends Steve in twain\n# CAR... | main.coffee | STRd6/ld33 | 2 | # Canvas where we draw our duders
# Text box where we display dialog
# Options to choose from
# Moving around
# Triggered events
# Die Hard Quotes http://www.imdb.com/title/tt0095016/quotes
# Wall Sprites
# Chair Sprites
# TV Sprites
# Goblin Sprites
# Ogre Sprites
# Hero Sprites
# 3 Goblins sitting in a room in a du... | 182192 | # Canvas where we draw our duders
# Text box where we display dialog
# Options to choose from
# Moving around
# Triggered events
# Die Hard Quotes http://www.imdb.com/title/tt0095016/quotes
# Wall Sprites
# Chair Sprites
# TV Sprites
# Goblin Sprites
# Ogre Sprites
# Hero Sprites
# 3 Goblins sitting in a room in a du... | true | # Canvas where we draw our duders
# Text box where we display dialog
# Options to choose from
# Moving around
# Triggered events
# Die Hard Quotes http://www.imdb.com/title/tt0095016/quotes
# Wall Sprites
# Chair Sprites
# TV Sprites
# Goblin Sprites
# Ogre Sprites
# Hero Sprites
# 3 Goblins sitting in a room in a du... |
[
{
"context": "force that all class methods use 'this'.\n# @author Patrick Williams\n###\n\n'use strict'\n\n#-----------------------------",
"end": 98,
"score": 0.9996808767318726,
"start": 82,
"tag": "NAME",
"value": "Patrick Williams"
}
] | src/rules/class-methods-use-this.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to enforce that all class methods use 'this'.
# @author Patrick Williams
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta... | 120720 | ###*
# @fileoverview Rule to enforce that all class methods use 'this'.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs... | true | ###*
# @fileoverview Rule to enforce that all class methods use 'this'.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
... |
[
{
"context": ": 444}\n {use: 'work', system: 'email', value: 'a@b.com'}\n ]\n communication: [\n {language: {coding: ",
"end": 326,
"score": 0.9996395111083984,
"start": 319,
"tag": "EMAIL",
"value": "a@b.com"
},
{
"context": " 'ContactPoint'\n result: ['444', 'phone|444',... | test/fhir/search_token_spec.coffee | micabe/fhirbase | 0 | search = require('../../src/fhir/search_token')
test = require('../helpers.coffee')
assert = require('assert')
resource =
active: true
gender: 'male'
type:
code: 'ups'
system: 'dups'
text: 'hops'
telecom: [
{use: 'home', system: 'phone', value: 444}
{use: 'work', system: 'email', value: 'a... | 125846 | search = require('../../src/fhir/search_token')
test = require('../helpers.coffee')
assert = require('assert')
resource =
active: true
gender: 'male'
type:
code: 'ups'
system: 'dups'
text: 'hops'
telecom: [
{use: 'home', system: 'phone', value: 444}
{use: 'work', system: 'email', value: '<... | true | search = require('../../src/fhir/search_token')
test = require('../helpers.coffee')
assert = require('assert')
resource =
active: true
gender: 'male'
type:
code: 'ups'
system: 'dups'
text: 'hops'
telecom: [
{use: 'home', system: 'phone', value: 444}
{use: 'work', system: 'email', value: 'P... |
[
{
"context": "fig)\n .type 'form'\n .send\n login: config.username\n password: config.password\n .on 'erro",
"end": 734,
"score": 0.9797762036323547,
"start": 719,
"tag": "USERNAME",
"value": "config.username"
},
{
"context": "d\n login: config.use... | plugins/youtrack-issues/index.coffee | jacobmarshall-etc/bugsnag-notification-plugins | 0 | NotificationPlugin = require "../../notification-plugin"
Handlebars = require "handlebars"
url = require "url"
cookie = require "cookie"
class YouTrack extends NotificationPlugin
resolveUrl = (config, path) ->
url.resolve config.url, path
handleCookies = (res) ->
res.headers['set-cookie'].map((item) ->
... | 52133 | NotificationPlugin = require "../../notification-plugin"
Handlebars = require "handlebars"
url = require "url"
cookie = require "cookie"
class YouTrack extends NotificationPlugin
resolveUrl = (config, path) ->
url.resolve config.url, path
handleCookies = (res) ->
res.headers['set-cookie'].map((item) ->
... | true | NotificationPlugin = require "../../notification-plugin"
Handlebars = require "handlebars"
url = require "url"
cookie = require "cookie"
class YouTrack extends NotificationPlugin
resolveUrl = (config, path) ->
url.resolve config.url, path
handleCookies = (res) ->
res.headers['set-cookie'].map((item) ->
... |
[
{
"context": "orts =\n keepResponseErrors: true\n admin: [\n 'admin@abc.com'\n ]\n oauth2:\n url:\n authorize: 'https:/",
"end": 73,
"score": 0.9999181628227234,
"start": 60,
"tag": "EMAIL",
"value": "admin@abc.com"
},
{
"context": " secret: 'client_secret'\n user:\... | vm/production.coffee | twhtanghk/docker.shell | 2 | module.exports =
keepResponseErrors: true
admin: [
'admin@abc.com'
]
oauth2:
url:
authorize: 'https://abc.com/auth/oauth2/authorize/'
verify: 'https://abc.com/auth/oauth2/verify/'
token: 'https://abc.com/auth/oauth2/token/'
client:
id: 'client_id'
secret: 'client_secret... | 89046 | module.exports =
keepResponseErrors: true
admin: [
'<EMAIL>'
]
oauth2:
url:
authorize: 'https://abc.com/auth/oauth2/authorize/'
verify: 'https://abc.com/auth/oauth2/verify/'
token: 'https://abc.com/auth/oauth2/token/'
client:
id: 'client_id'
secret: 'client_secret'
... | true | module.exports =
keepResponseErrors: true
admin: [
'PI:EMAIL:<EMAIL>END_PI'
]
oauth2:
url:
authorize: 'https://abc.com/auth/oauth2/authorize/'
verify: 'https://abc.com/auth/oauth2/verify/'
token: 'https://abc.com/auth/oauth2/token/'
client:
id: 'client_id'
secret: 'clie... |
[
{
"context": "or jQuery\n@version 2.0.1\n@author Se7enSky studio <info@se7ensky.com>\n@example <h1 class=\"text-gradient\" data-text-gra",
"end": 147,
"score": 0.9999268054962158,
"start": 130,
"tag": "EMAIL",
"value": "info@se7ensky.com"
},
{
"context": "###! jquery-text-gradient 2.... | jquery-text-gradient.coffee | SE7ENSKY/jquery-text-gradient | 3 | ###
@name jquery-text-gradient
@description Simple linear text gradient plugin for jQuery
@version 2.0.1
@author Se7enSky studio <info@se7ensky.com>
@example <h1 class="text-gradient" data-text-gradient="#000000-#ffffff">Just an example</h1>
###
###! jquery-text-gradient 2.0.1 http://github.com/Se7enSky/jquery-text-gra... | 142236 | ###
@name jquery-text-gradient
@description Simple linear text gradient plugin for jQuery
@version 2.0.1
@author Se7enSky studio <<EMAIL>>
@example <h1 class="text-gradient" data-text-gradient="#000000-#ffffff">Just an example</h1>
###
###! jquery-text-gradient 2.0.1 http://github.com/Se7enSky/jquery-text-gradient###
... | true | ###
@name jquery-text-gradient
@description Simple linear text gradient plugin for jQuery
@version 2.0.1
@author Se7enSky studio <PI:EMAIL:<EMAIL>END_PI>
@example <h1 class="text-gradient" data-text-gradient="#000000-#ffffff">Just an example</h1>
###
###! jquery-text-gradient 2.0.1 http://github.com/Se7enSky/jquery-tex... |
[
{
"context": "# Mike Bostock's margin convention\nmargin = \n top: 20, \n ",
"end": 14,
"score": 0.9287949800491333,
"start": 2,
"tag": "NAME",
"value": "Mike Bostock"
}
] | Problem2/coffee/linegraph.coffee | rlucioni/cs171-hw3-lucioni-renzo | 1 | # Mike Bostock's margin convention
margin =
top: 20,
bottom: 20,
left: 20,
right: 20
canvasWidth = 1100 - margin.left - margin.right
canvasHeight = 600 - margin.top - margin.bottom
svg = d3.select("#vis").append("svg")
.attr("width", canvasWidth + margin.left + margin.right)
.attr("h... | 52395 | # <NAME>'s margin convention
margin =
top: 20,
bottom: 20,
left: 20,
right: 20
canvasWidth = 1100 - margin.left - margin.right
canvasHeight = 600 - margin.top - margin.bottom
svg = d3.select("#vis").append("svg")
.attr("width", canvasWidth + margin.left + margin.right)
.attr("height"... | true | # PI:NAME:<NAME>END_PI's margin convention
margin =
top: 20,
bottom: 20,
left: 20,
right: 20
canvasWidth = 1100 - margin.left - margin.right
canvasHeight = 600 - margin.top - margin.bottom
svg = d3.select("#vis").append("svg")
.attr("width", canvasWidth + margin.left + margin.right)
... |
[
{
"context": "([0-9]+)-([0-9]+)$/\n .constant 'RECAPTCHA_KEY', '6LetW5MUAAAAAHYqwbTCL2RkMLOLfqPr901s90z1'\n\n# Infinite scroll throttling\nangular.module 'in",
"end": 950,
"score": 0.9997671842575073,
"start": 910,
"tag": "KEY",
"value": "6LetW5MUAAAAAHYqwbTCL2RkMLOLfqPr901s90z1"
}
] | frontend/src/app.coffee | greysteil/evaluator | 1 |
angular.module 'evaluator', ['ngResource', 'ui.router', 'ui.router.title',
'evaluatorTemplates', 'satellizer', 'LocalStorageModule', 'ngAnimate',
'angulartics', 'angulartics.google.analytics', 'infinite-scroll',
'ngFileUpload', 'ngFileSaver', 'ngMaterial', 'ngMessages', 'ngAria'
]
# Configuration blocks.
a... | 116950 |
angular.module 'evaluator', ['ngResource', 'ui.router', 'ui.router.title',
'evaluatorTemplates', 'satellizer', 'LocalStorageModule', 'ngAnimate',
'angulartics', 'angulartics.google.analytics', 'infinite-scroll',
'ngFileUpload', 'ngFileSaver', 'ngMaterial', 'ngMessages', 'ngAria'
]
# Configuration blocks.
a... | true |
angular.module 'evaluator', ['ngResource', 'ui.router', 'ui.router.title',
'evaluatorTemplates', 'satellizer', 'LocalStorageModule', 'ngAnimate',
'angulartics', 'angulartics.google.analytics', 'infinite-scroll',
'ngFileUpload', 'ngFileSaver', 'ngMaterial', 'ngMessages', 'ngAria'
]
# Configuration blocks.
a... |
[
{
"context": "YAML file.)\n #\n # Example:\n # [{ name: 'a test',\n # body: \"implementation void[] [",
"end": 3055,
"score": 0.7610293030738831,
"start": 3054,
"tag": "NAME",
"value": "a"
},
{
"context": "AML file.)\n #\n # Example:\n # [{ name: 'a test'... | code/Paws/Source/rule.coffee | mitchellurgero/illacceptanything | 1 | require('./utilities.coffee').infect global
Paws = require './Paws.coffee'
infect global, Paws
# FIXME: Refactor this entire thing to use isaacs' `node-tap`
module.exports = Rule = class Rule extends Thing
@construct: (schema, collection = Collection.current())->
return null unless schema.name? or schem... | 85048 | require('./utilities.coffee').infect global
Paws = require './Paws.coffee'
infect global, Paws
# FIXME: Refactor this entire thing to use isaacs' `node-tap`
module.exports = Rule = class Rule extends Thing
@construct: (schema, collection = Collection.current())->
return null unless schema.name? or schem... | true | require('./utilities.coffee').infect global
Paws = require './Paws.coffee'
infect global, Paws
# FIXME: Refactor this entire thing to use isaacs' `node-tap`
module.exports = Rule = class Rule extends Thing
@construct: (schema, collection = Collection.current())->
return null unless schema.name? or schem... |
[
{
"context": "s-show-move-comments').move_comments {csrfToken: \"foobar\", target: \"/foo/\"}\n plugin_move_comments = sho",
"end": 351,
"score": 0.676948070526123,
"start": 345,
"tag": "PASSWORD",
"value": "foobar"
}
] | spirit/static/spirit/scripts/test/suites/move_comments-spec.coffee | rterehov/Spirit | 1 | describe "move_comments plugin tests", ->
show_move_comments = null
plugin_move_comments = null
MoveComment = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'move_comments.html'
show_move_comments = $('.js-show-move-comments').mo... | 110766 | describe "move_comments plugin tests", ->
show_move_comments = null
plugin_move_comments = null
MoveComment = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'move_comments.html'
show_move_comments = $('.js-show-move-comments').mo... | true | describe "move_comments plugin tests", ->
show_move_comments = null
plugin_move_comments = null
MoveComment = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'move_comments.html'
show_move_comments = $('.js-show-move-comments').mo... |
[
{
"context": "Age\"+\"\\t\"+\"Name\"+\"\\n\"\nrow1 = \"0\"+\"\\t\"+\" 21\"+\"\\t\"+\"Rob\"+\"\\n\"\nrow2 = \"1\"+\"\\t\"+\" 22\"+\"\\t\"+\"bob\"+\"\\n\"\n\nwrit",
"end": 163,
"score": 0.9997656941413879,
"start": 160,
"tag": "NAME",
"value": "Rob"
},
{
"context": "\" 21\"+\"\\t\"+\"R... | excel/xls1.coffee | rankun203/ModernWebStudy | 0 | #!/usr/bin/env coffee
fs = require 'fs'
writeStream = fs.createWriteStream 'file.xls'
header="Sl No"+"\t"+" Age"+"\t"+"Name"+"\n"
row1 = "0"+"\t"+" 21"+"\t"+"Rob"+"\n"
row2 = "1"+"\t"+" 22"+"\t"+"bob"+"\n"
writeStream.write header
writeStream.write row1
writeStream.write row2
writeStream.close()
| 53362 | #!/usr/bin/env coffee
fs = require 'fs'
writeStream = fs.createWriteStream 'file.xls'
header="Sl No"+"\t"+" Age"+"\t"+"Name"+"\n"
row1 = "0"+"\t"+" 21"+"\t"+"<NAME>"+"\n"
row2 = "1"+"\t"+" 22"+"\t"+"<NAME>"+"\n"
writeStream.write header
writeStream.write row1
writeStream.write row2
writeStream.close()
| true | #!/usr/bin/env coffee
fs = require 'fs'
writeStream = fs.createWriteStream 'file.xls'
header="Sl No"+"\t"+" Age"+"\t"+"Name"+"\n"
row1 = "0"+"\t"+" 21"+"\t"+"PI:NAME:<NAME>END_PI"+"\n"
row2 = "1"+"\t"+" 22"+"\t"+"PI:NAME:<NAME>END_PI"+"\n"
writeStream.write header
writeStream.write row1
writeStream.write row2
write... |
[
{
"context": "image of lod curves linked to plot of lod curves\n# Karl W Broman\n\niplotMScanone_noeff = (widgetdiv, lod_data, time",
"end": 87,
"score": 0.9998754262924194,
"start": 74,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/iplotMScanone_noeff.coffee | Alanocallaghan/qtlcharts | 0 | # iplotMScanone_noeff: image of lod curves linked to plot of lod curves
# Karl W Broman
iplotMScanone_noeff = (widgetdiv, lod_data, times, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 700 # height of chart in pixels
width = chartOpts?.width ? 1000 ... | 193592 | # iplotMScanone_noeff: image of lod curves linked to plot of lod curves
# <NAME>
iplotMScanone_noeff = (widgetdiv, lod_data, times, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 700 # height of chart in pixels
width = chartOpts?.width ? 1000 ... | true | # iplotMScanone_noeff: image of lod curves linked to plot of lod curves
# PI:NAME:<NAME>END_PI
iplotMScanone_noeff = (widgetdiv, lod_data, times, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 700 # height of chart in pixels
width = chartOpts?.width ? 1000 ... |
[
{
"context": "ント連携:\"\n and: \"と\"\n back: \"戻る\"\n changePassword: \"パスワードを変更する\"\n choosePassword: \"パスワードを選ぶ\"\n clickAgree: ",
"end": 142,
"score": 0.8702144622802734,
"start": 137,
"tag": "PASSWORD",
"value": "パスワード"
},
{
"context": "\n and: \"と\"\n back: \"戻る\"\n change... | t9n/ja.coffee | coWorkr-InSights/meteor-accounts-t9n | 80 | #Language: Japanese
#Translators: y-ich and exKAZUu
ja =
t9Name: '日本語'
add: "アカウント連携:"
and: "と"
back: "戻る"
changePassword: "パスワードを変更する"
choosePassword: "パスワードを選ぶ"
clickAgree: "アカウント登録をクリックすると、次の内容に同意したことになります。"
configure: "設定する"
createAccount: "新しいアカウントの登録"
currentPassword: "現在のパスワード"
dontHaveA... | 126330 | #Language: Japanese
#Translators: y-ich and exKAZUu
ja =
t9Name: '日本語'
add: "アカウント連携:"
and: "と"
back: "戻る"
changePassword: "<PASSWORD>を<PASSWORD>する"
choosePassword: "<PASSWORD>"
clickAgree: "アカウント登録をクリックすると、次の内容に同意したことになります。"
configure: "設定する"
createAccount: "新しいアカウントの登録"
currentPassword: "<PASSW... | true | #Language: Japanese
#Translators: y-ich and exKAZUu
ja =
t9Name: '日本語'
add: "アカウント連携:"
and: "と"
back: "戻る"
changePassword: "PI:PASSWORD:<PASSWORD>END_PIをPI:PASSWORD:<PASSWORD>END_PIする"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "アカウント登録をクリックすると、次の内容に同意したことになります。"
configure: "設定する"
c... |
[
{
"context": " field `_to`', (done) ->\n User.create [{name: 'Matteo'}, {name: 'Antonio'}], (err, users) ->\n retu",
"end": 1236,
"score": 0.9996916651725769,
"start": 1230,
"tag": "NAME",
"value": "Matteo"
},
{
"context": "ne) ->\n User.create [{name: 'Matteo'}, {name: 'A... | test/crud/edge.test.coffee | mrbatista/loopback-connector-arangodb | 15 | ## This test written in mocha+should.js
should = require('./../init');
describe 'edge', () ->
db = null
User = null
Friend = null
FriendCustom = null
before (done) ->
db = getDataSource()
User = db.define('User', {
fullId: {type: String, _id: true},
name: {type: String}
email: {ty... | 211272 | ## This test written in mocha+should.js
should = require('./../init');
describe 'edge', () ->
db = null
User = null
Friend = null
FriendCustom = null
before (done) ->
db = getDataSource()
User = db.define('User', {
fullId: {type: String, _id: true},
name: {type: String}
email: {ty... | true | ## This test written in mocha+should.js
should = require('./../init');
describe 'edge', () ->
db = null
User = null
Friend = null
FriendCustom = null
before (done) ->
db = getDataSource()
User = db.define('User', {
fullId: {type: String, _id: true},
name: {type: String}
email: {ty... |
[
{
"context": "low copy of given object', ->\n obj = {name: 'des'}\n straightCopy = obj\n straightCopy.nam",
"end": 5907,
"score": 0.9845188856124878,
"start": 5904,
"tag": "NAME",
"value": "des"
},
{
"context": " straightCopy = obj\n straightCopy.name = 'subash... | spec/demo/spec/javascripts/amp4e-components-rails/lib/utils_spec.coffee | desoleary/amp4e-components-rails | 0 | describe 'AMP4e.Utils', ->
describe 'escapeRegex', ->
it 'escapes special regex characters in a string', ->
## the first backslash escapes the backslash in the string and makes it
## easier to check for escaped characters
esc = '\\'
# standard pattern delimiter
expect(AMP4e.Utils.escapeRegex('/... | 70142 | describe 'AMP4e.Utils', ->
describe 'escapeRegex', ->
it 'escapes special regex characters in a string', ->
## the first backslash escapes the backslash in the string and makes it
## easier to check for escaped characters
esc = '\\'
# standard pattern delimiter
expect(AMP4e.Utils.escapeRegex('/... | true | describe 'AMP4e.Utils', ->
describe 'escapeRegex', ->
it 'escapes special regex characters in a string', ->
## the first backslash escapes the backslash in the string and makes it
## easier to check for escaped characters
esc = '\\'
# standard pattern delimiter
expect(AMP4e.Utils.escapeRegex('/... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994750022888184,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-timers-ordering.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... | 136257 | # 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": "iusX: 20\n # size = byte._getRadiusSize key: 'radiusX', fallback: 0\n # expect(size).toBe 20\n # ",
"end": 39474,
"score": 0.9676435589790344,
"start": 39467,
"tag": "KEY",
"value": "radiusX"
},
{
"context": "new Byte\n # size = byte._getRadiusSize key... | spec/shape.coffee | jcansdale-test/mojs | 3,556 | Byte = mojs.Shape
Shape = mojs.Shape
Bit = mojs.shapesMap.getShape('bit')
Thenable = mojs.Thenable
Tunable = mojs.Tunable
Tweenable = mojs.Tweenable
Rect = mojs.shapesMap.getShape('rect')
h = mojs.helpers
ns = 'http://www.w3.org/2000/svg'
svg = document.createElementNS?(ns, 'svg')
# console.log... | 142785 | Byte = mojs.Shape
Shape = mojs.Shape
Bit = mojs.shapesMap.getShape('bit')
Thenable = mojs.Thenable
Tunable = mojs.Tunable
Tweenable = mojs.Tweenable
Rect = mojs.shapesMap.getShape('rect')
h = mojs.helpers
ns = 'http://www.w3.org/2000/svg'
svg = document.createElementNS?(ns, 'svg')
# console.log... | true | Byte = mojs.Shape
Shape = mojs.Shape
Bit = mojs.shapesMap.getShape('bit')
Thenable = mojs.Thenable
Tunable = mojs.Tunable
Tweenable = mojs.Tweenable
Rect = mojs.shapesMap.getShape('rect')
h = mojs.helpers
ns = 'http://www.w3.org/2000/svg'
svg = document.createElementNS?(ns, 'svg')
# console.log... |
[
{
"context": "tor:true} ];\n \n rows:() -> [\n {id:1, name:\"Oli Bob\", progress:12, gender:\"male\", rating:1, col:\"red\"",
"end": 724,
"score": 0.9998405575752258,
"start": 717,
"tag": "NAME",
"value": "Oli Bob"
},
{
"context": "\"red\", dob:\"19/02/1984\", car:1},\n {id... | src/data/table/Demo.coffee | axiom6/aug | 0 |
class Demo
constructor:() ->
cols:() -> [
{title:"Name", field:"name", editor:"input"},
{title:"Progress", field:"progress", hozAlign:"left", formatter:"progress", editor:true},
{title:"Gender", field:"gender", width:95, editor:"select", editorParams:{values:["male", "female"]}},
{tit... | 32279 |
class Demo
constructor:() ->
cols:() -> [
{title:"Name", field:"name", editor:"input"},
{title:"Progress", field:"progress", hozAlign:"left", formatter:"progress", editor:true},
{title:"Gender", field:"gender", width:95, editor:"select", editorParams:{values:["male", "female"]}},
{tit... | true |
class Demo
constructor:() ->
cols:() -> [
{title:"Name", field:"name", editor:"input"},
{title:"Progress", field:"progress", hozAlign:"left", formatter:"progress", editor:true},
{title:"Gender", field:"gender", width:95, editor:"select", editorParams:{values:["male", "female"]}},
{tit... |
[
{
"context": "###\n *\n * jQuery TruncateLines by Gary Hepting\n * https://github.com/ghepting/jquery-truncate-l",
"end": 47,
"score": 0.9998990893363953,
"start": 35,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "ncateLines by Gary Hepting\n * https://github.com/gheptin... | src/coffee/plugins/jquery-truncateLines.coffee | cesperanc/groundwork | 0 | ###
*
* jQuery TruncateLines by Gary Hepting
* https://github.com/ghepting/jquery-truncate-lines
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
(($) ->
delayedAdjustTruncation = []
truncateIndex = 0
class TruncateLines
constructor: (e... | 125512 | ###
*
* jQuery TruncateLines by <NAME>
* https://github.com/ghepting/jquery-truncate-lines
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
(($) ->
delayedAdjustTruncation = []
truncateIndex = 0
class TruncateLines
constructor: (el) ->
... | true | ###
*
* jQuery TruncateLines by PI:NAME:<NAME>END_PI
* https://github.com/ghepting/jquery-truncate-lines
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
(($) ->
delayedAdjustTruncation = []
truncateIndex = 0
class TruncateLines
... |
[
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. Thi",
"end": 24,
"score": 0.9998723268508911,
"start": 12,
"tag": "NAME",
"value": "Peter K. Lee"
},
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. This pr... | spec/promise-module.coffee | hashnfv/hashnfv-promise-backup | 0 | #
# Author: Peter K. Lee (peter@corenova.com)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
module.exports =
'/opnfv-... | 116450 | #
# Author: <NAME> (<EMAIL>)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
module.exports =
'/opnfv-promise/promise/c... | true | #
# Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
module.exports ... |
[
{
"context": "\n\n\t\t@token = ''\n\t\tfor i in [0...32]\n\t\t\t@token += 'X1NFBWiez6YmcjIEtr89wRfgs7vq0u3AhZKOPdMTnLaVGJlby4HQU25CkSDopx'[_.random(61)]\n\n\t\t@announce @token, =>\n\t\t\t@peer.o",
"end": 1222,
"score": 0.9990503191947937,
"start": 1160,
"tag": "KEY",
"value": "X1NFBWiez6Ymc... | assets/js/brdgd.coffee | hjr265/brdgd | 1 | utils =
ellipsis: (text, length) ->
if text.length <= length
return text
pre = text.slice 0, Math.floor(length / 2)
suf = text.slice -Math.floor(length / 2)
return pre + '...' + suf
escape: (text) ->
$('<div></div>').text(text).text()
class Brdgd
constructor: (config) ->
@config = config
@peer =... | 201363 | utils =
ellipsis: (text, length) ->
if text.length <= length
return text
pre = text.slice 0, Math.floor(length / 2)
suf = text.slice -Math.floor(length / 2)
return pre + '...' + suf
escape: (text) ->
$('<div></div>').text(text).text()
class Brdgd
constructor: (config) ->
@config = config
@peer =... | true | utils =
ellipsis: (text, length) ->
if text.length <= length
return text
pre = text.slice 0, Math.floor(length / 2)
suf = text.slice -Math.floor(length / 2)
return pre + '...' + suf
escape: (text) ->
$('<div></div>').text(text).text()
class Brdgd
constructor: (config) ->
@config = config
@peer =... |
[
{
"context": " plant: 1\n quantity: 12\n plantName: 'Narzisse'\n plantPriceInCents: 200\n }\n {\n i",
"end": 751,
"score": 0.7191799283027649,
"start": 743,
"tag": "NAME",
"value": "Narzisse"
},
{
"context": " plant: 2\n quantity: 3\n plantN... | app/models/order-item.coffee | koenig/moosi | 0 | `import DS from 'ember-data'`
`import divideWithHundret from '../utils/divide-with-hundret'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
OrderItem = DS.Model.extend
order: belongsTo 'order'
plant: belongsTo 'plant'
plantName: attr 'string'
plantPriceInCents: attr 'number', defaultValue: 0... | 14385 | `import DS from 'ember-data'`
`import divideWithHundret from '../utils/divide-with-hundret'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
OrderItem = DS.Model.extend
order: belongsTo 'order'
plant: belongsTo 'plant'
plantName: attr 'string'
plantPriceInCents: attr 'number', defaultValue: 0... | true | `import DS from 'ember-data'`
`import divideWithHundret from '../utils/divide-with-hundret'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
OrderItem = DS.Model.extend
order: belongsTo 'order'
plant: belongsTo 'plant'
plantName: attr 'string'
plantPriceInCents: attr 'number', defaultValue: 0... |
[
{
"context": "{\n _id: App.server.createUUID()\n name: \"Unnamed\"\n displayNameBinding: \"name\"\n input: {\n",
"end": 604,
"score": 0.9737189412117004,
"start": 597,
"tag": "NAME",
"value": "Unnamed"
}
] | cmdr_web/src/scripts/views/source_configure.coffee | wesleyan/cmdr-server | 2 | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.SourcesConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.sources)
App.sources.bind "change:s... | 118082 | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.SourcesConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.sources)
App.sources.bind "change:s... | true | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.SourcesConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.sources)
App.sources.bind "change:s... |
[
{
"context": "n\n\nclass LockWorker extends BaseWorker\n @_name: 'test_worker'\n _run: (payload, cb) ->\n console.log \"runnin",
"end": 1325,
"score": 0.9988194108009338,
"start": 1314,
"tag": "USERNAME",
"value": "test_worker"
},
{
"context": "PasswordWorker extends BaseWorker\... | test/reservation.coffee | Clever/node-redis-reservation | 4 | _ = require 'underscore'
redis = require 'redis'
assert = require 'assert'
async = require 'async'
domain = require 'domain'
debug = require('debug') 'test/redis-reservation'
ReserveResource = require "#{__dirname}/../lib/index"
class BaseWorker
construct... | 128872 | _ = require 'underscore'
redis = require 'redis'
assert = require 'assert'
async = require 'async'
domain = require 'domain'
debug = require('debug') 'test/redis-reservation'
ReserveResource = require "#{__dirname}/../lib/index"
class BaseWorker
construct... | true | _ = require 'underscore'
redis = require 'redis'
assert = require 'assert'
async = require 'async'
domain = require 'domain'
debug = require('debug') 'test/redis-reservation'
ReserveResource = require "#{__dirname}/../lib/index"
class BaseWorker
construct... |
[
{
"context": "ken) =>\n\n key = if globals.os is 'mac' then '⌘ + C' else 'Ctrl + C'\n cmd = if err\n \"<a h",
"end": 636,
"score": 0.9699971079826355,
"start": 631,
"tag": "KEY",
"value": "⌘ + C"
},
{
"context": " key = if globals.os is 'mac' then '⌘ + C' else 'Ctrl... | client/home/lib/utilities/components/kdcli/container.coffee | ezgikaysi/koding | 1 | _ = require 'lodash'
kd = require 'kd'
React = require 'kd-react'
globals = require 'globals'
whoami = require 'app/util/whoami'
Tracker = require 'app/util/tracker'
copyToClipboard = require 'app/util/copyToClipboard'
View = require './view'
Kodi... | 62021 | _ = require 'lodash'
kd = require 'kd'
React = require 'kd-react'
globals = require 'globals'
whoami = require 'app/util/whoami'
Tracker = require 'app/util/tracker'
copyToClipboard = require 'app/util/copyToClipboard'
View = require './view'
Kodi... | true | _ = require 'lodash'
kd = require 'kd'
React = require 'kd-react'
globals = require 'globals'
whoami = require 'app/util/whoami'
Tracker = require 'app/util/tracker'
copyToClipboard = require 'app/util/copyToClipboard'
View = require './view'
Kodi... |
[
{
"context": "s [{id: 0, name: \"San Francisco\"}, {id: 1, name: \"Lyon\"}, {id: 2, name: \"Barcelona\"}]\n\n loadNeighborhoo",
"end": 132,
"score": 0.6942501068115234,
"start": 128,
"tag": "NAME",
"value": "Lyon"
},
{
"context": " if cityId[0] == \"0\"\n [{id: 0, name: ... | examples/dynamic-simple/cityService.coffee | vedantchoubey098/react-form-builder | 44 | module.exports = cityService =
loadCities: (callback) ->
callback.success [{id: 0, name: "San Francisco"}, {id: 1, name: "Lyon"}, {id: 2, name: "Barcelona"}]
loadNeighborhoodsWithCityId: (cityId, callback) ->
response =
if cityId[0] == "0"
[{id: 0, name: "SoMa"}, {id: 1, name: "Mission"}, {id... | 80300 | module.exports = cityService =
loadCities: (callback) ->
callback.success [{id: 0, name: "San Francisco"}, {id: 1, name: "<NAME>"}, {id: 2, name: "Barcelona"}]
loadNeighborhoodsWithCityId: (cityId, callback) ->
response =
if cityId[0] == "0"
[{id: 0, name: "<NAME>"}, {id: 1, name: "<NAME>"}, ... | true | module.exports = cityService =
loadCities: (callback) ->
callback.success [{id: 0, name: "San Francisco"}, {id: 1, name: "PI:NAME:<NAME>END_PI"}, {id: 2, name: "Barcelona"}]
loadNeighborhoodsWithCityId: (cityId, callback) ->
response =
if cityId[0] == "0"
[{id: 0, name: "PI:NAME:<NAME>END_PI"... |
[
{
"context": "er.then ->\n expect(\"#waldo\").to.have.text(\"Simon says\")\n expect(\".math\").to.have.text(\"(1 +",
"end": 5623,
"score": 0.6918536424636841,
"start": 5618,
"tag": "NAME",
"value": "Simon"
},
{
"context": "hen ->\n expect(\"#waldo\").to.not.have.... | test/common.coffee | brianmhunt/casper-chai | 33 | ###
# Unit-tests for Casper-Chai
###
# TODO: Test 'loaded'
describe "Casper-Chai addons to Chai", ->
before ->
require("webserver").create().listen 8523, (request, response) ->
response.writeHead 200,
"Content-Type": "text/html"
response.write "<!DOCTYPE html>
<html>
<head>
<title>The ... | 44218 | ###
# Unit-tests for Casper-Chai
###
# TODO: Test 'loaded'
describe "Casper-Chai addons to Chai", ->
before ->
require("webserver").create().listen 8523, (request, response) ->
response.writeHead 200,
"Content-Type": "text/html"
response.write "<!DOCTYPE html>
<html>
<head>
<title>The ... | true | ###
# Unit-tests for Casper-Chai
###
# TODO: Test 'loaded'
describe "Casper-Chai addons to Chai", ->
before ->
require("webserver").create().listen 8523, (request, response) ->
response.writeHead 200,
"Content-Type": "text/html"
response.write "<!DOCTYPE html>
<html>
<head>
<title>The ... |
[
{
"context": "eds\"\nphase: \"beta\"\nphase_modifier: \"Public\"\nsro: \"Derek Hobbs\"\nservice_man: \"Zoe Gould\"\nphase_history:\n discov",
"end": 256,
"score": 0.9998944997787476,
"start": 245,
"tag": "NAME",
"value": "Derek Hobbs"
},
{
"context": "difier: \"Public\"\nsro: \"Dere... | app/data/projects/budgeting-loans.cson | tsmorgan/dwp-ux-work | 0 | id: 15
name: "Apply for a Budgeting Loan"
description: "Lets users apply for a short-term cash loan so that they can afford to buy essential items or services."
theme: "Working Age"
location: "Leeds"
phase: "beta"
phase_modifier: "Public"
sro: "Derek Hobbs"
service_man: "Zoe Gould"
phase_history:
discovery: [
{
... | 119527 | id: 15
name: "Apply for a Budgeting Loan"
description: "Lets users apply for a short-term cash loan so that they can afford to buy essential items or services."
theme: "Working Age"
location: "Leeds"
phase: "beta"
phase_modifier: "Public"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [
{
lab... | true | id: 15
name: "Apply for a Budgeting Loan"
description: "Lets users apply for a short-term cash loan so that they can afford to buy essential items or services."
theme: "Working Age"
location: "Leeds"
phase: "beta"
phase_modifier: "Public"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
phase_history:
... |
[
{
"context": "ith a chainsaw, #{req.params.name}. Do I look like Mother Teresa?\"\n subtitle = \"- #{req.params.from}\"\n o",
"end": 331,
"score": 0.7506927847862244,
"start": 318,
"tag": "NAME",
"value": "Mother Teresa"
}
] | lib/operations/chainsaw.coffee | BenOien/ForkOAAS | 0 | module.exports =
name: "Chainsaw"
url: '/chainsaw/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/chainsaw/:name/:from', (req, res) ->
message = "Fork me gently with a chainsaw, #{req.params.name}. Do I look like Mo... | 2031 | module.exports =
name: "Chainsaw"
url: '/chainsaw/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/chainsaw/:name/:from', (req, res) ->
message = "Fork me gently with a chainsaw, #{req.params.name}. Do I look like <N... | true | module.exports =
name: "Chainsaw"
url: '/chainsaw/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/chainsaw/:name/:from', (req, res) ->
message = "Fork me gently with a chainsaw, #{req.params.name}. Do I look like PI... |
[
{
"context": "email = 'support@roqua.nl'\nmessage = \"Onbekende fout. Mail naar <a href='ma",
"end": 25,
"score": 0.9999270439147949,
"start": 9,
"tag": "EMAIL",
"value": "support@roqua.nl"
}
] | app/assets/javascripts/error_handler.coffee | roqua/screensmart | 2 | email = 'support@roqua.nl'
message = "Onbekende fout. Mail naar <a href='mailto:#{email}'>#{email}</a> voor hulp"
applicationInitialized = ->
Screensmart? && typeof Screensmart.store?.dispatch == 'function'
showUnknownError = ->
# Show error in a primitive way if something went wrong during initialization
if ap... | 190435 | email = '<EMAIL>'
message = "Onbekende fout. Mail naar <a href='mailto:#{email}'>#{email}</a> voor hulp"
applicationInitialized = ->
Screensmart? && typeof Screensmart.store?.dispatch == 'function'
showUnknownError = ->
# Show error in a primitive way if something went wrong during initialization
if application... | true | email = 'PI:EMAIL:<EMAIL>END_PI'
message = "Onbekende fout. Mail naar <a href='mailto:#{email}'>#{email}</a> voor hulp"
applicationInitialized = ->
Screensmart? && typeof Screensmart.store?.dispatch == 'function'
showUnknownError = ->
# Show error in a primitive way if something went wrong during initialization
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994432926177979,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-domain-exit-dispose.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... | 7049 | # 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": "regresar\"\n cancel: \"Cancelar\"\n changePassword: \"Cambiar Contraseña\"\n choosePassword: \"Eligir Contraseña\"\n clickAgr",
"end": 213,
"score": 0.9886507987976074,
"start": 195,
"tag": "PASSWORD",
"value": "Cambiar Contraseña"
},
{
"context": "Password: \"Cambi... | t9n/es_ES.coffee | coWorkr-InSights/meteor-accounts-t9n | 0 | #Language: Spanish
#Translators: softwarerero, maomorales, mortaldraw
es_ES =
t9Name: 'Español-España'
add: "agregar"
and: "y"
back: "regresar"
cancel: "Cancelar"
changePassword: "Cambiar Contraseña"
choosePassword: "Eligir Contraseña"
clickAgree: "Si haces clic en Crear Cuenta estás de acuerdo con l... | 205974 | #Language: Spanish
#Translators: softwarerero, maomorales, mortaldraw
es_ES =
t9Name: 'Español-España'
add: "agregar"
and: "y"
back: "regresar"
cancel: "Cancelar"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Si haces clic en Crear Cuenta estás de acuerdo con la"
configure:... | true | #Language: Spanish
#Translators: softwarerero, maomorales, mortaldraw
es_ES =
t9Name: 'Español-España'
add: "agregar"
and: "y"
back: "regresar"
cancel: "Cancelar"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Si haces clic en Crear Cuenta e... |
[
{
"context": "9bc\",\n \"anonymous\" : false,\n \"email\" : \"example@email.com\",\n \"name\" : \"Joe\",\n \"app_id\" : \"...\",\n ",
"end": 857,
"score": 0.9999065399169922,
"start": 840,
"tag": "EMAIL",
"value": "example@email.com"
},
{
"context": " \"email\" ... | spec/server/functional/intercom.spec.coffee | IngJuanRuiz/codecombat | 0 | utils = require '../utils'
request = require '../request'
unsubscribe = require '../../../server/commons/unsubscribe'
pingJson = {
"type" : "notification_event",
"app_id" : "...",
"data" : {
"type" : "notification_event_data",
"item" : {
"type" : "ping",
"message" : "something something inter... | 68771 | utils = require '../utils'
request = require '../request'
unsubscribe = require '../../../server/commons/unsubscribe'
pingJson = {
"type" : "notification_event",
"app_id" : "...",
"data" : {
"type" : "notification_event_data",
"item" : {
"type" : "ping",
"message" : "something something inter... | true | utils = require '../utils'
request = require '../request'
unsubscribe = require '../../../server/commons/unsubscribe'
pingJson = {
"type" : "notification_event",
"app_id" : "...",
"data" : {
"type" : "notification_event_data",
"item" : {
"type" : "ping",
"message" : "something something inter... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9979743957519531,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-url.parse-https.request.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... | 122379 | # 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": "# @author Gianluigi Mango\n# Handle User API\nUserModel = require './../model",
"end": 25,
"score": 0.9998371005058289,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/api/handler/userHandler.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Handle User API
UserModel = require './../model/userModel'
PostModel = require './../model/postModel'
PostHandler = require './postHandler'
Notify = require './../utils/Notifier'
bcrypt = require 'bcrypt-nodejs'
module.exports = class userHandler
# Check if there is an active session
cons... | 28791 | # @author <NAME>
# Handle User API
UserModel = require './../model/userModel'
PostModel = require './../model/postModel'
PostHandler = require './postHandler'
Notify = require './../utils/Notifier'
bcrypt = require 'bcrypt-nodejs'
module.exports = class userHandler
# Check if there is an active session
constructor: ... | true | # @author PI:NAME:<NAME>END_PI
# Handle User API
UserModel = require './../model/userModel'
PostModel = require './../model/postModel'
PostHandler = require './postHandler'
Notify = require './../utils/Notifier'
bcrypt = require 'bcrypt-nodejs'
module.exports = class userHandler
# Check if there is an active session
... |
[
{
"context": ".helpers\n name: -> Meteor.user().profile.name ? \"User\"\n email: -> Meteor.user().emails?[0]?.address ? ",
"end": 70,
"score": 0.5020297765731812,
"start": 66,
"tag": "NAME",
"value": "User"
}
] | client/templates/profile/profile.coffee | orlade/cortex | 4 | Template.profile.helpers
name: -> Meteor.user().profile.name ? "User"
email: -> Meteor.user().emails?[0]?.address ? Meteor.user().services?.google?.email ? "None"
awsSet: -> Meteor.user().profile.awsSet
Template.profile.events
'click .aws.button': ->
[modal, form] = [$('.aws.modal'), $('.aws.form')]
mo... | 88121 | Template.profile.helpers
name: -> Meteor.user().profile.name ? "<NAME>"
email: -> Meteor.user().emails?[0]?.address ? Meteor.user().services?.google?.email ? "None"
awsSet: -> Meteor.user().profile.awsSet
Template.profile.events
'click .aws.button': ->
[modal, form] = [$('.aws.modal'), $('.aws.form')]
... | true | Template.profile.helpers
name: -> Meteor.user().profile.name ? "PI:NAME:<NAME>END_PI"
email: -> Meteor.user().emails?[0]?.address ? Meteor.user().services?.google?.email ? "None"
awsSet: -> Meteor.user().profile.awsSet
Template.profile.events
'click .aws.button': ->
[modal, form] = [$('.aws.modal'), $('.aw... |
[
{
"context": "m() * 99999999 + 900000000)\n\n #this.username1 = 'arielyang'\n #this.username2 = 'novasman'\n #this.username3",
"end": 539,
"score": 0.9995627403259277,
"start": 530,
"tag": "USERNAME",
"value": "arielyang"
},
{
"context": "this.username1 = 'arielyang'\n #this.user... | spec/helpers/helper.coffee | lly5401/dhcseltalkserver | 1 | request = require 'supertest'
cookie = require 'cookie'
_ = require 'underscore'
app = require '../../src'
config = require '../../src/conf'
Utility = require('../../src/util/util').Utility
# 引用数据库对象和模型
[sequelize, User] = require '../../src/db'
beforeAll ->
this.phoneNumber1 = '13' + Math.floor(Math.r... | 35323 | request = require 'supertest'
cookie = require 'cookie'
_ = require 'underscore'
app = require '../../src'
config = require '../../src/conf'
Utility = require('../../src/util/util').Utility
# 引用数据库对象和模型
[sequelize, User] = require '../../src/db'
beforeAll ->
this.phoneNumber1 = '13' + Math.floor(Math.r... | true | request = require 'supertest'
cookie = require 'cookie'
_ = require 'underscore'
app = require '../../src'
config = require '../../src/conf'
Utility = require('../../src/util/util').Utility
# 引用数据库对象和模型
[sequelize, User] = require '../../src/db'
beforeAll ->
this.phoneNumber1 = '13' + Math.floor(Math.r... |
[
{
"context": " MONGODB_DB\n#\n# Commands:\n# None\n#\n# Author:\n# ajacksified, maxbeatty\n\nUtil = require \"util\"\nmongodb = requi",
"end": 392,
"score": 0.9996252059936523,
"start": 381,
"tag": "USERNAME",
"value": "ajacksified"
},
{
"context": "\n# Commands:\n# None\n#\n# ... | src/scripts/mongo-brain.coffee | contolini/hubot-scripts | 1,450 | # Description:
# Enhances hubot-brain with MongoDB. Useful for Heroku accounts that want
# better persistance. Falls back to memory brain if Mongo connection fails
# for local testing.
#
# Dependencies:
# "mongodb": ">= 1.2.0"
#
# Configuration:
# MONGODB_USERNAME
# MONGODB_PASSWORD
# MONGODB_HOST
# MONGOD... | 138291 | # Description:
# Enhances hubot-brain with MongoDB. Useful for Heroku accounts that want
# better persistance. Falls back to memory brain if Mongo connection fails
# for local testing.
#
# Dependencies:
# "mongodb": ">= 1.2.0"
#
# Configuration:
# MONGODB_USERNAME
# MONGODB_PASSWORD
# MONGODB_HOST
# MONGOD... | true | # Description:
# Enhances hubot-brain with MongoDB. Useful for Heroku accounts that want
# better persistance. Falls back to memory brain if Mongo connection fails
# for local testing.
#
# Dependencies:
# "mongodb": ">= 1.2.0"
#
# Configuration:
# MONGODB_USERNAME
# MONGODB_PASSWORD
# MONGODB_HOST
# MONGOD... |
[
{
"context": "powerful two-card strategies there is.\n{\n name: 'ChapelWitch'\n requires: ['Chapel', 'Witch']\n gainPriority: ",
"end": 142,
"score": 0.9105900526046753,
"start": 131,
"tag": "NAME",
"value": "ChapelWitch"
}
] | strategies/ChapelWitch.coffee | rspeer/dominiate | 65 | # Gain one Chapel and one Witch, and otherwise play Big Money. One of the most
# powerful two-card strategies there is.
{
name: 'ChapelWitch'
requires: ['Chapel', 'Witch']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Witch"... | 136788 | # Gain one Chapel and one Witch, and otherwise play Big Money. One of the most
# powerful two-card strategies there is.
{
name: '<NAME>'
requires: ['Chapel', 'Witch']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Witch" if m... | true | # Gain one Chapel and one Witch, and otherwise play Big Money. One of the most
# powerful two-card strategies there is.
{
name: 'PI:NAME:<NAME>END_PI'
requires: ['Chapel', 'Witch']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.