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": "r'\n id: 'form-color'\n placeholder: 'Kleur'\n values: [\n {\n conten",
"end": 1059,
"score": 0.9988417625427246,
"start": 1054,
"tag": "NAME",
"value": "Kleur"
},
{
"context": "e'\n id: 'form-image'\n placeholder: ... | coffee/controllers/profile-controller.coffee | zedam/app_chaplin | 0 | define [
'chaplin'
'controllers/base/controller'
'views/profile/profile-view'
'views/profile/profile-form-view'
'models/profile/profile-collection'
'models/profile/profile-model'
'views/profile/profile-collection-view',
'views/profile/profile-item-view'
'models/component/select-box-model'
'views/com... | 169309 | define [
'chaplin'
'controllers/base/controller'
'views/profile/profile-view'
'views/profile/profile-form-view'
'models/profile/profile-collection'
'models/profile/profile-model'
'views/profile/profile-collection-view',
'views/profile/profile-item-view'
'models/component/select-box-model'
'views/com... | true | define [
'chaplin'
'controllers/base/controller'
'views/profile/profile-view'
'views/profile/profile-form-view'
'models/profile/profile-collection'
'models/profile/profile-model'
'views/profile/profile-collection-view',
'views/profile/profile-item-view'
'models/component/select-box-model'
'views/com... |
[
{
"context": "sion.get('followers_tag')\n followerId = @followerId\n followerName = @followerName\n ",
"end": 4014,
"score": 0.9378492832183838,
"start": 4004,
"tag": "USERNAME",
"value": "followerId"
},
{
"context": " followerId = @followerId\n fo... | hotShareMobile/client/user/follow/followers.coffee | fay1986/mobile_app_server | 7 | #space 2
if Meteor.isClient
@addFollower = (data)->
followerId = data.followerId
callback = ()->
blackId = BlackList.findOne({blackBy: Meteor.userId()})._id
BlackList.update({_id: blackId}, {$pull: {blacker: followerId}})
Follower.insert data
#对方在黑名单中
if BlackList.find({blackBy: Mete... | 45950 | #space 2
if Meteor.isClient
@addFollower = (data)->
followerId = data.followerId
callback = ()->
blackId = BlackList.findOne({blackBy: Meteor.userId()})._id
BlackList.update({_id: blackId}, {$pull: {blacker: followerId}})
Follower.insert data
#对方在黑名单中
if BlackList.find({blackBy: Mete... | true | #space 2
if Meteor.isClient
@addFollower = (data)->
followerId = data.followerId
callback = ()->
blackId = BlackList.findOne({blackBy: Meteor.userId()})._id
BlackList.update({_id: blackId}, {$pull: {blacker: followerId}})
Follower.insert data
#对方在黑名单中
if BlackList.find({blackBy: Mete... |
[
{
"context": "\n--- smalllog ---\n\nReleased under MIT license.\n\nby Gustavo Vargas - @xgvargas - 2017\n\nOriginal coffee code and issu",
"end": 69,
"score": 0.9998753666877747,
"start": 55,
"tag": "NAME",
"value": "Gustavo Vargas"
},
{
"context": "\n\nReleased under MIT license.\n\... | src/smalllog.coffee | xgvargas/smalllog | 0 | ###
--- smalllog ---
Released under MIT license.
by Gustavo Vargas - @xgvargas - 2017
Original coffee code and issues at: https://github.com/xgvargas/smalllog
###
colors = require 'colors'
colorList = [
colors.white
colors.cyan
colors.blue
colors.red
colors.green
colors.yellow
colors.... | 75775 | ###
--- smalllog ---
Released under MIT license.
by <NAME> - @xgvargas - 2017
Original coffee code and issues at: https://github.com/xgvargas/smalllog
###
colors = require 'colors'
colorList = [
colors.white
colors.cyan
colors.blue
colors.red
colors.green
colors.yellow
colors.magenta
... | true | ###
--- smalllog ---
Released under MIT license.
by PI:NAME:<NAME>END_PI - @xgvargas - 2017
Original coffee code and issues at: https://github.com/xgvargas/smalllog
###
colors = require 'colors'
colorList = [
colors.white
colors.cyan
colors.blue
colors.red
colors.green
colors.yellow
c... |
[
{
"context": "JyidoOEZUJMJygaFDeg7Ij0nspFjnBAnqJas/Nn387n3OBa1K7Rutzuo1+sThGqjb9Dny+XyTQ8tqnL6/f4cMR4scQh7VO8rgXRIH",
"end": 2564,
"score": 0.5048282742500305,
"start": 2563,
"tag": "KEY",
"value": "R"
},
{
"context": "nL6/f4cMR4scQh7VO8rgXRIHMcLBJ2hj4UQ9xJwgpUGGUo+sPqRWr3xLYGVAuVBbD... | tests/io.coffee | zeke/mondrian | 1 |
testData = '''
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="26px" height="28px" viewBox="0 0 26 26" enable-background="new 0 0 26 26" xml:space="preserve">
<path fill="#454545" d="M8.125,17.874c0... | 59888 |
testData = '''
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="26px" height="28px" viewBox="0 0 26 26" enable-background="new 0 0 26 26" xml:space="preserve">
<path fill="#454545" d="M8.125,17.874c0... | true |
testData = '''
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="26px" height="28px" viewBox="0 0 26 26" enable-background="new 0 0 26 26" xml:space="preserve">
<path fill="#454545" d="M8.125,17.874c0... |
[
{
"context": " modelo\n\t\tdefaults : {\n\t\t\tid : 0\n\t\t\tname : 'name por default'\n\t\t\tphoto : '0.jpg'\n\t\t\ttwitter : '@tuit0'\n\t\t\turl",
"end": 208,
"score": 0.6752988696098328,
"start": 192,
"tag": "NAME",
"value": "name por default"
},
{
"context": "name por defa... | frontend/coffee/models/Author.coffee | jansanchez/recordando-backbone | 2 | define(['backbone'], (Backbone) ->
# Creamos un modelo de Backbone
Author = Backbone.Model.extend({
# Defino los atributos por defecto del modelo
defaults : {
id : 0
name : 'name por default'
photo : '0.jpg'
twitter : '@tuit0'
url : 'https://www.google.com.pe/?q=0'
},
# Pseudo constr... | 75187 | define(['backbone'], (Backbone) ->
# Creamos un modelo de Backbone
Author = Backbone.Model.extend({
# Defino los atributos por defecto del modelo
defaults : {
id : 0
name : '<NAME>'
photo : '0.jpg'
twitter : '@tuit0'
url : 'https://www.google.com.pe/?q=0'
},
# Pseudo constructor del ... | true | define(['backbone'], (Backbone) ->
# Creamos un modelo de Backbone
Author = Backbone.Model.extend({
# Defino los atributos por defecto del modelo
defaults : {
id : 0
name : 'PI:NAME:<NAME>END_PI'
photo : '0.jpg'
twitter : '@tuit0'
url : 'https://www.google.com.pe/?q=0'
},
# Pseudo co... |
[
{
"context": "ependsOn: ['first', 'last']\n @object.last = 'Pan'\n expect(=> @object.first = \"Peter\").to.trig",
"end": 408,
"score": 0.6111995577812195,
"start": 405,
"tag": "NAME",
"value": "Pan"
},
{
"context": "ect.last = 'Pan'\n expect(=> @object.first = \"Peter\... | test/property/depends_on.spec.coffee | varvet/serenade.js | 5 | require './../spec_helper'
{defineProperty} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
describe 'dependsOn', ->
it 'binds to dependencies', ->
defineProperty @object, 'first'
defineProperty @object, 'last'
defineProperty @object, 'fullName',
get... | 122774 | require './../spec_helper'
{defineProperty} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
describe 'dependsOn', ->
it 'binds to dependencies', ->
defineProperty @object, 'first'
defineProperty @object, 'last'
defineProperty @object, 'fullName',
get... | true | require './../spec_helper'
{defineProperty} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
describe 'dependsOn', ->
it 'binds to dependencies', ->
defineProperty @object, 'first'
defineProperty @object, 'last'
defineProperty @object, 'fullName',
get... |
[
{
"context": " objects: \"zu\"\n\n sample:\n hello: \"Hallo\"\n userHello: \"Hallo {{name}}!\"\n ful",
"end": 1010,
"score": 0.9253618717193604,
"start": 1005,
"tag": "NAME",
"value": "Hallo"
},
{
"context": "ample:\n hello: \"Hallo\"\n use... | lib/i18n.coffee | VeliovGroup/meteor-i18n-library | 0 | ###
@namespace i18n
@description initialize global object
@global
###
@i18n =
###
@namespace i18n
@property {string} defaultLocale - Default application's locale
@property {string} currentLocale - Locale of current application's state
@property {bool} isReady - Is everything ready f... | 202579 | ###
@namespace i18n
@description initialize global object
@global
###
@i18n =
###
@namespace i18n
@property {string} defaultLocale - Default application's locale
@property {string} currentLocale - Locale of current application's state
@property {bool} isReady - Is everything ready f... | true | ###
@namespace i18n
@description initialize global object
@global
###
@i18n =
###
@namespace i18n
@property {string} defaultLocale - Default application's locale
@property {string} currentLocale - Locale of current application's state
@property {bool} isReady - Is everything ready f... |
[
{
"context": "ing\", ->\n testData = [\n {\n input: \"John Doe john.doe@abc.com wrote\",\n expected: \"John ",
"end": 222,
"score": 0.9997761249542236,
"start": 214,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "\n testData = [\n {\n input: ... | spec/parser.spec.coffee | kubkon/email-chattifier | 0 | Parser = require "../src/parser.coffee"
describe "A suite of Parser tests", ->
parser = {}
beforeEach ->
parser = new Parser ""
it "tests email formatting", ->
testData = [
{
input: "John Doe john.doe@abc.com wrote",
expected: "John Doe [john.doe@abc.com](mailto:john.doe@abc.com) ... | 186194 | Parser = require "../src/parser.coffee"
describe "A suite of Parser tests", ->
parser = {}
beforeEach ->
parser = new Parser ""
it "tests email formatting", ->
testData = [
{
input: "<NAME> <EMAIL> wrote",
expected: "<NAME> [<EMAIL>](mailto:<EMAIL>) wrote"
},
{
... | true | Parser = require "../src/parser.coffee"
describe "A suite of Parser tests", ->
parser = {}
beforeEach ->
parser = new Parser ""
it "tests email formatting", ->
testData = [
{
input: "PI:NAME:<NAME>END_PI PI:EMAIL:<EMAIL>END_PI wrote",
expected: "PI:NAME:<NAME>END_PI [PI:EMAIL:<EMA... |
[
{
"context": " overwrite: true\n appBundleId: 'com.github.yakyak'\n win32metadata: {\n CompanyName: 'Yakya",
"end": 1790,
"score": 0.7808377742767334,
"start": 1785,
"tag": "USERNAME",
"value": "akyak"
},
{
"context": "akyak'\n win32metadata: {\n CompanyName... | gulpfile.coffee | jellisii/yakyak-1 | 1 | gulp = require 'gulp'
coffee = require 'gulp-coffee'
less = require 'gulp-less'
rimraf = require 'rimraf'
path = require 'path'
fs = require 'fs'
sourcemaps = require 'gulp-sourcemaps'
install = require 'gulp-install'
{execSync} = require 'child_process'
concat = require 'gulp-c... | 181070 | gulp = require 'gulp'
coffee = require 'gulp-coffee'
less = require 'gulp-less'
rimraf = require 'rimraf'
path = require 'path'
fs = require 'fs'
sourcemaps = require 'gulp-sourcemaps'
install = require 'gulp-install'
{execSync} = require 'child_process'
concat = require 'gulp-c... | true | gulp = require 'gulp'
coffee = require 'gulp-coffee'
less = require 'gulp-less'
rimraf = require 'rimraf'
path = require 'path'
fs = require 'fs'
sourcemaps = require 'gulp-sourcemaps'
install = require 'gulp-install'
{execSync} = require 'child_process'
concat = require 'gulp-c... |
[
{
"context": "ray histogram to a bitmap\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 428,
"score": 0.9998338222503662,
"start": 407,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": "p\n#\n# Copyright (... | example /html/src/worker-noasm.coffee | amane312/photon_generator | 5 | #
# Worker thread for Zen Photon Garden.
#
# Plain JavaScript implementation (no asm.js).
# This one is still fastest on Safari and on released versions of Firefox
#
# Workers are used for our CPU-intensive computing tasks:
#
# - Rendering a scene to a ray histogram
# - Combining multiple ray histog... | 29949 | #
# Worker thread for Zen Photon Garden.
#
# Plain JavaScript implementation (no asm.js).
# This one is still fastest on Safari and on released versions of Firefox
#
# Workers are used for our CPU-intensive computing tasks:
#
# - Rendering a scene to a ray histogram
# - Combining multiple ray histog... | true | #
# Worker thread for Zen Photon Garden.
#
# Plain JavaScript implementation (no asm.js).
# This one is still fastest on Safari and on released versions of Firefox
#
# Workers are used for our CPU-intensive computing tasks:
#
# - Rendering a scene to a ray histogram
# - Combining multiple ray histog... |
[
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###\n\n# # ",
"end": 27,
"score": 0.9998840689659119,
"start": 13,
"tag": "NAME",
"value": "Branko Vukelic"
},
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###... | src/lib/mixin.coffee | foxbunny/ribcage-soap | 0 | ###!
@author Branko Vukelic <branko@brankovukelic.com>
@license MIT
###
# # Soap mixin
#
# This module implements a generic model/collection mixin which overrides the
# `#sync()` method to provide SOAP capability.
#
# With customization, you can perform an infinite number of different SOAP
# requests depending on the ... | 54400 | ###!
@author <NAME> <<EMAIL>>
@license MIT
###
# # Soap mixin
#
# This module implements a generic model/collection mixin which overrides the
# `#sync()` method to provide SOAP capability.
#
# With customization, you can perform an infinite number of different SOAP
# requests depending on the circumstances, so you are... | true | ###!
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license MIT
###
# # Soap mixin
#
# This module implements a generic model/collection mixin which overrides the
# `#sync()` method to provide SOAP capability.
#
# With customization, you can perform an infinite number of different SOAP
# requests depending on ... |
[
{
"context": "nextId = 0\n\n\t\tpeople = [\n\t\t\t{id: nextId++, name: 'Saasha', age: 6}\n\t\t\t{id: nextId++, name: 'Planet', age: ",
"end": 108,
"score": 0.9998130798339844,
"start": 102,
"tag": "NAME",
"value": "Saasha"
},
{
"context": " name: 'Saasha', age: 6}\n\t\t\t{id: nextId+... | src/scripts/backend/peopleBackend.coffee | jceverritt/AngularFun-master | 0 | class Run
constructor: (@$log, @$httpBackend) ->
nextId = 0
people = [
{id: nextId++, name: 'Saasha', age: 6}
{id: nextId++, name: 'Planet', age: 8}
]
@$httpBackend.whenGET('/people').respond people
@$httpBackend.whenPOST('/people').respond (method, url, data) ->
person = angular.fromJson data
... | 104806 | class Run
constructor: (@$log, @$httpBackend) ->
nextId = 0
people = [
{id: nextId++, name: '<NAME>', age: 6}
{id: nextId++, name: '<NAME>', age: 8}
]
@$httpBackend.whenGET('/people').respond people
@$httpBackend.whenPOST('/people').respond (method, url, data) ->
person = angular.fromJson data
... | true | class Run
constructor: (@$log, @$httpBackend) ->
nextId = 0
people = [
{id: nextId++, name: 'PI:NAME:<NAME>END_PI', age: 6}
{id: nextId++, name: 'PI:NAME:<NAME>END_PI', age: 8}
]
@$httpBackend.whenGET('/people').respond people
@$httpBackend.whenPOST('/people').respond (method, url, data) ->
perso... |
[
{
"context": "# Wafer 3.0\n# Copyright (c) 2013 Caleb Rash\n# Licensed under the MIT License\n\n\ndo (window) ->",
"end": 43,
"score": 0.9998477697372437,
"start": 33,
"tag": "NAME",
"value": "Caleb Rash"
}
] | src/wafer.coffee | calebrash/wafer | 1 | # Wafer 3.0
# Copyright (c) 2013 Caleb Rash
# Licensed under the MIT License
do (window) ->
# localStorage polyfill:
# maps localStorage methods to cookies
if not window.localStorage
cookieStorage =
setItem: (key, value, remove=false) ->
if remove then delta = -1 else delta = 30
exp... | 12591 | # Wafer 3.0
# Copyright (c) 2013 <NAME>
# Licensed under the MIT License
do (window) ->
# localStorage polyfill:
# maps localStorage methods to cookies
if not window.localStorage
cookieStorage =
setItem: (key, value, remove=false) ->
if remove then delta = -1 else delta = 30
expires... | true | # Wafer 3.0
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT License
do (window) ->
# localStorage polyfill:
# maps localStorage methods to cookies
if not window.localStorage
cookieStorage =
setItem: (key, value, remove=false) ->
if remove then delta = -1 else delta = 30
... |
[
{
"context": ".labels =\n patients: [\n \"Patients\"\n \"Пациенты\"\n \"Bemorlar\"\n \"Беморлар\"\n ]\n firs",
"end": 1455,
"score": 0.9647627472877502,
"start": 1447,
"tag": "NAME",
"value": "Пациенты"
},
{
"context": "ients: [\n \"Patients\"\n ... | app/assets/javascripts/patients.coffee | behruz-b/medical | 8 | $ ->
my.initAjax()
Glob = window.Glob || {}
apiUrl =
patientsUrl: '/patient/get-patients'
vm = ko.mapping.fromJS
language: Glob.language
patients: []
analyseType: ''
customerId: ''
handleError = (error) ->
$.unblockUI()
if error.status is 401
my.logout()
else if error... | 217544 | $ ->
my.initAjax()
Glob = window.Glob || {}
apiUrl =
patientsUrl: '/patient/get-patients'
vm = ko.mapping.fromJS
language: Glob.language
patients: []
analyseType: ''
customerId: ''
handleError = (error) ->
$.unblockUI()
if error.status is 401
my.logout()
else if error... | true | $ ->
my.initAjax()
Glob = window.Glob || {}
apiUrl =
patientsUrl: '/patient/get-patients'
vm = ko.mapping.fromJS
language: Glob.language
patients: []
analyseType: ''
customerId: ''
handleError = (error) ->
$.unblockUI()
if error.status is 401
my.logout()
else if error... |
[
{
"context": "\n# Points system using FBO for position.\n# @author David Ronai / http://makiopolis.com / @makio64\n#\n\nFBO = requi",
"end": 63,
"score": 0.9998626112937927,
"start": 52,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "n.\n# @author David Ronai / http://makiopo... | src/coffee/makio/3d/ParticleFBO.coffee | Makio64/pizzaparty_vj | 1 | #
# Points system using FBO for position.
# @author David Ronai / http://makiopolis.com / @makio64
#
FBO = require('./FBO')
Stage = require('makio/core/Stage')
Stage3d = require('makio/core/Stage3d')
Random = require('makio/utils/Random')
M = require('makio/math/M')
gui = require('makio/core/GUI')
CanvasUtils = requir... | 116970 | #
# Points system using FBO for position.
# @author <NAME> / http://makiopolis.com / @makio64
#
FBO = require('./FBO')
Stage = require('makio/core/Stage')
Stage3d = require('makio/core/Stage3d')
Random = require('makio/utils/Random')
M = require('makio/math/M')
gui = require('makio/core/GUI')
CanvasUtils = require('ma... | true | #
# Points system using FBO for position.
# @author PI:NAME:<NAME>END_PI / http://makiopolis.com / @makio64
#
FBO = require('./FBO')
Stage = require('makio/core/Stage')
Stage3d = require('makio/core/Stage3d')
Random = require('makio/utils/Random')
M = require('makio/math/M')
gui = require('makio/core/GUI')
CanvasUtils... |
[
{
"context": "OSS({\n accessKeyId: aliyun_access_key_id || 'Vh0snNA4Orv3emBj',\n secretAccessKey: aliyun_access_key_secret",
"end": 795,
"score": 0.9835899472236633,
"start": 779,
"tag": "KEY",
"value": "Vh0snNA4Orv3emBj"
},
{
"context": " secretAccessKey: aliyun_access_... | hotShareWeb/server/servermethod_register.coffee | fay1986/mobile_app_server | 4 | if Meteor.isServer
myCrypto = Npm.require "crypto"
aliyun = Meteor.npmRequire "aliyun-sdk"
aliyun_access_key_id = process.env.ALIYUN_ACCESS_KEY_ID
aliyun_access_key_secret = process.env.ALIYUN_ACCESS_KEY_SECRET
@nodemailer = Meteor.npmRequire('nodemailer');
#if (Meteor.absoluteUrl().toLowerCase().indexOf('h... | 85107 | if Meteor.isServer
myCrypto = Npm.require "crypto"
aliyun = Meteor.npmRequire "aliyun-sdk"
aliyun_access_key_id = process.env.ALIYUN_ACCESS_KEY_ID
aliyun_access_key_secret = process.env.ALIYUN_ACCESS_KEY_SECRET
@nodemailer = Meteor.npmRequire('nodemailer');
#if (Meteor.absoluteUrl().toLowerCase().indexOf('h... | true | if Meteor.isServer
myCrypto = Npm.require "crypto"
aliyun = Meteor.npmRequire "aliyun-sdk"
aliyun_access_key_id = process.env.ALIYUN_ACCESS_KEY_ID
aliyun_access_key_secret = process.env.ALIYUN_ACCESS_KEY_SECRET
@nodemailer = Meteor.npmRequire('nodemailer');
#if (Meteor.absoluteUrl().toLowerCase().indexOf('h... |
[
{
"context": " <url> - Gets MyWot Report for URL\n#\n# Author:\n# Scott J Roberts - @sroberts\n\nmywot_category_mapping = {\n 101: \"M",
"end": 263,
"score": 0.9998687505722046,
"start": 248,
"tag": "NAME",
"value": "Scott J Roberts"
},
{
"context": "t Report for URL\n#\n# Author:... | src/scripts/mywot.coffee | snipe/hubot-vtr-scripts | 1 | # Description:
# Get Website Reputation from MyWot (www.mywot.com)
#
# Dependencies:
# None
#
# Configuration:
# MYWOT_API_KEY - Sign up at http://www.mywot.com/
#
# Commands:
# hubot mywot <url> - Gets MyWot Report for URL
#
# Author:
# Scott J Roberts - @sroberts
mywot_category_mapping = {
101: "Malware ... | 210539 | # Description:
# Get Website Reputation from MyWot (www.mywot.com)
#
# Dependencies:
# None
#
# Configuration:
# MYWOT_API_KEY - Sign up at http://www.mywot.com/
#
# Commands:
# hubot mywot <url> - Gets MyWot Report for URL
#
# Author:
# <NAME> - @sroberts
mywot_category_mapping = {
101: "Malware or viruse... | true | # Description:
# Get Website Reputation from MyWot (www.mywot.com)
#
# Dependencies:
# None
#
# Configuration:
# MYWOT_API_KEY - Sign up at http://www.mywot.com/
#
# Commands:
# hubot mywot <url> - Gets MyWot Report for URL
#
# Author:
# PI:NAME:<NAME>END_PI - @sroberts
mywot_category_mapping = {
101: "Mal... |
[
{
"context": "ss, \"backend\")\n\n auth = {\n username: \"cypress\"\n password: \"password123\"\n }\n\n c",
"end": 16415,
"score": 0.9948058724403381,
"start": 16408,
"tag": "USERNAME",
"value": "cypress"
},
{
"context": " {\n username: \"cypress\"... | packages/driver/test/cypress/integration/commands/navigation_spec.coffee | DevonCypress/cypress | 1 | $ = Cypress.$.bind(Cypress)
_ = Cypress._
Promise = Cypress.Promise
Cookie = require("js-cookie")
describe "src/cy/commands/navigation", ->
context "#reload", ->
before ->
cy
.visit("/fixtures/generic.html")
.then (win) ->
@body = win.document.body.outerHTML
beforeEach ->
... | 3460 | $ = Cypress.$.bind(Cypress)
_ = Cypress._
Promise = Cypress.Promise
Cookie = require("js-cookie")
describe "src/cy/commands/navigation", ->
context "#reload", ->
before ->
cy
.visit("/fixtures/generic.html")
.then (win) ->
@body = win.document.body.outerHTML
beforeEach ->
... | true | $ = Cypress.$.bind(Cypress)
_ = Cypress._
Promise = Cypress.Promise
Cookie = require("js-cookie")
describe "src/cy/commands/navigation", ->
context "#reload", ->
before ->
cy
.visit("/fixtures/generic.html")
.then (win) ->
@body = win.document.body.outerHTML
beforeEach ->
... |
[
{
"context": " dbName: 'from_default_cson'\r\n dbPassword: 'password will be overwritten.'\r\n dbPassword2: 'password will be overwritten.'",
"end": 109,
"score": 0.9966734051704407,
"start": 81,
"tag": "PASSWORD",
"value": "password will be overwritten"
},
{
"context": "pas... | test/config/default.cson | GuillaumeIsabelleX/node-rsc | 0 | {
#comment
Customers: {
dbName: 'from_default_cson'
dbPassword: 'password will be overwritten.'
dbPassword2: 'password will be overwritten.'
lang: [
'en'
'es'
]
},
AnotherModule: {
parm4: "value4"
},
staticArray: [
2
1
3
]
}
| 46580 | {
#comment
Customers: {
dbName: 'from_default_cson'
dbPassword: '<PASSWORD>.'
dbPassword2: '<PASSWORD>.'
lang: [
'en'
'es'
]
},
AnotherModule: {
parm4: "value4"
},
staticArray: [
2
1
3
]
}
| true | {
#comment
Customers: {
dbName: 'from_default_cson'
dbPassword: 'PI:PASSWORD:<PASSWORD>END_PI.'
dbPassword2: 'PI:PASSWORD:<PASSWORD>END_PI.'
lang: [
'en'
'es'
]
},
AnotherModule: {
parm4: "value4"
},
staticArray: [
2
1
3
]
}
|
[
{
"context": "---------------------------------------------\n# @: The Anh\n# d: 150329\n# f: Directive Scroll To Top\n# ------",
"end": 144,
"score": 0.8981788754463196,
"start": 137,
"tag": "NAME",
"value": "The Anh"
},
{
"context": "---------------------------------------------\n# ... | app/assets/javascripts/directives/dir_common.coffee | theanh/96b0e903c0b3889b355a821204fb7dcf | 31 | 'use strict'
angular.module("AppSurvey")
# ----------------------------------------------------------------------------------------
# @: The Anh
# d: 150329
# f: Directive Scroll To Top
# ----------------------------------------------------------------------------------------
.directive 'scroll', [
'$window',
($win... | 30637 | 'use strict'
angular.module("AppSurvey")
# ----------------------------------------------------------------------------------------
# @: <NAME>
# d: 150329
# f: Directive Scroll To Top
# ----------------------------------------------------------------------------------------
.directive 'scroll', [
'$window',
($wind... | true | 'use strict'
angular.module("AppSurvey")
# ----------------------------------------------------------------------------------------
# @: PI:NAME:<NAME>END_PI
# d: 150329
# f: Directive Scroll To Top
# ----------------------------------------------------------------------------------------
.directive 'scroll', [
'$win... |
[
{
"context": ".xmpp.local\n --password testing --host 192.168.99.100 --verbose\n ",
"end": 750,
"score": 0.9976720213890076,
"start": 743,
"tag": "PASSWORD",
"value": "testing"
},
{
"context": " --password testing --ho... | Gruntfile.coffee | TNO-IoT/ekster | 3 | module.exports = (grunt) ->
grunt.initConfig
coffeelint:
all: ['src/**/*.coffee']
options:
configFile: './coffeelint.json'
nodeunit:
all: ['test/**/*.test.coffee']
watch:
coffeescript:
files: ['src/**/*.coffe... | 70014 | module.exports = (grunt) ->
grunt.initConfig
coffeelint:
all: ['src/**/*.coffee']
options:
configFile: './coffeelint.json'
nodeunit:
all: ['test/**/*.test.coffee']
watch:
coffeescript:
files: ['src/**/*.coffe... | true | module.exports = (grunt) ->
grunt.initConfig
coffeelint:
all: ['src/**/*.coffee']
options:
configFile: './coffeelint.json'
nodeunit:
all: ['test/**/*.test.coffee']
watch:
coffeescript:
files: ['src/**/*.coffe... |
[
{
"context": "#\t> File Name: childArticle.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: S",
"end": 49,
"score": 0.9994387626647949,
"start": 47,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "Name: childArticle.coffee\n#\t> Author: LY\n#\t> Mail: ly.... | server/views/src/coffee/childArticle.coffee | Booker-Z/MIAC-website | 0 | # > File Name: childArticle.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Saturday, November 29, 2014 PM03:30:06 CST
$('#comment-submit').click ->
content = $(@).siblings('input').val()
items = window.location.href.split '/'
ObjectId = items[items.length - 1]
$.post '/Message/cr... | 202576 | # > File Name: childArticle.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Saturday, November 29, 2014 PM03:30:06 CST
$('#comment-submit').click ->
content = $(@).siblings('input').val()
items = window.location.href.split '/'
ObjectId = items[items.length - 1]
$.post '/Message/create', { rep... | true | # > File Name: childArticle.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Saturday, November 29, 2014 PM03:30:06 CST
$('#comment-submit').click ->
content = $(@).siblings('input').val()
items = window.location.href.split '/'
ObjectId = items[items.length - 1]
$.post '/Message... |
[
{
"context": "//SERVERNAME:3306/DATABASE\" user=\"USER\" password=\"******\"\\r\\n query=\"SELECT 1\"'\n }\n ",
"end": 946,
"score": 0.9250742197036743,
"start": 946,
"tag": "PASSWORD",
"value": ""
},
{
"context": "//SERVERNAME:3306/DATABASE\" user=\"USER\" pass... | web/app/scripts/services/configService.coffee | ExpediaGroup/parsec | 1 | # Config File
Parsec.Services.factory 'configService', ->
configs =
ui:
maxRows: 1000
parsec:
serviceList: [
{
name: 'SAME-DOMAIN'
url: '/api'
}
{
name: 'Localhost'
... | 28981 | # Config File
Parsec.Services.factory 'configService', ->
configs =
ui:
maxRows: 1000
parsec:
serviceList: [
{
name: 'SAME-DOMAIN'
url: '/api'
}
{
name: 'Localhost'
... | true | # Config File
Parsec.Services.factory 'configService', ->
configs =
ui:
maxRows: 1000
parsec:
serviceList: [
{
name: 'SAME-DOMAIN'
url: '/api'
}
{
name: 'Localhost'
... |
[
{
"context": "ers', ->\n createUser\n slackUsername: 'bob'\n emailAddress: 'bob@example.com'\n .t",
"end": 522,
"score": 0.998867392539978,
"start": 519,
"tag": "USERNAME",
"value": "bob"
},
{
"context": " slackUsername: 'bob'\n emailAddress: 'bob@... | test/services/keenio-info-tests.coffee | citizencode/swarmbot | 21 | { createUser, createProject } = require '../helpers/test-helper'
{ p } = require 'lightsaber'
sinon = require 'sinon'
Keen = require 'keen-js'
KeenioInfo = require '../../src/services/keenio-info.coffee'
describe 'Keenio', ->
beforeEach ->
@keenioClient = {addEvent: sinon.spy()}
@keenioInfo = new KeenioInfo(... | 169389 | { createUser, createProject } = require '../helpers/test-helper'
{ p } = require 'lightsaber'
sinon = require 'sinon'
Keen = require 'keen-js'
KeenioInfo = require '../../src/services/keenio-info.coffee'
describe 'Keenio', ->
beforeEach ->
@keenioClient = {addEvent: sinon.spy()}
@keenioInfo = new KeenioInfo(... | true | { createUser, createProject } = require '../helpers/test-helper'
{ p } = require 'lightsaber'
sinon = require 'sinon'
Keen = require 'keen-js'
KeenioInfo = require '../../src/services/keenio-info.coffee'
describe 'Keenio', ->
beforeEach ->
@keenioClient = {addEvent: sinon.spy()}
@keenioInfo = new KeenioInfo(... |
[
{
"context": "SON.stringify(metadata) isnt '{}'\n return res\n\n\n# Yi-Jeng Chen. (2016). Young Children's Collaboration on the Co",
"end": 8826,
"score": 0.9997773766517639,
"start": 8814,
"tag": "NAME",
"value": "Yi-Jeng Chen"
},
{
"context": "tp://www.jstor.org/stable/jeductechso... | worker/src/find.coffee | oaworks/api | 0 |
P.metadata = (doi) ->
res = await @find doi # may not be a DOI, but most likely thing
return res?.metadata
P.find = (options, metadata={}, content) ->
res = {}
_metadata = (input) =>
ct = await @citation input
for k of ct
if k in ['url', 'paywall']
res[k] ?= ct[k]
else
me... | 29661 |
P.metadata = (doi) ->
res = await @find doi # may not be a DOI, but most likely thing
return res?.metadata
P.find = (options, metadata={}, content) ->
res = {}
_metadata = (input) =>
ct = await @citation input
for k of ct
if k in ['url', 'paywall']
res[k] ?= ct[k]
else
me... | true |
P.metadata = (doi) ->
res = await @find doi # may not be a DOI, but most likely thing
return res?.metadata
P.find = (options, metadata={}, content) ->
res = {}
_metadata = (input) =>
ct = await @citation input
for k of ct
if k in ['url', 'paywall']
res[k] ?= ct[k]
else
me... |
[
{
"context": "tc) elements contain accessible content.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 133,
"score": 0.9998772740364075,
"start": 122,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/heading-has-content.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce heading (h1, h2, etc) elements contain accessible content.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path ... | 47774 | ### eslint-env jest ###
###*
# @fileoverview Enforce heading (h1, h2, etc) elements contain accessible content.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = req... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce heading (h1, h2, etc) elements contain accessible content.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# ---------------------------------------------------------------------------... |
[
{
"context": ".user.username()\n placeholder:\"Username\"\n })\n m('input[type",
"end": 581,
"score": 0.8982571959495544,
"start": 573,
"tag": "USERNAME",
"value": "Username"
},
{
"context": ".user.password()\n place... | app/SuperPhy/static/CoffeeScript/Pages/Auth/Login.coffee | superphy/semantic | 16 | # coffeelint: disable=max_line_length
class LoginForm extends Page
Routes.add('/Login', @)
@controller: (args) ->
@user = new User()
@submit = () ->
User.log_in(@user)
return @
@view: (ctrl) ->
super m('.container'
m('.panel panel-default', m('panel-b... | 29442 | # coffeelint: disable=max_line_length
class LoginForm extends Page
Routes.add('/Login', @)
@controller: (args) ->
@user = new User()
@submit = () ->
User.log_in(@user)
return @
@view: (ctrl) ->
super m('.container'
m('.panel panel-default', m('panel-b... | true | # coffeelint: disable=max_line_length
class LoginForm extends Page
Routes.add('/Login', @)
@controller: (args) ->
@user = new User()
@submit = () ->
User.log_in(@user)
return @
@view: (ctrl) ->
super m('.container'
m('.panel panel-default', m('panel-b... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ",
"end": 18,
"score": 0.8936055302619934,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "hile j--\n client = net.connect(common.PORT, \"127.0.0.1\")\n client.on \"error\", ... | test/simple/test-child-process-fork-net2.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... | 131138 | # 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": "ui\", \"ngSanitize\"]);\nREADME = \"https://github.com/tardyp/guanlecoja-ui/blob/master/Readme.md\"\nm.config ($s",
"end": 174,
"score": 0.9996321797370911,
"start": 168,
"tag": "USERNAME",
"value": "tardyp"
},
{
"context": "n: \"Github\"\n href: \"https://gi... | test/main.coffee | uglycoyote/guanlecoja-ui | 1 | unless __karma__?
window.describe = ->
# define sample application logic
m = angular.module("app", ["guanlecoja.ui", "ngSanitize"]);
README = "https://github.com/tardyp/guanlecoja-ui/blob/master/Readme.md"
m.config ($stateProvider, glMenuServiceProvider, $urlRouterProvider) ->
$urlRouterProvider.otherwise... | 110416 | unless __karma__?
window.describe = ->
# define sample application logic
m = angular.module("app", ["guanlecoja.ui", "ngSanitize"]);
README = "https://github.com/tardyp/guanlecoja-ui/blob/master/Readme.md"
m.config ($stateProvider, glMenuServiceProvider, $urlRouterProvider) ->
$urlRouterProvider.otherwise... | true | unless __karma__?
window.describe = ->
# define sample application logic
m = angular.module("app", ["guanlecoja.ui", "ngSanitize"]);
README = "https://github.com/tardyp/guanlecoja-ui/blob/master/Readme.md"
m.config ($stateProvider, glMenuServiceProvider, $urlRouterProvider) ->
$urlRouterProvider.otherwise... |
[
{
"context": "owSubject()\n @con = new Connection('http://172.246.147.104:5000', @db)\n \n $(\"#importWeb\").clic",
"end": 624,
"score": 0.9997116327285767,
"start": 609,
"tag": "IP_ADDRESS",
"value": "172.246.147.104"
},
{
"context": "lick(=>\n #con =... | www/coffee/view.coffee | vincentdchan/PowerTester | 0 | class myUI
constructor: (@db) ->
@mainPanel = document.getElementById('main-panel')
height = window.innerHeight
@questionField = document.getElementById('question-field')
$("#commitItem").click( =>
itemName = $("#itemName").val()
itemContent = $("#itemContent... | 121744 | class myUI
constructor: (@db) ->
@mainPanel = document.getElementById('main-panel')
height = window.innerHeight
@questionField = document.getElementById('question-field')
$("#commitItem").click( =>
itemName = $("#itemName").val()
itemContent = $("#itemContent... | true | class myUI
constructor: (@db) ->
@mainPanel = document.getElementById('main-panel')
height = window.innerHeight
@questionField = document.getElementById('question-field')
$("#commitItem").click( =>
itemName = $("#itemName").val()
itemContent = $("#itemContent... |
[
{
"context": "structured assignments to the same name.\n# @author Kai Cataldo\n###\n\n'use strict'\n\n#-----------------------------",
"end": 123,
"score": 0.9998711347579956,
"start": 112,
"tag": "NAME",
"value": "Kai Cataldo"
}
] | src/tests/rules/no-useless-rename.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow renaming import, export, and destructured assignments to the same name.
# @author Kai Cataldo
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
r... | 70588 | ###*
# @fileoverview Disallow renaming import, export, and destructured assignments to the same name.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule =... | true | ###*
# @fileoverview Disallow renaming import, export, and destructured assignments to the same name.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------... |
[
{
"context": "# By Frank Leenaars\n# University of Twente - Department of Instructio",
"end": 19,
"score": 0.9998577237129211,
"start": 5,
"tag": "NAME",
"value": "Frank Leenaars"
}
] | activities/Gears.activity/lib/gearsketch/src/gearsketch_util.coffee | sarthakagr104/Sugarizer | 150 | # By Frank Leenaars
# University of Twente - Department of Instructional Technology
# Licensed under the MIT license
"use strict"
window.gearsketch = {}
# ---------------------------
# ---------- Point ----------
# ---------------------------
class Point
constructor: (@x, @y) ->
plus: (p) ->
new Point(@x + p... | 125858 | # By <NAME>
# University of Twente - Department of Instructional Technology
# Licensed under the MIT license
"use strict"
window.gearsketch = {}
# ---------------------------
# ---------- Point ----------
# ---------------------------
class Point
constructor: (@x, @y) ->
plus: (p) ->
new Point(@x + p.x, @y +... | true | # By PI:NAME:<NAME>END_PI
# University of Twente - Department of Instructional Technology
# Licensed under the MIT license
"use strict"
window.gearsketch = {}
# ---------------------------
# ---------- Point ----------
# ---------------------------
class Point
constructor: (@x, @y) ->
plus: (p) ->
new Point(... |
[
{
"context": "\")\nsupertest = require(\"supertest\")(app)\n\nuser = 'gooduser'\npass = 'secretpassword'\napi = \"http://\"+user+\":\"",
"end": 286,
"score": 0.9993728995323181,
"start": 278,
"tag": "USERNAME",
"value": "gooduser"
},
{
"context": "uire(\"supertest\")(app)\n\nuser = '... | test.coffee | Miovision/docker-wkhtmltopdf-aas | 20 | chakram = require 'chakram'
Promise = require 'bluebird'
writeFile = Promise.promisify require('fs').writeFile
textract = Promise.promisify require('textract').fromFileWithPath
expect = chakram.expect
app = require("./app.coffee")
supertest = require("supertest")(app)
user = 'gooduser'
pass = 'secretpassword'
api = "h... | 44177 | chakram = require 'chakram'
Promise = require 'bluebird'
writeFile = Promise.promisify require('fs').writeFile
textract = Promise.promisify require('textract').fromFileWithPath
expect = chakram.expect
app = require("./app.coffee")
supertest = require("supertest")(app)
user = 'gooduser'
pass = '<PASSWORD>'
api = "http:... | true | chakram = require 'chakram'
Promise = require 'bluebird'
writeFile = Promise.promisify require('fs').writeFile
textract = Promise.promisify require('textract').fromFileWithPath
expect = chakram.expect
app = require("./app.coffee")
supertest = require("supertest")(app)
user = 'gooduser'
pass = 'PI:PASSWORD:<PASSWORD>EN... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998838901519775,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Console/Command/ListCommand.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Table = use('cli-table');
Command = use('@Konsserto/Component/Console/Command')
InputA... | 68237 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Table = use('cli-table');
Command = use('@Konsserto/Component/Console/Command')
InputArgument = use('@Kons... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Table = use('cli-table');
Command = use('@Konsserto/Component/Console/Command... |
[
{
"context": "elete store[key]\r\n\treturn\r\n\r\nON_NODE_REMOVED_KEY = \"__onNodeRemoved\"\r\n\r\ndorado.detachNode = (node) ->\r\n\treturn unless",
"end": 2120,
"score": 0.9286035299301147,
"start": 2104,
"tag": "KEY",
"value": "\"__onNodeRemoved"
}
] | test/src/core/dom-util.coffee | AlexTong/grunt-dorado-build | 0 | #IMPORT_BEGIN
if exports?
dorado = require("./util")
module?.exports = dorado
else
dorado = @dorado
#IMPORT_END
_$ = $()
_$.length = 1
this.$fly = (dom) ->
_$[0] = dom
return _$
doms = {}
dorado.util.cacheDom = (ele) ->
if !doms.hiddenDiv
doms.hiddenDiv = $.xCreate(
tagName: "div"
id:... | 108149 | #IMPORT_BEGIN
if exports?
dorado = require("./util")
module?.exports = dorado
else
dorado = @dorado
#IMPORT_END
_$ = $()
_$.length = 1
this.$fly = (dom) ->
_$[0] = dom
return _$
doms = {}
dorado.util.cacheDom = (ele) ->
if !doms.hiddenDiv
doms.hiddenDiv = $.xCreate(
tagName: "div"
id:... | true | #IMPORT_BEGIN
if exports?
dorado = require("./util")
module?.exports = dorado
else
dorado = @dorado
#IMPORT_END
_$ = $()
_$.length = 1
this.$fly = (dom) ->
_$[0] = dom
return _$
doms = {}
dorado.util.cacheDom = (ele) ->
if !doms.hiddenDiv
doms.hiddenDiv = $.xCreate(
tagName: "div"
id:... |
[
{
"context": " : collection+json \n# Designing Hypermedia APIs by Mike Amundsen (2011) \n\n###\nModule dependencies.\n###\n\n# for expr",
"end": 82,
"score": 0.9998531341552734,
"start": 69,
"tag": "NAME",
"value": "Mike Amundsen"
},
{
"context": "\n collection.link rel: \"author\... | test/acceptance/collection/app.coffee | collection-json/collection-json.js | 16 | # 2001-05-25 (mca) : collection+json
# Designing Hypermedia APIs by Mike Amundsen (2011)
###
Module dependencies.
###
# for express
express = require("express")
app = module.exports = express()
db = require "./fixtures/db"
# global data
contentType = "application/json"
module.exports.host = host = "http://localho... | 45476 | # 2001-05-25 (mca) : collection+json
# Designing Hypermedia APIs by <NAME> (2011)
###
Module dependencies.
###
# for express
express = require("express")
app = module.exports = express()
db = require "./fixtures/db"
# global data
contentType = "application/json"
module.exports.host = host = "http://localhost:3000... | true | # 2001-05-25 (mca) : collection+json
# Designing Hypermedia APIs by PI:NAME:<NAME>END_PI (2011)
###
Module dependencies.
###
# for express
express = require("express")
app = module.exports = express()
db = require "./fixtures/db"
# global data
contentType = "application/json"
module.exports.host = host = "http://... |
[
{
"context": "01-01').toDate()\n author:\n name: 'Kana Abe'\n sections: [\n {\n type",
"end": 1332,
"score": 0.9998870491981506,
"start": 1324,
"tag": "NAME",
"value": "Kana Abe"
},
{
"context": "aily_email: true\n author:\n ... | src/api/apps/articles/test/model/index/index.test.coffee | ashleyjelks/positron | 0 | _ = require 'underscore'
sinon = require 'sinon'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
gravity = require('antigravity').server
express = require 'express'
app = require('express')()
Article = require '../../../model/index.js'
search = require '../../../../../lib/elasticsearch'
{ ... | 88748 | _ = require 'underscore'
sinon = require 'sinon'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
gravity = require('antigravity').server
express = require 'express'
app = require('express')()
Article = require '../../../model/index.js'
search = require '../../../../../lib/elasticsearch'
{ ... | true | _ = require 'underscore'
sinon = require 'sinon'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
gravity = require('antigravity').server
express = require 'express'
app = require('express')()
Article = require '../../../model/index.js'
search = require '../../../../../lib/elasticsearch'
{ ... |
[
{
"context": "Premier League Widget for Ubersicht\n#\n# Copyright: Nigel Houghton <wutang@warpten.net>\n#\n# Execute the shell comman",
"end": 67,
"score": 0.9998758435249329,
"start": 53,
"tag": "NAME",
"value": "Nigel Houghton"
},
{
"context": "dget for Ubersicht\n#\n# Copyright: N... | premier-league/index.coffee | EnglishLFC/Ubersicht-Widgets | 0 | # Premier League Widget for Ubersicht
#
# Copyright: Nigel Houghton <wutang@warpten.net>
#
# Execute the shell command.
command: "PremierLeague.widget/premier-league.py"
# Set the refresh frequency (milliseconds).
refreshFrequency: 1000000
# Render the output.
render: (output) -> """
<div class="BigTable">#{output}</... | 19157 | # Premier League Widget for Ubersicht
#
# Copyright: <NAME> <<EMAIL>>
#
# Execute the shell command.
command: "PremierLeague.widget/premier-league.py"
# Set the refresh frequency (milliseconds).
refreshFrequency: 1000000
# Render the output.
render: (output) -> """
<div class="BigTable">#{output}</div>
"""
# CSS Sty... | true | # Premier League Widget for Ubersicht
#
# Copyright: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Execute the shell command.
command: "PremierLeague.widget/premier-league.py"
# Set the refresh frequency (milliseconds).
refreshFrequency: 1000000
# Render the output.
render: (output) -> """
<div class="BigTable">#... |
[
{
"context": " object:\n\n collection.remove({first_name: 'Anna'});\n\n to be removed from the collection.\n\n ",
"end": 2814,
"score": 0.9996405839920044,
"start": 2810,
"tag": "NAME",
"value": "Anna"
}
] | src/collection.coffee | debrice/angularjs-collection | 0 | angular.module('collection', [])
.factory 'Collection', ->
class Collection
constructor: (rows=[], config={}) ->
@__primary_key__ = config.primary_key or 'id'
@__content__ = rows
###*
Empty the collection if no argument provided, otherwise
sets the collection to the past attribute.
#... | 192038 | angular.module('collection', [])
.factory 'Collection', ->
class Collection
constructor: (rows=[], config={}) ->
@__primary_key__ = config.primary_key or 'id'
@__content__ = rows
###*
Empty the collection if no argument provided, otherwise
sets the collection to the past attribute.
#... | true | angular.module('collection', [])
.factory 'Collection', ->
class Collection
constructor: (rows=[], config={}) ->
@__primary_key__ = config.primary_key or 'id'
@__content__ = rows
###*
Empty the collection if no argument provided, otherwise
sets the collection to the past attribute.
#... |
[
{
"context": "JSON.parse(body)\n expect(user.email).toBe('normal@jo.com')\n expect(user.passwordHash).toBeUndefined",
"end": 916,
"score": 0.9998387098312378,
"start": 903,
"tag": "EMAIL",
"value": "normal@jo.com"
},
{
"context": "108d4cb8b610000000004')\n form.appen... | test/server/handlers/user.spec.coffee | flauta/codecombat | 0 | require '../common'
request = require 'request'
urlUser = '/db/user'
describe 'POST /db/user', ->
it 'preparing test : clears the db first', (done) ->
clearModels [User], (err) ->
throw err if err
done()
it 'converts the password into a hash', (done) ->
unittest.getNormalJoe (user) ->
... | 72306 | require '../common'
request = require 'request'
urlUser = '/db/user'
describe 'POST /db/user', ->
it 'preparing test : clears the db first', (done) ->
clearModels [User], (err) ->
throw err if err
done()
it 'converts the password into a hash', (done) ->
unittest.getNormalJoe (user) ->
... | true | require '../common'
request = require 'request'
urlUser = '/db/user'
describe 'POST /db/user', ->
it 'preparing test : clears the db first', (done) ->
clearModels [User], (err) ->
throw err if err
done()
it 'converts the password into a hash', (done) ->
unittest.getNormalJoe (user) ->
... |
[
{
"context": "epo = class Repo extends Entity\n\n constructor: (@name, @author, @type, @public = true, @commit, @forked",
"end": 619,
"score": 0.7004473209381104,
"start": 615,
"tag": "USERNAME",
"value": "name"
},
{
"context": "lass Repo extends Entity\n\n constructor: (@name, @au... | lib/objects/repo.coffee | circuithub/massive-git | 6 | Entity = require("riak-entity").Entity
# Repo
# ---------
# Class representing repository.
# `id` - unique repository id. Id calculated from `owner`, `type` and `name` of the repository.
# `author` - repository's author.
# `type` - type of the repository. Meta information.
# `public` - flag that indicated whether repo... | 225310 | Entity = require("riak-entity").Entity
# Repo
# ---------
# Class representing repository.
# `id` - unique repository id. Id calculated from `owner`, `type` and `name` of the repository.
# `author` - repository's author.
# `type` - type of the repository. Meta information.
# `public` - flag that indicated whether repo... | true | Entity = require("riak-entity").Entity
# Repo
# ---------
# Class representing repository.
# `id` - unique repository id. Id calculated from `owner`, `type` and `name` of the repository.
# `author` - repository's author.
# `type` - type of the repository. Meta information.
# `public` - flag that indicated whether repo... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9867693185806274,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/defineMetricDialog.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to define (i.e. create) a new metric
Imm = require 'immutable'
Persist = require './persist'
Term = require ... | 49468 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to define (i.e. create) a new metric
Imm = require 'immutable'
Persist = require './persist'
Term = require ... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to define (i.e. create) a new metric
Imm = require 'immutable'
Persist = require './persist'
T... |
[
{
"context": "exports.Context = Context =\nclass Context\n key = '_context'\n # Retreives the `Context` instance, if any, a",
"end": 694,
"score": 0.9875154495239258,
"start": 685,
"tag": "KEY",
"value": "'_context"
}
] | code/Paws/Source/parser.coffee | mitchellurgero/illacceptanything | 1 | Paws = require './data.coffee'
exports._parser = PARSER =
try
require '../Library/cPaws-parser.js'
catch e
Paws.warning "!! Compiled parser not found! Dynamically building one from the grammar now ..."
Paws.warning " (This should have happened on `npm install`. Run that, if you haven't yet.)"
PEG = requi... | 127368 | Paws = require './data.coffee'
exports._parser = PARSER =
try
require '../Library/cPaws-parser.js'
catch e
Paws.warning "!! Compiled parser not found! Dynamically building one from the grammar now ..."
Paws.warning " (This should have happened on `npm install`. Run that, if you haven't yet.)"
PEG = requi... | true | Paws = require './data.coffee'
exports._parser = PARSER =
try
require '../Library/cPaws-parser.js'
catch e
Paws.warning "!! Compiled parser not found! Dynamically building one from the grammar now ..."
Paws.warning " (This should have happened on `npm install`. Run that, if you haven't yet.)"
PEG = requi... |
[
{
"context": " expectedResult =\n bearerToken: 'bearer-token'\n domain: 'your-domain'\n hostna",
"end": 1986,
"score": 0.42098477482795715,
"start": 1981,
"tag": "PASSWORD",
"value": "token"
},
{
"context": "oreEach ->\n data =\n bearerToke... | test/meshblu-config-spec.coffee | octoblu/meshblu-config | 0 | {describe,beforeEach,it,expect} = global
path = require 'path'
MeshbluConfig = require '..'
describe 'MeshbluConfig', ->
describe 'passing in a uuid/token the old way', ->
it 'should throw an exception', ->
construction = => new MeshbluConfig uuid: 'an-uuid', token: 'a-token'
expect(construc... | 29904 | {describe,beforeEach,it,expect} = global
path = require 'path'
MeshbluConfig = require '..'
describe 'MeshbluConfig', ->
describe 'passing in a uuid/token the old way', ->
it 'should throw an exception', ->
construction = => new MeshbluConfig uuid: 'an-uuid', token: 'a-token'
expect(construc... | true | {describe,beforeEach,it,expect} = global
path = require 'path'
MeshbluConfig = require '..'
describe 'MeshbluConfig', ->
describe 'passing in a uuid/token the old way', ->
it 'should throw an exception', ->
construction = => new MeshbluConfig uuid: 'an-uuid', token: 'a-token'
expect(construc... |
[
{
"context": "lapsedTimes2 = []\n @config = \n hostname: '192.168.105.222'\n port: 5222\n uuid: 'cea58c41-aaa0-46d8",
"end": 1348,
"score": 0.9996339678764343,
"start": 1333,
"tag": "IP_ADDRESS",
"value": "192.168.105.222"
},
{
"context": "a58c41-aaa0-46d8-ac9e-2ebc... | command-xmpp-send.coffee | ducxop/meshblu-benchmark | 0 | _ = require 'lodash'
commander = require 'commander'
async = require 'async'
colors = require 'colors'
MeshbluConfig = require 'meshblu-config'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
MeshbluXmpp = require 'meshblu-xmpp'
class CommandXmppSend
pa... | 176244 | _ = require 'lodash'
commander = require 'commander'
async = require 'async'
colors = require 'colors'
MeshbluConfig = require 'meshblu-config'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
MeshbluXmpp = require 'meshblu-xmpp'
class CommandXmppSend
pa... | true | _ = require 'lodash'
commander = require 'commander'
async = require 'async'
colors = require 'colors'
MeshbluConfig = require 'meshblu-config'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
MeshbluXmpp = require 'meshblu-xmpp'
class CommandXmppSend
pa... |
[
{
"context": "\t\t\t\tdescription: 'site description'\n\t\t\t\t\tauthor: 'eric.vantillard@evaxion.fr'\n\t\t\t\t\tdate: new Date('Mon, 27 Jan 2014 13:01:00 G",
"end": 437,
"score": 0.9998538494110107,
"start": 411,
"tag": "EMAIL",
"value": "eric.vantillard@evaxion.fr"
}
] | src/rss.tester.coffee | VovanR/docpad-plugin-rss | 6 | # Export Plugin Tester
module.exports = (testers) ->
# Define Plugin Tester
class RssTester extends testers.RendererTester
# Configuration
config:
removeWhitespace: true
contentRemoveRegex: /\<(lastBuild|pub)Date\>.*\<\/(lastBuild|pub)Date\>/g
docpadConfig:
templateData:
site:
url: 'http://my... | 72375 | # Export Plugin Tester
module.exports = (testers) ->
# Define Plugin Tester
class RssTester extends testers.RendererTester
# Configuration
config:
removeWhitespace: true
contentRemoveRegex: /\<(lastBuild|pub)Date\>.*\<\/(lastBuild|pub)Date\>/g
docpadConfig:
templateData:
site:
url: 'http://my... | true | # Export Plugin Tester
module.exports = (testers) ->
# Define Plugin Tester
class RssTester extends testers.RendererTester
# Configuration
config:
removeWhitespace: true
contentRemoveRegex: /\<(lastBuild|pub)Date\>.*\<\/(lastBuild|pub)Date\>/g
docpadConfig:
templateData:
site:
url: 'http://my... |
[
{
"context": " PXL\n Benjamin Blundell - ben@section9.co.uk\n ",
"end": 447,
"score": 0.9998821020126343,
"start": 430,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " ... | examples/raymarch.coffee | OniDaito/pxljs | 1 | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... | 200209 | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... | true | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9972140192985535,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "on: close\"\n args.push url.format(\n hostname: \"127.0.0.1\"\n port: common.PORT\n ... | test/pummel/test-keep-alive.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... | 224319 | # 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": "onclick='return Page.message_create.show(\\\"$1\\\")'>$1@zeroid.bit</a>\")\n\n\t# Convert zeronet html links to relaitve\n",
"end": 1310,
"score": 0.9985841512680054,
"start": 1297,
"tag": "EMAIL",
"value": "$1@zeroid.bit"
},
{
"context": "site links\n\t\ttext = text.re... | coffee/text.coffee | TwinLizzie/NGnoid3D | 1 | class Text
toColor: (text, saturation=30, lightness=50) ->
hash = 0
for i in [0..text.length-1]
hash += text.charCodeAt(i)*i
hash = hash % 1777
return "hsl(" + (hash % 360) + ",#{saturation}%,#{lightness}%)";
renderMarked: (text, options={}) =>
if not text
return ""
options["gfm"] = true
option... | 54435 | class Text
toColor: (text, saturation=30, lightness=50) ->
hash = 0
for i in [0..text.length-1]
hash += text.charCodeAt(i)*i
hash = hash % 1777
return "hsl(" + (hash % 360) + ",#{saturation}%,#{lightness}%)";
renderMarked: (text, options={}) =>
if not text
return ""
options["gfm"] = true
option... | true | class Text
toColor: (text, saturation=30, lightness=50) ->
hash = 0
for i in [0..text.length-1]
hash += text.charCodeAt(i)*i
hash = hash % 1777
return "hsl(" + (hash % 360) + ",#{saturation}%,#{lightness}%)";
renderMarked: (text, options={}) =>
if not text
return ""
options["gfm"] = true
option... |
[
{
"context": "s that are\n# accessed through\n# Credit goes out to Alex MacCaw and his Spine framework for very\n# obvious inspir",
"end": 122,
"score": 0.9998496770858765,
"start": 111,
"tag": "NAME",
"value": "Alex MacCaw"
}
] | src/collection.coffee | ShaunSpringer/Wraith | 2 | #
# The Collection object is a collection of {Wraith.Model}'s that are
# accessed through
# Credit goes out to Alex MacCaw and his Spine framework for very
# obvious inspiration.
#
class Wraith.Collection extends Wraith.Base
#
# Sets up the parent, namespace (@as) and {Wraith.Model} class.
#
# @param [Wraith.Mo... | 115444 | #
# The Collection object is a collection of {Wraith.Model}'s that are
# accessed through
# Credit goes out to <NAME> and his Spine framework for very
# obvious inspiration.
#
class Wraith.Collection extends Wraith.Base
#
# Sets up the parent, namespace (@as) and {Wraith.Model} class.
#
# @param [Wraith.Model] ... | true | #
# The Collection object is a collection of {Wraith.Model}'s that are
# accessed through
# Credit goes out to PI:NAME:<NAME>END_PI and his Spine framework for very
# obvious inspiration.
#
class Wraith.Collection extends Wraith.Base
#
# Sets up the parent, namespace (@as) and {Wraith.Model} class.
#
# @param [... |
[
{
"context": "\n\n files: files =\n cf_base:\n key: \"cf_base.template\"\n path: \"#{resources}/cf_base.json\"\n ",
"end": 298,
"score": 0.9781250953674316,
"start": 282,
"tag": "KEY",
"value": "cf_base.template"
},
{
"context": "ces}/cf_base.json\"\n ... | support/deploy.coffee | flexion/flexion-ads-18f-save-my-picnic | 0 | ECSDeploy = require './lib/ecs_deploy'
path = require 'path'
config =
resources: resources = path.join "#{path.resolve __dirname}", 'resources'
region: 'us-east-1'
S3:
bucket:
name: 'flexion-18f-deployment-assets'
files: files =
cf_base:
key: "cf_base.template"
path: "#{res... | 197787 | ECSDeploy = require './lib/ecs_deploy'
path = require 'path'
config =
resources: resources = path.join "#{path.resolve __dirname}", 'resources'
region: 'us-east-1'
S3:
bucket:
name: 'flexion-18f-deployment-assets'
files: files =
cf_base:
key: "<KEY>"
path: "#{resources}/cf_... | true | ECSDeploy = require './lib/ecs_deploy'
path = require 'path'
config =
resources: resources = path.join "#{path.resolve __dirname}", 'resources'
region: 'us-east-1'
S3:
bucket:
name: 'flexion-18f-deployment-assets'
files: files =
cf_base:
key: "PI:KEY:<KEY>END_PI"
path: "#{r... |
[
{
"context": "yright (c) 2011\n# Publication date: 06/17/2011\n# Pierre Corsini (pcorsini@polytech.unice.fr)\n# Nicolas Dupont (",
"end": 70,
"score": 0.9998764395713806,
"start": 56,
"tag": "NAME",
"value": "Pierre Corsini"
},
{
"context": " Publication date: 06/17/2011\n# Pie... | src/MethodsHelper.coffee | Ndpnt/CoffeeTouch.js | 1 | # Copyright (c) 2011
# Publication date: 06/17/2011
# Pierre Corsini (pcorsini@polytech.unice.fr)
# Nicolas Dupont (npg.dupont@gmail.com)
# Nicolas Fernandez (fernande@polytech.unice.fr)
# Nima Izadi (nim.izadi@gmail.com)
# And supervised by Raphaël Bellec (r.bellec@structure-computation.com)
CoffeeTouch ... | 185431 | # Copyright (c) 2011
# Publication date: 06/17/2011
# <NAME> (<EMAIL>)
# <NAME> (<EMAIL>)
# <NAME> (<EMAIL>)
# <NAME> (<EMAIL>)
# And supervised by <NAME> (<EMAIL>)
CoffeeTouch = CoffeeTouch || {}
CoffeeTouch.Helper = CoffeeTouch.Helper || {}
CoffeeTouch.Options =
preventDefault : false
flickS... | true | # Copyright (c) 2011
# Publication date: 06/17/2011
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# And supervised by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
... |
[
{
"context": "if process.env.DEBUG?\n global.SERVER_HOSTNAME = '127.0.0.1:17027'\nelse\n global.SERVER_HOSTNAME = 'poi.0u0.m",
"end": 473,
"score": 0.9995138645172119,
"start": 464,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "450\napp.commandLine.appendSwitch 'proxy-... | app.coffee | dazzyd/poi | 0 | app = require 'app'
BrowserWindow = require 'browser-window'
path = require 'path-extra'
fs = require 'fs-extra'
# Environment
global.POI_VERSION = app.getVersion()
global.ROOT = __dirname
global.EXECROOT = path.join(process.execPath, '..')
global.APPDATA_PATH = path.join(app.getPath('appData'), 'poi')
if process.plat... | 182732 | app = require 'app'
BrowserWindow = require 'browser-window'
path = require 'path-extra'
fs = require 'fs-extra'
# Environment
global.POI_VERSION = app.getVersion()
global.ROOT = __dirname
global.EXECROOT = path.join(process.execPath, '..')
global.APPDATA_PATH = path.join(app.getPath('appData'), 'poi')
if process.plat... | true | app = require 'app'
BrowserWindow = require 'browser-window'
path = require 'path-extra'
fs = require 'fs-extra'
# Environment
global.POI_VERSION = app.getVersion()
global.ROOT = __dirname
global.EXECROOT = path.join(process.execPath, '..')
global.APPDATA_PATH = path.join(app.getPath('appData'), 'poi')
if process.plat... |
[
{
"context": "ample.com'\n process.env.PHABRICATOR_API_KEY = 'xxx'\n process.env.PHABRICATOR_BOT_PHID = 'PHID-USE",
"end": 534,
"score": 0.8952069878578186,
"start": 531,
"tag": "KEY",
"value": "xxx"
}
] | test/phabs_api_test.coffee | f0ff886f/hubot-phabs | 22 | Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_api.coffee')
Phabricator = require '../lib/phabricator'
http = require('http')
nock = require('nock')
sinon = require('sinon')
expect = require('chai').use(require('sino... | 184873 | Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_api.coffee')
Phabricator = require '../lib/phabricator'
http = require('http')
nock = require('nock')
sinon = require('sinon')
expect = require('chai').use(require('sino... | true | Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_api.coffee')
Phabricator = require '../lib/phabricator'
http = require('http')
nock = require('nock')
sinon = require('sinon')
expect = require('chai').use(require('sino... |
[
{
"context": "ite_collection_driver_config =\n google_api_key: 'AIzaSyCsBB8U6qfzFKFXWWpm8AN3iooxey_7lKU'\n cts_endpoint: '1_DFxPLkDrZt2JTgFo04nI6zQ9Asnnq",
"end": 254,
"score": 0.9997291564941406,
"start": 215,
"tag": "KEY",
"value": "AIzaSyCsBB8U6qfzFKFXWWpm8AN3iooxey_7lKU"
}
] | src/js/cts-cite-driver.coffee | dcthree/harpokration | 2 | ---
---
FUSION_TABLES_URI = 'https://www.googleapis.com/fusiontables/v2'
cts_cite_collection_driver_config = {}
valid_urns = []
cite_collection = {}
default_cts_cite_collection_driver_config =
google_api_key: 'AIzaSyCsBB8U6qfzFKFXWWpm8AN3iooxey_7lKU'
cts_endpoint: '1_DFxPLkDrZt2JTgFo04nI6zQ9AsnnqMNRlUBb2Sq'
ct... | 99926 | ---
---
FUSION_TABLES_URI = 'https://www.googleapis.com/fusiontables/v2'
cts_cite_collection_driver_config = {}
valid_urns = []
cite_collection = {}
default_cts_cite_collection_driver_config =
google_api_key: '<KEY>'
cts_endpoint: '1_DFxPLkDrZt2JTgFo04nI6zQ9AsnnqMNRlUBb2Sq'
cts_urn: 'urn:cts:greekLit:tlg1389.t... | true | ---
---
FUSION_TABLES_URI = 'https://www.googleapis.com/fusiontables/v2'
cts_cite_collection_driver_config = {}
valid_urns = []
cite_collection = {}
default_cts_cite_collection_driver_config =
google_api_key: 'PI:KEY:<KEY>END_PI'
cts_endpoint: '1_DFxPLkDrZt2JTgFo04nI6zQ9AsnnqMNRlUBb2Sq'
cts_urn: 'urn:cts:greek... |
[
{
"context": "if guesses < 1e3 + DELTA\n # risky password: \"too guessable\"\n 0\n else if guesses < 1e6 + DELTA\n ",
"end": 815,
"score": 0.9991071820259094,
"start": 802,
"tag": "PASSWORD",
"value": "too guessable"
}
] | src/time_estimates.coffee | scoueille/zxcvbn | 0 | time_estimates_i18n = require('./time_estimates_i18n')
time_estimates =
estimate_attack_times: (guesses, complexity, language = "en") ->
crack_times_seconds =
online_throttling_100_per_hour: guesses / (100 / 3600)
online_no_throttling_10_per_second: guesses / 10
offline_slow_hashing_1e4_per_sec... | 107842 | time_estimates_i18n = require('./time_estimates_i18n')
time_estimates =
estimate_attack_times: (guesses, complexity, language = "en") ->
crack_times_seconds =
online_throttling_100_per_hour: guesses / (100 / 3600)
online_no_throttling_10_per_second: guesses / 10
offline_slow_hashing_1e4_per_sec... | true | time_estimates_i18n = require('./time_estimates_i18n')
time_estimates =
estimate_attack_times: (guesses, complexity, language = "en") ->
crack_times_seconds =
online_throttling_100_per_hour: guesses / (100 / 3600)
online_no_throttling_10_per_second: guesses / 10
offline_slow_hashing_1e4_per_sec... |
[
{
"context": "{\n vm01: {\n name: 'vm01'\n ip: '192.168.22.10'\n user: 'root'\n ssh_key: 'overcast.",
"end": 236,
"score": 0.9997098445892334,
"start": 223,
"tag": "IP_ADDRESS",
"value": "192.168.22.10"
},
{
"context": "'vm01'\n ip: '192.168.22... | test/unit/virtualbox.spec.coffee | skmezanul/overcast | 238 | cli = require('../../modules/cli')
utils = require('../../modules/utils')
api = require('../../modules/providers/virtualbox')
MOCK_CLUSTERS = {
default: {
instances: {
vm01: {
name: 'vm01'
ip: '192.168.22.10'
user: 'root'
ssh_key: 'overcast.key'
ssh_port: '22'
... | 39425 | cli = require('../../modules/cli')
utils = require('../../modules/utils')
api = require('../../modules/providers/virtualbox')
MOCK_CLUSTERS = {
default: {
instances: {
vm01: {
name: 'vm01'
ip: '192.168.22.10'
user: 'root'
ssh_key: 'overcast.key'
ssh_port: '22'
... | true | cli = require('../../modules/cli')
utils = require('../../modules/utils')
api = require('../../modules/providers/virtualbox')
MOCK_CLUSTERS = {
default: {
instances: {
vm01: {
name: 'vm01'
ip: '192.168.22.10'
user: 'root'
ssh_key: 'overcast.key'
ssh_port: '22'
... |
[
{
"context": "all true\nconsole.log (isFinite(s) for s in [NaN, \"fred\", \"###\"]) # all false\n",
"end": 121,
"score": 0.836993932723999,
"start": 117,
"tag": "NAME",
"value": "fred"
}
] | Task/Determine-if-a-string-is-numeric/CoffeeScript/determine-if-a-string-is-numeric.coffee | LaudateCorpus1/RosettaCodeData | 1 | console.log (isFinite(s) for s in [5, "5", "-5", "5", "5e5", 0]) # all true
console.log (isFinite(s) for s in [NaN, "fred", "###"]) # all false
| 3874 | console.log (isFinite(s) for s in [5, "5", "-5", "5", "5e5", 0]) # all true
console.log (isFinite(s) for s in [NaN, "<NAME>", "###"]) # all false
| true | console.log (isFinite(s) for s in [5, "5", "-5", "5", "5e5", 0]) # all true
console.log (isFinite(s) for s in [NaN, "PI:NAME:<NAME>END_PI", "###"]) # all false
|
[
{
"context": "ocess.env.MAIL_URL\n\t\t\t\t\t\t\tEmail.send\n\t\t\t\t\t\t\t\tto: 'support@steedos.com'\n\t\t\t\t\t\t\t\tfrom: 'Steedos <noreply@message.steedos.",
"end": 759,
"score": 0.9999197721481323,
"start": 740,
"tag": "EMAIL",
"value": "support@steedos.com"
},
{
"context": "to:... | packages/steedos-weixin/server/schedule/refresh_access_token.coffee | zonglu233/fuel-car | 42 | Meteor.startup ->
if Meteor.settings.cron and Meteor.settings.cron.weixin_access_token
schedule = Npm.require('node-schedule')
# 定时执行同步
rule = Meteor.settings.cron.weixin_access_token
schedule.scheduleJob rule, Meteor.bindEnvironment((->
oneHourAgo = new Date(new Date().getTime() - 3600*1000)
apps = Cr... | 6078 | Meteor.startup ->
if Meteor.settings.cron and Meteor.settings.cron.weixin_access_token
schedule = Npm.require('node-schedule')
# 定时执行同步
rule = Meteor.settings.cron.weixin_access_token
schedule.scheduleJob rule, Meteor.bindEnvironment((->
oneHourAgo = new Date(new Date().getTime() - 3600*1000)
apps = Cr... | true | Meteor.startup ->
if Meteor.settings.cron and Meteor.settings.cron.weixin_access_token
schedule = Npm.require('node-schedule')
# 定时执行同步
rule = Meteor.settings.cron.weixin_access_token
schedule.scheduleJob rule, Meteor.bindEnvironment((->
oneHourAgo = new Date(new Date().getTime() - 3600*1000)
apps = Cr... |
[
{
"context": "undation\",\n count: 6\n },\n {\n id: \"malba\",\n name: \"MALBA\",\n count: 1\n },\n ",
"end": 150,
"score": 0.47780096530914307,
"start": 147,
"tag": "NAME",
"value": "mal"
},
{
"context": "t: 6\n },\n {\n id: \"malba\",\n ... | components/artwork_filter_2/test/fixtures/mapped_aggregations.coffee | l2succes/force | 0 | module.exports =
all:
institution: [{
id: "depart-foundation",
name: "Depart Foundation",
count: 6
},
{
id: "malba",
name: "MALBA",
count: 1
},
{
id: "rhizome-artbase",
name: "Rhizome ArtBase",
count: 1
}]
period:[{
id: "2010",
... | 63514 | module.exports =
all:
institution: [{
id: "depart-foundation",
name: "Depart Foundation",
count: 6
},
{
id: "<NAME>ba",
name: "<NAME>",
count: 1
},
{
id: "rhizome-artbase",
name: "<NAME>",
count: 1
}]
period:[{
id: "2010",
n... | true | module.exports =
all:
institution: [{
id: "depart-foundation",
name: "Depart Foundation",
count: 6
},
{
id: "PI:NAME:<NAME>END_PIba",
name: "PI:NAME:<NAME>END_PI",
count: 1
},
{
id: "rhizome-artbase",
name: "PI:NAME:<NAME>END_PI",
count: 1
... |
[
{
"context": "nPath}?utm_medium=specs&utm_source=jasmine&wemail=my@email.com\"\n window.history.replaceState({}, '', dirtyP",
"end": 388,
"score": 0.9997342824935913,
"start": 376,
"tag": "EMAIL",
"value": "my@email.com"
},
{
"context": " and wkey params', ->\n expectClean(... | spec/javascripts/fresh_url_spec.coffee | wistia/fresh-url | 182 | describe 'FreshUrl', ->
it 'is defined', ->
expect(typeof FreshUrl isnt 'undefined').to.be.true
describe 'the whole enchilada', ->
beforeEach ->
@_originalUrl = window.location.href
@cleanUrl = @_originalUrl.replace(/\?.*$/, '')
@cleanPath = window.location.pathname
dirtyPath = "#... | 157555 | describe 'FreshUrl', ->
it 'is defined', ->
expect(typeof FreshUrl isnt 'undefined').to.be.true
describe 'the whole enchilada', ->
beforeEach ->
@_originalUrl = window.location.href
@cleanUrl = @_originalUrl.replace(/\?.*$/, '')
@cleanPath = window.location.pathname
dirtyPath = "#... | true | describe 'FreshUrl', ->
it 'is defined', ->
expect(typeof FreshUrl isnt 'undefined').to.be.true
describe 'the whole enchilada', ->
beforeEach ->
@_originalUrl = window.location.href
@cleanUrl = @_originalUrl.replace(/\?.*$/, '')
@cleanPath = window.location.pathname
dirtyPath = "#... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998906254768372,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/tag.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
###
Tags model
###
module.exports = (sequelize, DataTypes) ->
# define the model
sequelize.define 'Tag',
name:
allowNull: false
type: DataTypes.STRING
... | 89345 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
###
Tags model
###
module.exports = (sequelize, DataTypes) ->
# define the model
sequelize.define 'Tag',
name:
allowNull: false
type: DataTypes.STRING
validate:
isAl... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
###
Tags model
###
module.exports = (sequelize, DataTypes) ->
# define the model
sequelize.define 'Tag',
name:
allowNull: false
type: DataTypes.... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998709559440613,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
},
{
"context": "ts_and_tooltips: () ->\n scaled_points = @scaled_points\n raw_points ... | src/coffeescript/charts/line.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 210796 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "grasse tyson is excited\n# hubot it's happening - ron paul is excited\n# hubot taco town\n# hubot torture ",
"end": 353,
"score": 0.8158860802650452,
"start": 345,
"tag": "NAME",
"value": "ron paul"
},
{
"context": "ps://docs.google.com/spreadsheets/d/1M-qV4-FBUfQ... | scripts/memes.coffee | adewinter/hubot-ralph | 4 | # Description:
# Displays images in response to certain regular expressions
# Commands:
# aribot - for when you want approval
# babers way - the most delicious way
# hubot enhance - for when you want to enhance
# hop on - you're gonna get some hop ons
# hubot i don't even - neil degrasse tyson is excited
# ... | 158089 | # Description:
# Displays images in response to certain regular expressions
# Commands:
# aribot - for when you want approval
# babers way - the most delicious way
# hubot enhance - for when you want to enhance
# hop on - you're gonna get some hop ons
# hubot i don't even - neil degrasse tyson is excited
# ... | true | # Description:
# Displays images in response to certain regular expressions
# Commands:
# aribot - for when you want approval
# babers way - the most delicious way
# hubot enhance - for when you want to enhance
# hop on - you're gonna get some hop ons
# hubot i don't even - neil degrasse tyson is excited
# ... |
[
{
"context": "\n 'https://maps.googleapis.com/maps/api/js?key=AIzaSyDhL8nwKWYtU4LdyiiMUp5zJ_8kRFRoAQA&v=3.25&callback=FOURTEEN.onGoogleMapsLoaded'\n ]\n",
"end": 642,
"score": 0.9996896386146545,
"start": 603,
"tag": "KEY",
"value": "AIzaSyDhL8nwKWYtU4LdyiiMUp5zJ_8kRFRoAQA"
}
] | app/_src/components/office-street-view.coffee | 14islands/14islands-com | 13 | ###
Map Component
This component will render a google map street view in it's context.
@method
init()
- Initializes the header component
@method
render()
- Called when component is visible - if hidden while instanciating
###
class FOURTEEN.OfficeStreetView extends FOURTEEN.BaseComponent
DATA_FALL... | 105916 | ###
Map Component
This component will render a google map street view in it's context.
@method
init()
- Initializes the header component
@method
render()
- Called when component is visible - if hidden while instanciating
###
class FOURTEEN.OfficeStreetView extends FOURTEEN.BaseComponent
DATA_FALL... | true | ###
Map Component
This component will render a google map street view in it's context.
@method
init()
- Initializes the header component
@method
render()
- Called when component is visible - if hidden while instanciating
###
class FOURTEEN.OfficeStreetView extends FOURTEEN.BaseComponent
DATA_FALL... |
[
{
"context": "\n $httpBackend.whenGET(\"#{apiEndpoint}/users/JumpeiArashi\")\n .respond(\n 200,\n {\n ",
"end": 204,
"score": 0.9995260834693909,
"start": 192,
"tag": "USERNAME",
"value": "JumpeiArashi"
},
{
"context": "\n 200,\n {\n ... | test/mock/api.github.com/users.coffee | JumpeiArashi/blog.arashike.com | 0 | 'use strict'
angular.module 'arashike-blog'
.run [
'$httpBackend'
'apiEndpoint'
(
$httpBackend
apiEndpoint
) ->
$httpBackend.whenGET("#{apiEndpoint}/users/JumpeiArashi")
.respond(
200,
{
"login": "JumpeiArashi",
"id": 1898689,
... | 166602 | 'use strict'
angular.module 'arashike-blog'
.run [
'$httpBackend'
'apiEndpoint'
(
$httpBackend
apiEndpoint
) ->
$httpBackend.whenGET("#{apiEndpoint}/users/JumpeiArashi")
.respond(
200,
{
"login": "JumpeiArashi",
"id": 1898689,
... | true | 'use strict'
angular.module 'arashike-blog'
.run [
'$httpBackend'
'apiEndpoint'
(
$httpBackend
apiEndpoint
) ->
$httpBackend.whenGET("#{apiEndpoint}/users/JumpeiArashi")
.respond(
200,
{
"login": "JumpeiArashi",
"id": 1898689,
... |
[
{
"context": " @sign_up_form = {email_address: null, password: null, is_loading: false}\n\n sign_up: =>\n @sign_up_f",
"end": 240,
"score": 0.5433045625686646,
"start": 236,
"tag": "PASSWORD",
"value": "null"
}
] | users/SignUpController.coffee | morphic-team/website | 0 | morphs = window.angular.module 'morphs'
morphs.controller 'SignUpController', class SignUpController
constructor: (@$scope, @$state, @UserService, @notify) ->
@$scope.ctrl = @
@sign_up_form = {email_address: null, password: null, is_loading: false}
sign_up: =>
@sign_up_form.is_loading = true
cons... | 104449 | morphs = window.angular.module 'morphs'
morphs.controller 'SignUpController', class SignUpController
constructor: (@$scope, @$state, @UserService, @notify) ->
@$scope.ctrl = @
@sign_up_form = {email_address: null, password: <PASSWORD>, is_loading: false}
sign_up: =>
@sign_up_form.is_loading = true
... | true | morphs = window.angular.module 'morphs'
morphs.controller 'SignUpController', class SignUpController
constructor: (@$scope, @$state, @UserService, @notify) ->
@$scope.ctrl = @
@sign_up_form = {email_address: null, password: PI:PASSWORD:<PASSWORD>END_PI, is_loading: false}
sign_up: =>
@sign_up_form.is... |
[
{
"context": ".render('%div.foo= \"Whats up \" + name', { name: 'mang' })\n .done((res) => should.match_expected(@h",
"end": 533,
"score": 0.6622890830039978,
"start": 530,
"tag": "NAME",
"value": "ang"
}
] | test/haml.coffee | slang800/accord | 0 | should = require 'should'
path = require 'path'
accord = require '../'
File = require 'fobject'
describe 'haml', ->
before ->
@haml = accord.load('haml')
@path = path.join(__dirname, 'fixtures', 'haml')
it 'should expose name, extensions, output, and engine', ->
@haml.extensions.should.be.an.instanceO... | 49478 | should = require 'should'
path = require 'path'
accord = require '../'
File = require 'fobject'
describe 'haml', ->
before ->
@haml = accord.load('haml')
@path = path.join(__dirname, 'fixtures', 'haml')
it 'should expose name, extensions, output, and engine', ->
@haml.extensions.should.be.an.instanceO... | true | should = require 'should'
path = require 'path'
accord = require '../'
File = require 'fobject'
describe 'haml', ->
before ->
@haml = accord.load('haml')
@path = path.join(__dirname, 'fixtures', 'haml')
it 'should expose name, extensions, output, and engine', ->
@haml.extensions.should.be.an.instanceO... |
[
{
"context": "convenio: 987987\n# empresa_nome: 'Obladi Oblada '\n# nome_banco: '",
"end": 6237,
"score": 0.9997592568397522,
"start": 6224,
"tag": "NAME",
"value": "Obladi Oblada"
}
] | coffee/cnab/test/Remessa.coffee | s2way/cnab240-nodejs | 10 | # Remessa = require '../src/Remessa'
# expect = require 'expect.js'
#
# describe 'Remessa.js', ->
#
# rules = null
#
# beforeEach ->
# rules =
# Bank:
# ArquivoHeader: [
# {
# field: 'banco'
# startPos: 1
# ... | 72009 | # Remessa = require '../src/Remessa'
# expect = require 'expect.js'
#
# describe 'Remessa.js', ->
#
# rules = null
#
# beforeEach ->
# rules =
# Bank:
# ArquivoHeader: [
# {
# field: 'banco'
# startPos: 1
# ... | true | # Remessa = require '../src/Remessa'
# expect = require 'expect.js'
#
# describe 'Remessa.js', ->
#
# rules = null
#
# beforeEach ->
# rules =
# Bank:
# ArquivoHeader: [
# {
# field: 'banco'
# startPos: 1
# ... |
[
{
"context": "ig.DB_HOST\n user: config.DB_USER,\n password: config.DB_PASSWORD,\n database: config.DB_NAME,\n po",
"end": 160,
"score": 0.6192575097084045,
"start": 154,
"tag": "PASSWORD",
"value": "config"
},
{
"context": "ST\n user: config.DB_USER,\n password: co... | src/lib/dbconn.coffee | alex-chan/zuolin_kitchen | 0 | mysql = require("mysql")
config = require '../config'
conn = mysql.createConnection {
host: config.DB_HOST
user: config.DB_USER,
password: config.DB_PASSWORD,
database: config.DB_NAME,
port: 3306
}
module.exports = conn
| 150473 | mysql = require("mysql")
config = require '../config'
conn = mysql.createConnection {
host: config.DB_HOST
user: config.DB_USER,
password: <PASSWORD>.<PASSWORD>_<PASSWORD>,
database: config.DB_NAME,
port: 3306
}
module.exports = conn
| true | mysql = require("mysql")
config = require '../config'
conn = mysql.createConnection {
host: config.DB_HOST
user: config.DB_USER,
password: PI:PASSWORD:<PASSWORD>END_PI.PI:PASSWORD:<PASSWORD>END_PI_PI:PASSWORD:<PASSWORD>END_PI,
database: config.DB_NAME,
port: 3306
}
module.exports = conn
|
[
{
"context": ": \"Pages\"\n \"posts\": \"Articles\"\n \"authors\": \"Auteurs\"\n \"search\": \"Chercher\"\n \"bookmarks\": \"Signe",
"end": 447,
"score": 0.9166654944419861,
"start": 440,
"tag": "NAME",
"value": "Auteurs"
}
] | lib/translations/fr.cson | carlosrojaso/blog-app | 0 | "pullToRefresh": "Tirer pour actualiser!"
"retry": "Réessayez"
"back": "Retour"
"error": "Quelque chose d'inattendu est survenu, veuillez réessayer."
"attemptToConnect": "Tentative de connexion {{attempt}} sur {{attemptMax}}."
"yes": "Oui"
"no" : "Non"
"emptyList" : "La liste est vide!"
"enabled": "Activées"
"menu":
... | 149978 | "pullToRefresh": "Tirer pour actualiser!"
"retry": "Réessayez"
"back": "Retour"
"error": "Quelque chose d'inattendu est survenu, veuillez réessayer."
"attemptToConnect": "Tentative de connexion {{attempt}} sur {{attemptMax}}."
"yes": "Oui"
"no" : "Non"
"emptyList" : "La liste est vide!"
"enabled": "Activées"
"menu":
... | true | "pullToRefresh": "Tirer pour actualiser!"
"retry": "Réessayez"
"back": "Retour"
"error": "Quelque chose d'inattendu est survenu, veuillez réessayer."
"attemptToConnect": "Tentative de connexion {{attempt}} sur {{attemptMax}}."
"yes": "Oui"
"no" : "Non"
"emptyList" : "La liste est vide!"
"enabled": "Activées"
"menu":
... |
[
{
"context": "ModelName: 'hobby'\n @key: (item) -> item.name\n\n @facade.addClass 'hobby-dict', Hobby",
"end": 4866,
"score": 0.8655909895896912,
"start": 4857,
"tag": "KEY",
"value": "item.name"
},
{
"context": "ModelName: 'hobby'\n @key: (it... | spec/lib/base-dict.coffee | CureApp/base-domain | 37 |
Facade = require '../base-domain'
{ GeneralFactory, BaseDict, Entity, ValueObject,
BaseSyncRepository, BaseAsyncRepository } = Facade
{ MemoryResource } = require '../others'
describe 'BaseDict', ->
beforeEach ->
@facade = require('../create-facade').create()
class Hobby extends Entity
... | 181726 |
Facade = require '../base-domain'
{ GeneralFactory, BaseDict, Entity, ValueObject,
BaseSyncRepository, BaseAsyncRepository } = Facade
{ MemoryResource } = require '../others'
describe 'BaseDict', ->
beforeEach ->
@facade = require('../create-facade').create()
class Hobby extends Entity
... | true |
Facade = require '../base-domain'
{ GeneralFactory, BaseDict, Entity, ValueObject,
BaseSyncRepository, BaseAsyncRepository } = Facade
{ MemoryResource } = require '../others'
describe 'BaseDict', ->
beforeEach ->
@facade = require('../create-facade').create()
class Hobby extends Entity
... |
[
{
"context": "xit 'match', ->\n @matcher.match('people', '24 John, 23 Bea')\n #=> { people: [ { name:, age: }, ",
"end": 4743,
"score": 0.999564528465271,
"start": 4739,
"tag": "NAME",
"value": "John"
},
{
"context": "h', ->\n @matcher.match('people', '24 John, 23 Bea'... | test/matcher_test.coffee | rstacruz/ledgerdown | 4 | Matcher = require('../lib/matcher')
expect = require('chai').expect
describe 'Matcher', ->
@timeout 10
beforeEach ->
@matcher = new Matcher
transaction: '%{amount} - %{description}'
datedTransaction: '%{transaction} @ %{date}'
amount: /\d+/
description: /.*?/
date: /.*?/
it 's... | 144055 | Matcher = require('../lib/matcher')
expect = require('chai').expect
describe 'Matcher', ->
@timeout 10
beforeEach ->
@matcher = new Matcher
transaction: '%{amount} - %{description}'
datedTransaction: '%{transaction} @ %{date}'
amount: /\d+/
description: /.*?/
date: /.*?/
it 's... | true | Matcher = require('../lib/matcher')
expect = require('chai').expect
describe 'Matcher', ->
@timeout 10
beforeEach ->
@matcher = new Matcher
transaction: '%{amount} - %{description}'
datedTransaction: '%{transaction} @ %{date}'
amount: /\d+/
description: /.*?/
date: /.*?/
it 's... |
[
{
"context": "fine 'user', class: User, ->\n @first_name = 'John'\n @last_name = 'Smith'\n @lazy_number1 =",
"end": 395,
"score": 0.9998147487640381,
"start": 391,
"tag": "NAME",
"value": "John"
},
{
"context": "->\n @first_name = 'John'\n @last_name = 'Smith... | test/factory_boy_test.coffee | JackDanger/factory-boy | 2 | require('./test_helper')
class User extends Object
class Profile extends Object
User.create = (attrs = {}, callback) ->
callback(null, new User(attrs))
Profile.buildOne = (attrs) ->
new Profile(attrs)
Profile.createOne = (attrs, callback) ->
callback(null, new Profile(attrs))
describe 'Factory', ->
beforeE... | 93235 | require('./test_helper')
class User extends Object
class Profile extends Object
User.create = (attrs = {}, callback) ->
callback(null, new User(attrs))
Profile.buildOne = (attrs) ->
new Profile(attrs)
Profile.createOne = (attrs, callback) ->
callback(null, new Profile(attrs))
describe 'Factory', ->
beforeE... | true | require('./test_helper')
class User extends Object
class Profile extends Object
User.create = (attrs = {}, callback) ->
callback(null, new User(attrs))
Profile.buildOne = (attrs) ->
new Profile(attrs)
Profile.createOne = (attrs, callback) ->
callback(null, new Profile(attrs))
describe 'Factory', ->
beforeE... |
[
{
"context": "=================================\n# Copyright 2012 Stefan Petre\n# Heavy modifications by Stephen Johnson\n#\n# Lice",
"end": 221,
"score": 0.9998843669891357,
"start": 209,
"tag": "NAME",
"value": "Stefan Petre"
},
{
"context": "pyright 2012 Stefan Petre\n# Heavy modi... | coffee/core/bootstrap-colorpicker.coffee | thehighlander/literallycanvas | 0 | # ========================================================
# bootstrap-colorpicker.js
# http://www.eyecon.ro/bootstrap-colorpicker
# =========================================================
# Copyright 2012 Stefan Petre
# Heavy modifications by Stephen Johnson
#
# Licensed under the Apache License, Version 2.0 (the "... | 130482 | # ========================================================
# bootstrap-colorpicker.js
# http://www.eyecon.ro/bootstrap-colorpicker
# =========================================================
# Copyright 2012 <NAME>
# Heavy modifications by <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# yo... | true | # ========================================================
# bootstrap-colorpicker.js
# http://www.eyecon.ro/bootstrap-colorpicker
# =========================================================
# Copyright 2012 PI:NAME:<NAME>END_PI
# Heavy modifications by PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Versi... |
[
{
"context": "eanup\", (t) ->\n rimraf.sync pkg\n t.pass \"cleaned up\"\n t.end()\n return\n\n",
"end": 1544,
"score": 0.6910127401351929,
"start": 1542,
"tag": "PASSWORD",
"value": "up"
}
] | deps/npm/test/tap/pack-scoped.coffee | lxe/io.coffee | 0 | # verify that prepublish runs on pack and publish
test = require("tap").test
common = require("../common-tap")
fs = require("graceful-fs")
join = require("path").join
mkdirp = require("mkdirp")
rimraf = require("rimraf")
pkg = join(__dirname, "scoped_package")
manifest = join(pkg, "package.json")
tmp = join(pkg, "tmp")... | 147634 | # verify that prepublish runs on pack and publish
test = require("tap").test
common = require("../common-tap")
fs = require("graceful-fs")
join = require("path").join
mkdirp = require("mkdirp")
rimraf = require("rimraf")
pkg = join(__dirname, "scoped_package")
manifest = join(pkg, "package.json")
tmp = join(pkg, "tmp")... | true | # verify that prepublish runs on pack and publish
test = require("tap").test
common = require("../common-tap")
fs = require("graceful-fs")
join = require("path").join
mkdirp = require("mkdirp")
rimraf = require("rimraf")
pkg = join(__dirname, "scoped_package")
manifest = join(pkg, "package.json")
tmp = join(pkg, "tmp")... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984764456748962,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-client-default-headers-exist.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... | 134910 | # 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": "esentation Theme\n- Customize theme sample\n\n@auther threeword (dev@threeword.com)\n@since 2016.08.17\n@version 0.",
"end": 98,
"score": 0.9994096755981445,
"start": 89,
"tag": "USERNAME",
"value": "threeword"
},
{
"context": "heme\n- Customize theme sample\n\n@auther ... | modules/CustomThemeIntro.coffee | framer-modules/intro | 4 | ###
Prototype introduce module for presentation Theme
- Customize theme sample
@auther threeword (dev@threeword.com)
@since 2016.08.17
@version 0.1
###
{IntroTheme} = require "IntroTheme"
class CustomThemeIntro extends IntroTheme
# CSS
_cssFont = "@import url('https://fonts.googleapis.com/css?family=Roboto'); font... | 224885 | ###
Prototype introduce module for presentation Theme
- Customize theme sample
@auther threeword (<EMAIL>)
@since 2016.08.17
@version 0.1
###
{IntroTheme} = require "IntroTheme"
class CustomThemeIntro extends IntroTheme
# CSS
_cssFont = "@import url('https://fonts.googleapis.com/css?family=Roboto'); font-family: '... | true | ###
Prototype introduce module for presentation Theme
- Customize theme sample
@auther threeword (PI:EMAIL:<EMAIL>END_PI)
@since 2016.08.17
@version 0.1
###
{IntroTheme} = require "IntroTheme"
class CustomThemeIntro extends IntroTheme
# CSS
_cssFont = "@import url('https://fonts.googleapis.com/css?family=Roboto');... |
[
{
"context": "# Überweather for Übersicht\n# 04 March 2020\n# by Michael Fleet (github/f1337)\n#\n# built upon the following work ",
"end": 62,
"score": 0.9998380541801453,
"start": 49,
"tag": "NAME",
"value": "Michael Fleet"
},
{
"context": "rsicht\n# 04 March 2020\n# by Michael Fle... | ubersicht/widgets/darksky.widget/index.coffee | f1337/macos-dev-box | 4 | # Überweather for Übersicht
# 04 March 2020
# by Michael Fleet (github/f1337)
#
# built upon the following work by others:
# * Authentic Weather for Übersicht, by by Itzael Martinez (https://github.com/reduxd/authentic-ubersicht)
# * DarkSky.Widget for Übersicht, by Gert Massheimer (https://github.com/DeltaOS2/darksky.... | 214786 | # Überweather for Übersicht
# 04 March 2020
# by <NAME> (github/f1337)
#
# built upon the following work by others:
# * Authentic Weather for Übersicht, by by <NAME> (https://github.com/reduxd/authentic-ubersicht)
# * DarkSky.Widget for Übersicht, by <NAME> (https://github.com/DeltaOS2/darksky.widget)
# * Nice Weather ... | true | # Überweather for Übersicht
# 04 March 2020
# by PI:NAME:<NAME>END_PI (github/f1337)
#
# built upon the following work by others:
# * Authentic Weather for Übersicht, by by PI:NAME:<NAME>END_PI (https://github.com/reduxd/authentic-ubersicht)
# * DarkSky.Widget for Übersicht, by PI:NAME:<NAME>END_PI (https://github.com/... |
[
{
"context": "###\n X-Wing Rules Browser\n Stephen Kim <raithos@gmail.com>\n https://github.com/raitho",
"end": 44,
"score": 0.9998378753662109,
"start": 33,
"tag": "NAME",
"value": "Stephen Kim"
},
{
"context": "###\n X-Wing Rules Browser\n Stephen Kim <raithos@gmail.... | coffeescripts/system/rules-browser.coffee | CrazyVulcan/xwing | 1 | ###
X-Wing Rules Browser
Stephen Kim <raithos@gmail.com>
https://github.com/raithos/xwing
###
exportObj = exports ? this
# Assumes cards.js has been loaded
class exportObj.RulesBrowser
constructor: (args) ->
# args
@container = $ args.container
# internals
@language = ... | 90916 | ###
X-Wing Rules Browser
<NAME> <<EMAIL>>
https://github.com/raithos/xwing
###
exportObj = exports ? this
# Assumes cards.js has been loaded
class exportObj.RulesBrowser
constructor: (args) ->
# args
@container = $ args.container
# internals
@language = 'English'
... | true | ###
X-Wing Rules Browser
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://github.com/raithos/xwing
###
exportObj = exports ? this
# Assumes cards.js has been loaded
class exportObj.RulesBrowser
constructor: (args) ->
# args
@container = $ args.container
# internals
... |
[
{
"context": "ction.add\n id: _.uniqueId 'row'\n name: 'test-3'\n\n assert spy.called\n",
"end": 1550,
"score": 0.6022153496742249,
"start": 1546,
"tag": "NAME",
"value": "test"
},
{
"context": ".add\n id: _.uniqueId 'row'\n name: 'test-3'\n\n assert spy.cal... | test/tb/views/collection_test.coffee | vcu/titanium-backbone | 1 | helpers = require '../../helpers'
{ assert } = helpers.chai
sinon = helpers.sinon
_ = require 'underscore'
Backbone = helpers.require 'backbone'
Chaplin = helpers.require 'chaplin'
CollectionView = helpers.require 'tb/views/collection'
describe 'Collection view', ->
it 'should support support adding collection ... | 40442 | helpers = require '../../helpers'
{ assert } = helpers.chai
sinon = helpers.sinon
_ = require 'underscore'
Backbone = helpers.require 'backbone'
Chaplin = helpers.require 'chaplin'
CollectionView = helpers.require 'tb/views/collection'
describe 'Collection view', ->
it 'should support support adding collection ... | true | helpers = require '../../helpers'
{ assert } = helpers.chai
sinon = helpers.sinon
_ = require 'underscore'
Backbone = helpers.require 'backbone'
Chaplin = helpers.require 'chaplin'
CollectionView = helpers.require 'tb/views/collection'
describe 'Collection view', ->
it 'should support support adding collection ... |
[
{
"context": "scope, $http) ->\n $scope.greeting = ->\n \"Hello Citizen!\"\n\n $scope.name = \"MainController\"\n\n $scope.get",
"end": 559,
"score": 0.9097661972045898,
"start": 552,
"tag": "NAME",
"value": "Citizen"
}
] | client/app/main/main.coffee | NonLogicalDev/jeans-nodejs-playground | 1 | ###############################################################################
# Main Controller
###############################################################################
angular.module('Playground')
.config ($stateProvider, $urlRouterProvider)->
router = $stateProvider
$urlRoute... | 225803 | ###############################################################################
# Main Controller
###############################################################################
angular.module('Playground')
.config ($stateProvider, $urlRouterProvider)->
router = $stateProvider
$urlRoute... | true | ###############################################################################
# Main Controller
###############################################################################
angular.module('Playground')
.config ($stateProvider, $urlRouterProvider)->
router = $stateProvider
$urlRoute... |
[
{
"context": "edWith\n channel: '#general'\n username: 'Robot'\n text: 'Hello!'\n icon_emoji: ':bell:'\n",
"end": 632,
"score": 0.9732397794723511,
"start": 627,
"tag": "USERNAME",
"value": "Robot"
},
{
"context": "ledWith\n channel: '#alerts'\n username... | test/api.spec.coffee | ascheink/slack-notify | 1 | slack = null
describe 'No URL passed in', ->
beforeEach ->
spyOn(console, 'log')
slack = require('../slack-notify.js')('')
it 'should log to console that no URL is present', ->
slack.send('Hello!')
expect(console.log).toHaveBeenCalledWith('No Slack URL configured.')
describe 'API', ->
url = 'ht... | 161820 | slack = null
describe 'No URL passed in', ->
beforeEach ->
spyOn(console, 'log')
slack = require('../slack-notify.js')('')
it 'should log to console that no URL is present', ->
slack.send('Hello!')
expect(console.log).toHaveBeenCalledWith('No Slack URL configured.')
describe 'API', ->
url = 'ht... | true | slack = null
describe 'No URL passed in', ->
beforeEach ->
spyOn(console, 'log')
slack = require('../slack-notify.js')('')
it 'should log to console that no URL is present', ->
slack.send('Hello!')
expect(console.log).toHaveBeenCalledWith('No Slack URL configured.')
describe 'API', ->
url = 'ht... |
[
{
"context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n\n\ttemplateData:\n\n\t\t# Specify som",
"end": 320,
"score": 0.977990448474884,
"start": 315,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "\n\t\t\t# The default title of our website\n\t\... | docpad.coffee | tmullen71/ups-website | 1 | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... | 193704 | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... | true | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... |
[
{
"context": "rent_lang: ['en']\n\n\tmode: 'development'\n\n\ttoken: 'poop'\n\n\tdefault: 'usr/trivia'\n\n}\n",
"end": 103,
"score": 0.764127790927887,
"start": 101,
"tag": "KEY",
"value": "po"
},
{
"context": "nt_lang: ['en']\n\n\tmode: 'development'\n\n\ttoken: 'poop'\n\n\tdefault:... | var/config.coffee | bjork24/vax-trivia-2015 | 0 | NB.conf = {
port: 2424
load_langs: ['en']
current_lang: ['en']
mode: 'development'
token: 'poop'
default: 'usr/trivia'
}
| 108090 | NB.conf = {
port: 2424
load_langs: ['en']
current_lang: ['en']
mode: 'development'
token: '<KEY> <PASSWORD>'
default: 'usr/trivia'
}
| true | NB.conf = {
port: 2424
load_langs: ['en']
current_lang: ['en']
mode: 'development'
token: 'PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI'
default: 'usr/trivia'
}
|
[
{
"context": " = moment().utc().subtract(1,'month').format(\"YYYY-MM\")\n\t\t\t$.ajax(\n\t\t\t\turl: process.env.API_URL + \"/api",
"end": 20051,
"score": 0.7678470611572266,
"start": 20049,
"tag": "KEY",
"value": "MM"
},
{
"context": "\t\tseason_key = moment().utc().subtract(1,'mont... | app/tools/editor.coffee | willroberts/duelyst | 5 | whenLocalizationReady = require 'app/localization/index'
whenLocalizationReady.then ()->
Logger = require("app/common/logger")
CONFIG = require("app/common/config")
EVENTS = require("app/common/event_types")
UtilsJavascript = require("app/common/utils/utils_javascript")
UtilsEnv = require("app/common/utils/utils_... | 69820 | whenLocalizationReady = require 'app/localization/index'
whenLocalizationReady.then ()->
Logger = require("app/common/logger")
CONFIG = require("app/common/config")
EVENTS = require("app/common/event_types")
UtilsJavascript = require("app/common/utils/utils_javascript")
UtilsEnv = require("app/common/utils/utils_... | true | whenLocalizationReady = require 'app/localization/index'
whenLocalizationReady.then ()->
Logger = require("app/common/logger")
CONFIG = require("app/common/config")
EVENTS = require("app/common/event_types")
UtilsJavascript = require("app/common/utils/utils_javascript")
UtilsEnv = require("app/common/utils/utils_... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999143481254578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/user-login.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @UserLogin
constructor: ->
# Used as callback on original action (where login was required)
@clickAfterLogin = null
$(docu... | 205135 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @UserLogin
constructor: ->
# Used as callback on original action (where login was required)
@clickAfterLogin = null
$(document).o... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @UserLogin
constructor: ->
# Used as callback on original action (where login was required)
@clickAfterLogin = null
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993066787719727,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-cluster-bind-privileged-port.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... | 43232 | # 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": "sed under the MIT License\nDate: 11-08-2015\nAuthor: Julio Cesar Fausto\nSource: https://github.com/jcfausto/jcfausto-com-",
"end": 104,
"score": 0.9998728036880493,
"start": 86,
"tag": "NAME",
"value": "Julio Cesar Fausto"
},
{
"context": "or: Julio Cesar Fausto\nSourc... | app/assets/javascripts/components/skill_list.js.jsx.coffee | jcfausto/jcfausto-rails-website | 1 | ###
SkillList React Component
Released under the MIT License
Date: 11-08-2015
Author: Julio Cesar Fausto
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@SkillList = React.createClass
getInitialState: ->
skill_items: this.props.skill_items
render: ->
`<section>
<h3><span>Skills</span></h... | 109788 | ###
SkillList React Component
Released under the MIT License
Date: 11-08-2015
Author: <NAME>
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@SkillList = React.createClass
getInitialState: ->
skill_items: this.props.skill_items
render: ->
`<section>
<h3><span>Skills</span></h3>
<u... | true | ###
SkillList React Component
Released under the MIT License
Date: 11-08-2015
Author: PI:NAME:<NAME>END_PI
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@SkillList = React.createClass
getInitialState: ->
skill_items: this.props.skill_items
render: ->
`<section>
<h3><span>Skills</span><... |
[
{
"context": "{\n name: 'OBM Hunting Party'\n author: 'DG'\n requires: ['Hunting Party']\n gainPriority: (s",
"end": 43,
"score": 0.9010332226753235,
"start": 41,
"tag": "NAME",
"value": "DG"
}
] | strategies/OBM_Hunting_Party.coffee | rspeer/dominiate | 65 | {
name: 'OBM Hunting Party'
author: 'DG'
requires: ['Hunting Party']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 2
"Estate" if state.gainsToEndGame() <= 2
"Gold" if my.countInDeck("Gold") == 0
"Hunting Party"
"Gold"
"Es... | 108247 | {
name: 'OBM Hunting Party'
author: '<NAME>'
requires: ['Hunting Party']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 2
"Estate" if state.gainsToEndGame() <= 2
"Gold" if my.countInDeck("Gold") == 0
"Hunting Party"
"Gold"
... | true | {
name: 'OBM Hunting Party'
author: 'PI:NAME:<NAME>END_PI'
requires: ['Hunting Party']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 2
"Estate" if state.gainsToEndGame() <= 2
"Gold" if my.countInDeck("Gold") == 0
"Hunting Party"
... |
[
{
"context": "$` function unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\nTest.set \"/d",
"end": 77,
"score": 0.9998824596405029,
"start": 60,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/test/dollar_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The `$` function unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
Test.set "/dollar.html": """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="one">
<div class="one">#one .one<... | 171968 | #
# The `$` function unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
Test.set "/dollar.html": """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="one">
<div class="one">#one .one</div>
... | true | #
# The `$` function unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
Test.set "/dollar.html": """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="one">
<div class="one">#one .o... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998757243156433,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/sync.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
BackboneORM = require './core'
Queue = require './lib/queue... | 146857 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
BackboneORM = require './core'
Queue = require './lib/queue'
... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
BackboneORM = require './core'
Queue = require ... |
[
{
"context": "ue\n disableTravisAuth: true\n username: 'username'\n password: 'password'\n\n serverOptions.da",
"end": 434,
"score": 0.9918171763420105,
"start": 426,
"tag": "USERNAME",
"value": "username"
},
{
"context": " true\n username: 'username'\n pa... | test/integration/update-from-travis-pro-spec.coffee | octoblu/deploy-state-service | 1 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update From Travis Pro', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port:... | 123312 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update From Travis Pro', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port:... | true | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update From Travis Pro', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port:... |
[
{
"context": " ->\n cy\n .visit(\"/html\")\n .contains(\"Herman Melville\")\n",
"end": 106,
"score": 0.9998589754104614,
"start": 91,
"tag": "NAME",
"value": "Herman Melville"
}
] | packages/server/test/support/fixtures/projects/e2e/cypress/integration/base_url_spec.coffee | nongmanh/cypress | 3 | describe "base url", ->
it "can visit", ->
cy
.visit("/html")
.contains("Herman Melville")
| 218931 | describe "base url", ->
it "can visit", ->
cy
.visit("/html")
.contains("<NAME>")
| true | describe "base url", ->
it "can visit", ->
cy
.visit("/html")
.contains("PI:NAME:<NAME>END_PI")
|
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.\n\nPermission is hereby",
"end": 56,
"score": 0.9998112320899963,
"start": 40,
"tag": "NAME",
"value": "Juan Cruz Viotti"
}
] | lib/wary.coffee | jviotti/wary | 1 | ###
The MIT License
Copyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.
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... | 54451 | ###
The MIT License
Copyright (c) 2015 <NAME>. https://jviotti.github.io.
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... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI. https://jviotti.github.io.
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 right... |
[
{
"context": "e\n return true\n\n class User\n user: cookieUser\n tempUsername: null\n accessLevels: accessLe",
"end": 550,
"score": 0.5148579478263855,
"start": 546,
"tag": "USERNAME",
"value": "User"
},
{
"context": "\n @updateUser(user)\n @tempUsername =... | frontend/services/user.coffee | towerstorm/game | 11 | angular.module('userService', []).factory('UserService', ['$cookieStore', '$interval', '$rootScope', 'AnalyticsService', 'NetService', ($cookieStore, $interval, $rootScope, AnalyticsService, NetService, PubNub) ->
accessLevels = authConfig.accessLevels
userRoles = authConfig.userRoles
cookieUser = $cookieStore.g... | 209899 | angular.module('userService', []).factory('UserService', ['$cookieStore', '$interval', '$rootScope', 'AnalyticsService', 'NetService', ($cookieStore, $interval, $rootScope, AnalyticsService, NetService, PubNub) ->
accessLevels = authConfig.accessLevels
userRoles = authConfig.userRoles
cookieUser = $cookieStore.g... | true | angular.module('userService', []).factory('UserService', ['$cookieStore', '$interval', '$rootScope', 'AnalyticsService', 'NetService', ($cookieStore, $interval, $rootScope, AnalyticsService, NetService, PubNub) ->
accessLevels = authConfig.accessLevels
userRoles = authConfig.userRoles
cookieUser = $cookieStore.g... |
[
{
"context": "'\nmd5 = require 'md5'\n\nmodule.exports =\n name: \"i18n\"\n description: \"\"\n priority: 2\n\n CACHE_SIZE: 4",
"end": 107,
"score": 0.7584385275840759,
"start": 104,
"tag": "USERNAME",
"value": "18n"
},
{
"context": " return next(req, res) if lang == 'en'\n\n ... | lib/filters/i18n.coffee | brettminnie/foaas | 0 | request = require 'request'
i18next = require 'i18next'
md5 = require 'md5'
module.exports =
name: "i18n"
description: ""
priority: 2
CACHE_SIZE: 4096
cache: {}
cachePop: []
register: (app) ->
i18next.init()
app.use(i18next.handle)
applies: (req) ->
req.query? and req.query.i18n?
pro... | 220618 | request = require 'request'
i18next = require 'i18next'
md5 = require 'md5'
module.exports =
name: "i18n"
description: ""
priority: 2
CACHE_SIZE: 4096
cache: {}
cachePop: []
register: (app) ->
i18next.init()
app.use(i18next.handle)
applies: (req) ->
req.query? and req.query.i18n?
pro... | true | request = require 'request'
i18next = require 'i18next'
md5 = require 'md5'
module.exports =
name: "i18n"
description: ""
priority: 2
CACHE_SIZE: 4096
cache: {}
cachePop: []
register: (app) ->
i18next.init()
app.use(i18next.handle)
applies: (req) ->
req.query? and req.query.i18n?
pro... |
[
{
"context": "ollaborators = [\n id: \"35\"\n full_name: \"Aaron Baker\"\n info: \"testroles2, collaborator\"\n ]\n\n ",
"end": 789,
"score": 0.9998562335968018,
"start": 778,
"tag": "NAME",
"value": "Aaron Baker"
}
] | test/javascripts/integration/edit_paper_test.js.coffee | johan--/tahi | 1 | module 'Integration: EditPaper',
teardown: -> ETahi.reset()
setup: ->
setupApp(integration: true)
ef = ETahi.Factory
figureTaskId = 94139
records = ETahi.Setups.paperWithTask('FigureTask'
id: figureTaskId
role: "author"
)
ETahi.Test = {}
[ETahi.Test.currentPaper, ETahi.Tes... | 46992 | module 'Integration: EditPaper',
teardown: -> ETahi.reset()
setup: ->
setupApp(integration: true)
ef = ETahi.Factory
figureTaskId = 94139
records = ETahi.Setups.paperWithTask('FigureTask'
id: figureTaskId
role: "author"
)
ETahi.Test = {}
[ETahi.Test.currentPaper, ETahi.Tes... | true | module 'Integration: EditPaper',
teardown: -> ETahi.reset()
setup: ->
setupApp(integration: true)
ef = ETahi.Factory
figureTaskId = 94139
records = ETahi.Setups.paperWithTask('FigureTask'
id: figureTaskId
role: "author"
)
ETahi.Test = {}
[ETahi.Test.currentPaper, ETahi.Tes... |
[
{
"context": "=\n subject: \"[简聊] 密码重置\"\n emailAddress: 'user@mailer.com'\n verifyCode: '1234'\n resetUrl: 'https:",
"end": 608,
"score": 0.999890923500061,
"start": 593,
"tag": "EMAIL",
"value": "user@mailer.com"
}
] | talk-account/server/mailers/reset-password.coffee | ikingye/talk-os | 3,084 | _ = require 'lodash'
debug = require('debug')('talk:verbose')
BaseMailer = require './base'
util = require '../util'
class ResetPasswordMailer extends BaseMailer
delay: 0
action: 'send'
template: 'reset-password'
send: (verifyData, emailAddress) ->
email =
id: "resetpassword_#{emailAddress}"
... | 207158 | _ = require 'lodash'
debug = require('debug')('talk:verbose')
BaseMailer = require './base'
util = require '../util'
class ResetPasswordMailer extends BaseMailer
delay: 0
action: 'send'
template: 'reset-password'
send: (verifyData, emailAddress) ->
email =
id: "resetpassword_#{emailAddress}"
... | true | _ = require 'lodash'
debug = require('debug')('talk:verbose')
BaseMailer = require './base'
util = require '../util'
class ResetPasswordMailer extends BaseMailer
delay: 0
action: 'send'
template: 'reset-password'
send: (verifyData, emailAddress) ->
email =
id: "resetpassword_#{emailAddress}"
... |
[
{
"context": "rely Functional Data Structures. <br />\n\n @author Mads Hartmann Jensen (mads379@gmail.com)\n### \n\nmugs.provide(\"mugs.Queu",
"end": 211,
"score": 0.9998806118965149,
"start": 191,
"tag": "NAME",
"value": "Mads Hartmann Jensen"
},
{
"context": "ructures. <br />\n\n ... | src/Queue.coffee | mads-hartmann/mugs | 1 | ###*
@fileoverview Contains the implementation of the Queue ADT based on two Lists as
described in Chris Okasaki's book Purely Functional Data Structures. <br />
@author Mads Hartmann Jensen (mads379@gmail.com)
###
mugs.provide("mugs.Queue")
mugs.require("mugs.List")
###*
Queue provides the im... | 33842 | ###*
@fileoverview Contains the implementation of the Queue ADT based on two Lists as
described in Chris Okasaki's book Purely Functional Data Structures. <br />
@author <NAME> (<EMAIL>)
###
mugs.provide("mugs.Queue")
mugs.require("mugs.List")
###*
Queue provides the implementation of the abst... | true | ###*
@fileoverview Contains the implementation of the Queue ADT based on two Lists as
described in Chris Okasaki's book Purely Functional Data Structures. <br />
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
mugs.provide("mugs.Queue")
mugs.require("mugs.List")
###*
Queue provides t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.