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": "NodeId = transactionId ? nodeId\n\n flowNodeKey = \"#{sendTo}:#{redisNodeId}\"\n bucket = @_getBucket()\n\n @isIntervalAvaila",
"end": 717,
"score": 0.9780714511871338,
"start": 691,
"tag": "KEY",
"value": "\"#{sendTo}:#{redisNodeId}\""
},
{
"context": "}, call... | src/ping-job-processor.coffee | octoblu/nanocyte-interval-service | 0 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:ping-job-processor')
MeshbluHttp = require 'meshblu-http'
{Stats} = require 'fast-stats'
class PingJobProcessor
constructor: (options, dependencies={}) ->
{
@meshbluConfig
@clien... | 151065 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:ping-job-processor')
MeshbluHttp = require 'meshblu-http'
{Stats} = require 'fast-stats'
class PingJobProcessor
constructor: (options, dependencies={}) ->
{
@meshbluConfig
@clien... | true | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:ping-job-processor')
MeshbluHttp = require 'meshblu-http'
{Stats} = require 'fast-stats'
class PingJobProcessor
constructor: (options, dependencies={}) ->
{
@meshbluConfig
@clien... |
[
{
"context": "\t\t\t\treturn Users.create\n\t\t\t\t\t\t\tusername: req.body.username\n\t\t\t\t\t\t\temail: req.body.email\n\t\t\t\t\t\t\tpassword: req",
"end": 463,
"score": 0.4882405400276184,
"start": 455,
"tag": "USERNAME",
"value": "username"
},
{
"context": "name\n\t\t\t\t\t\t\t... | src/server/routes/post/register_account.coffee | leftiness/ton-hub | 1 | seq = require "sequelize"
moment = require "moment"
xsrf = require "../../common/XsrfService.js"
messages = require "../../common/messages.js"
Users = require "../../database/Users.js"
route =
verb: "post"
path: "/register_account"
fn: [
xsrf.check
(req, res, next) ->
Users.destroy
where:
created... | 87701 | seq = require "sequelize"
moment = require "moment"
xsrf = require "../../common/XsrfService.js"
messages = require "../../common/messages.js"
Users = require "../../database/Users.js"
route =
verb: "post"
path: "/register_account"
fn: [
xsrf.check
(req, res, next) ->
Users.destroy
where:
created... | true | seq = require "sequelize"
moment = require "moment"
xsrf = require "../../common/XsrfService.js"
messages = require "../../common/messages.js"
Users = require "../../database/Users.js"
route =
verb: "post"
path: "/register_account"
fn: [
xsrf.check
(req, res, next) ->
Users.destroy
where:
created... |
[
{
"context": " author: Ember.belongsTo(Author, { key: 'author_id' })\n )\n\n Post.adapter = Ember.FixtureAdapte",
"end": 430,
"score": 0.9028123617172241,
"start": 428,
"tag": "KEY",
"value": "id"
}
] | assets/scripts/spec/unit/incomplete_spec.coffee | rwjblue/travis-web | 0 | fullPostHash = null
Post = null
Author = null
module "Travis.Model - incomplete",
setup: ->
fullPostHash = {
id: '1',
title: 'foo',
published_at: 'today',
author_id: '1'
}
Author = Travis.Model.extend()
Post = Travis.Model.extend(
title: Ember.attr('string'),
pu... | 14948 | fullPostHash = null
Post = null
Author = null
module "Travis.Model - incomplete",
setup: ->
fullPostHash = {
id: '1',
title: 'foo',
published_at: 'today',
author_id: '1'
}
Author = Travis.Model.extend()
Post = Travis.Model.extend(
title: Ember.attr('string'),
pu... | true | fullPostHash = null
Post = null
Author = null
module "Travis.Model - incomplete",
setup: ->
fullPostHash = {
id: '1',
title: 'foo',
published_at: 'today',
author_id: '1'
}
Author = Travis.Model.extend()
Post = Travis.Model.extend(
title: Ember.attr('string'),
pu... |
[
{
"context": "ists.' }\n user.resetPasswordToken = token\n user.resetPasswordExpires = Date.",
"end": 1154,
"score": 0.8519141674041748,
"start": 1149,
"tag": "PASSWORD",
"value": "token"
},
{
"context": "User.findOne({\n resetPasswordToke... | src/routes/authentication.coffee | ureport-web/ureport-s | 3 | express = require('express')
router = express.Router()
User = require('../models/user')
passport = require('passport')
async = require('async');
crypto = require('crypto');
router.post '/login', (req, res, next) ->
passport.authenticate('local', (err, user, info) ->
if (info)
return next(info... | 96962 | express = require('express')
router = express.Router()
User = require('../models/user')
passport = require('passport')
async = require('async');
crypto = require('crypto');
router.post '/login', (req, res, next) ->
passport.authenticate('local', (err, user, info) ->
if (info)
return next(info... | true | express = require('express')
router = express.Router()
User = require('../models/user')
passport = require('passport')
async = require('async');
crypto = require('crypto');
router.post '/login', (req, res, next) ->
passport.authenticate('local', (err, user, info) ->
if (info)
return next(info... |
[
{
"context": "/icons/jobtong@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readOnly: true\n descript",
"end": 1450,
"score": 0.9533259868621826,
"start": 1440,
"tag": "KEY",
"value": "webhookUrl"
}
] | src/services/jobtong.coffee | jianliaoim/talk-services | 40 | _ = require 'lodash'
util = require '../util'
_receiveWebhook = ({body}) ->
payload = body or {}
texts = []
texts.push "性别:#{payload.sex}" if payload.sex
texts.push "年龄:#{payload.age}" if payload.age
texts.push "学历:#{payload.degree}" if payload.degree
texts.push "经验年限:#{payload.experience}" if payload.ex... | 17120 | _ = require 'lodash'
util = require '../util'
_receiveWebhook = ({body}) ->
payload = body or {}
texts = []
texts.push "性别:#{payload.sex}" if payload.sex
texts.push "年龄:#{payload.age}" if payload.age
texts.push "学历:#{payload.degree}" if payload.degree
texts.push "经验年限:#{payload.experience}" if payload.ex... | true | _ = require 'lodash'
util = require '../util'
_receiveWebhook = ({body}) ->
payload = body or {}
texts = []
texts.push "性别:#{payload.sex}" if payload.sex
texts.push "年龄:#{payload.age}" if payload.age
texts.push "学历:#{payload.degree}" if payload.degree
texts.push "经验年限:#{payload.experience}" if payload.ex... |
[
{
"context": "equirements: ['lamp']\n },\n {\n name: 'bed',\n image: 'bed',\n price: 400,\n ",
"end": 2469,
"score": 0.9547386765480042,
"start": 2466,
"tag": "NAME",
"value": "bed"
},
{
"context": "equirements: ['lamp']\n },\n {\n name: 'f... | src/main.coffee | esenti/ld37-one-room | 0 | c = document.getElementById('draw')
ctx = c.getContext('2d')
delta = 0
now = 0
before = Date.now()
elapsed = 0
loading = 0
DEBUG = false
# c.width = window.innerWidth
# c.height = window.innerHeight
c.width = 800
c.height = 600
keysDown = {}
keysPressed = {}
window.addEventListener("keydown", (e) ->
keysDown... | 45960 | c = document.getElementById('draw')
ctx = c.getContext('2d')
delta = 0
now = 0
before = Date.now()
elapsed = 0
loading = 0
DEBUG = false
# c.width = window.innerWidth
# c.height = window.innerHeight
c.width = 800
c.height = 600
keysDown = {}
keysPressed = {}
window.addEventListener("keydown", (e) ->
keysDown... | true | c = document.getElementById('draw')
ctx = c.getContext('2d')
delta = 0
now = 0
before = Date.now()
elapsed = 0
loading = 0
DEBUG = false
# c.width = window.innerWidth
# c.height = window.innerHeight
c.width = 800
c.height = 600
keysDown = {}
keysPressed = {}
window.addEventListener("keydown", (e) ->
keysDown... |
[
{
"context": "'Dishes (Used)', category: 'Garbage'},\n {name: 'Dishwasher', category: 'Large Item'},\n {name: 'Dough', ca",
"end": 3126,
"score": 0.5718340277671814,
"start": 3119,
"tag": "NAME",
"value": "ishwash"
}
] | app/assets/javascripts/services/waste_items.js.coffee | DouglasSherk/Swapp | 1 | App.factory 'WasteItems', -> [
{name: 'Aerosol Cans (empty)', category: 'Recyclable'},
{name: 'Aerosol Cans (not empty)', category: 'Hazardous Waste'},
{name: 'Aluminum Cans & Foil', category: 'Recyclable'},
{name: 'Aluminum Foil (soiled)', category: 'Garbage'},
{name: 'Auto Parts', category: 'Drop-off'},
{... | 168951 | App.factory 'WasteItems', -> [
{name: 'Aerosol Cans (empty)', category: 'Recyclable'},
{name: 'Aerosol Cans (not empty)', category: 'Hazardous Waste'},
{name: 'Aluminum Cans & Foil', category: 'Recyclable'},
{name: 'Aluminum Foil (soiled)', category: 'Garbage'},
{name: 'Auto Parts', category: 'Drop-off'},
{... | true | App.factory 'WasteItems', -> [
{name: 'Aerosol Cans (empty)', category: 'Recyclable'},
{name: 'Aerosol Cans (not empty)', category: 'Hazardous Waste'},
{name: 'Aluminum Cans & Foil', category: 'Recyclable'},
{name: 'Aluminum Foil (soiled)', category: 'Garbage'},
{name: 'Auto Parts', category: 'Drop-off'},
{... |
[
{
"context": " key_arr.push arr[pos]\n key = key_arr.join('.')\n token_value_map[key] ?= []\n ",
"end": 3892,
"score": 0.8159177899360657,
"start": 3889,
"tag": "KEY",
"value": "arr"
},
{
"context": " key_arr.push arr[pos]\n key = key_arr.join('... | src/gram_cache.coffee | hu2prod/gram | 0 | fs = require 'fs'
module = @
class @Super_serializer
ref_obj_root : [] # temp for build
obj_root : []
constructor:()->
@ref_obj_root = []
@obj_root = []
class_serialize : (t)->
if t instanceof RegExp
ret =
_class : 'RegExp'
toString: t.toString()
else if t instanc... | 187875 | fs = require 'fs'
module = @
class @Super_serializer
ref_obj_root : [] # temp for build
obj_root : []
constructor:()->
@ref_obj_root = []
@obj_root = []
class_serialize : (t)->
if t instanceof RegExp
ret =
_class : 'RegExp'
toString: t.toString()
else if t instanc... | true | fs = require 'fs'
module = @
class @Super_serializer
ref_obj_root : [] # temp for build
obj_root : []
constructor:()->
@ref_obj_root = []
@obj_root = []
class_serialize : (t)->
if t instanceof RegExp
ret =
_class : 'RegExp'
toString: t.toString()
else if t instanc... |
[
{
"context": "d feels like. Design is how it works.'\r\n '-Steve Jobs'\r\n 'I look forward to helping you with your ",
"end": 160,
"score": 0.998181164264679,
"start": 150,
"tag": "NAME",
"value": "Steve Jobs"
}
] | app/assets/javascripts/typed-implementation.coffee | shownola/shownola-portfolio | 0 | ready = ->
Typed.new '.element',
strings: [
'Design is not just what it looks like and feels like. Design is how it works.'
'-Steve Jobs'
'I look forward to helping you with your projects!'
]
typeSpeed: 0
return
$(document).ready ready
$(document).on 'turbolinks:load', ... | 165067 | ready = ->
Typed.new '.element',
strings: [
'Design is not just what it looks like and feels like. Design is how it works.'
'-<NAME>'
'I look forward to helping you with your projects!'
]
typeSpeed: 0
return
$(document).ready ready
$(document).on 'turbolinks:load', read... | true | ready = ->
Typed.new '.element',
strings: [
'Design is not just what it looks like and feels like. Design is how it works.'
'-PI:NAME:<NAME>END_PI'
'I look forward to helping you with your projects!'
]
typeSpeed: 0
return
$(document).ready ready
$(document).on 'turbolin... |
[
{
"context": " server:\n port: 8080\n passwords:\n user : 'pass'\n zones:\n \"askldhasjkldh==\" :\n hostname ",
"end": 71,
"score": 0.9957558512687683,
"start": 67,
"tag": "PASSWORD",
"value": "pass"
},
{
"context": ": '60'\n type : 'A'\n admins : [... | src/config.sample.coffee | eerrecart/http-to-nsupdate | 1 | module.exports =
server:
port: 8080
passwords:
user : 'pass'
zones:
"askldhasjkldh==" :
hostname : 'subdomain.example.com'
server : 'ns1.example.com'
zone : 'example.com.'
ttl : '60'
type : 'A'
admins : [ 'user'] | 72369 | module.exports =
server:
port: 8080
passwords:
user : '<PASSWORD>'
zones:
"askldhasjkldh==" :
hostname : 'subdomain.example.com'
server : 'ns1.example.com'
zone : 'example.com.'
ttl : '60'
type : 'A'
admins : [ 'user'] | true | module.exports =
server:
port: 8080
passwords:
user : 'PI:PASSWORD:<PASSWORD>END_PI'
zones:
"askldhasjkldh==" :
hostname : 'subdomain.example.com'
server : 'ns1.example.com'
zone : 'example.com.'
ttl : '60'
type : 'A'
admins : [ 'user'] |
[
{
"context": " = @owner\n name = @name\n className = owner.className()",
"end": 1944,
"score": 0.8740230798721313,
"start": 1944,
"tag": "NAME",
"value": ""
},
{
"context": " = @owner\n name = @name\n ... | node_modules/tower/packages/tower-model/shared/relation.coffee | MagicPower2/Power | 1 | _ = Tower._
class Tower.ModelRelation extends Tower.Class
@reopen
isCollection: false
# Construct a new relation.
#
# @param [Function] owner Tower.Model class this relation is defined on.
# @param [String] name name of the relation.
# @param [Object] options options hash.
#
# @optio... | 60708 | _ = Tower._
class Tower.ModelRelation extends Tower.Class
@reopen
isCollection: false
# Construct a new relation.
#
# @param [Function] owner Tower.Model class this relation is defined on.
# @param [String] name name of the relation.
# @param [Object] options options hash.
#
# @optio... | true | _ = Tower._
class Tower.ModelRelation extends Tower.Class
@reopen
isCollection: false
# Construct a new relation.
#
# @param [Function] owner Tower.Model class this relation is defined on.
# @param [String] name name of the relation.
# @param [Object] options options hash.
#
# @optio... |
[
{
"context": "emList.poe = { meta: {\n\t\tActive: false\n\t\tAuthor: 'Edgar Allan Poe'\n\t\tTitle: 'The Raven'\n\t\tYear: '1845'\n\t\tLanguage: ",
"end": 246,
"score": 0.999889075756073,
"start": 231,
"tag": "NAME",
"value": "Edgar Allan Poe"
},
{
"context": "mList.vrch = { meta: {\n... | source/tests/services/filter.js.coffee | tasuki/side-by-side | 29 | poems = {}
filter = {}
poemList = {}
module "filter", {
setup: ->
injector = getInjector()
poems = injector.get('poems')
filter = injector.get('filter')
}
setPoems = ->
poemList.poe = { meta: {
Active: false
Author: 'Edgar Allan Poe'
Title: 'The Raven'
Year: '1845'
Language: 'English'
Code: 'poe'
... | 10570 | poems = {}
filter = {}
poemList = {}
module "filter", {
setup: ->
injector = getInjector()
poems = injector.get('poems')
filter = injector.get('filter')
}
setPoems = ->
poemList.poe = { meta: {
Active: false
Author: '<NAME>'
Title: 'The Raven'
Year: '1845'
Language: 'English'
Code: 'poe'
}}
poem... | true | poems = {}
filter = {}
poemList = {}
module "filter", {
setup: ->
injector = getInjector()
poems = injector.get('poems')
filter = injector.get('filter')
}
setPoems = ->
poemList.poe = { meta: {
Active: false
Author: 'PI:NAME:<NAME>END_PI'
Title: 'The Raven'
Year: '1845'
Language: 'English'
Code: '... |
[
{
"context": " SPACE (U+200B) have a column width of 0.\n# * - Hangul Jamo medial vowels and final consonants (U+1160-U",
"end": 616,
"score": 0.7176671624183655,
"start": 610,
"tag": "NAME",
"value": "Hangul"
}
] | deps/npm/node_modules/columnify/node_modules/wcwidth/index.coffee | lxe/io.coffee | 0 |
#
# * The following functions define the column width of an ISO 10646
# * character as follows:
# * - The null character (U+0000) has a column width of 0.
# * - Other C0/C1 control characters and DEL will lead to a return value
# * of -1.
# * - Non-spacing and enclosing combining characters (general category
#... | 27649 |
#
# * The following functions define the column width of an ISO 10646
# * character as follows:
# * - The null character (U+0000) has a column width of 0.
# * - Other C0/C1 control characters and DEL will lead to a return value
# * of -1.
# * - Non-spacing and enclosing combining characters (general category
#... | true |
#
# * The following functions define the column width of an ISO 10646
# * character as follows:
# * - The null character (U+0000) has a column width of 0.
# * - Other C0/C1 control characters and DEL will lead to a return value
# * of -1.
# * - Non-spacing and enclosing combining characters (general category
#... |
[
{
"context": "e 'user',\n username: Sequelize.STRING\n password: Sequelize.STRING\n\nVote.hasMany(Option)\nOption.belongsTo(Vote)\n\nOpt",
"end": 772,
"score": 0.9986947178840637,
"start": 756,
"tag": "PASSWORD",
"value": "Sequelize.STRING"
}
] | lib/models.coffee | liuxiong332/node-vote-server | 0 | Sequelize = require 'sequelize'
DBConfig = require('../config/database.js').DBConfig
config = if process.env.NODE_ENV is 'test' then DBConfig.test else DBConfig.development
sequelize = new Sequelize(config.dbName, config.user, config.password, config.config)
Vote = sequelize.define 'vote',
stage: Sequelize.STRING
... | 34377 | Sequelize = require 'sequelize'
DBConfig = require('../config/database.js').DBConfig
config = if process.env.NODE_ENV is 'test' then DBConfig.test else DBConfig.development
sequelize = new Sequelize(config.dbName, config.user, config.password, config.config)
Vote = sequelize.define 'vote',
stage: Sequelize.STRING
... | true | Sequelize = require 'sequelize'
DBConfig = require('../config/database.js').DBConfig
config = if process.env.NODE_ENV is 'test' then DBConfig.test else DBConfig.development
sequelize = new Sequelize(config.dbName, config.user, config.password, config.config)
Vote = sequelize.define 'vote',
stage: Sequelize.STRING
... |
[
{
"context": "multiple sources\", (t) ->\n original =\n name: 'akonwi'\n another =\n age: 22\n\n t.deepEqual {name: 'a",
"end": 731,
"score": 0.9990964531898499,
"start": 725,
"tag": "NAME",
"value": "akonwi"
},
{
"context": "i'\n another =\n age: 22\n\n t.deepEqual {na... | src/spec/deepAssign-spec.coffee | akonwi/flow | 3 | test = require 'tape'
deepAssign = require '../deepAssign'
test "deep assign", (t) ->
original =
foo: 'bar'
baz:
boom: 'flip'
nested:
array: [1]
copy = deepAssign {}, original
t.deepEqual original, copy, "objects are equal without changes"
original.nested.array = [2]
t.notDeepEqual ... | 45603 | test = require 'tape'
deepAssign = require '../deepAssign'
test "deep assign", (t) ->
original =
foo: 'bar'
baz:
boom: 'flip'
nested:
array: [1]
copy = deepAssign {}, original
t.deepEqual original, copy, "objects are equal without changes"
original.nested.array = [2]
t.notDeepEqual ... | true | test = require 'tape'
deepAssign = require '../deepAssign'
test "deep assign", (t) ->
original =
foo: 'bar'
baz:
boom: 'flip'
nested:
array: [1]
copy = deepAssign {}, original
t.deepEqual original, copy, "objects are equal without changes"
original.nested.array = [2]
t.notDeepEqual ... |
[
{
"context": "#\n# Utility functions for recipes\n#\n# @author Torstein Thune\n# @copyright 2016 Microbrew.it\nangular.module('Mi",
"end": 60,
"score": 0.9998695850372314,
"start": 46,
"tag": "NAME",
"value": "Torstein Thune"
}
] | app/services/RecipeUtilityService.coffee | Microbrewit/microbrewit-recipe-calculator | 0 | #
# Utility functions for recipes
#
# @author Torstein Thune
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').factory('mbit/services/RecipeUtilityService', [
() ->
# Get previous step with type in recipe
# @note recursive
# @return [Step, undefined]
_getStepBefore = (recipe, index) ->
if index ... | 173516 | #
# Utility functions for recipes
#
# @author <NAME>
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').factory('mbit/services/RecipeUtilityService', [
() ->
# Get previous step with type in recipe
# @note recursive
# @return [Step, undefined]
_getStepBefore = (recipe, index) ->
if index is 0
... | true | #
# Utility functions for recipes
#
# @author PI:NAME:<NAME>END_PI
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').factory('mbit/services/RecipeUtilityService', [
() ->
# Get previous step with type in recipe
# @note recursive
# @return [Step, undefined]
_getStepBefore = (recipe, index) ->
if ... |
[
{
"context": "# Copyright (c) 2008-2013 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist",
"end": 41,
"score": 0.99986732006073,
"start": 26,
"tag": "NAME",
"value": "Michael Dvorkin"
}
] | app/assets/javascripts/crm_title_tools.js.coffee | bongbot/mozart | 0 | # Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||= {}
... | 134994 | # Copyright (c) 2008-2013 <NAME> and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||= {}
) jQuery
| true | # Copyright (c) 2008-2013 PI:NAME:<NAME>END_PI and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||=... |
[
{
"context": ", vec2, vec3, quat} from 'gl-matrix'`\n\n###\nAuthor: Jens G. Magnus\n###\n\ncanvas = null\ndrawFunction = null\n\ncameraMou",
"end": 78,
"score": 0.9974858164787292,
"start": 64,
"tag": "NAME",
"value": "Jens G. Magnus"
}
] | gl-camera.coffee | JensGM/gl-camera | 0 | `import {mat4, vec2, vec3, quat} from 'gl-matrix'`
###
Author: Jens G. Magnus
###
canvas = null
drawFunction = null
cameraMouseCapture = off
smoothingThreshold = 0.0001
###
Distance
###
distance_springiness = 50
distance_sensitivity = 0.005
current_distance = 600
target_distance = 600
###
Translation
###
translat... | 71693 | `import {mat4, vec2, vec3, quat} from 'gl-matrix'`
###
Author: <NAME>
###
canvas = null
drawFunction = null
cameraMouseCapture = off
smoothingThreshold = 0.0001
###
Distance
###
distance_springiness = 50
distance_sensitivity = 0.005
current_distance = 600
target_distance = 600
###
Translation
###
translation_spri... | true | `import {mat4, vec2, vec3, quat} from 'gl-matrix'`
###
Author: PI:NAME:<NAME>END_PI
###
canvas = null
drawFunction = null
cameraMouseCapture = off
smoothingThreshold = 0.0001
###
Distance
###
distance_springiness = 50
distance_sensitivity = 0.005
current_distance = 600
target_distance = 600
###
Translation
###
tr... |
[
{
"context": "umber(ticketBlockID)\n customerName: customerName\n customerEmail: customerEmail\n ",
"end": 1861,
"score": 0.6793017983436584,
"start": 1849,
"tag": "NAME",
"value": "customerName"
}
] | bin/assets/javascripts/event_list_entry.coffee | boich249/EventTicketSim | 3 | define [
'react'
], (React) ->
EventListEntry = React.createClass
getInitialState: ->
expanded: false
gatherTicketBlocks: ->
ticketBlocksApi = jsRoutes.controllers.Events.ticketBlockForEvent(
@props.event.id
)
ticketBlocksA... | 183037 | define [
'react'
], (React) ->
EventListEntry = React.createClass
getInitialState: ->
expanded: false
gatherTicketBlocks: ->
ticketBlocksApi = jsRoutes.controllers.Events.ticketBlockForEvent(
@props.event.id
)
ticketBlocksA... | true | define [
'react'
], (React) ->
EventListEntry = React.createClass
getInitialState: ->
expanded: false
gatherTicketBlocks: ->
ticketBlocksApi = jsRoutes.controllers.Events.ticketBlockForEvent(
@props.event.id
)
ticketBlocksA... |
[
{
"context": "dataKey = 'cropit'\n\nmethods =\n\n init: (options) ->\n @each ->\n ",
"end": 17,
"score": 0.966945230960846,
"start": 11,
"tag": "KEY",
"value": "cropit"
}
] | frontend/web/assets/cropit/src/plugin.coffee | udamuri/app_muribudiman | 1 | dataKey = 'cropit'
methods =
init: (options) ->
@each ->
# Only instantiate once per element
unless $.data @, dataKey
cropit = new Cropit @, options
$.data @, dataKey, cropit
destroy: ->
@each ->
$.removeData @, dataKey
isZoomable: ->
cropit = @first().data dataKe... | 143399 | dataKey = '<KEY>'
methods =
init: (options) ->
@each ->
# Only instantiate once per element
unless $.data @, dataKey
cropit = new Cropit @, options
$.data @, dataKey, cropit
destroy: ->
@each ->
$.removeData @, dataKey
isZoomable: ->
cropit = @first().data dataKey... | true | dataKey = 'PI:KEY:<KEY>END_PI'
methods =
init: (options) ->
@each ->
# Only instantiate once per element
unless $.data @, dataKey
cropit = new Cropit @, options
$.data @, dataKey, cropit
destroy: ->
@each ->
$.removeData @, dataKey
isZoomable: ->
cropit = @first()... |
[
{
"context": "e: 'markers',\n type: 'scatter',\n name: 'Personas',\n marker:{\n size:15,\n color",
"end": 986,
"score": 0.9971829056739807,
"start": 980,
"tag": "NAME",
"value": "Person"
},
{
"context": "rkers',\n type: 'scatter',\n name: 'Perso... | app/assets/javascripts/dashboard.coffee | emmamm05/ftw-backend | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
$(document).on 'ready', (evt) ->
# Sleep Analysis Chart.
elem = document.getElementById('sl... | 174426 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
$(document).on 'ready', (evt) ->
# Sleep Analysis Chart.
elem = document.getElementById('sl... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
$(document).on 'ready', (evt) ->
# Sleep Analysis Chart.
elem = document.getElementById('sl... |
[
{
"context": "..........................\n### https://github.com/wdavidw/node-csv-parse ###\n_new_csv_parser = re",
"end": 2114,
"score": 0.8501050472259521,
"start": 2107,
"tag": "USERNAME",
"value": "wdavidw"
},
{
"context": "S)\\s+/, ''\n name = name.repla... | src/scratch/__old__GTFS-READER.coffee | loveencounterflow/timetable | 1 |
############################################################################################################
# njs_util = require 'util'
# njs_path = require 'path'
njs_fs = require 'fs'
# njs_crypto = require 'crypto'
#............................... | 76614 |
############################################################################################################
# njs_util = require 'util'
# njs_path = require 'path'
njs_fs = require 'fs'
# njs_crypto = require 'crypto'
#............................... | true |
############################################################################################################
# njs_util = require 'util'
# njs_path = require 'path'
njs_fs = require 'fs'
# njs_crypto = require 'crypto'
#............................... |
[
{
"context": "###################################\n#\n# Created by Markus on 26/10/2017.\n#\n################################",
"end": 75,
"score": 0.9994184374809265,
"start": 69,
"tag": "NAME",
"value": "Markus"
},
{
"context": "##############################\n_designer_email = \"d... | server/init_database.coffee | MooqitaSFH/worklearn | 0 | #####################################################
#
# Created by Markus on 26/10/2017.
#
#####################################################
#####################################################
_designer_email = "designer@mooqita.org"
_learner_email = "@uni.edu"
################################################... | 181138 | #####################################################
#
# Created by <NAME> on 26/10/2017.
#
#####################################################
#####################################################
_designer_email = "<EMAIL>"
_learner_email = <EMAIL>"
#####################################################
_organiza... | true | #####################################################
#
# Created by PI:NAME:<NAME>END_PI on 26/10/2017.
#
#####################################################
#####################################################
_designer_email = "PI:EMAIL:<EMAIL>END_PI"
_learner_email = PI:EMAIL:<EMAIL>END_PI"
###################... |
[
{
"context": "odal-url='#{modalUrl}'>\")[0]\n\n formText = \"My Lovely Form\"\n server = sinon.fakeServer.create()\n s",
"end": 299,
"score": 0.7165780067443848,
"start": 288,
"tag": "PASSWORD",
"value": "Lovely Form"
}
] | tests/features/remote_modal_view_spec.coffee | th3james/BellHopper | 0 | describe 'Remote Modal View - Feature', ->
describe "#render", ->
it "requests the HTML for the modal from 'data-modal-url' and renders it
to the modal body", (done) ->
modalUrl = "/links/new"
srcEl = $("<div data-modal-url='#{modalUrl}'>")[0]
formText = "My Lovely Form"
server = sino... | 223512 | describe 'Remote Modal View - Feature', ->
describe "#render", ->
it "requests the HTML for the modal from 'data-modal-url' and renders it
to the modal body", (done) ->
modalUrl = "/links/new"
srcEl = $("<div data-modal-url='#{modalUrl}'>")[0]
formText = "My <PASSWORD>"
server = sinon... | true | describe 'Remote Modal View - Feature', ->
describe "#render", ->
it "requests the HTML for the modal from 'data-modal-url' and renders it
to the modal body", (done) ->
modalUrl = "/links/new"
srcEl = $("<div data-modal-url='#{modalUrl}'>")[0]
formText = "My PI:PASSWORD:<PASSWORD>END_PI"
... |
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{tags, config, db} = require './test'\nt",
"end": 28,
"score": 0.8864140510559082,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": "user_3'\n @db.user\n username: 'db_create_user_3'\n ... | packages/db/test/database.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
{command} = require '../src/query'
return unless tags.db
for engine, _ of db then do (engine) ->
describe "db.database #{engine}", ->
they 'database as an argument', ({ssh}) ->
{exists} = aw... | 170275 |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
{command} = require '../src/query'
return unless tags.db
for engine, _ of db then do (engine) ->
describe "db.database #{engine}", ->
they 'database as an argument', ({ssh}) ->
{exists} = aw... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
{command} = require '../src/query'
return unless tags.db
for engine, _ of db then do (engine) ->
describe "db.database #{engine}", ->
they 'database as an argument', ({ssh}) ->
{exists} = aw... |
[
{
"context": "manatee - outputs a random manatee\n#\n# Author:\n# Danny Lockard\n\nSelect = require( \"soupselect\" ).select\nHTMLPars",
"end": 261,
"score": 0.9998611807823181,
"start": 248,
"tag": "NAME",
"value": "Danny Lockard"
}
] | src/scripts/manatee.coffee | Reelhouse/hubot-scripts | 2 | # Description:
# Allows Hubot to pull down images from calmingmanatee.com
#
# Dependencies:
# "htmlparser": "1.7.6"
# "soupselect: "0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot manatee - outputs a random manatee
#
# Author:
# Danny Lockard
Select = require( "soupselect" ).select
HTMLParser = requ... | 166352 | # Description:
# Allows Hubot to pull down images from calmingmanatee.com
#
# Dependencies:
# "htmlparser": "1.7.6"
# "soupselect: "0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot manatee - outputs a random manatee
#
# Author:
# <NAME>
Select = require( "soupselect" ).select
HTMLParser = require "ht... | true | # Description:
# Allows Hubot to pull down images from calmingmanatee.com
#
# Dependencies:
# "htmlparser": "1.7.6"
# "soupselect: "0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot manatee - outputs a random manatee
#
# Author:
# PI:NAME:<NAME>END_PI
Select = require( "soupselect" ).select
HTMLParser... |
[
{
"context": " = aString.replace(/super$/gm, \"window[@[arguments.callee.name + '_class_injected_in']].__super__[arg",
"end": 931,
"score": 0.7111687064170837,
"start": 931,
"tag": "EMAIL",
"value": ""
},
{
"context": "ing.replace(/super$/gm, \"window[@[arguments.callee.name + '_clas... | src/meta/Mixin.coffee | intensifier/Fizzygum | 110 | class Mixin
@allMixines: []
nonStaticPropertiesSources: nil
staticPropertiesSources: nil
name: ""
_equivalentforSuper: (aString) ->
#console.log "removing super from: " + aString
# coffeescript won't compile "super" unless it's an instance
# method (i.e. if it comes inside a class), so we need t... | 26040 | class Mixin
@allMixines: []
nonStaticPropertiesSources: nil
staticPropertiesSources: nil
name: ""
_equivalentforSuper: (aString) ->
#console.log "removing super from: " + aString
# coffeescript won't compile "super" unless it's an instance
# method (i.e. if it comes inside a class), so we need t... | true | class Mixin
@allMixines: []
nonStaticPropertiesSources: nil
staticPropertiesSources: nil
name: ""
_equivalentforSuper: (aString) ->
#console.log "removing super from: " + aString
# coffeescript won't compile "super" unless it's an instance
# method (i.e. if it comes inside a class), so we need t... |
[
{
"context": "nnerHTML = translate 'span', 'ok' if task.key is 'animalsPresent'\n \n$(decisionTree.el).on decisionTree.CHANGE, ({",
"end": 398,
"score": 0.8981921672821045,
"start": 384,
"tag": "KEY",
"value": "animalsPresent"
},
{
"context": "lEvent: detail: {key, value}}) ->\n \n... | confirm-button-label.coffee | zooniverse/penguinwatch | 0 | # Update the confirm button label for the first task, according to the current choice.
currentProject = require 'zooniverse-readymade/current-project'
translate = require 't7e'
{decisionTree} = currentProject.classifyPages[0]
$(decisionTree.el).on decisionTree.LOAD_TASK, ({originalEvent: detail: {task}})->
task.c... | 131323 | # Update the confirm button label for the first task, according to the current choice.
currentProject = require 'zooniverse-readymade/current-project'
translate = require 't7e'
{decisionTree} = currentProject.classifyPages[0]
$(decisionTree.el).on decisionTree.LOAD_TASK, ({originalEvent: detail: {task}})->
task.c... | true | # Update the confirm button label for the first task, according to the current choice.
currentProject = require 'zooniverse-readymade/current-project'
translate = require 't7e'
{decisionTree} = currentProject.classifyPages[0]
$(decisionTree.el).on decisionTree.LOAD_TASK, ({originalEvent: detail: {task}})->
task.c... |
[
{
"context": "quest.setRequestHeader(\"X-Authentication-Token\", 'xzBA8HXinAO2zprPr')\n error: (jqXHR, textStatus, errorThrown) -",
"end": 724,
"score": 0.7546015977859497,
"start": 707,
"tag": "PASSWORD",
"value": "xzBA8HXinAO2zprPr"
}
] | app/assets/javascripts/questionnaire_details.js.coffee | unepwcmc/ORS-API | 2 | window.QuestionnaireDetails = class QuestionnaireDetails
constructor: (@$container_el, @$tab_container,
@$details_container, @$questions_container) ->
@questionnaire_helper = new QuestionnaireHelper()
@questionnaire_id = localStorage.getItem('questionnaire_id')
@get_questionnaire_details()
new Qu... | 191409 | window.QuestionnaireDetails = class QuestionnaireDetails
constructor: (@$container_el, @$tab_container,
@$details_container, @$questions_container) ->
@questionnaire_helper = new QuestionnaireHelper()
@questionnaire_id = localStorage.getItem('questionnaire_id')
@get_questionnaire_details()
new Qu... | true | window.QuestionnaireDetails = class QuestionnaireDetails
constructor: (@$container_el, @$tab_container,
@$details_container, @$questions_container) ->
@questionnaire_helper = new QuestionnaireHelper()
@questionnaire_id = localStorage.getItem('questionnaire_id')
@get_questionnaire_details()
new Qu... |
[
{
"context": "..........................\n### https://github.com/dominictarr/my-local-ip ###\nget_my_ip = requi",
"end": 1672,
"score": 0.9996989965438843,
"start": 1661,
"tag": "USERNAME",
"value": "dominictarr"
},
{
"context": "..........................\n### https:... | src/main.coffee | loveencounterflow/mingkwai-search | 0 |
require 'coffee-script/register'
############################################################################################################
# njs_fs = require 'fs'
njs_path = require 'path'
njs_os = require 'os'
njs_http = require 'http'
n... | 201549 |
require 'coffee-script/register'
############################################################################################################
# njs_fs = require 'fs'
njs_path = require 'path'
njs_os = require 'os'
njs_http = require 'http'
n... | true |
require 'coffee-script/register'
############################################################################################################
# njs_fs = require 'fs'
njs_path = require 'path'
njs_os = require 'os'
njs_http = require 'http'
n... |
[
{
"context": "roid: false\n\n Production: false\n\n DisplayName: \"Trivially Pro\"\n\n kMaxRemotePlayers : 35\n\n kMaxPlayerNameL",
"end": 220,
"score": 0.6868947148323059,
"start": 211,
"tag": "NAME",
"value": "Trivially"
}
] | app-src/config.coffee | hyperbotic/crowdgame-trivially-pro | 0 | # ==================================================================================================================
Hy.Config =
AppId: "an id"
platformAndroid: false
Production: false
DisplayName: "Trivially Pro"
kMaxRemotePlayers : 35
kMaxPlayerNameLength: 8
kHelpPage : "??"
PlayerStage:
... | 168022 | # ==================================================================================================================
Hy.Config =
AppId: "an id"
platformAndroid: false
Production: false
DisplayName: "<NAME> Pro"
kMaxRemotePlayers : 35
kMaxPlayerNameLength: 8
kHelpPage : "??"
PlayerStage:
k... | true | # ==================================================================================================================
Hy.Config =
AppId: "an id"
platformAndroid: false
Production: false
DisplayName: "PI:NAME:<NAME>END_PI Pro"
kMaxRemotePlayers : 35
kMaxPlayerNameLength: 8
kHelpPage : "??"
Play... |
[
{
"context": "\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t,\n\t\tosis: [\"1John\"]\n\t\tregexp: ///(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-",
"end": 12485,
"score": 0.5226914882659912,
"start": 12481,
"tag": "NAME",
"value": "John"
},
{
"context": "\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)//... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/af/regexps.coffee | saiba-mais/bible-lessons | 0 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 140342 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "nput',\n group: 'from html'\n label: 'Sample'\n description: 'From html template'\n ",
"end": 203,
"score": 0.8798021078109741,
"start": 197,
"tag": "NAME",
"value": "Sample"
}
] | example/demo.coffee | 18601673727/angular-form-builder | 0 | angular.module 'app', ['builder', 'builder.components', 'validator.rules']
.run ['$builder', ($builder) ->
$builder.registerComponent 'sampleInput',
group: 'from html'
label: 'Sample'
description: 'From html template'
placeholder: 'placeholder'
required: no
validatio... | 130279 | angular.module 'app', ['builder', 'builder.components', 'validator.rules']
.run ['$builder', ($builder) ->
$builder.registerComponent 'sampleInput',
group: 'from html'
label: '<NAME>'
description: 'From html template'
placeholder: 'placeholder'
required: no
validatio... | true | angular.module 'app', ['builder', 'builder.components', 'validator.rules']
.run ['$builder', ($builder) ->
$builder.registerComponent 'sampleInput',
group: 'from html'
label: 'PI:NAME:<NAME>END_PI'
description: 'From html template'
placeholder: 'placeholder'
required: no
... |
[
{
"context": "st Suite\", ->\n TEST_RESPONSE = \"{\\\"author\\\": \\\"John Doe\\\",\\\"relativeDate\\\": \\\"2 Hours ago\\\",\\\"fullDate\\\":",
"end": 139,
"score": 0.9987518787384033,
"start": 131,
"tag": "NAME",
"value": "John Doe"
}
] | spec/git-history-view-spec.coffee | jakesankey/git-history | 30 | GitHistoryView = require '../lib/git-history-view'
describe "Git History View Test Suite", ->
TEST_RESPONSE = "{\"author\": \"John Doe\",\"relativeDate\": \"2 Hours ago\",\"fullDate\": \"2014-09-08\",\"message\": \"Foo Bar with \"quotes\" and {stuff}\",\"hash\": \"12345\"},"
it "should use 'message' as the fi... | 69478 | GitHistoryView = require '../lib/git-history-view'
describe "Git History View Test Suite", ->
TEST_RESPONSE = "{\"author\": \"<NAME>\",\"relativeDate\": \"2 Hours ago\",\"fullDate\": \"2014-09-08\",\"message\": \"Foo Bar with \"quotes\" and {stuff}\",\"hash\": \"12345\"},"
it "should use 'message' as the filt... | true | GitHistoryView = require '../lib/git-history-view'
describe "Git History View Test Suite", ->
TEST_RESPONSE = "{\"author\": \"PI:NAME:<NAME>END_PI\",\"relativeDate\": \"2 Hours ago\",\"fullDate\": \"2014-09-08\",\"message\": \"Foo Bar with \"quotes\" and {stuff}\",\"hash\": \"12345\"},"
it "should use 'messag... |
[
{
"context": "s to have a shouldComponentUpdate method\n# @author Evgueni Naverniouk\n###\n'use strict'\n\nrule = require 'eslint-plugin-r",
"end": 113,
"score": 0.9998710751533508,
"start": 95,
"tag": "NAME",
"value": "Evgueni Naverniouk"
}
] | src/tests/rules/require-optimization.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce React components to have a shouldComponentUpdate method
# @author Evgueni Naverniouk
###
'use strict'
rule = require 'eslint-plugin-react/lib/rules/require-optimization'
{RuleTester} = require 'eslint'
path = require 'path'
MESSAGE =
'Component is not optimized. Please add a shouldCompo... | 34458 | ###*
# @fileoverview Enforce React components to have a shouldComponentUpdate method
# @author <NAME>
###
'use strict'
rule = require 'eslint-plugin-react/lib/rules/require-optimization'
{RuleTester} = require 'eslint'
path = require 'path'
MESSAGE =
'Component is not optimized. Please add a shouldComponentUpdate m... | true | ###*
# @fileoverview Enforce React components to have a shouldComponentUpdate method
# @author PI:NAME:<NAME>END_PI
###
'use strict'
rule = require 'eslint-plugin-react/lib/rules/require-optimization'
{RuleTester} = require 'eslint'
path = require 'path'
MESSAGE =
'Component is not optimized. Please add a shouldCom... |
[
{
"context": "r _id\", ->\n indicatorAttributes = _id: 5, name: 'hat'\n\n section = new Backbone.Models.Section(indicat",
"end": 692,
"score": 0.6977673768997192,
"start": 689,
"tag": "NAME",
"value": "hat"
},
{
"context": "(\n narrative:\n _id: 23423\n content: 'bees'... | client/test/src/models/section_model.coffee | unepwcmc/NRT | 0 | assert = chai.assert
suite('Section Model')
test("When intialising a section with a nested visualisation,
visualisation.toJSON should return section: as section._id", ->
indicator = Factory.indicator()
visualisation = new Backbone.Models.Visualisation(indicator: indicator)
sectionAttributes =
indicator: i... | 220375 | assert = chai.assert
suite('Section Model')
test("When intialising a section with a nested visualisation,
visualisation.toJSON should return section: as section._id", ->
indicator = Factory.indicator()
visualisation = new Backbone.Models.Visualisation(indicator: indicator)
sectionAttributes =
indicator: i... | true | assert = chai.assert
suite('Section Model')
test("When intialising a section with a nested visualisation,
visualisation.toJSON should return section: as section._id", ->
indicator = Factory.indicator()
visualisation = new Backbone.Models.Visualisation(indicator: indicator)
sectionAttributes =
indicator: i... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999145269393921,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/form-error.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 @FormError
constructor: ->
$(document).on 'ajax:error', '.js-form-error', @showError
$(document).on 'ajax:success', '.js-form-err... | 87217 | # 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 @FormError
constructor: ->
$(document).on 'ajax:error', '.js-form-error', @showError
$(document).on 'ajax:success', '.js-form-error', @c... | 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 @FormError
constructor: ->
$(document).on 'ajax:error', '.js-form-error', @showError
$(document).on 'ajax:success', '.js-... |
[
{
"context": "ersation\n#\n# $> markMessageLines(['answer', 'From: foo@bar.com', '', '> question'])\n# 'tsem'\n#\nexports.markMe",
"end": 5964,
"score": 0.9999286532402039,
"start": 5953,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "ge lines.\n# $> processMarkedLines(['... | src/planer.coffee | tbenton/planer | 0 | htmlPlaner = require './htmlPlaner'
REGEXES = require './regexes'
SPLITTER_MAX_LINES = 4
MAX_LINES_COUNT = 1000
MAX_LINE_LENGTH = 200000
# Extract actual message from email.
#
# Will use provided `contentType` to decide which algorithm to use (plain text or html).
#
# @param msgBody [String] the html content of the e... | 222937 | htmlPlaner = require './htmlPlaner'
REGEXES = require './regexes'
SPLITTER_MAX_LINES = 4
MAX_LINES_COUNT = 1000
MAX_LINE_LENGTH = 200000
# Extract actual message from email.
#
# Will use provided `contentType` to decide which algorithm to use (plain text or html).
#
# @param msgBody [String] the html content of the e... | true | htmlPlaner = require './htmlPlaner'
REGEXES = require './regexes'
SPLITTER_MAX_LINES = 4
MAX_LINES_COUNT = 1000
MAX_LINE_LENGTH = 200000
# Extract actual message from email.
#
# Will use provided `contentType` to decide which algorithm to use (plain text or html).
#
# @param msgBody [String] the html content of the e... |
[
{
"context": "erface and experience for your app.\n *\n * @author André Lademann <vergissberlin@googlemail.com>\n * @link https:",
"end": 465,
"score": 0.9998817443847656,
"start": 451,
"tag": "NAME",
"value": "André Lademann"
},
{
"context": "ence for your app.\n *\n * @author ... | src/firebase-login-email.coffee | programmerqeu/firebase-login-simple | 1 | ###*
* FirebaseLoginEmail
*
* Authenticating Users with Email & Password
* Firebase makes it easy to integrate email and password authentication
* into your app. Firebase automatically stores your users' credentials
* securely (using bcrypt) and redundantly (daily off-site backups).
* This separates sensitive us... | 118877 | ###*
* FirebaseLoginEmail
*
* Authenticating Users with Email & Password
* Firebase makes it easy to integrate email and password authentication
* into your app. Firebase automatically stores your users' credentials
* securely (using bcrypt) and redundantly (daily off-site backups).
* This separates sensitive us... | true | ###*
* FirebaseLoginEmail
*
* Authenticating Users with Email & Password
* Firebase makes it easy to integrate email and password authentication
* into your app. Firebase automatically stores your users' credentials
* securely (using bcrypt) and redundantly (daily off-site backups).
* This separates sensitive us... |
[
{
"context": "'''\r\n/*!\r\n * typescript-after-extends\r\n * (C) 2014 Pine Mizune / MIT License\r\n */\r\n'''\r\n\r\ngulp.task 'lint', ->\r\n",
"end": 391,
"score": 0.9998726844787598,
"start": 380,
"tag": "NAME",
"value": "Pine Mizune"
}
] | gulpfile.coffee | pine/typescript-after-extends | 0 | gulp = require 'gulp'
rename = require 'gulp-rename'
header = require 'gulp-header'
uglify = require 'gulp-uglify'
typescript = require 'gulp-tsc'
webpack = require 'gulp-webpack'
plumber = require 'gulp-plumber'
jshint = require 'gulp-jshint'
tslint = require 'gulp-tslint'
pkg = require './package.json'
... | 174712 | gulp = require 'gulp'
rename = require 'gulp-rename'
header = require 'gulp-header'
uglify = require 'gulp-uglify'
typescript = require 'gulp-tsc'
webpack = require 'gulp-webpack'
plumber = require 'gulp-plumber'
jshint = require 'gulp-jshint'
tslint = require 'gulp-tslint'
pkg = require './package.json'
... | true | gulp = require 'gulp'
rename = require 'gulp-rename'
header = require 'gulp-header'
uglify = require 'gulp-uglify'
typescript = require 'gulp-tsc'
webpack = require 'gulp-webpack'
plumber = require 'gulp-plumber'
jshint = require 'gulp-jshint'
tslint = require 'gulp-tslint'
pkg = require './package.json'
... |
[
{
"context": " users: {\n test: {\n password: 'testpw'\n } \n }\n})\n\n# => CORS (Cross-Origin R",
"end": 511,
"score": 0.9992567896842957,
"start": 505,
"tag": "PASSWORD",
"value": "testpw"
},
{
"context": "\n user = router.req.body.user\n pass =... | examples/example.coffee | Burnett01/sys-api | 6 | API = require 'sys-api'
api = new API({
#'plugins.root' : ['/plugins/', '/home/user/plugins/']
#'plugins.autoload' : true,
#'logger' : 'dev'
})
# Optionally pass an object to restify's createServer-function
# http://restify.com/#creating-a-server
# example: api = new API({ restify: { name: 'MyApp' } })
... | 54920 | API = require 'sys-api'
api = new API({
#'plugins.root' : ['/plugins/', '/home/user/plugins/']
#'plugins.autoload' : true,
#'logger' : 'dev'
})
# Optionally pass an object to restify's createServer-function
# http://restify.com/#creating-a-server
# example: api = new API({ restify: { name: 'MyApp' } })
... | true | API = require 'sys-api'
api = new API({
#'plugins.root' : ['/plugins/', '/home/user/plugins/']
#'plugins.autoload' : true,
#'logger' : 'dev'
})
# Optionally pass an object to restify's createServer-function
# http://restify.com/#creating-a-server
# example: api = new API({ restify: { name: 'MyApp' } })
... |
[
{
"context": "plyEmblems\"\n\n\t@isKeyworded: true\n\t@modifierName: \"Destiny\"\n\t@description: null\n\t@keywordDefinition: \"Summon",
"end": 278,
"score": 0.9939844608306885,
"start": 271,
"tag": "NAME",
"value": "Destiny"
}
] | app/sdk/modifiers/modifierOnSummonFromHandApplyEmblems.coffee | willroberts/duelyst | 5 | ModifierOnSummonFromHand = require './modifierOnSummonFromHand'
class ModifierOnSummonFromHandApplyEmblems extends ModifierOnSummonFromHand
type:"ModifierOnSummonFromHandApplyEmblems"
@type:"ModifierOnSummonFromHandApplyEmblems"
@isKeyworded: true
@modifierName: "Destiny"
@description: null
@keywordDefinition:... | 100447 | ModifierOnSummonFromHand = require './modifierOnSummonFromHand'
class ModifierOnSummonFromHandApplyEmblems extends ModifierOnSummonFromHand
type:"ModifierOnSummonFromHandApplyEmblems"
@type:"ModifierOnSummonFromHandApplyEmblems"
@isKeyworded: true
@modifierName: "<NAME>"
@description: null
@keywordDefinition: ... | true | ModifierOnSummonFromHand = require './modifierOnSummonFromHand'
class ModifierOnSummonFromHandApplyEmblems extends ModifierOnSummonFromHand
type:"ModifierOnSummonFromHandApplyEmblems"
@type:"ModifierOnSummonFromHandApplyEmblems"
@isKeyworded: true
@modifierName: "PI:NAME:<NAME>END_PI"
@description: null
@keywo... |
[
{
"context": "er, a drive-in, or a dive. There I met TV food guy Guy Fieri. Between mouthfuls of cheese and enthusiasm, he p",
"end": 1723,
"score": 0.9837857484817505,
"start": 1714,
"tag": "NAME",
"value": "Guy Fieri"
}
] | stories/around-the-world.coffee | STRd6/zine | 12 | module.exports = """
# Around the World in 20 Years and a Weekend
The history of human progress is rife with us entering things. [Tombs](https://en.wikipedia.org/wiki/Raiders_of_the_Lost_Ark), [dragons](https://en.wikipedia.org/wiki/Enter_the_Dragon), [voids](https://en.wikipedia.org/wiki/Enter_the_Void), even [gungeo... | 102141 | module.exports = """
# Around the World in 20 Years and a Weekend
The history of human progress is rife with us entering things. [Tombs](https://en.wikipedia.org/wiki/Raiders_of_the_Lost_Ark), [dragons](https://en.wikipedia.org/wiki/Enter_the_Dragon), [voids](https://en.wikipedia.org/wiki/Enter_the_Void), even [gungeo... | true | module.exports = """
# Around the World in 20 Years and a Weekend
The history of human progress is rife with us entering things. [Tombs](https://en.wikipedia.org/wiki/Raiders_of_the_Lost_Ark), [dragons](https://en.wikipedia.org/wiki/Enter_the_Dragon), [voids](https://en.wikipedia.org/wiki/Enter_the_Void), even [gungeo... |
[
{
"context": "Run new server with specified name\n#\n# Author:\n# Nagaev Maksim\n\ngeneratePassword = require 'password-generator'\n",
"end": 1691,
"score": 0.9998642206192017,
"start": 1678,
"tag": "NAME",
"value": "Nagaev Maksim"
},
{
"context": "rt\": true,\n \"name\": server... | scripts/hubot-vscale.coffee | menemy/hubot-vscale | 0 | # Description:
# Interact with vscale API using token
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_VSCALE_LOCATION - datacenter location spb0 or msk0
# HUBOT_VSCALE_RPLAN - type of instance small or medium or large or huge or monster
# HUBOT_VSCALE_OS - OS to use
# debian_8.1_64_001_master
# ... | 160069 | # Description:
# Interact with vscale API using token
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_VSCALE_LOCATION - datacenter location spb0 or msk0
# HUBOT_VSCALE_RPLAN - type of instance small or medium or large or huge or monster
# HUBOT_VSCALE_OS - OS to use
# debian_8.1_64_001_master
# ... | true | # Description:
# Interact with vscale API using token
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_VSCALE_LOCATION - datacenter location spb0 or msk0
# HUBOT_VSCALE_RPLAN - type of instance small or medium or large or huge or monster
# HUBOT_VSCALE_OS - OS to use
# debian_8.1_64_001_master
# ... |
[
{
"context": "walk the $cheagle today\"\n with $cheagle = \"Coco\"\n say \"walking\"\n\n when \"stroll\"\n ",
"end": 4883,
"score": 0.9878063797950745,
"start": 4879,
"tag": "NAME",
"value": "Coco"
},
{
"context": " \"walk the $poodle today\"\n with $poo... | tests/features/intents.spec.coffee | fboerncke/litexa | 1 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
assert = require 'assert'
debug = req... | 18843 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
assert = require 'assert'
debug = req... | true | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
assert = require 'assert'
debug = req... |
[
{
"context": "て答えるやつ\n#\n# Configuration:\n# None\n#\n# Author:\n# knjcode <knjcode@gmail.com>\n\nmodule.exports = (robot) ->\n",
"end": 97,
"score": 0.9996605515480042,
"start": 90,
"tag": "USERNAME",
"value": "knjcode"
},
{
"context": " Configuration:\n# None\n#\n# Author:\n#... | src/hubot-yamero-otsukare.coffee | prototype-cafe/hubot-yamero-otsukare | 0 | # Description
# 『やめろ』って聞こえたら『お疲れ様です』って答えるやつ
#
# Configuration:
# None
#
# Author:
# knjcode <knjcode@gmail.com>
module.exports = (robot) ->
robot.hear /やめろ/, (msg) ->
msg.send "お疲れ様です"
| 126651 | # Description
# 『やめろ』って聞こえたら『お疲れ様です』って答えるやつ
#
# Configuration:
# None
#
# Author:
# knjcode <<EMAIL>>
module.exports = (robot) ->
robot.hear /やめろ/, (msg) ->
msg.send "お疲れ様です"
| true | # Description
# 『やめろ』って聞こえたら『お疲れ様です』って答えるやつ
#
# Configuration:
# None
#
# Author:
# knjcode <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.hear /やめろ/, (msg) ->
msg.send "お疲れ様です"
|
[
{
"context": "sets }) ->\n \n @keymode = derive.keymodes.WEB_PW unless @keymode?\n @fixed = {} unless @fixed?\n ",
"end": 2412,
"score": 0.7485347986221313,
"start": 2410,
"tag": "KEY",
"value": "PW"
}
] | src/lib/engine.iced | maxtaco/oneshallpass | 120 |
util = require './util.iced'
{config} = require './config.iced'
derive = require './derive.iced'
{Client,Record} = require './client.iced'
##=======================================================================
class Cache
constructor : () ->
@_c = {}
timeout : () -> config.timeouts.cache
clear : () -> ... | 124875 |
util = require './util.iced'
{config} = require './config.iced'
derive = require './derive.iced'
{Client,Record} = require './client.iced'
##=======================================================================
class Cache
constructor : () ->
@_c = {}
timeout : () -> config.timeouts.cache
clear : () -> ... | true |
util = require './util.iced'
{config} = require './config.iced'
derive = require './derive.iced'
{Client,Record} = require './client.iced'
##=======================================================================
class Cache
constructor : () ->
@_c = {}
timeout : () -> config.timeouts.cache
clear : () -> ... |
[
{
"context": "# @fileoverview Validate JSX indentation\n# @author Yannick Croissant\n# This rule has been ported and modified from esl",
"end": 73,
"score": 0.9998957514762878,
"start": 56,
"tag": "NAME",
"value": "Yannick Croissant"
},
{
"context": "ted and modified from eslint and ... | src/rules/jsx-indent.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validate JSX indentation
# @author Yannick Croissant
# This rule has been ported and modified from eslint and nodeca.
# @author Vitaly Puzrin
# @author Gyandeep Singh
# @copyright 2015 Vitaly Puzrin. All rights reserved.
# @copyright 2015 Gyandeep Singh. All rights reserved.
Copyright (C) 2014 by ... | 10509 | ###*
# @fileoverview Validate JSX indentation
# @author <NAME>
# This rule has been ported and modified from eslint and nodeca.
# @author <NAME>
# @author <NAME>
# @copyright 2015 <NAME>. All rights reserved.
# @copyright 2015 <NAME>. All rights reserved.
Copyright (C) 2014 by <NAME>
Permission is hereby granted, fr... | true | ###*
# @fileoverview Validate JSX indentation
# @author PI:NAME:<NAME>END_PI
# This rule has been ported and modified from eslint and nodeca.
# @author PI:NAME:<NAME>END_PI
# @author PI:NAME:<NAME>END_PI
# @copyright 2015 PI:NAME:<NAME>END_PI. All rights reserved.
# @copyright 2015 PI:NAME:<NAME>END_PI. All rights rese... |
[
{
"context": "e createable', ->\n t = new Task({\n name: 'a name'\n time: new Date()\n opts:\n ",
"end": 244,
"score": 0.8813353180885315,
"start": 243,
"tag": "NAME",
"value": "a"
},
{
"context": " createable', ->\n t = new Task({\n name: 'a name'\n ... | test/task.coffee | ethanmick/future-client | 0 | 'use strict'
should = require('chai').should()
Task = require '../lib/task'
Client = require '../lib/client'
describe 'Task', ->
it 'should exist', ->
should.exist Task
it 'should be createable', ->
t = new Task({
name: 'a name'
time: new Date()
opts:
something: 'ok'
})
... | 192156 | 'use strict'
should = require('chai').should()
Task = require '../lib/task'
Client = require '../lib/client'
describe 'Task', ->
it 'should exist', ->
should.exist Task
it 'should be createable', ->
t = new Task({
name: '<NAME> name'
time: new Date()
opts:
something: 'ok'
}... | true | 'use strict'
should = require('chai').should()
Task = require '../lib/task'
Client = require '../lib/client'
describe 'Task', ->
it 'should exist', ->
should.exist Task
it 'should be createable', ->
t = new Task({
name: 'PI:NAME:<NAME>END_PI name'
time: new Date()
opts:
somethi... |
[
{
"context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ",
"end": 67,
"score": 0.9998788833618164,
"start": 52,
"tag": "NAME",
"value": "Ward Cunningham"
},
{
"context": "nsed under the MIT license.\n * htt... | server/friends.coffee | Strongpool/fedarwiki-security-arweave | 0 | ###
* Federated Wiki : Node Server
*
* Copyright Ward Cunningham and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-node-server/blob/master/LICENSE.txt
###
# **security.coffee**
# Module for Arweave site security.
#### Requires ####
console.log 'friends starting'
crypto = r... | 100040 | ###
* Federated Wiki : Node Server
*
* Copyright <NAME> and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-node-server/blob/master/LICENSE.txt
###
# **security.coffee**
# Module for Arweave site security.
#### Requires ####
console.log 'friends starting'
crypto = require 'c... | true | ###
* Federated Wiki : Node Server
*
* Copyright PI:NAME:<NAME>END_PI and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-node-server/blob/master/LICENSE.txt
###
# **security.coffee**
# Module for Arweave site security.
#### Requires ####
console.log 'friends starting'
crypt... |
[
{
"context": "ys.push opt.alias if opt.alias?\n combined_keys[(\"-#{prefix}#{key}\" for key in keys).join ', '] = opt\n key_col_width = min_widt",
"end": 2338,
"score": 0.9611576795578003,
"start": 2311,
"tag": "KEY",
"value": "#{prefix}#{key}\" for key in"
},
{
"context": " comb... | src/option_parser.coffee | angrave/doppio | 2 | #! /usr/bin/env coffee
_ = require '../vendor/underscore/underscore.js'
root = exports ? this.option_parser = {}
options = null
description = null
root.describe = (new_description) ->
options = {}
description = new_description
for k, category of description
category_copy = {}
for opt_name, opt_value of... | 17521 | #! /usr/bin/env coffee
_ = require '../vendor/underscore/underscore.js'
root = exports ? this.option_parser = {}
options = null
description = null
root.describe = (new_description) ->
options = {}
description = new_description
for k, category of description
category_copy = {}
for opt_name, opt_value of... | true | #! /usr/bin/env coffee
_ = require '../vendor/underscore/underscore.js'
root = exports ? this.option_parser = {}
options = null
description = null
root.describe = (new_description) ->
options = {}
description = new_description
for k, category of description
category_copy = {}
for opt_name, opt_value of... |
[
{
"context": ": (attributes) ->\n super(attributes)\n @key = @constructor.buildKey(attributes)\n @isDefault = up.framework.booting",
"end": 331,
"score": 0.5621457099914551,
"start": 310,
"tag": "KEY",
"value": "@constructor.buildKey"
}
] | lib/assets/javascripts/unpoly/classes/event_listener.coffee | pfw/unpoly | 0 | u = up.util
e = up.element
class up.EventListener extends up.Record
keys: ->
[
'element',
'eventType',
'selector',
'callback',
'jQuery',
'guard',
'baseLayer',
'passive',
'once'
]
constructor: (attributes) ->
super(attributes)
@key = @construct... | 110433 | u = up.util
e = up.element
class up.EventListener extends up.Record
keys: ->
[
'element',
'eventType',
'selector',
'callback',
'jQuery',
'guard',
'baseLayer',
'passive',
'once'
]
constructor: (attributes) ->
super(attributes)
@key = <KEY>(attr... | true | u = up.util
e = up.element
class up.EventListener extends up.Record
keys: ->
[
'element',
'eventType',
'selector',
'callback',
'jQuery',
'guard',
'baseLayer',
'passive',
'once'
]
constructor: (attributes) ->
super(attributes)
@key = PI:KEY:<KE... |
[
{
"context": "# Fuzzy\n# https://github.com/myork/fuzzy\n#\n# Copyright (c) 2012 Matt York\n# Licensed",
"end": 34,
"score": 0.9993451833724976,
"start": 29,
"tag": "USERNAME",
"value": "myork"
},
{
"context": "ps://github.com/myork/fuzzy\n#\n# Copyright (c) 2012 Matt York\n# License... | atom/packages/git-plus/lib/models/fuzzy.coffee | ericeslinger/dotfiles | 0 | # Fuzzy
# https://github.com/myork/fuzzy
#
# Copyright (c) 2012 Matt York
# Licensed under the MIT license.
fuzzy = {}
module.exports = fuzzy
# Return all elements of `array` that have a fuzzy
# match against `pattern`.
fuzzy.simpleFilter = (pattern, array) ->
array.filter (string) ->
fuzzy.test pattern, string... | 91327 | # Fuzzy
# https://github.com/myork/fuzzy
#
# Copyright (c) 2012 <NAME>
# Licensed under the MIT license.
fuzzy = {}
module.exports = fuzzy
# Return all elements of `array` that have a fuzzy
# match against `pattern`.
fuzzy.simpleFilter = (pattern, array) ->
array.filter (string) ->
fuzzy.test pattern, string
#... | true | # Fuzzy
# https://github.com/myork/fuzzy
#
# Copyright (c) 2012 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
fuzzy = {}
module.exports = fuzzy
# Return all elements of `array` that have a fuzzy
# match against `pattern`.
fuzzy.simpleFilter = (pattern, array) ->
array.filter (string) ->
fuzzy.test patt... |
[
{
"context": " # Creating valid Post.\n post = new Post text: 'Norad II crashed!'\n assert post.valid(), true\n\n # Creati",
"end": 2077,
"score": 0.994596004486084,
"start": 2069,
"tag": "NAME",
"value": "Norad II"
}
] | examples/validations.coffee | wanbok/mongo-model | 1 | # Validations in [Model](model.html).
#
# You can use `errors` to store error messages, `valid` to check validity of Model and `validate`,
# `before validate` and 'after validate` callbacks for defining validation rules.
#
# In this example we'll create simple Blog Application and
# use validations to ensure correctnes... | 70722 | # Validations in [Model](model.html).
#
# You can use `errors` to store error messages, `valid` to check validity of Model and `validate`,
# `before validate` and 'after validate` callbacks for defining validation rules.
#
# In this example we'll create simple Blog Application and
# use validations to ensure correctnes... | true | # Validations in [Model](model.html).
#
# You can use `errors` to store error messages, `valid` to check validity of Model and `validate`,
# `before validate` and 'after validate` callbacks for defining validation rules.
#
# In this example we'll create simple Blog Application and
# use validations to ensure correctnes... |
[
{
"context": "\n###\nNode CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)\nTesting the rea",
"end": 37,
"score": 0.9998475313186646,
"start": 26,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n###\nNode CSV - Copyright David Worms <open@adaltas.com> (BSD Licen... | Tools/phantalyzer-master/node_modules/csv/test/trim.coffee | pianomanx/watchdog | 377 |
###
Node CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)
Testing the read options `trim`, `ltrim` and `rtrim`.
###
require 'coffee-script'
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'ltrim', ->
it 'should ignore... | 103771 |
###
Node CSV - Copyright <NAME> <<EMAIL>> (BSD Licensed)
Testing the read options `trim`, `ltrim` and `rtrim`.
###
require 'coffee-script'
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'ltrim', ->
it 'should ignore the whitespac... | true |
###
Node CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (BSD Licensed)
Testing the read options `trim`, `ltrim` and `rtrim`.
###
require 'coffee-script'
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'ltrim', ->
it... |
[
{
"context": "###\n Copyright (c) 2015 Abi Hafshin\n see README.md\n###\n\nasset = require 'connect-ass",
"end": 36,
"score": 0.9998801350593567,
"start": 25,
"tag": "NAME",
"value": "Abi Hafshin"
}
] | app/asset.coffee | abihf/express-rad | 0 | ###
Copyright (c) 2015 Abi Hafshin
see README.md
###
asset = require 'connect-assets'
Mincer = require('mincer')
require('mincer-cssurl')(Mincer)
Mincer.Template.libs.coffee = require('iced-coffee-script')
module.exports = () ->
options =
paths: [
'assets/css',
'assets/js',
'assets/img'
... | 159243 | ###
Copyright (c) 2015 <NAME>
see README.md
###
asset = require 'connect-assets'
Mincer = require('mincer')
require('mincer-cssurl')(Mincer)
Mincer.Template.libs.coffee = require('iced-coffee-script')
module.exports = () ->
options =
paths: [
'assets/css',
'assets/js',
'assets/img'
]
... | true | ###
Copyright (c) 2015 PI:NAME:<NAME>END_PI
see README.md
###
asset = require 'connect-assets'
Mincer = require('mincer')
require('mincer-cssurl')(Mincer)
Mincer.Template.libs.coffee = require('iced-coffee-script')
module.exports = () ->
options =
paths: [
'assets/css',
'assets/js',
'asse... |
[
{
"context": "ntext) ->\n watchers = @_subscriptions\n key = uniqueKey()\n watchers[key] = [fn, context]\n unuse = @",
"end": 1276,
"score": 0.8881018161773682,
"start": 1267,
"tag": "KEY",
"value": "uniqueKey"
}
] | src/signal.coffee | trello/hearsay | 5 | uniqueKey = require './utils/uniqueKey'
once = require './utils/once'
schedulerRef = require './scheduler-ref'
eligibleSignals = []
isDisposalScheduled = false
dispose = ->
i = 0
while i < eligibleSignals.length
signal = eligibleSignals[i]
signal._scheduled = false
if signal._users == 0
signal._... | 38109 | uniqueKey = require './utils/uniqueKey'
once = require './utils/once'
schedulerRef = require './scheduler-ref'
eligibleSignals = []
isDisposalScheduled = false
dispose = ->
i = 0
while i < eligibleSignals.length
signal = eligibleSignals[i]
signal._scheduled = false
if signal._users == 0
signal._... | true | uniqueKey = require './utils/uniqueKey'
once = require './utils/once'
schedulerRef = require './scheduler-ref'
eligibleSignals = []
isDisposalScheduled = false
dispose = ->
i = 0
while i < eligibleSignals.length
signal = eligibleSignals[i]
signal._scheduled = false
if signal._users == 0
signal._... |
[
{
"context": " describe 'OrderBy()', ->\n it 'should return [\"Amanda\", \"Todd\"]', (done) ->\n l = new LINQ [{name: ",
"end": 5250,
"score": 0.9500133395195007,
"start": 5244,
"tag": "NAME",
"value": "Amanda"
},
{
"context": "'OrderBy()', ->\n it 'should return [\"Amanda... | node_modules/node-linq/test/LINQ.coffee | wleorule/CloudBox | 1 | {LINQ} = require '../'
should = require 'should'
require 'mocha'
describe 'indexes', ->
describe 'Count()', ->
it 'should return 5', (done) ->
l = new LINQ [1, 2, 3, 4, 5]
l.Count().should.equal 5
done()
it 'should return 0', (done) ->
l = new LINQ []
l.Count().should.equal 0
... | 53974 | {LINQ} = require '../'
should = require 'should'
require 'mocha'
describe 'indexes', ->
describe 'Count()', ->
it 'should return 5', (done) ->
l = new LINQ [1, 2, 3, 4, 5]
l.Count().should.equal 5
done()
it 'should return 0', (done) ->
l = new LINQ []
l.Count().should.equal 0
... | true | {LINQ} = require '../'
should = require 'should'
require 'mocha'
describe 'indexes', ->
describe 'Count()', ->
it 'should return 5', (done) ->
l = new LINQ [1, 2, 3, 4, 5]
l.Count().should.equal 5
done()
it 'should return 0', (done) ->
l = new LINQ []
l.Count().should.equal 0
... |
[
{
"context": "essageWithType \"auth\", \"hashed_login\", { username: @pending_username, bcrypted: hashed }\n return\n if data[",
"end": 1264,
"score": 0.9741301536560059,
"start": 1247,
"tag": "USERNAME",
"value": "@pending_username"
},
{
"context": "\"player_action\", ac... | dcjs/dcjs_websocket.coffee | noahgibbs/demiurge-createjs | 0 | class DCJS.WebsocketTransport extends DCJS.Transport
constructor: (dcjs, ws, cookie = document.cookie) ->
super(dcjs)
@dcjs = dcjs # Workaround to not reference "this" before calling super
@ws = ws
@cookie = cookie
@opened = false
@ready = false
@login_handler = false
@failed_login_ha... | 117108 | class DCJS.WebsocketTransport extends DCJS.Transport
constructor: (dcjs, ws, cookie = document.cookie) ->
super(dcjs)
@dcjs = dcjs # Workaround to not reference "this" before calling super
@ws = ws
@cookie = cookie
@opened = false
@ready = false
@login_handler = false
@failed_login_ha... | true | class DCJS.WebsocketTransport extends DCJS.Transport
constructor: (dcjs, ws, cookie = document.cookie) ->
super(dcjs)
@dcjs = dcjs # Workaround to not reference "this" before calling super
@ws = ws
@cookie = cookie
@opened = false
@ready = false
@login_handler = false
@failed_login_ha... |
[
{
"context": "\n fakeProperty =\n id: propertyId\n name: \"Bad Apartment\"\n description: \"A pretty bad apartment\"\n ad",
"end": 222,
"score": 0.7306563854217529,
"start": 209,
"tag": "NAME",
"value": "Bad Apartment"
}
] | spec/javascripts/controllers/PropertyController_spec.coffee | Apmats/property_management_system_ngRoR_sample | 0 | describe "PropertyController", ->
scope = null
ctrl = null
routeParams = null
httpBackend = null
propertyId = 10
flash = null
fakeProperty =
id: propertyId
name: "Bad Apartment"
description: "A pretty bad apartment"
address: "Nonexistant Str. 45"
property_type: ... | 63550 | describe "PropertyController", ->
scope = null
ctrl = null
routeParams = null
httpBackend = null
propertyId = 10
flash = null
fakeProperty =
id: propertyId
name: "<NAME>"
description: "A pretty bad apartment"
address: "Nonexistant Str. 45"
property_type: "City"
... | true | describe "PropertyController", ->
scope = null
ctrl = null
routeParams = null
httpBackend = null
propertyId = 10
flash = null
fakeProperty =
id: propertyId
name: "PI:NAME:<NAME>END_PI"
description: "A pretty bad apartment"
address: "Nonexistant Str. 45"
property... |
[
{
"context": "e cookieParser() \n\tapp.use express.session\n\t\tkey:\"shk-framework\"\n\t\tsecret:\"your-secret-key\"\n\n\tapp.use express.sta",
"end": 595,
"score": 0.9812285304069519,
"start": 582,
"tag": "KEY",
"value": "shk-framework"
}
] | app.coffee | shkarimpour/framework-core | 0 | module.exports = ->
express = require 'express'
path = require 'path'
favicon = require 'static-favicon'
logger = require 'morgan'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
config = require '../../config'
app = express()
app.locals.routes = {}
# view engine setup
app.s... | 73215 | module.exports = ->
express = require 'express'
path = require 'path'
favicon = require 'static-favicon'
logger = require 'morgan'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
config = require '../../config'
app = express()
app.locals.routes = {}
# view engine setup
app.s... | true | module.exports = ->
express = require 'express'
path = require 'path'
favicon = require 'static-favicon'
logger = require 'morgan'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
config = require '../../config'
app = express()
app.locals.routes = {}
# view engine setup
app.s... |
[
{
"context": " member.teamId = team.id\n member.firstName = 'Test'\n teamsnap.saveMember member, (err, result) ->",
"end": 456,
"score": 0.9985404014587402,
"start": 452,
"tag": "NAME",
"value": "Test"
}
] | test/forumPosts.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Forum Posts', ->
topic = null
post = null
member = null
before (done) ->
topic = teamsnap.createForumTopic()
topic.teamId = team.id
topic.title = "What a topic"
teamsnap.saveForumTopic topic, (err, result) ->
expect(err).to.be.null
result.should.have.property('type', 'for... | 56471 | describe 'Forum Posts', ->
topic = null
post = null
member = null
before (done) ->
topic = teamsnap.createForumTopic()
topic.teamId = team.id
topic.title = "What a topic"
teamsnap.saveForumTopic topic, (err, result) ->
expect(err).to.be.null
result.should.have.property('type', 'for... | true | describe 'Forum Posts', ->
topic = null
post = null
member = null
before (done) ->
topic = teamsnap.createForumTopic()
topic.teamId = team.id
topic.title = "What a topic"
teamsnap.saveForumTopic topic, (err, result) ->
expect(err).to.be.null
result.should.have.property('type', 'for... |
[
{
"context": "'''\nwatchOS : Docks\n\n@auther Jungho song (threeword.com)\n@since 2016.11.23\n'''\nclass expor",
"end": 40,
"score": 0.9998639822006226,
"start": 29,
"tag": "NAME",
"value": "Jungho song"
}
] | modules/watchos-kit-docks.coffee | framer-modules/watchos | 2 | '''
watchOS : Docks
@auther Jungho song (threeword.com)
@since 2016.11.23
'''
class exports.Docks extends Layer
# Basic apps
appsInfo = [
{ name: "메시지", icon: "images/ic_messages.png", image: "images/messages.png" }
{ name: "캘린더", icon: "images/ic_calendar.png", image: "images/calendar.png" }
{ name: "타이머", i... | 184119 | '''
watchOS : Docks
@auther <NAME> (threeword.com)
@since 2016.11.23
'''
class exports.Docks extends Layer
# Basic apps
appsInfo = [
{ name: "메시지", icon: "images/ic_messages.png", image: "images/messages.png" }
{ name: "캘린더", icon: "images/ic_calendar.png", image: "images/calendar.png" }
{ name: "타이머", icon: ... | true | '''
watchOS : Docks
@auther PI:NAME:<NAME>END_PI (threeword.com)
@since 2016.11.23
'''
class exports.Docks extends Layer
# Basic apps
appsInfo = [
{ name: "메시지", icon: "images/ic_messages.png", image: "images/messages.png" }
{ name: "캘린더", icon: "images/ic_calendar.png", image: "images/calendar.png" }
{ name:... |
[
{
"context": "#\n# The i18n test\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test, assert} = require('lovely')\n\n\ndescribe \"",
"end": 63,
"score": 0.9998790621757507,
"start": 46,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/date/test/i18n_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The i18n test
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test, assert} = require('lovely')
describe "Dates i18n", ->
Date = null
date = null
original = null
russian =
days: 'Воскресенье Понедельник Вторник Среда Четверг Пятница Суббота'
daysShort: 'Вск Пнд Втр Срд Чтв Птн ... | 32470 | #
# The i18n test
#
# Copyright (C) 2011-2013 <NAME>
#
{Test, assert} = require('lovely')
describe "Dates i18n", ->
Date = null
date = null
original = null
russian =
days: 'Воскресенье Понедельник Вторник Среда Четверг Пятница Суббота'
daysShort: 'Вск Пнд Втр Срд Чтв Птн Суб'
mo... | true | #
# The i18n test
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test, assert} = require('lovely')
describe "Dates i18n", ->
Date = null
date = null
original = null
russian =
days: 'Воскресенье Понедельник Вторник Среда Четверг Пятница Суббота'
daysShort: 'Вск Пнд Втр Срд Чтв П... |
[
{
"context": ": \"A boilerplate for static site\"\n meta_author: 'Peter DeMartini'\n",
"end": 126,
"score": 0.9998590350151062,
"start": 111,
"tag": "NAME",
"value": "Peter DeMartini"
}
] | metadata.coffee | peterdemartini/nectarine | 0 | module.exports =
meta_title: 'Nectarine'
meta_description: "A boilerplate for static site"
meta_author: 'Peter DeMartini'
| 5563 | module.exports =
meta_title: 'Nectarine'
meta_description: "A boilerplate for static site"
meta_author: '<NAME>'
| true | module.exports =
meta_title: 'Nectarine'
meta_description: "A boilerplate for static site"
meta_author: 'PI:NAME:<NAME>END_PI'
|
[
{
"context": " 'name', placeholder: 'name')\n (input type: 'password', name: 'password', ref: 'password', placeholder:",
"end": 1075,
"score": 0.9983497858047485,
"start": 1067,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " name: 'password', ref: 'password', placehold... | app/Login.coffee | fiatjaf/scrapboard | 2 | React = require 'lib/react'
superagent = require 'lib/superagent'
{div, time, a, form, input, textarea, button} = React.DOM
getSessionURL = ->
if typeof getBaseURL == 'function'
getBaseURL() + '/_session'
else if typeof basePath isnt 'undefined'
basePath + '/_session'
else
'/_session'
module.export... | 176094 | React = require 'lib/react'
superagent = require 'lib/superagent'
{div, time, a, form, input, textarea, button} = React.DOM
getSessionURL = ->
if typeof getBaseURL == 'function'
getBaseURL() + '/_session'
else if typeof basePath isnt 'undefined'
basePath + '/_session'
else
'/_session'
module.export... | true | React = require 'lib/react'
superagent = require 'lib/superagent'
{div, time, a, form, input, textarea, button} = React.DOM
getSessionURL = ->
if typeof getBaseURL == 'function'
getBaseURL() + '/_session'
else if typeof basePath isnt 'undefined'
basePath + '/_session'
else
'/_session'
module.export... |
[
{
"context": "(str) -> 'hex' + str\n\n#START:main\npasswordHash = 'e2fc714c4727ee9395f324cd2e7f331f'\n# do other stuff...\nsendPasswordHashToServer = (",
"end": 126,
"score": 0.9995155930519104,
"start": 94,
"tag": "PASSWORD",
"value": "e2fc714c4727ee9395f324cd2e7f331f"
},
{
"context... | code/LanguageBasics/passwordHash.coffee | mingchaoyan/CoffeeScript-Accelerated-JavaScript-Development | 0 | $ = ajax: (obj) -> return obj.data
hexMD5 = (str) -> 'hex' + str
#START:main
passwordHash = 'e2fc714c4727ee9395f324cd2e7f331f'
# do other stuff...
sendPasswordHashToServer = (password) ->
passwordHash = hexMD5(password)
$.ajax data: passwordHash
#END:main
assert = require 'assert'
assert.equal passwordHash, 'e2fc... | 184581 | $ = ajax: (obj) -> return obj.data
hexMD5 = (str) -> 'hex' + str
#START:main
passwordHash = '<PASSWORD>'
# do other stuff...
sendPasswordHashToServer = (password) ->
passwordHash = hexMD5(password)
$.ajax data: passwordHash
#END:main
assert = require 'assert'
assert.equal passwordHash, '<PASSWORD>'
sendPasswordHa... | true | $ = ajax: (obj) -> return obj.data
hexMD5 = (str) -> 'hex' + str
#START:main
passwordHash = 'PI:PASSWORD:<PASSWORD>END_PI'
# do other stuff...
sendPasswordHashToServer = (password) ->
passwordHash = hexMD5(password)
$.ajax data: passwordHash
#END:main
assert = require 'assert'
assert.equal passwordHash, 'PI:PASSW... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999122619628906,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/forum-topic-watch-ajax.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 @ForumTopicWatchAjax
constructor: ->
$(document).on 'ajax:before', '.js-forum-topic-watch-ajax', @shouldContinue
$(document).on '... | 20702 | # 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 @ForumTopicWatchAjax
constructor: ->
$(document).on 'ajax:before', '.js-forum-topic-watch-ajax', @shouldContinue
$(document).on 'ajax:se... | 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 @ForumTopicWatchAjax
constructor: ->
$(document).on 'ajax:before', '.js-forum-topic-watch-ajax', @shouldContinue
$(docume... |
[
{
"context": "raxis.com/IQScloudWeb/IQScloudManager/api?token=#{iqstoken}&tag=#{tag}\")\n .header('Accept', 'applicat",
"end": 365,
"score": 0.5451219081878662,
"start": 357,
"tag": "KEY",
"value": "iqstoken"
}
] | scripts/iqscloud.coffee | infraxis/ixbot | 0 | iqstoken = process.env.IQS_TOKEN
module.exports = (robot) ->
robot.respond /run iqs test (.*)/i, (rep) ->
tag = rep.match[1]
rep.reply ":rocket: OK, running the testset tagged with " + tag + " in iqs - I'll report back the results when done."
robot.http("https://iqscloud.infraxis.com/IQS... | 55251 | iqstoken = process.env.IQS_TOKEN
module.exports = (robot) ->
robot.respond /run iqs test (.*)/i, (rep) ->
tag = rep.match[1]
rep.reply ":rocket: OK, running the testset tagged with " + tag + " in iqs - I'll report back the results when done."
robot.http("https://iqscloud.infraxis.com/IQS... | true | iqstoken = process.env.IQS_TOKEN
module.exports = (robot) ->
robot.respond /run iqs test (.*)/i, (rep) ->
tag = rep.match[1]
rep.reply ":rocket: OK, running the testset tagged with " + tag + " in iqs - I'll report back the results when done."
robot.http("https://iqscloud.infraxis.com/IQS... |
[
{
"context": "[0]}\", advice[1]]\n else\n key = _.keys(advice)[0]\n advice = [\"#{namespace",
"end": 5001,
"score": 0.6022877097129822,
"start": 4999,
"tag": "KEY",
"value": "_."
}
] | lib/YouAreDaChef.coffee | raganwald/YouAreDaChef | 22 | _ = require 'underscore'
class Combinator
constructor: (args...) ->
@clazzes []
@methods []
@for(args...)
this
namespace: (name = null) ->
if name?
@_namespace = name
this
else @_namespace
clazzes: (args...) ->
if args.length > 0
@_clazzes = args
this
els... | 210802 | _ = require 'underscore'
class Combinator
constructor: (args...) ->
@clazzes []
@methods []
@for(args...)
this
namespace: (name = null) ->
if name?
@_namespace = name
this
else @_namespace
clazzes: (args...) ->
if args.length > 0
@_clazzes = args
this
els... | true | _ = require 'underscore'
class Combinator
constructor: (args...) ->
@clazzes []
@methods []
@for(args...)
this
namespace: (name = null) ->
if name?
@_namespace = name
this
else @_namespace
clazzes: (args...) ->
if args.length > 0
@_clazzes = args
this
els... |
[
{
"context": "\n### Ben Scott # 2015-10-26 # Perlin Noise ###\n\n'use strict' # j",
"end": 14,
"score": 0.9998645186424255,
"start": 5,
"tag": "NAME",
"value": "Ben Scott"
},
{
"context": "\n- `@faloff` **real** : Octaves for smoothing\n- `@yw0,@yw1` **int** : Y Wrap\n- `@zw0,@zw1` *... | code/lib/perlin.coffee | evan-erdos/webgl-solarsystem | 1 |
### Ben Scott # 2015-10-26 # Perlin Noise ###
'use strict' # just like JavaScript
### Constants & Aliases ###
{abs,cos,floor,PI,random,sqrt} = Math
cos_s = (i) -> 0.5*(1.0-cos(i*PI))
### `Perlin`
An instance of this class will return pseudo-random values
in a naturally ordered, harmonic sequence.
- `@inc` **real**... | 13939 |
### <NAME> # 2015-10-26 # Perlin Noise ###
'use strict' # just like JavaScript
### Constants & Aliases ###
{abs,cos,floor,PI,random,sqrt} = Math
cos_s = (i) -> 0.5*(1.0-cos(i*PI))
### `Perlin`
An instance of this class will return pseudo-random values
in a naturally ordered, harmonic sequence.
- `@inc` **real** : ... | true |
### PI:NAME:<NAME>END_PI # 2015-10-26 # Perlin Noise ###
'use strict' # just like JavaScript
### Constants & Aliases ###
{abs,cos,floor,PI,random,sqrt} = Math
cos_s = (i) -> 0.5*(1.0-cos(i*PI))
### `Perlin`
An instance of this class will return pseudo-random values
in a naturally ordered, harmonic sequence.
- `@in... |
[
{
"context": "### (c) 2013 Maxim Litvinov ###\n\niw = 10\nih = 20\nfirstTimeout = 1000\nspeedInc",
"end": 27,
"score": 0.9997259974479675,
"start": 13,
"tag": "NAME",
"value": "Maxim Litvinov"
}
] | 3/tetris.coffee | metalim/21 | 0 | ### (c) 2013 Maxim Litvinov ###
iw = 10
ih = 20
firstTimeout = 1000
speedIncrease = 1.05
shapes = [
[
[0,0]
[0,0]
]
[
[1,1,1,1]
]
[
[null,2,2]
[2,2,null]
]
[
[null,null,3]
[3,3,3]
]
[
[4,4,null]
[null,4,4]
]
[
[5,null,null]
[5,5,5]
]
[
[null,6,null]
[6,6,6]
]
]
styles = [
'bl... | 37325 | ### (c) 2013 <NAME> ###
iw = 10
ih = 20
firstTimeout = 1000
speedIncrease = 1.05
shapes = [
[
[0,0]
[0,0]
]
[
[1,1,1,1]
]
[
[null,2,2]
[2,2,null]
]
[
[null,null,3]
[3,3,3]
]
[
[4,4,null]
[null,4,4]
]
[
[5,null,null]
[5,5,5]
]
[
[null,6,null]
[6,6,6]
]
]
styles = [
'black'
'g... | true | ### (c) 2013 PI:NAME:<NAME>END_PI ###
iw = 10
ih = 20
firstTimeout = 1000
speedIncrease = 1.05
shapes = [
[
[0,0]
[0,0]
]
[
[1,1,1,1]
]
[
[null,2,2]
[2,2,null]
]
[
[null,null,3]
[3,3,3]
]
[
[4,4,null]
[null,4,4]
]
[
[5,null,null]
[5,5,5]
]
[
[null,6,null]
[6,6,6]
]
]
styles = ... |
[
{
"context": "late:'hi ${user}!'\n data:\n user: 'Mikey'\n expect(result).to.be.equal 'hi Mikey!'\n\n ",
"end": 747,
"score": 0.7746235728263855,
"start": 742,
"tag": "NAME",
"value": "Mikey"
},
{
"context": "{user}} {{user}}!'\n data:\n user: 'M... | test/index-test.coffee | snowyu/task-registry-template-engine-lodash.js | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
LodashTemplateEngine = require '../src'
Template... | 126549 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
LodashTemplateEngine = require '../src'
Template... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
LodashTemplateEngine = require '../src'
Template... |
[
{
"context": "image: \"/images/missing_image.png\"\n name: \"Pablo Picasso\"\n sameAs: \"undefined/artist/#{artist.id}\"\n",
"end": 1796,
"score": 0.9997953772544861,
"start": 1783,
"tag": "NAME",
"value": "Pablo Picasso"
},
{
"context": " ->\n @partnerShow.attribu... | src/desktop/test/models/partner_show.coffee | kanaabe/force | 0 | _ = require 'underscore'
{ fabricate } = require 'antigravity'
sd = require('sharify').data
should = require 'should'
Backbone = require 'backbone'
PartnerShow = require '../../models/partner_show'
PartnerLocation = require '../../models/partner_location'
FairLocation = require '../../models/partner_location'
Fair = re... | 174265 | _ = require 'underscore'
{ fabricate } = require 'antigravity'
sd = require('sharify').data
should = require 'should'
Backbone = require 'backbone'
PartnerShow = require '../../models/partner_show'
PartnerLocation = require '../../models/partner_location'
FairLocation = require '../../models/partner_location'
Fair = re... | true | _ = require 'underscore'
{ fabricate } = require 'antigravity'
sd = require('sharify').data
should = require 'should'
Backbone = require 'backbone'
PartnerShow = require '../../models/partner_show'
PartnerLocation = require '../../models/partner_location'
FairLocation = require '../../models/partner_location'
Fair = re... |
[
{
"context": "alize\n nodes: 'my_local_lxd_container': ip: '10.0.0.1', tags: 'type': 'test_container'\n clusters: ",
"end": 200,
"score": 0.9997542500495911,
"start": 192,
"tag": "IP_ADDRESS",
"value": "10.0.0.1"
},
{
"context": "xd_container'\n options: admin_pass... | packages/mariadb/test/server/configure.coffee | ryba-io/ryba | 24 | normalize = require 'masson/lib/config/normalize'
describe 'MariaDB - Configuration tests', ->
it 'default properties', () ->
normalize
nodes: 'my_local_lxd_container': ip: '10.0.0.1', tags: 'type': 'test_container'
clusters: 'cluster_test':
services: 'service_mariadb':
module:... | 13817 | normalize = require 'masson/lib/config/normalize'
describe 'MariaDB - Configuration tests', ->
it 'default properties', () ->
normalize
nodes: 'my_local_lxd_container': ip: '10.0.0.1', tags: 'type': 'test_container'
clusters: 'cluster_test':
services: 'service_mariadb':
module:... | true | normalize = require 'masson/lib/config/normalize'
describe 'MariaDB - Configuration tests', ->
it 'default properties', () ->
normalize
nodes: 'my_local_lxd_container': ip: '10.0.0.1', tags: 'type': 'test_container'
clusters: 'cluster_test':
services: 'service_mariadb':
module:... |
[
{
"context": "roller 'myCtrl', ($scope)->\n $scope.firstName = \"John\"\n $scope.lastName = \"Doe\"\n $scope.$on 'form-ifr",
"end": 95,
"score": 0.9998448491096497,
"start": 91,
"tag": "NAME",
"value": "John"
},
{
"context": "\n $scope.firstName = \"John\"\n $scope.lastName = \"... | backend/web/js/controller/product/catalog.coffee | weratad/technc | 0 | app = angular.module 'myApp', []
app.controller 'myCtrl', ($scope)->
$scope.firstName = "John"
$scope.lastName = "Doe"
$scope.$on 'form-iframe', (e , message)->
$scope.messages.push(message);
return
$scope.message = () ->
$scop.$broadcast('from-parent', 'Sent from parent')
return
return
| 84900 | app = angular.module 'myApp', []
app.controller 'myCtrl', ($scope)->
$scope.firstName = "<NAME>"
$scope.lastName = "<NAME>"
$scope.$on 'form-iframe', (e , message)->
$scope.messages.push(message);
return
$scope.message = () ->
$scop.$broadcast('from-parent', 'Sent from parent')
return
return... | true | app = angular.module 'myApp', []
app.controller 'myCtrl', ($scope)->
$scope.firstName = "PI:NAME:<NAME>END_PI"
$scope.lastName = "PI:NAME:<NAME>END_PI"
$scope.$on 'form-iframe', (e , message)->
$scope.messages.push(message);
return
$scope.message = () ->
$scop.$broadcast('from-parent', 'Sent from p... |
[
{
"context": " user:\n _id: 'uuid'\n email: 'joe@example.com'\n givenName: 'joe'\n familyName:",
"end": 1655,
"score": 0.9999096989631653,
"start": 1640,
"tag": "EMAIL",
"value": "joe@example.com"
},
{
"context": " email: 'joe@example.com'\n ... | test/unit/oidc/sendVerificationEmail.coffee | LorianeE/connect | 331 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
mailer = require '../../../boot/mailer'
fakeMailer =
sendMail: (tmpl, loc, opts, cb) ->
cb()
{sendVerificationEmail} = require '../../../oidc'
OneTimeToken = requ... | 201438 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
mailer = require '../../../boot/mailer'
fakeMailer =
sendMail: (tmpl, loc, opts, cb) ->
cb()
{sendVerificationEmail} = require '../../../oidc'
OneTimeToken = requ... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
mailer = require '../../../boot/mailer'
fakeMailer =
sendMail: (tmpl, loc, opts, cb) ->
cb()
{sendVerificationEmail} = require '../../../oidc'
OneTimeToken = requ... |
[
{
"context": "js.highlightBlock(el, \" \")\n\nBase64 =\n _keyStr: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"\n encode: (input) ->\n output = \"\"\n chr1 = u",
"end": 5320,
"score": 0.9996522068977356,
"start": 5254,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOP... | vendor/DocumentUp/src/browser/documentup.coffee | afeld/backbone-nested | 107 | class window.DocumentUp
# Base template that'll lie in the <body> of the page
@template = (locals)->
"""
<nav id="nav">
<header>
<a href="#" id="logo">#{locals.name}</a>
</header>
<ul id="sections">
</ul>
</nav>
<div id="content">
<div id="loader">
Load... | 134753 | class window.DocumentUp
# Base template that'll lie in the <body> of the page
@template = (locals)->
"""
<nav id="nav">
<header>
<a href="#" id="logo">#{locals.name}</a>
</header>
<ul id="sections">
</ul>
</nav>
<div id="content">
<div id="loader">
Load... | true | class window.DocumentUp
# Base template that'll lie in the <body> of the page
@template = (locals)->
"""
<nav id="nav">
<header>
<a href="#" id="logo">#{locals.name}</a>
</header>
<ul id="sections">
</ul>
</nav>
<div id="content">
<div id="loader">
Load... |
[
{
"context": "graph\n @transactions = []\n\n genKey: (revId) -> \"#{@graph.properties.id}_#{revId}\"\n\n putTransaction:",
"end": 177,
"score": 0.954387366771698,
"start": 174,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "s = []\n\n genKey: (revId) -> \"#{@graph.properties.id... | src/JournalStore.coffee | J-Zeitler/spwebapiflow-ui | 1 | noflo = require 'noflo'
class IDBJournalStore extends noflo.journal.JournalStore
constructor: (graph, @db) ->
super graph
@transactions = []
genKey: (revId) -> "#{@graph.properties.id}_#{revId}"
putTransaction: (revId, entries) ->
super revId, entries
trans = @db.transaction ['journals'], 'rea... | 134215 | noflo = require 'noflo'
class IDBJournalStore extends noflo.journal.JournalStore
constructor: (graph, @db) ->
super graph
@transactions = []
genKey: (revId) -> <KEY>@graph.properties.<KEY>
putTransaction: (revId, entries) ->
super revId, entries
trans = @db.transaction ['journals'], 'readwrite... | true | noflo = require 'noflo'
class IDBJournalStore extends noflo.journal.JournalStore
constructor: (graph, @db) ->
super graph
@transactions = []
genKey: (revId) -> PI:KEY:<KEY>END_PI@graph.properties.PI:KEY:<KEY>END_PI
putTransaction: (revId, entries) ->
super revId, entries
trans = @db.transactio... |
[
{
"context": "Print-Loop.\n# Based of CoffeeScript repl.coffee by Jeremy Ashkenas.\n\n# Open `stdin` and `stdout`\nstdin = process.ope",
"end": 92,
"score": 0.9998927712440491,
"start": 77,
"tag": "NAME",
"value": "Jeremy Ashkenas"
}
] | repl.coffee | tcr/syrup | 9 | # A very simple Read-Eval-Print-Loop.
# Based of CoffeeScript repl.coffee by Jeremy Ashkenas.
# Open `stdin` and `stdout`
stdin = process.openStdin()
stdout = process.stdout
# Require the **syrup** module to get access to the interpreter.
syrup = require './syrup'
readline = require 'readline'
{inspect} = requ... | 214811 | # A very simple Read-Eval-Print-Loop.
# Based of CoffeeScript repl.coffee by <NAME>.
# Open `stdin` and `stdout`
stdin = process.openStdin()
stdout = process.stdout
# Require the **syrup** module to get access to the interpreter.
syrup = require './syrup'
readline = require 'readline'
{inspect} = require 'util... | true | # A very simple Read-Eval-Print-Loop.
# Based of CoffeeScript repl.coffee by PI:NAME:<NAME>END_PI.
# Open `stdin` and `stdout`
stdin = process.openStdin()
stdout = process.stdout
# Require the **syrup** module to get access to the interpreter.
syrup = require './syrup'
readline = require 'readline'
{inspect} =... |
[
{
"context": "anID = @product.planID\n stripe.token = e.token.id\n me.set 'stripe', stripe\n\n @listenToOnce me",
"end": 2683,
"score": 0.44367972016334534,
"start": 2681,
"tag": "PASSWORD",
"value": "id"
}
] | app/views/play/modal/SubscribeModal.coffee | FedericoTomas/codecombat | 1 | ModalView = require 'views/core/ModalView'
template = require 'templates/play/modal/subscribe-modal'
stripeHandler = require 'core/services/stripe'
utils = require 'core/utils'
AuthModal = require 'views/core/AuthModal'
module.exports = class SubscribeModal extends ModalView
id: 'subscribe-modal'
template: templat... | 215279 | ModalView = require 'views/core/ModalView'
template = require 'templates/play/modal/subscribe-modal'
stripeHandler = require 'core/services/stripe'
utils = require 'core/utils'
AuthModal = require 'views/core/AuthModal'
module.exports = class SubscribeModal extends ModalView
id: 'subscribe-modal'
template: templat... | true | ModalView = require 'views/core/ModalView'
template = require 'templates/play/modal/subscribe-modal'
stripeHandler = require 'core/services/stripe'
utils = require 'core/utils'
AuthModal = require 'views/core/AuthModal'
module.exports = class SubscribeModal extends ModalView
id: 'subscribe-modal'
template: templat... |
[
{
"context": "allback\", (done) ->\n worker.process { name: \"asdf\" }, (err) ->\n expect(err).to.exist\n ",
"end": 9872,
"score": 0.951738178730011,
"start": 9868,
"tag": "NAME",
"value": "asdf"
}
] | test/test_worker.coffee | shakhar/monq | 0 | Async = require "async"
Sinon = require "sinon"
Queue = require "../src/queue"
Worker = require "../src/worker"
MongoClient = require("mongodb").MongoClient
RedisClient = require("redis").createClient()
{ expect } = require "chai"
uri = "mongodb://localhost:27017/monq_tests"
describe "Worker", ->
job = queues = ... | 210224 | Async = require "async"
Sinon = require "sinon"
Queue = require "../src/queue"
Worker = require "../src/worker"
MongoClient = require("mongodb").MongoClient
RedisClient = require("redis").createClient()
{ expect } = require "chai"
uri = "mongodb://localhost:27017/monq_tests"
describe "Worker", ->
job = queues = ... | true | Async = require "async"
Sinon = require "sinon"
Queue = require "../src/queue"
Worker = require "../src/worker"
MongoClient = require("mongodb").MongoClient
RedisClient = require("redis").createClient()
{ expect } = require "chai"
uri = "mongodb://localhost:27017/monq_tests"
describe "Worker", ->
job = queues = ... |
[
{
"context": " \"timezone\" : null,\n \"firstName\" : null,\n \"lastName\" : null,\n \"aliasName\" : null,\n \"kerberos\" :",
"end": 3020,
"score": 0.9429629445075989,
"start": 3012,
"tag": "NAME",
"value": "lastName"
}
] | src/com/redhat/ascension/rules/taskRules.coffee | pbathia/ascension | 0 | nools = require 'nools'
logger = require('tracer').colorConsole()
prettyjson = require 'prettyjson'
salesforce = require '../db/salesforce'
Q = require 'q'
#DbOperations = require '../db/dbOperations'
MongoOperations = require '../db/MongoOperations'
TaskStateEnum = require './enums/TaskStateEnum'
TaskTypeEnum = req... | 197105 | nools = require 'nools'
logger = require('tracer').colorConsole()
prettyjson = require 'prettyjson'
salesforce = require '../db/salesforce'
Q = require 'q'
#DbOperations = require '../db/dbOperations'
MongoOperations = require '../db/MongoOperations'
TaskStateEnum = require './enums/TaskStateEnum'
TaskTypeEnum = req... | true | nools = require 'nools'
logger = require('tracer').colorConsole()
prettyjson = require 'prettyjson'
salesforce = require '../db/salesforce'
Q = require 'q'
#DbOperations = require '../db/dbOperations'
MongoOperations = require '../db/MongoOperations'
TaskStateEnum = require './enums/TaskStateEnum'
TaskTypeEnum = req... |
[
{
"context": "plating function\n\n# Simple JavaScript Templating\n# John Resig - http://ejohn.org/ - MIT Licensed\ntmplCache = {}",
"end": 1744,
"score": 0.9995851516723633,
"start": 1734,
"tag": "NAME",
"value": "John Resig"
}
] | src/utils.coffee | Pranshumehta/hem | 20 | path = require('path')
fs = require('fs-extra')
utils = {}
# check for windows :o(...
isWin = !!require('os').platform().match(/^win/)
utils.flatten = flatten = (array, results = []) ->
for item in array
if Array.isArray(item)
flatten(item, results)
else if item
results.push(item)
resul... | 76637 | path = require('path')
fs = require('fs-extra')
utils = {}
# check for windows :o(...
isWin = !!require('os').platform().match(/^win/)
utils.flatten = flatten = (array, results = []) ->
for item in array
if Array.isArray(item)
flatten(item, results)
else if item
results.push(item)
resul... | true | path = require('path')
fs = require('fs-extra')
utils = {}
# check for windows :o(...
isWin = !!require('os').platform().match(/^win/)
utils.flatten = flatten = (array, results = []) ->
for item in array
if Array.isArray(item)
flatten(item, results)
else if item
results.push(item)
resul... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.8892978429794312,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
... | static/js/app/app.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other 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... | 39056 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other 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... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other 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 limi... |
[
{
"context": " context 'changing the name', ->\n name = 'xavier'\n beforeEach -> Simulate.change(getNameInput",
"end": 869,
"score": 0.8999570608139038,
"start": 863,
"tag": "NAME",
"value": "xavier"
},
{
"context": " props.is -> onSave: sinon.stub()\n name = 'xav... | test/react/components/saver_test.coffee | urmastalimaa/rx-visualize | 10 | require '../react_test_helper'
sinon = require 'sinon'
describe 'Saver', ->
props = memo().is -> {}
getOpenButton = modalCount = getNameInput = getDescriptionInput = getSaveButton = null
beforeEach ->
Saver = require assetPath + 'react/components/saver'
@saver = saver = render(React.createElement(Saver... | 152152 | require '../react_test_helper'
sinon = require 'sinon'
describe 'Saver', ->
props = memo().is -> {}
getOpenButton = modalCount = getNameInput = getDescriptionInput = getSaveButton = null
beforeEach ->
Saver = require assetPath + 'react/components/saver'
@saver = saver = render(React.createElement(Saver... | true | require '../react_test_helper'
sinon = require 'sinon'
describe 'Saver', ->
props = memo().is -> {}
getOpenButton = modalCount = getNameInput = getDescriptionInput = getSaveButton = null
beforeEach ->
Saver = require assetPath + 'react/components/saver'
@saver = saver = render(React.createElement(Saver... |
[
{
"context": ")\n\n $scope.getStripeToken = () ->\n DEV_TOKEN=\"pk_096woK2npZnBc1cPETWmMsNmjod7e\"\n PROD_TOKEN=\"pk_096wf6Q6pH1974ZLUF8lZXTUh3Ceg",
"end": 500,
"score": 0.9824973344802856,
"start": 468,
"tag": "KEY",
"value": "pk_096woK2npZnBc1cPETWmMsNmjod7e"
},
{
"context":... | plugin-assets/custom/pricing.coffee | wp-plugins/anybackup | 0 | app.controller "PricingController", ($scope, $http, accountFactory) ->
$scope.loadPlans = ->
request = $http {
url: ajaxurl,
method: "GET",
params: {
action: "bits_backup_get_plans"
}
}
request.success (planData, status, headers, config) =>
accountFactory.getStatus ... | 140192 | app.controller "PricingController", ($scope, $http, accountFactory) ->
$scope.loadPlans = ->
request = $http {
url: ajaxurl,
method: "GET",
params: {
action: "bits_backup_get_plans"
}
}
request.success (planData, status, headers, config) =>
accountFactory.getStatus ... | true | app.controller "PricingController", ($scope, $http, accountFactory) ->
$scope.loadPlans = ->
request = $http {
url: ajaxurl,
method: "GET",
params: {
action: "bits_backup_get_plans"
}
}
request.success (planData, status, headers, config) =>
accountFactory.getStatus ... |
[
{
"context": "host\"\r\nusername = process.env.AMQP_USERNAME ? \"guest\"\r\npassword = process.env.AMQP_PASSWORD ? \"gues",
"end": 521,
"score": 0.6066981554031372,
"start": 516,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "uest\"\r\npassword = process.env.AMQP_PASSW... | test/index.coffee | HoS0/HoSApi | 0 | http = require 'http'
Promise = require 'bluebird'
bodyParser = require 'body-parser'
crypto = require 'crypto'
HosCom = require 'hos-com'
HoSAuth = require 'hos-auth'
generalContract = require './serviceContract'
request = require('supertest')
hosApi ... | 113116 | http = require 'http'
Promise = require 'bluebird'
bodyParser = require 'body-parser'
crypto = require 'crypto'
HosCom = require 'hos-com'
HoSAuth = require 'hos-auth'
generalContract = require './serviceContract'
request = require('supertest')
hosApi ... | true | http = require 'http'
Promise = require 'bluebird'
bodyParser = require 'body-parser'
crypto = require 'crypto'
HosCom = require 'hos-com'
HoSAuth = require 'hos-auth'
generalContract = require './serviceContract'
request = require('supertest')
hosApi ... |
[
{
"context": "\n elements:\n 'form': 'form'\n '.password': 'password'\n\n events:\n 'submit form': 'submit'\n 'chan",
"end": 494,
"score": 0.9987154006958008,
"start": 486,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " @pusher = pubnub = PUBNUB(\n subscr... | app/controllers/user_edit.coffee | burgalon/boorgle-spine | 0 | Spine = require('spine')
BasePanel = require('./base_panel')
Authorization = require('authorization')
# Model
MyUser = require('models/my_user')
# Models below needed for Pusher events
FoundFriend = require('models/found_friend')
Friend = require('models/friend')
# Controllers
UsersShow = require('controllers/users_... | 53345 | Spine = require('spine')
BasePanel = require('./base_panel')
Authorization = require('authorization')
# Model
MyUser = require('models/my_user')
# Models below needed for Pusher events
FoundFriend = require('models/found_friend')
Friend = require('models/friend')
# Controllers
UsersShow = require('controllers/users_... | true | Spine = require('spine')
BasePanel = require('./base_panel')
Authorization = require('authorization')
# Model
MyUser = require('models/my_user')
# Models below needed for Pusher events
FoundFriend = require('models/found_friend')
Friend = require('models/friend')
# Controllers
UsersShow = require('controllers/users_... |
[
{
"context": "\n obj = new Jumper(@pos.x, @pos.y, {name: 'Jumper'})\n me.game.add(obj, Z_LEVEL_JUMP)\n ",
"end": 108,
"score": 0.9800478219985962,
"start": 102,
"tag": "NAME",
"value": "Jumper"
}
] | src/places/jumperGenerator.coffee | commandojs/CommandoJS | 41 | JumperGenerator = Generator.extend(
generate: ->
obj = new Jumper(@pos.x, @pos.y, {name: 'Jumper'})
me.game.add(obj, Z_LEVEL_JUMP)
Utils.sortEntities()
true
)
| 94617 | JumperGenerator = Generator.extend(
generate: ->
obj = new Jumper(@pos.x, @pos.y, {name: '<NAME>'})
me.game.add(obj, Z_LEVEL_JUMP)
Utils.sortEntities()
true
)
| true | JumperGenerator = Generator.extend(
generate: ->
obj = new Jumper(@pos.x, @pos.y, {name: 'PI:NAME:<NAME>END_PI'})
me.game.add(obj, Z_LEVEL_JUMP)
Utils.sortEntities()
true
)
|
[
{
"context": " (Darwin)\nComment: GPGTools - http://gpgtools.org\n\nmI0EU1RicwEEAKldegqFSs6QnotGAD3pg5rjv1ftzFINTEbf+JkdVPhWT8NkiNne\nNOWUxAtS1Pez9NpL+LUpk1AkImzFCtrgLrT+445hX9kKNN17JZeUNiR9lgujB+El\nBL0h2WUYiE3Q99BuHiTRoZZzRagy0/VylwHOb2cW2IUeTN5uK+MgjHk1ABEBAAG0\nIExvcmQgQnlyb24gPGxvcmQuYnlyb25Ab3guYWMudWs+iL... | test/files/secret_subkeys.iced | thinq4yourself/kbpgp | 1 | {KeyManager} = require '../../lib/keymanager'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
{burn} = require '../../lib/openpgp/burner'
{do_message} = re... | 131176 | {KeyManager} = require '../../lib/keymanager'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
{burn} = require '../../lib/openpgp/burner'
{do_message} = re... | true | {KeyManager} = require '../../lib/keymanager'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
{burn} = require '../../lib/openpgp/burner'
{do_message} = re... |
[
{
"context": "d TAPi18n.prototype,\n _loaded_lang_session_key: \"TAPi18n::loaded_lang\"\n\n _enable: (conf) ->\n # tap:i18n gets enable",
"end": 1612,
"score": 0.997180163860321,
"start": 1592,
"tag": "KEY",
"value": "TAPi18n::loaded_lang"
}
] | lib/tap_i18n/tap_i18n-common.coffee | chandonnet/tap-i18n | 10 | fallback_language = globals.fallback_language
TAPi18n = ->
EventEmitter.call @
@_fallback_language = fallback_language
@_language_changed_tracker = new Tracker.Dependency
@_loaded_languages = [fallback_language] # stores the loaded languages, the fallback language is loaded automatically
@conf = null # I... | 8125 | fallback_language = globals.fallback_language
TAPi18n = ->
EventEmitter.call @
@_fallback_language = fallback_language
@_language_changed_tracker = new Tracker.Dependency
@_loaded_languages = [fallback_language] # stores the loaded languages, the fallback language is loaded automatically
@conf = null # I... | true | fallback_language = globals.fallback_language
TAPi18n = ->
EventEmitter.call @
@_fallback_language = fallback_language
@_language_changed_tracker = new Tracker.Dependency
@_loaded_languages = [fallback_language] # stores the loaded languages, the fallback language is loaded automatically
@conf = null # I... |
[
{
"context": "dd 'service/oab/bug',\n post: () ->\n whoto = ['help@openaccessbutton.org']\n try\n if this.request.body?.form is 'wr",
"end": 14302,
"score": 0.9999222755432129,
"start": 14277,
"tag": "EMAIL",
"value": "help@openaccessbutton.org"
},
{
"context": "request.b... | noddy/service/oabutton/api.coffee | jibe-b/website | 0 |
import moment from 'moment'
# these are global so can be accessed on other oabutton files
@oab_support = new API.collection {index:"oab",type:"support"}
@oab_availability = new API.collection {index:"oab",type:"availability"}
@oab_request = new API.collection {index:"oab",type:"request",history:true}
# the normal de... | 157656 |
import moment from 'moment'
# these are global so can be accessed on other oabutton files
@oab_support = new API.collection {index:"oab",type:"support"}
@oab_availability = new API.collection {index:"oab",type:"availability"}
@oab_request = new API.collection {index:"oab",type:"request",history:true}
# the normal de... | true |
import moment from 'moment'
# these are global so can be accessed on other oabutton files
@oab_support = new API.collection {index:"oab",type:"support"}
@oab_availability = new API.collection {index:"oab",type:"availability"}
@oab_request = new API.collection {index:"oab",type:"request",history:true}
# the normal de... |
[
{
"context": "users = [\n\tdisplay_name\t: \"Eagle Mcfly\"\n\thome_directory\t: \"/home/mcfly\"\n\timage\t\t\t: \"mock",
"end": 38,
"score": 0.99986332654953,
"start": 27,
"tag": "NAME",
"value": "Eagle Mcfly"
},
{
"context": "gged_in\t\t: false\n\tsession\t\t\t: \"kde\"\n\tusername\... | src/lightdm_data.coffee | chemo-project/lightdm-webkit2-mockup | 0 | users = [
display_name : "Eagle Mcfly"
home_directory : "/home/mcfly"
image : "mock/res/profile1.jpg"
language : "en_US"
layout : null
logged_in : false
session : "kde"
username : "mcfly"
,
display_name : "Sparky Dogson"
home_directory : "/home/sparky"
image : "mock/res/profile2.jpg"
language : ... | 93152 | users = [
display_name : "<NAME>"
home_directory : "/home/mcfly"
image : "mock/res/profile1.jpg"
language : "en_US"
layout : null
logged_in : false
session : "kde"
username : "mcfly"
,
display_name : "<NAME>"
home_directory : "/home/sparky"
image : "mock/res/profile2.jpg"
language : "en_UK"
lay... | true | users = [
display_name : "PI:NAME:<NAME>END_PI"
home_directory : "/home/mcfly"
image : "mock/res/profile1.jpg"
language : "en_US"
layout : null
logged_in : false
session : "kde"
username : "mcfly"
,
display_name : "PI:NAME:<NAME>END_PI"
home_directory : "/home/sparky"
image : "mock/res/profile2.jp... |
[
{
"context": "ost:5000/show/foo\")\n .set('X-Access-Token': 'foo-token')\n .end (err, res) ->\n res.body.name.",
"end": 392,
"score": 0.7429895997047424,
"start": 383,
"tag": "KEY",
"value": "foo-token"
},
{
"context": "(err, res) ->\n res.body.name.should.equ... | src/api/apps/shows/test/integration.test.coffee | craigspaeth/positron | 76 | require '../../../test/helpers/db'
_ = require 'underscore'
app = require '../../../'
request = require 'superagent'
describe 'shows endpoints', ->
beforeEach (done) ->
@server = app.listen 5000, ->
done()
afterEach ->
@server.close()
it 'returns a show by id', (done) ->
request
.get("... | 578 | require '../../../test/helpers/db'
_ = require 'underscore'
app = require '../../../'
request = require 'superagent'
describe 'shows endpoints', ->
beforeEach (done) ->
@server = app.listen 5000, ->
done()
afterEach ->
@server.close()
it 'returns a show by id', (done) ->
request
.get("... | true | require '../../../test/helpers/db'
_ = require 'underscore'
app = require '../../../'
request = require 'superagent'
describe 'shows endpoints', ->
beforeEach (done) ->
@server = app.listen 5000, ->
done()
afterEach ->
@server.close()
it 'returns a show by id', (done) ->
request
.get("... |
[
{
"context": "# Rubyfy - 0.1.0\n# 2019 Caleb Matthiesen\n# https://github.com/calebkm/rubyfy -------------",
"end": 40,
"score": 0.9998334050178528,
"start": 24,
"tag": "NAME",
"value": "Caleb Matthiesen"
},
{
"context": ".1.0\n# 2019 Caleb Matthiesen\n# https://github.com/calebkm/ru... | src/rubyfy.coffee | calebkm/rubyfy | 0 | # Rubyfy - 0.1.0
# 2019 Caleb Matthiesen
# https://github.com/calebkm/rubyfy ------------------
#
@Rubyfy or= {}
# Setup --------------------------------------------
#
Rubyfy.classes = 'Array Object String'.split(' ')
Rubyfy.Array = 'any compact is_empty first last'.split(' ')
Rubyfy.String = 'capitalize downcase ... | 165825 | # Rubyfy - 0.1.0
# 2019 <NAME>
# https://github.com/calebkm/rubyfy ------------------
#
@Rubyfy or= {}
# Setup --------------------------------------------
#
Rubyfy.classes = 'Array Object String'.split(' ')
Rubyfy.Array = 'any compact is_empty first last'.split(' ')
Rubyfy.String = 'capitalize downcase is_blank'.... | true | # Rubyfy - 0.1.0
# 2019 PI:NAME:<NAME>END_PI
# https://github.com/calebkm/rubyfy ------------------
#
@Rubyfy or= {}
# Setup --------------------------------------------
#
Rubyfy.classes = 'Array Object String'.split(' ')
Rubyfy.Array = 'any compact is_empty first last'.split(' ')
Rubyfy.String = 'capitalize downc... |
[
{
"context": " @timeout = 3000\n hackery.checkFtp {host: '216.38.80.156'}, (valid, perms, conn) ->\n should.exist v",
"end": 248,
"score": 0.9997254014015198,
"start": 235,
"tag": "IP_ADDRESS",
"value": "216.38.80.156"
},
{
"context": " 3000\n hackery.checkFtp {use... | test/test.coffee | contra/hackery | 1 | hackery = require '../index'
should = require 'should'
mocha = require 'mocha'
describe 'hackery', ->
describe 'ftp', ->
it 'should login to a public ftp properly', (done) ->
@timeout = 3000
hackery.checkFtp {host: '216.38.80.156'}, (valid, perms, conn) ->
should.exist valid
valid.sho... | 214988 | hackery = require '../index'
should = require 'should'
mocha = require 'mocha'
describe 'hackery', ->
describe 'ftp', ->
it 'should login to a public ftp properly', (done) ->
@timeout = 3000
hackery.checkFtp {host: '172.16.31.10'}, (valid, perms, conn) ->
should.exist valid
valid.shou... | true | hackery = require '../index'
should = require 'should'
mocha = require 'mocha'
describe 'hackery', ->
describe 'ftp', ->
it 'should login to a public ftp properly', (done) ->
@timeout = 3000
hackery.checkFtp {host: 'PI:IP_ADDRESS:172.16.31.10END_PI'}, (valid, perms, conn) ->
should.exist vali... |
[
{
"context": "ire \"../../../lib/config\"\n\ngapi.server.setApiKey \"AIzaSyB14Ua7k5_wusxHTQEH3sqmglO7MHjHPCI\"\ngapi.server.load \"plus\", \"v1\", ->\n request = ga",
"end": 134,
"score": 0.9997796416282654,
"start": 95,
"tag": "KEY",
"value": "AIzaSyB14Ua7k5_wusxHTQEH3sqmglO7MHjHPCI"
},
... | static/node_modules/gapi/test/plus/people/search.coffee | nohharri/chator | 4 | gapi = require "../../../index"
config = require "../../../lib/config"
gapi.server.setApiKey "AIzaSyB14Ua7k5_wusxHTQEH3sqmglO7MHjHPCI"
gapi.server.load "plus", "v1", ->
request = gapi.server.plus.people.search query: 'Blaine Bublitz'
describe "calling people.search({query: 'Blaine Bublitz'})", ->
it "should a... | 5696 | gapi = require "../../../index"
config = require "../../../lib/config"
gapi.server.setApiKey "<KEY>"
gapi.server.load "plus", "v1", ->
request = gapi.server.plus.people.search query: '<NAME>'
describe "calling people.search({query: '<NAME>'})", ->
it "should add /plus/v1/people?key=<KEY>&alt=json&query=<NAME>... | true | gapi = require "../../../index"
config = require "../../../lib/config"
gapi.server.setApiKey "PI:KEY:<KEY>END_PI"
gapi.server.load "plus", "v1", ->
request = gapi.server.plus.people.search query: 'PI:NAME:<NAME>END_PI'
describe "calling people.search({query: 'PI:NAME:<NAME>END_PI'})", ->
it "should add /plus/... |
[
{
"context": "ring and Search for jQuery\nCopyright (c) 2013-2017 Ryan McGeary; Licensed MIT\n###\n$ = jQuery\n$.fn.sieve = (option",
"end": 105,
"score": 0.9998301267623901,
"start": 93,
"tag": "NAME",
"value": "Ryan McGeary"
}
] | src/jquery.sieve.coffee | rmm5t/jquery-sieve | 50 | ###
jQuery Sieve
Table and Container Filtering and Search for jQuery
Copyright (c) 2013-2017 Ryan McGeary; Licensed MIT
###
$ = jQuery
$.fn.sieve = (options) ->
compact = (array) -> item for item in array when item
this.each ->
container = $(this)
settings = $.extend({
searchInput: null
searchT... | 92589 | ###
jQuery Sieve
Table and Container Filtering and Search for jQuery
Copyright (c) 2013-2017 <NAME>; Licensed MIT
###
$ = jQuery
$.fn.sieve = (options) ->
compact = (array) -> item for item in array when item
this.each ->
container = $(this)
settings = $.extend({
searchInput: null
searchTemplat... | true | ###
jQuery Sieve
Table and Container Filtering and Search for jQuery
Copyright (c) 2013-2017 PI:NAME:<NAME>END_PI; Licensed MIT
###
$ = jQuery
$.fn.sieve = (options) ->
compact = (array) -> item for item in array when item
this.each ->
container = $(this)
settings = $.extend({
searchInput: null
... |
[
{
"context": " clients[name] = {id: Number(Date.now()), name: name, paths: paths}\n \n # Listen and serve incoming a",
"end": 2591,
"score": 0.7850888967514038,
"start": 2587,
"tag": "NAME",
"value": "name"
}
] | src/client/index.coffee | travisjeffery/socketstream | 1 | # Client Asset Manager
# --------------------
# The Client Asset Manager allows you to define multiple single-page 'clients' which can be served on
# different URLs or to different devices. Note: The Client Asset Manager deliberately makes extensive use
# of synchronous code. This is because all operations only ever ru... | 13716 | # Client Asset Manager
# --------------------
# The Client Asset Manager allows you to define multiple single-page 'clients' which can be served on
# different URLs or to different devices. Note: The Client Asset Manager deliberately makes extensive use
# of synchronous code. This is because all operations only ever ru... | true | # Client Asset Manager
# --------------------
# The Client Asset Manager allows you to define multiple single-page 'clients' which can be served on
# different URLs or to different devices. Note: The Client Asset Manager deliberately makes extensive use
# of synchronous code. This is because all operations only ever ru... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.