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": "# jquery.popLockIt\n# https://github.com/zamiang/jquery.popLockIt\n#\n# A jQuery plugin for 'locking",
"end": 47,
"score": 0.9995253682136536,
"start": 40,
"tag": "USERNAME",
"value": "zamiang"
},
{
"context": "ssay or series\n# of images.\n#\n# Copyright (c) 2013 Brenn... | src/poplockit.coffee | zamiang/jquery.poplockit | 19 | # jquery.popLockIt
# https://github.com/zamiang/jquery.popLockIt
#
# A jQuery plugin for 'locking' short content in place as the user
# scrolls by longer content. For example, it will lock metadata and
# share buttons in place as the user scrolls by a long essay or series
# of images.
#
# Copyright (c) 2013 Brennan Moo... | 201951 | # jquery.popLockIt
# https://github.com/zamiang/jquery.popLockIt
#
# A jQuery plugin for 'locking' short content in place as the user
# scrolls by longer content. For example, it will lock metadata and
# share buttons in place as the user scrolls by a long essay or series
# of images.
#
# Copyright (c) 2013 <NAME>, Art... | true | # jquery.popLockIt
# https://github.com/zamiang/jquery.popLockIt
#
# A jQuery plugin for 'locking' short content in place as the user
# scrolls by longer content. For example, it will lock metadata and
# share buttons in place as the user scrolls by a long essay or series
# of images.
#
# Copyright (c) 2013 PI:NAME:<NA... |
[
{
"context": "c/*.js\"\n options:\n host: \"http://127.0.0.1:8900/\"\n specs: \"test/spec/*Spec.js\"\n ",
"end": 2447,
"score": 0.8000218868255615,
"start": 2439,
"tag": "IP_ADDRESS",
"value": "27.0.0.1"
}
] | Gruntfile.coffee | glassesfactory/kazitori.js | 17 | module.exports = (grunt) ->
"use strict"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
... | 88353 | module.exports = (grunt) ->
"use strict"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
... | true | module.exports = (grunt) ->
"use strict"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
... |
[
{
"context": "ew TextLayer\n\tparent:playbackBarContainer\n\ttext: \"Gulliver's Travels\"\n\tfontFamily:'sans-serif, fsme-light', ",
"end": 2648,
"score": 0.9673454165458679,
"start": 2640,
"tag": "NAME",
"value": "Gulliver"
}
] | prototypes/hours-minutes/app.coffee | Skinny-Malinky/Skinny-Malinky.github.io | 0 | # Setup Variables
document.body.style.cursor = "auto"
Screen.backgroundColor = '#000'
Canvas.image = 'https://struanfraser.co.uk/images/youview-back.jpg'
youviewBlue = '#00a6ff'
youviewBlue2 = '#0F5391'
youviewBlue3 = '#032230'
youviewGrey1 = '#b6b9bf'
youviewGrey2 = '#83858a'
darkGrey3 = '#505359'
black = '#000'
whit... | 14295 | # Setup Variables
document.body.style.cursor = "auto"
Screen.backgroundColor = '#000'
Canvas.image = 'https://struanfraser.co.uk/images/youview-back.jpg'
youviewBlue = '#00a6ff'
youviewBlue2 = '#0F5391'
youviewBlue3 = '#032230'
youviewGrey1 = '#b6b9bf'
youviewGrey2 = '#83858a'
darkGrey3 = '#505359'
black = '#000'
whit... | true | # Setup Variables
document.body.style.cursor = "auto"
Screen.backgroundColor = '#000'
Canvas.image = 'https://struanfraser.co.uk/images/youview-back.jpg'
youviewBlue = '#00a6ff'
youviewBlue2 = '#0F5391'
youviewBlue3 = '#032230'
youviewGrey1 = '#b6b9bf'
youviewGrey2 = '#83858a'
darkGrey3 = '#505359'
black = '#000'
whit... |
[
{
"context": "n toolProps.details\n detailTask._key ?= Math.random()\n TaskComponent = tasks[detailTask.ty",
"end": 2048,
"score": 0.9621133804321289,
"start": 2037,
"tag": "KEY",
"value": "Math.random"
}
] | app/classifier/drawing-tools/root.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
StickyModalForm = require 'modal-form/sticky'
STROKE_WIDTH = 1.5
SELECTED_STROKE_WIDTH = 2.5
SEMI_MODAL_FORM_STYLE =
pointerEvents: 'all'
SEMI_MODAL_UNDERLAY_STYLE =
pointerEvents: 'none'
backgroundColor: 'rgba(0, 0, 0, 0)'
module.exports = React.createClass
displayName: 'DrawingTool... | 13857 | React = require 'react'
StickyModalForm = require 'modal-form/sticky'
STROKE_WIDTH = 1.5
SELECTED_STROKE_WIDTH = 2.5
SEMI_MODAL_FORM_STYLE =
pointerEvents: 'all'
SEMI_MODAL_UNDERLAY_STYLE =
pointerEvents: 'none'
backgroundColor: 'rgba(0, 0, 0, 0)'
module.exports = React.createClass
displayName: 'DrawingTool... | true | React = require 'react'
StickyModalForm = require 'modal-form/sticky'
STROKE_WIDTH = 1.5
SELECTED_STROKE_WIDTH = 2.5
SEMI_MODAL_FORM_STYLE =
pointerEvents: 'all'
SEMI_MODAL_UNDERLAY_STYLE =
pointerEvents: 'none'
backgroundColor: 'rgba(0, 0, 0, 0)'
module.exports = React.createClass
displayName: 'DrawingTool... |
[
{
"context": "#original design by Jonathan Sorensen https://github.com/se5a \n\nclass ThumbWheel extend",
"end": 37,
"score": 0.9999019503593445,
"start": 20,
"tag": "NAME",
"value": "Jonathan Sorensen"
},
{
"context": "al design by Jonathan Sorensen https://github.com/se5a \n\nclass... | examples/applied/ThumbWheel/ThumbWheel.coffee | tstone/CoffeeSCad | 1 | #original design by Jonathan Sorensen https://github.com/se5a
class ThumbWheel extends Part
constructor:(options)->
@defaults = {total_radius : 30, base_height : 4, knobbles_num : 5,
knobbles_radius : 5, knobbles_height : 5, centerhole_radius : 1.55,
centerhex_radus : 3.1, centerhex_height : 2, centerhu... | 21743 | #original design by <NAME> https://github.com/se5a
class ThumbWheel extends Part
constructor:(options)->
@defaults = {total_radius : 30, base_height : 4, knobbles_num : 5,
knobbles_radius : 5, knobbles_height : 5, centerhole_radius : 1.55,
centerhex_radus : 3.1, centerhex_height : 2, centerhub_height : ... | true | #original design by PI:NAME:<NAME>END_PI https://github.com/se5a
class ThumbWheel extends Part
constructor:(options)->
@defaults = {total_radius : 30, base_height : 4, knobbles_num : 5,
knobbles_radius : 5, knobbles_height : 5, centerhole_radius : 1.55,
centerhex_radus : 3.1, centerhex_height : 2, cente... |
[
{
"context": "sername: @options.username\n password: @options.password\n @client = new Client clientOptions\n\n g",
"end": 1143,
"score": 0.8437350392341614,
"start": 1127,
"tag": "PASSWORD",
"value": "options.password"
}
] | src/amazon.coffee | snd/amazon-associate | 42 | _ = require 'underscore'
moment = require 'moment'
Client = require './client'
ItemParser = require './item-parser'
ReportParser = require './report-parser'
parseResponse = (res, parser, cb) ->
parser.on 'error', (err) -> cb err
parser.on 'end', (result) -> cb null, result
res.on 'error', (err) -> cb err... | 133085 | _ = require 'underscore'
moment = require 'moment'
Client = require './client'
ItemParser = require './item-parser'
ReportParser = require './report-parser'
parseResponse = (res, parser, cb) ->
parser.on 'error', (err) -> cb err
parser.on 'end', (result) -> cb null, result
res.on 'error', (err) -> cb err... | true | _ = require 'underscore'
moment = require 'moment'
Client = require './client'
ItemParser = require './item-parser'
ReportParser = require './report-parser'
parseResponse = (res, parser, cb) ->
parser.on 'error', (err) -> cb err
parser.on 'end', (result) -> cb null, result
res.on 'error', (err) -> cb err... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999130368232727,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/store-supporter-tag-price.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 @StoreSupporterTagPrice
@durationToPrice: (duration) ->
duration = +duration
switch
when duration >= 12 then Math.ceil(dura... | 12405 | # 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 @StoreSupporterTagPrice
@durationToPrice: (duration) ->
duration = +duration
switch
when duration >= 12 then Math.ceil(duration / ... | 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 @StoreSupporterTagPrice
@durationToPrice: (duration) ->
duration = +duration
switch
when duration >= 12 then Math.c... |
[
{
"context": "nt controller\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012, Hypee\n# http://hype",
"end": 72,
"score": 0.9994404315948486,
"start": 66,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": "://github.com/nodize/nodizecms\n#\n# Copyright 2... | modules/backend/controllers/ctrl_user.coffee | nodize/nodizecms | 32 | # Users management controller
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#
# Displaying USERS EDITION PAGE
#
@get '/:lang/admin/users' : ->
loadGroups = ->
... | 12095 | # Users management controller
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#
# Displaying USERS EDITION PAGE
#
@get '/:lang/admin/users' : ->
loadGroups = ->
... | true | # Users management controller
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#
# Displaying USERS EDITION PAGE
#
@get '/:lang/admin/users' : ->
load... |
[
{
"context": "eamScore.sessionID]\n topPlayers.push {name: playerName, userID: userID, sessionID: teamScore.session",
"end": 21307,
"score": 0.9995098114013672,
"start": 21301,
"tag": "NAME",
"value": "player"
},
{
"context": "e.sessionID]\n topPlayers.push {name: playe... | scripts/tournaments/download-tournament-results.coffee | JurianLock/codecombat | 2 | filePrefix = 'https://s3.amazonaws.com/ace-of-coders-simulation-results/'
files = [
'1445213331501451880.json'
'1445213333962624756.json'
'1445213336952262072.json'
'1445213340108350108.json'
'1445213343518140279.json'
'1445213347272483737.json'
'1445213351108262273.json'
'1445213354532639917.json'
'1... | 166247 | filePrefix = 'https://s3.amazonaws.com/ace-of-coders-simulation-results/'
files = [
'1445213331501451880.json'
'1445213333962624756.json'
'1445213336952262072.json'
'1445213340108350108.json'
'1445213343518140279.json'
'1445213347272483737.json'
'1445213351108262273.json'
'1445213354532639917.json'
'1... | true | filePrefix = 'https://s3.amazonaws.com/ace-of-coders-simulation-results/'
files = [
'1445213331501451880.json'
'1445213333962624756.json'
'1445213336952262072.json'
'1445213340108350108.json'
'1445213343518140279.json'
'1445213347272483737.json'
'1445213351108262273.json'
'1445213354532639917.json'
'1... |
[
{
"context": "ings\n #get data from form\n @user = 'agent@demo'\n @pass = 'demo'\n # -----------",
"end": 734,
"score": 0.5140128135681152,
"start": 729,
"tag": "USERNAME",
"value": "agent"
},
{
"context": " #get data from form\n @user = 'agen... | app/views/autologin-view.coffee | zzart/mp_old | 0 | View = require 'views/base/view'
template = require 'views/templates/login'
mediator = require 'mediator'
module.exports = class LoginView extends View
autoRender: true
template: template
id: 'login'
attributes: {'data-role':'popup', 'data-overlay-theme':'b', 'data-theme':'b', 'data-dismissible':'false'... | 164305 | View = require 'views/base/view'
template = require 'views/templates/login'
mediator = require 'mediator'
module.exports = class LoginView extends View
autoRender: true
template: template
id: 'login'
attributes: {'data-role':'popup', 'data-overlay-theme':'b', 'data-theme':'b', 'data-dismissible':'false'... | true | View = require 'views/base/view'
template = require 'views/templates/login'
mediator = require 'mediator'
module.exports = class LoginView extends View
autoRender: true
template: template
id: 'login'
attributes: {'data-role':'popup', 'data-overlay-theme':'b', 'data-theme':'b', 'data-dismissible':'false'... |
[
{
"context": "ileoverview Tests for sort-imports rule.\n# @author Christian Schuller\n###\n\n'use strict'\n\n#-----------------------------",
"end": 78,
"score": 0.9995781183242798,
"start": 60,
"tag": "NAME",
"value": "Christian Schuller"
},
{
"context": "rom 'foo.js'\n '''\n ,\... | src/tests/rules/sort-imports.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for sort-imports rule.
# @author Christian Schuller
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/sort-imports'... | 2937 | ###*
# @fileoverview Tests for sort-imports rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/sort-imports'
{RuleTester... | true | ###*
# @fileoverview Tests for sort-imports rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/sort-import... |
[
{
"context": "ringify(quads))\n\n floatValue: (s, p) ->\n key = s.value + '|' + p.value\n hit = @cachedFloatValues.get(ke",
"end": 9669,
"score": 0.8900423645973206,
"start": 9660,
"tag": "KEY",
"value": "s.value +"
},
{
"context": "s))\n\n floatValue: (s, p) ->\n key = s.... | light9/web/graph.coffee | drewp/light9 | 2 | log = debug('graph')
# Patch is {addQuads: <quads>, delQuads: <quads>}
# <quads> are made with Quad(s,p,o,g)
# for mocha
if require?
`window = {}`
`_ = require('./lib/underscore/underscore-min.js')`
`N3 = require('../../node_modules/n3/n3-browser.js')`
`d3 = require('../../node_modules/d3/dist/d3.min.js')`
... | 175996 | log = debug('graph')
# Patch is {addQuads: <quads>, delQuads: <quads>}
# <quads> are made with Quad(s,p,o,g)
# for mocha
if require?
`window = {}`
`_ = require('./lib/underscore/underscore-min.js')`
`N3 = require('../../node_modules/n3/n3-browser.js')`
`d3 = require('../../node_modules/d3/dist/d3.min.js')`
... | true | log = debug('graph')
# Patch is {addQuads: <quads>, delQuads: <quads>}
# <quads> are made with Quad(s,p,o,g)
# for mocha
if require?
`window = {}`
`_ = require('./lib/underscore/underscore-min.js')`
`N3 = require('../../node_modules/n3/n3-browser.js')`
`d3 = require('../../node_modules/d3/dist/d3.min.js')`
... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nassert = require 'assert'\n",
"end": 35,
"score": 0.9997118711471558,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/core/mutation.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
assert = require 'assert'
# Public: A record of a single change in a target {Item}.
#
# A new mutation is created to record each attribute set, body text change,
# and child item's update. Use {Outline::onDidChange} to receive this mutation
# record so you can... | 225610 | # Copyright (c) 2015 <NAME>. All rights reserved.
assert = require 'assert'
# Public: A record of a single change in a target {Item}.
#
# A new mutation is created to record each attribute set, body text change,
# and child item's update. Use {Outline::onDidChange} to receive this mutation
# record so you can track w... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
assert = require 'assert'
# Public: A record of a single change in a target {Item}.
#
# A new mutation is created to record each attribute set, body text change,
# and child item's update. Use {Outline::onDidChange} to receive this mutation
# record so y... |
[
{
"context": "Send an email using Nodemailer https://github.com/andris9/Nodemailer\n# It expects that config.emailServer a",
"end": 899,
"score": 0.9181981682777405,
"start": 892,
"tag": "USERNAME",
"value": "andris9"
},
{
"context": " from: config.fromEmail || \"Node Notifier ✔... | app.coffee | ChrisCinelli/scraperNotifier | 0 | colors = require 'colors'
winston = require 'winston'
request = require 'request'
_ = require 'underscore'
nodemailer = require 'nodemailer'
request = require 'request'
#We may want to parse the HTML with cheerio eventually, so far I do not need it
#cheerio = require 'cheerio'
#Do we want to du... | 202263 | colors = require 'colors'
winston = require 'winston'
request = require 'request'
_ = require 'underscore'
nodemailer = require 'nodemailer'
request = require 'request'
#We may want to parse the HTML with cheerio eventually, so far I do not need it
#cheerio = require 'cheerio'
#Do we want to du... | true | colors = require 'colors'
winston = require 'winston'
request = require 'request'
_ = require 'underscore'
nodemailer = require 'nodemailer'
request = require 'request'
#We may want to parse the HTML with cheerio eventually, so far I do not need it
#cheerio = require 'cheerio'
#Do we want to du... |
[
{
"context": "me, lastname, position, bars} = member\n key = firstname+lastname\n\n BarList = for bar, i in bars\n ",
"end": 218,
"score": 0.8049129247665405,
"start": 209,
"tag": "KEY",
"value": "firstname"
},
{
"context": "e, position, bars} = member\n key = first... | app/view/main/members.cjsx | OOKB/contemporary | 0 | React = require 'react'
module.exports = React.createClass
render: ->
{members} = @props.data
MemberRows = for member, i in members
{firstname, lastname, position, bars} = member
key = firstname+lastname
BarList = for bar, i in bars
{name, url} = bar
<li key={name}>
... | 132971 | React = require 'react'
module.exports = React.createClass
render: ->
{members} = @props.data
MemberRows = for member, i in members
{firstname, lastname, position, bars} = member
key = <KEY>+<KEY>
BarList = for bar, i in bars
{name, url} = bar
<li key={name}>
<a... | true | React = require 'react'
module.exports = React.createClass
render: ->
{members} = @props.data
MemberRows = for member, i in members
{firstname, lastname, position, bars} = member
key = PI:KEY:<KEY>END_PI+PI:KEY:<KEY>END_PI
BarList = for bar, i in bars
{name, url} = bar
<l... |
[
{
"context": "to 'hubot'.\n#\n# Commands:\n# None\n#\n# Author:\n# Gavin Mogan <gavin@gavinmogan.com>\n\n'use strict'\n\nUrl = req",
"end": 210,
"score": 0.9998719096183777,
"start": 199,
"tag": "NAME",
"value": "Gavin Mogan"
},
{
"context": "# Commands:\n# None\n#\n# Author:... | src/scripts/hubot-brain-redis-hash.coffee | actionshrimp/hubot-brain-redis-hash | 0 | # Description:
# None
#
# Dependencies:
# "redis": "0.7.2"
#
# Configuration:
# REDISTOGO_URL
# REDIS_PREFIX - If not provided will default to 'hubot'.
#
# Commands:
# None
#
# Author:
# Gavin Mogan <gavin@gavinmogan.com>
'use strict'
Url = require "url"
Redis = require "redis"
# sets up hooks to persi... | 95148 | # Description:
# None
#
# Dependencies:
# "redis": "0.7.2"
#
# Configuration:
# REDISTOGO_URL
# REDIS_PREFIX - If not provided will default to 'hubot'.
#
# Commands:
# None
#
# Author:
# <NAME> <<EMAIL>>
'use strict'
Url = require "url"
Redis = require "redis"
# sets up hooks to persist the brain into ... | true | # Description:
# None
#
# Dependencies:
# "redis": "0.7.2"
#
# Configuration:
# REDISTOGO_URL
# REDIS_PREFIX - If not provided will default to 'hubot'.
#
# Commands:
# None
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
'use strict'
Url = require "url"
Redis = require "redis"
# sets up hoo... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998878240585327,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/kanban/sortable.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 36628 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "ts = ()->\n method = {}\n\n method.webhookToken = \"tLK3w8TgCnbeLixtqXqKpqDG\"\n method.token = \"SYB244fFe6JePkdvBqHDgSzs\"\n me",
"end": 93,
"score": 0.8627226948738098,
"start": 69,
"tag": "KEY",
"value": "tLK3w8TgCnbeLixtqXqKpqDG"
},
{
"context": "en = \"tLK3w8T... | config/kr.coffee | pcruise/peoply-slackbot | 0 | #한국 슬랙
module.exports = ()->
method = {}
method.webhookToken = "tLK3w8TgCnbeLixtqXqKpqDG"
method.token = "SYB244fFe6JePkdvBqHDgSzs"
method.parse_app_id = 'NAllo4M9E53cRyp6SGtHVQchPJmYbrHdA5Iz9Anq'
method.parse_app_key = 'BQiD4TQOl1tC0qCemsFyRxN7DkecFRE2RuLnJRGd'
method.domain = "peoply"
method.bot_name =... | 64824 | #한국 슬랙
module.exports = ()->
method = {}
method.webhookToken = "<KEY>"
method.token = "<KEY>"
method.parse_app_id = 'NAllo4M9E53cRyp6SGtHVQchPJmYbrHdA5Iz9Anq'
method.parse_app_key = '<KEY>'
method.domain = "peoply"
method.bot_name = "PeoplyBot"
method.auto_msg =
wait: '안녕하세요! 컨시어지를 찾아주셔서 감사합니다. 현재 ... | true | #한국 슬랙
module.exports = ()->
method = {}
method.webhookToken = "PI:KEY:<KEY>END_PI"
method.token = "PI:KEY:<KEY>END_PI"
method.parse_app_id = 'NAllo4M9E53cRyp6SGtHVQchPJmYbrHdA5Iz9Anq'
method.parse_app_key = 'PI:KEY:<KEY>END_PI'
method.domain = "peoply"
method.bot_name = "PeoplyBot"
method.auto_msg =
... |
[
{
"context": " 'адреса', 'адресов']\n 'person': ['человек', 'человека', 'человек']\n 'ton': [",
"end": 1196,
"score": 0.9690707921981812,
"start": 1189,
"tag": "NAME",
"value": "человек"
},
{
"context": "'адресов']\n 'person': ['человек', ... | resources/assets/coffee/directives/plural.coffee | maxflex/tweb | 0 | angular.module 'App'
.directive 'plural', ->
restrict: 'E'
scope:
count: '=' # кол-во
type: '@' # тип plural age | student | ...
noneText: '@' # текст, если кол-во равно нулю
templateUrl: '/directives/plural'
controller: ($scope, $elem... | 29531 | angular.module 'App'
.directive 'plural', ->
restrict: 'E'
scope:
count: '=' # кол-во
type: '@' # тип plural age | student | ...
noneText: '@' # текст, если кол-во равно нулю
templateUrl: '/directives/plural'
controller: ($scope, $elem... | true | angular.module 'App'
.directive 'plural', ->
restrict: 'E'
scope:
count: '=' # кол-во
type: '@' # тип plural age | student | ...
noneText: '@' # текст, если кол-во равно нулю
templateUrl: '/directives/plural'
controller: ($scope, $elem... |
[
{
"context": "on sun\nAll now covered with snow\n\"\"\",\n \"\"\"\nCopley brought me to a monument\nQuiet before the crunch ",
"end": 1844,
"score": 0.8701058030128479,
"start": 1838,
"tag": "NAME",
"value": "Copley"
}
] | scripts/poetry.coffee | jsullivan3/pinkybot | 1 | # Description:
# Poems and whimsical retorts
#
# Commands:
# hubot read me a poem - reads a random poem from the hit game Interstate 76
poetry = [ """
Looking out the window of your room onto a wet rainy day
Main street under a slate gray afternoon sky
The light on your face is soft and dim under the lace curtain
... | 110359 | # Description:
# Poems and whimsical retorts
#
# Commands:
# hubot read me a poem - reads a random poem from the hit game Interstate 76
poetry = [ """
Looking out the window of your room onto a wet rainy day
Main street under a slate gray afternoon sky
The light on your face is soft and dim under the lace curtain
... | true | # Description:
# Poems and whimsical retorts
#
# Commands:
# hubot read me a poem - reads a random poem from the hit game Interstate 76
poetry = [ """
Looking out the window of your room onto a wet rainy day
Main street under a slate gray afternoon sky
The light on your face is soft and dim under the lace curtain
... |
[
{
"context": "new models.shares.Share()\n share.password = '' #req.body.password\n share.allowComments = ",
"end": 650,
"score": 0.9282909631729126,
"start": 650,
"tag": "PASSWORD",
"value": ""
},
{
"context": "odels.shares.Share()\n share.password = '' #req.body... | player/src/controllers/shares.coffee | setpixel/storyboard-fountain | 148 | require('string.prototype.endswith')
util = require('util')
_ = require('underscore')
#geoip = require('geoip-lite')
class NotFound extends Error
module.exports = {
initialize: (app) ->
models = require('../models')
helpers = require('../req_helpers')
fs = require('fs')
app.get '/shares/:key.json',
... | 186765 | require('string.prototype.endswith')
util = require('util')
_ = require('underscore')
#geoip = require('geoip-lite')
class NotFound extends Error
module.exports = {
initialize: (app) ->
models = require('../models')
helpers = require('../req_helpers')
fs = require('fs')
app.get '/shares/:key.json',
... | true | require('string.prototype.endswith')
util = require('util')
_ = require('underscore')
#geoip = require('geoip-lite')
class NotFound extends Error
module.exports = {
initialize: (app) ->
models = require('../models')
helpers = require('../req_helpers')
fs = require('fs')
app.get '/shares/:key.json',
... |
[
{
"context": "quire '../payment'\n\n @bannedUserList = ['abrt', 'amykhailov', 'apache', 'about', 'visa', 'shared-',\n ",
"end": 1072,
"score": 0.9996464848518372,
"start": 1062,
"tag": "USERNAME",
"value": "amykhailov"
},
{
"context": ": no\n indexes :\n user... | workers/social/lib/social/models/user/index.coffee | ezgikaysi/koding | 1 | async = require 'async'
jraphical = require 'jraphical'
Regions = require 'koding-regions'
request = require 'request'
KONFIG = require 'koding-config-manager'
Flaggable = require '../../traits/flaggable'
KodingError = require '../../error'
emailsanitize = re... | 90423 | async = require 'async'
jraphical = require 'jraphical'
Regions = require 'koding-regions'
request = require 'request'
KONFIG = require 'koding-config-manager'
Flaggable = require '../../traits/flaggable'
KodingError = require '../../error'
emailsanitize = re... | true | async = require 'async'
jraphical = require 'jraphical'
Regions = require 'koding-regions'
request = require 'request'
KONFIG = require 'koding-config-manager'
Flaggable = require '../../traits/flaggable'
KodingError = require '../../error'
emailsanitize = re... |
[
{
"context": "y \" + entry.meta.name)\n console.log(\"Name \" + @name)\n if (entry.meta.name == @name) && (entr",
"end": 2709,
"score": 0.48010051250457764,
"start": 2709,
"tag": "NAME",
"value": ""
},
{
"context": "\" + entry.meta.name)\n console.log(\"Name \" + @name... | tree-view/lib/file.coffee | sebischair/cc-annotator-dev-tools | 0 | path = require 'path'
fs = require 'fs-plus'
{CompositeDisposable, Emitter} = require 'event-kit'
{repoForPath} = require './helpers'
module.exports =
class File
constructor: ({@name, fullPath, @symlink, realpathCache, useSyncFS, @stats}) ->
@destroyed = false
@emitter = new Emitter()
@subscriptions = ne... | 53620 | path = require 'path'
fs = require 'fs-plus'
{CompositeDisposable, Emitter} = require 'event-kit'
{repoForPath} = require './helpers'
module.exports =
class File
constructor: ({@name, fullPath, @symlink, realpathCache, useSyncFS, @stats}) ->
@destroyed = false
@emitter = new Emitter()
@subscriptions = ne... | true | path = require 'path'
fs = require 'fs-plus'
{CompositeDisposable, Emitter} = require 'event-kit'
{repoForPath} = require './helpers'
module.exports =
class File
constructor: ({@name, fullPath, @symlink, realpathCache, useSyncFS, @stats}) ->
@destroyed = false
@emitter = new Emitter()
@subscriptions = ne... |
[
{
"context": "cope prop is only used on <th> elements.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 116,
"score": 0.9998589754104614,
"start": 105,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/scope.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce scope prop is only used on <th> elements.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
... | 171628 | ### eslint-env jest ###
###*
# @fileoverview Enforce scope prop is only used on <th> elements.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{Rule... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce scope prop is only used on <th> elements.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = requir... |
[
{
"context": "tusCode\" : 200}, JSON.stringify\n user_id :\"userGuid\"\n user_name : \"userName\"\n )\n else ",
"end": 1721,
"score": 0.9985779523849487,
"start": 1713,
"tag": "USERNAME",
"value": "userGuid"
},
{
"context": "\n user_id :\"userGuid\"\n ... | test/routes/cfapiSpec.coffee | MonsantoCo/cf-users | 14 | chai = require('chai')
chai.use(require('chai-string'));
expect = chai.expect
sinon = require('sinon')
mock = require 'mock-require'
equal = require 'deep-equal'
Promise = require 'promise'
describe 'cfapi ', ->
requestjs = (options,callback)->
if(options.url=="https://api.domain.com/v2/spaces?order-direction... | 112700 | chai = require('chai')
chai.use(require('chai-string'));
expect = chai.expect
sinon = require('sinon')
mock = require 'mock-require'
equal = require 'deep-equal'
Promise = require 'promise'
describe 'cfapi ', ->
requestjs = (options,callback)->
if(options.url=="https://api.domain.com/v2/spaces?order-direction... | true | chai = require('chai')
chai.use(require('chai-string'));
expect = chai.expect
sinon = require('sinon')
mock = require 'mock-require'
equal = require 'deep-equal'
Promise = require 'promise'
describe 'cfapi ', ->
requestjs = (options,callback)->
if(options.url=="https://api.domain.com/v2/spaces?order-direction... |
[
{
"context": "n false else undefined)\n API.mail.send {to: 'alert@cottagelabs.com', subject: 'Sherpa Romeo index complete', text: '",
"end": 2453,
"score": 0.9999319911003113,
"start": 2432,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
},
{
"context": "ON.stringify(data,\"\"... | server/use/sherpa.coffee | leviathanindustries/noddy | 2 |
# docs http://www.sherpa.ac.uk/romeo/apimanual.php?la=en&fIDnum=|&mode=simple
# has an api key set in settings and should be appended as query param "ak"
# A romeo query for an issn is what is immediately required:
# http://www.sherpa.ac.uk/romeo/api29.php?issn=1444-1586
# returns an object in which <romeoapi versi... | 225776 |
# docs http://www.sherpa.ac.uk/romeo/apimanual.php?la=en&fIDnum=|&mode=simple
# has an api key set in settings and should be appended as query param "ak"
# A romeo query for an issn is what is immediately required:
# http://www.sherpa.ac.uk/romeo/api29.php?issn=1444-1586
# returns an object in which <romeoapi versi... | true |
# docs http://www.sherpa.ac.uk/romeo/apimanual.php?la=en&fIDnum=|&mode=simple
# has an api key set in settings and should be appended as query param "ak"
# A romeo query for an issn is what is immediately required:
# http://www.sherpa.ac.uk/romeo/api29.php?issn=1444-1586
# returns an object in which <romeoapi versi... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998444318771362,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/import/md5.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 159456 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "render 'diff',\n title: 'Diff'\n name: name\n diff: renderer.diff diff\n\nsearch = (req, ",
"end": 1807,
"score": 0.5557006597518921,
"start": 1803,
"tag": "NAME",
"value": "name"
}
] | wikiApp.coffee | madnite1/devnote | 11 | fs = require 'fs'
wiki = require './lib/wiki'
url = require 'url'
debug = (require 'debug')('main')
assert = require 'assert'
mailer = require './lib/mailer'
User = require('./lib/users').User
_ = require 'underscore'
util = require 'util'
__ = (require './lib/i18n').__
renderer = require './lib/renderer'
ROOT_PATH = ... | 222126 | fs = require 'fs'
wiki = require './lib/wiki'
url = require 'url'
debug = (require 'debug')('main')
assert = require 'assert'
mailer = require './lib/mailer'
User = require('./lib/users').User
_ = require 'underscore'
util = require 'util'
__ = (require './lib/i18n').__
renderer = require './lib/renderer'
ROOT_PATH = ... | true | fs = require 'fs'
wiki = require './lib/wiki'
url = require 'url'
debug = (require 'debug')('main')
assert = require 'assert'
mailer = require './lib/mailer'
User = require('./lib/users').User
_ = require 'underscore'
util = require 'util'
__ = (require './lib/i18n').__
renderer = require './lib/renderer'
ROOT_PATH = ... |
[
{
"context": "r for you.\n\nclient = Keen.configure\n projectId: '5252fe3d36bf5a4f54000008',\n writeKey: 'd4dff32fa0e23516cf4828d2a71219255e",
"end": 602,
"score": 0.9807454943656921,
"start": 578,
"tag": "KEY",
"value": "5252fe3d36bf5a4f54000008"
},
{
"context": "ojectId: '5252fe3... | lib/analytics.coffee | zhangyazheng-2020/roots | 416 | Keen = require 'keen.io'
global_config = require './global_config'
node = require 'when/node'
W = require('when')
# Yes, you can write analytics to our project. Please don't do this though.
# Roots is an open source project. We're over here working hard to bring you
# tools that will make... | 42530 | Keen = require 'keen.io'
global_config = require './global_config'
node = require 'when/node'
W = require('when')
# Yes, you can write analytics to our project. Please don't do this though.
# Roots is an open source project. We're over here working hard to bring you
# tools that will make... | true | Keen = require 'keen.io'
global_config = require './global_config'
node = require 'when/node'
W = require('when')
# Yes, you can write analytics to our project. Please don't do this though.
# Roots is an open source project. We're over here working hard to bring you
# tools that will make... |
[
{
"context": " up roles and voices ---------------------------\n{Alex,Daniel,Kate,Oliver,Samantha,Serena,MeiJia,Sinji} ",
"end": 372,
"score": 0.9998544454574585,
"start": 368,
"tag": "NAME",
"value": "Alex"
},
{
"context": "oles and voices ---------------------------\n{Alex,Daniel,K... | class01.coffee | emptist/mac_speaker | 0 | Speaker = require './speaker'
lesson01 = require './lesson01'
# 清除之前還沒有播放完的內容,從新開始
Speaker.restart()
# --------------------------- prepare for materials --------------------------
{
text:{title,paragraph}
RD1
IR
RD2
CQs
AQT
PDs1
PDs2
PDs3
PDs4
OC
} = lesson01
# ---------------------- set u... | 207297 | Speaker = require './speaker'
lesson01 = require './lesson01'
# 清除之前還沒有播放完的內容,從新開始
Speaker.restart()
# --------------------------- prepare for materials --------------------------
{
text:{title,paragraph}
RD1
IR
RD2
CQs
AQT
PDs1
PDs2
PDs3
PDs4
OC
} = lesson01
# ---------------------- set u... | true | Speaker = require './speaker'
lesson01 = require './lesson01'
# 清除之前還沒有播放完的內容,從新開始
Speaker.restart()
# --------------------------- prepare for materials --------------------------
{
text:{title,paragraph}
RD1
IR
RD2
CQs
AQT
PDs1
PDs2
PDs3
PDs4
OC
} = lesson01
# ---------------------- set u... |
[
{
"context": "###\n# @author Will Steinmetz\n# jQuery notification plug-in inspired by the not",
"end": 28,
"score": 0.9998623132705688,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ation style of Windows 8\n# Copyright (c)2013-2015, Will Steinmetz\n# Licens... | public/third_party/notific8/grunt/contrib-copy.coffee | pvndn/spa | 130 | ###
# @author Will Steinmetz
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, Will Steinmetz
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('copy',
font:
expand: true
s... | 198227 | ###
# @author <NAME>
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, <NAME>
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('copy',
font:
expand: true
src: ['src/fonts/... | true | ###
# @author PI:NAME:<NAME>END_PI
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, PI:NAME:<NAME>END_PI
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('copy',
font:
expand: ... |
[
{
"context": "tops responding with bender quotes\n#\n# Author:\n# Sam Roquitte <samroq@yahoo.com>\n\nmodule.exports = (robot) ->\n ",
"end": 272,
"score": 0.999884843826294,
"start": 260,
"tag": "NAME",
"value": "Sam Roquitte"
},
{
"context": " with bender quotes\n#\n# Author:\n# ... | src/bender.coffee | akitabox/hubot-bender | 0 | # Description
# hubot script to impersonate Bender from Futurama
#
# Configuration:
# none
#
# Commands:
# hubot bender on - starts responding to room messages with bender quotes
# hubot bender off - stops responding with bender quotes
#
# Author:
# Sam Roquitte <samroq@yahoo.com>
module.exports = (robot) ->... | 214647 | # Description
# hubot script to impersonate Bender from Futurama
#
# Configuration:
# none
#
# Commands:
# hubot bender on - starts responding to room messages with bender quotes
# hubot bender off - stops responding with bender quotes
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
benderQuotes... | true | # Description
# hubot script to impersonate Bender from Futurama
#
# Configuration:
# none
#
# Commands:
# hubot bender on - starts responding to room messages with bender quotes
# hubot bender off - stops responding with bender quotes
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.export... |
[
{
"context": "+ @name\n next()\n user = new User name: 'Jonathan'\n\n user.save ->\n test.equals User.schem",
"end": 1129,
"score": 0.9996048808097839,
"start": 1121,
"tag": "NAME",
"value": "Jonathan"
},
{
"context": "ame, user.name\n test.equals user.name... | node_modules/resources/persistence/vendor/jugglingdb/test/hookable_test.coffee | manecz/storytail | 1 | juggling = require('../index')
Schema = juggling.Schema
AbstractClass = juggling.AbstractClass
Hookable = juggling.Hookable
require('./spec_helper').init module.exports
schema = new Schema 'memory'
User = schema.define 'User',
email: String
name: String
password: String
state: String
age: Number
... | 176653 | juggling = require('../index')
Schema = juggling.Schema
AbstractClass = juggling.AbstractClass
Hookable = juggling.Hookable
require('./spec_helper').init module.exports
schema = new Schema 'memory'
User = schema.define 'User',
email: String
name: String
password: String
state: String
age: Number
... | true | juggling = require('../index')
Schema = juggling.Schema
AbstractClass = juggling.AbstractClass
Hookable = juggling.Hookable
require('./spec_helper').init module.exports
schema = new Schema 'memory'
User = schema.define 'User',
email: String
name: String
password: String
state: String
age: Number
... |
[
{
"context": "orObject =\n value: null\n\n #https://github.com/petkaantonov/bluebird/wiki/Optimization-killers\n tryCatch = (",
"end": 5810,
"score": 0.999627411365509,
"start": 5798,
"tag": "USERNAME",
"value": "petkaantonov"
},
{
"context": "k)\n return false\n true\n\... | public/bower_components/angular-google-maps/src/coffee/directives/api/utils/_async.coffee | arslannaseem/notasoft | 0 | angular.module('uiGmapgoogle-maps.directives.api.utils')
.service('uiGmap_sync', [ ->
fakePromise: ->
_cb = undefined
then: (cb) ->
_cb = cb
resolve: () ->
_cb.apply(undefined, arguments)
])
.service 'uiGmap_async', [ '$timeout', 'uiGmapPromise', 'uiGmapLogger', '$q','uiGmapDataS... | 5826 | angular.module('uiGmapgoogle-maps.directives.api.utils')
.service('uiGmap_sync', [ ->
fakePromise: ->
_cb = undefined
then: (cb) ->
_cb = cb
resolve: () ->
_cb.apply(undefined, arguments)
])
.service 'uiGmap_async', [ '$timeout', 'uiGmapPromise', 'uiGmapLogger', '$q','uiGmapDataS... | true | angular.module('uiGmapgoogle-maps.directives.api.utils')
.service('uiGmap_sync', [ ->
fakePromise: ->
_cb = undefined
then: (cb) ->
_cb = cb
resolve: () ->
_cb.apply(undefined, arguments)
])
.service 'uiGmap_async', [ '$timeout', 'uiGmapPromise', 'uiGmapLogger', '$q','uiGmapDataS... |
[
{
"context": "login\n $scope.password = login_data.password\n $scope.sms_verification = true\n ",
"end": 1226,
"score": 0.84743732213974,
"start": 1218,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " login: $scope.login\n pass... | resources/assets/coffee/controllers/login.coffee | maxflex/tcms | 0 | angular
.module 'Egecms'
.controller 'LoginCtrl', ($scope, $http) ->
loadImage = ->
$scope.image_loaded = false
img = new Image
img.addEventListener "load", ->
$('body').css({'background-image': "url(#{$scope.wallpaper.image_url})"})
$... | 187937 | angular
.module 'Egecms'
.controller 'LoginCtrl', ($scope, $http) ->
loadImage = ->
$scope.image_loaded = false
img = new Image
img.addEventListener "load", ->
$('body').css({'background-image': "url(#{$scope.wallpaper.image_url})"})
$... | true | angular
.module 'Egecms'
.controller 'LoginCtrl', ($scope, $http) ->
loadImage = ->
$scope.image_loaded = false
img = new Image
img.addEventListener "load", ->
$('body').css({'background-image': "url(#{$scope.wallpaper.image_url})"})
$... |
[
{
"context": "name:\n label: 'Username'\n description:",
"end": 88798,
"score": 0.7989317178726196,
"start": 88790,
"tag": "USERNAME",
"value": "Username"
},
{
"context": " {\n annot... | cyclotron-site/app/scripts/common/services/services.commonConfigService.coffee | baumandm/cyclotron | 1,657 | ###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | 10245 | ###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | true | ###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... |
[
{
"context": "\n inputOptions :\n name : 'username'\n forceCase : 'lowercase'\n plac",
"end": 346,
"score": 0.9930529594421387,
"start": 338,
"tag": "USERNAME",
"value": "username"
},
{
"context": "pe : 'password'\n placeholde... | client/landing/site.landing/coffee/login/loginform.coffee | lionheart1022/koding | 0 | kd = require 'kd'
JView = require './../core/jview'
LoginViewInlineForm = require './loginviewinlineform'
LoginInputView = require './logininputview'
module.exports = class LoginInlineForm extends LoginViewInlineForm
constructor: ->
super
@username = new LoginInputView
inputOptions :
... | 84684 | kd = require 'kd'
JView = require './../core/jview'
LoginViewInlineForm = require './loginviewinlineform'
LoginInputView = require './logininputview'
module.exports = class LoginInlineForm extends LoginViewInlineForm
constructor: ->
super
@username = new LoginInputView
inputOptions :
... | true | kd = require 'kd'
JView = require './../core/jview'
LoginViewInlineForm = require './loginviewinlineform'
LoginInputView = require './logininputview'
module.exports = class LoginInlineForm extends LoginViewInlineForm
constructor: ->
super
@username = new LoginInputView
inputOptions :
... |
[
{
"context": "\n\t\tpagingType: \"numbers\"\n\n\t}\n\n\tif flowId\n\t\tkey = \"instanceFlow\" + flowId\n\n\t\toptions.name = key\n\n\t\tTabularTables.",
"end": 9515,
"score": 0.9662022590637207,
"start": 9503,
"tag": "KEY",
"value": "instanceFlow"
},
{
"context": "sTabularOptions = (... | creator/packages/steedos-workflow/tabular.coffee | yicone/steedos-platform | 42 | Steedos.subs["InstanceTabular"] = new SubsManager()
_handleListFields = (fields) ->
ins_fields = new Array();
fields?.forEach (f)->
if f.type == 'table'
console.log 'ignore opinion field in table'
else if f.type == 'section'
f?.fields?.forEach (f1)->
ins_fields.push f1
else
ins_fields.push f
r... | 123241 | Steedos.subs["InstanceTabular"] = new SubsManager()
_handleListFields = (fields) ->
ins_fields = new Array();
fields?.forEach (f)->
if f.type == 'table'
console.log 'ignore opinion field in table'
else if f.type == 'section'
f?.fields?.forEach (f1)->
ins_fields.push f1
else
ins_fields.push f
r... | true | Steedos.subs["InstanceTabular"] = new SubsManager()
_handleListFields = (fields) ->
ins_fields = new Array();
fields?.forEach (f)->
if f.type == 'table'
console.log 'ignore opinion field in table'
else if f.type == 'section'
f?.fields?.forEach (f1)->
ins_fields.push f1
else
ins_fields.push f
r... |
[
{
"context": "@Config =\n\tname: 'Jetfile'\n\ttitle: 'Smart maintenance reports. Fast.'\n\tsubt",
"end": 25,
"score": 0.6053949594497681,
"start": 18,
"tag": "NAME",
"value": "Jetfile"
},
{
"context": "cialMedia:\n\t\ttwitter:\n\t\t\turl: 'http://twitter.com/Royal_Arse'\n\t\t\ticon: ... | both/_config/_config.coffee | DeBraid/jetfile | 0 | @Config =
name: 'Jetfile'
title: 'Smart maintenance reports. Fast.'
subtitle: 'Get back to work.'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
blog: 'Coming soon...'
about: 'Coming soon...'
username: false
h... | 80564 | @Config =
name: '<NAME>'
title: 'Smart maintenance reports. Fast.'
subtitle: 'Get back to work.'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
blog: 'Coming soon...'
about: 'Coming soon...'
username: false
ho... | true | @Config =
name: 'PI:NAME:<NAME>END_PI'
title: 'Smart maintenance reports. Fast.'
subtitle: 'Get back to work.'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
blog: 'Coming soon...'
about: 'Coming soon...'
usern... |
[
{
"context": "ection\n device: {uuid: 'masseuse', token: 'assassin'}\n @jobManager\n @workerFunc\n }",
"end": 1414,
"score": 0.9967114329338074,
"start": 1406,
"tag": "PASSWORD",
"value": "assassin"
},
{
"context": " port: @port\n uuid: 'masseuse'\n ... | test/connect.coffee | octoblu/meshblu-server-websocket | 0 | _ = require 'lodash'
{EventEmitter} = require 'events'
MeshbluWebsocket = require 'meshblu-websocket'
async = require 'async'
UUID = require 'uuid'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'... | 96472 | _ = require 'lodash'
{EventEmitter} = require 'events'
MeshbluWebsocket = require 'meshblu-websocket'
async = require 'async'
UUID = require 'uuid'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'... | true | _ = require 'lodash'
{EventEmitter} = require 'events'
MeshbluWebsocket = require 'meshblu-websocket'
async = require 'async'
UUID = require 'uuid'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'... |
[
{
"context": ", and the app itself.\nclass Application\n\n name: 'Vessel'\n company: 'AWeber Communications'\n crashURL: '",
"end": 691,
"score": 0.9952524900436401,
"start": 685,
"tag": "NAME",
"value": "Vessel"
}
] | src/app/main.coffee | s1090709/vessel | 101 | # Main application entry point
app = require 'app'
crashReporter = require 'crash-reporter'
ipc = require 'ipc'
Menu = require './ui/menu'
newWindow = require './ui/window'
Startup = require './ui/startup'
TrayIcon = require './ui/tray-icon'
Config = require './ipc/... | 26007 | # Main application entry point
app = require 'app'
crashReporter = require 'crash-reporter'
ipc = require 'ipc'
Menu = require './ui/menu'
newWindow = require './ui/window'
Startup = require './ui/startup'
TrayIcon = require './ui/tray-icon'
Config = require './ipc/... | true | # Main application entry point
app = require 'app'
crashReporter = require 'crash-reporter'
ipc = require 'ipc'
Menu = require './ui/menu'
newWindow = require './ui/window'
Startup = require './ui/startup'
TrayIcon = require './ui/tray-icon'
Config = require './ipc/... |
[
{
"context": "password) ->\n this.native().settings.userName = user\n this.native().settings.password = password\n ",
"end": 5564,
"score": 0.9741864204406738,
"start": 5560,
"tag": "USERNAME",
"value": "user"
},
{
"context": "rName = user\n this.native().settings.password ... | lib/capybara/poltergeist/client/web_page.coffee | Nix-wie-weg/poltergeist | 0 | class Poltergeist.WebPage
@CALLBACKS = ['onConsoleMessage','onError',
'onLoadFinished', 'onInitialized', 'onLoadStarted',
'onResourceRequested', 'onResourceReceived', 'onResourceError',
'onNavigationRequested', 'onUrlChanged', 'onPageCreated',
'onClosing... | 148968 | class Poltergeist.WebPage
@CALLBACKS = ['onConsoleMessage','onError',
'onLoadFinished', 'onInitialized', 'onLoadStarted',
'onResourceRequested', 'onResourceReceived', 'onResourceError',
'onNavigationRequested', 'onUrlChanged', 'onPageCreated',
'onClosing... | true | class Poltergeist.WebPage
@CALLBACKS = ['onConsoleMessage','onError',
'onLoadFinished', 'onInitialized', 'onLoadStarted',
'onResourceRequested', 'onResourceReceived', 'onResourceError',
'onNavigationRequested', 'onUrlChanged', 'onPageCreated',
'onClosing... |
[
{
"context": "odel'\n\n\nclass Task extends Model\n brainstemKey: \"tasks\"\n paramRoot: 'task'\n urlRoot: '/api/tasks'\n\n @",
"end": 86,
"score": 0.8911499977111816,
"start": 81,
"tag": "KEY",
"value": "tasks"
},
{
"context": "iations:\n project: \"projects\"\n assignees:... | spec/helpers/models/task.coffee | mavenlink/brainstem-js | 8 | Model = require '../../../src/model'
class Task extends Model
brainstemKey: "tasks"
paramRoot: 'task'
urlRoot: '/api/tasks'
@associations:
project: "projects"
assignees: ["users"]
sub_tasks: ["tasks"]
parent: "tasks"
module.exports = Task
| 163523 | Model = require '../../../src/model'
class Task extends Model
brainstemKey: "<KEY>"
paramRoot: 'task'
urlRoot: '/api/tasks'
@associations:
project: "projects"
assignees: ["users"]
sub_tasks: ["tasks"]
parent: "tasks"
module.exports = Task
| true | Model = require '../../../src/model'
class Task extends Model
brainstemKey: "PI:KEY:<KEY>END_PI"
paramRoot: 'task'
urlRoot: '/api/tasks'
@associations:
project: "projects"
assignees: ["users"]
sub_tasks: ["tasks"]
parent: "tasks"
module.exports = Task
|
[
{
"context": "email.</i></p>\n <Input type=\"text\" name=\"username\" valueLink={@props.username} addonBefore={userGly",
"end": 820,
"score": 0.9977279305458069,
"start": 812,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ps.username} addonBefore={userGlyph} placeh... | picoCTF-web/web/coffee/front-page.coffee | archituiet/picoCTF | 0 | Input = ReactBootstrap.Input
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
Button = ReactBootstrap.Button
Panel = ReactBootstrap.Panel
Glyphicon = ReactBootstrap.Glyphicon
ButtonInput = ReactBootstrap.ButtonInput
ButtonGroup = ReactBootstrap.ButtonGroup
Alert = ReactBootstrap.Alert
update = React.addons.update
Re... | 179966 | Input = ReactBootstrap.Input
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
Button = ReactBootstrap.Button
Panel = ReactBootstrap.Panel
Glyphicon = ReactBootstrap.Glyphicon
ButtonInput = ReactBootstrap.ButtonInput
ButtonGroup = ReactBootstrap.ButtonGroup
Alert = ReactBootstrap.Alert
update = React.addons.update
Re... | true | Input = ReactBootstrap.Input
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
Button = ReactBootstrap.Button
Panel = ReactBootstrap.Panel
Glyphicon = ReactBootstrap.Glyphicon
ButtonInput = ReactBootstrap.ButtonInput
ButtonGroup = ReactBootstrap.ButtonGroup
Alert = ReactBootstrap.Alert
update = React.addons.update
Re... |
[
{
"context": "rd.replace /^MD5_/, ''\n else\n md5_password = @MD5 @password\n signature = \"#{opt.method}&/#{@bucke",
"end": 3228,
"score": 0.607719898223877,
"start": 3226,
"tag": "PASSWORD",
"value": "MD"
},
{
"context": " signature\n opt.headers[\"Authorization\"] = \"UpYun ... | source/javascripts/all.coffee | 2947721120/manager-for-upyun | 1 | # = require_tree .
# = require jquery
# = require jquery-serialize-object
# = require bootstrap
# = require underscore
# = require underscore.string/dist/underscore.string.min
# = require messenger/build/js/messenger
# = require messenger/build/js/messenger-theme-future
# = require ace-builds/src-noconflict/ace.js
if @... | 6005 | # = require_tree .
# = require jquery
# = require jquery-serialize-object
# = require bootstrap
# = require underscore
# = require underscore.string/dist/underscore.string.min
# = require messenger/build/js/messenger
# = require messenger/build/js/messenger-theme-future
# = require ace-builds/src-noconflict/ace.js
if @... | true | # = require_tree .
# = require jquery
# = require jquery-serialize-object
# = require bootstrap
# = require underscore
# = require underscore.string/dist/underscore.string.min
# = require messenger/build/js/messenger
# = require messenger/build/js/messenger-theme-future
# = require ace-builds/src-noconflict/ace.js
if @... |
[
{
"context": "ef}\"\n [\n DOM.a\n key: \"a-#{@props.text}-#{@props.href}\"\n href: '",
"end": 669,
"score": 0.6360454559326172,
"start": 669,
"tag": "KEY",
"value": ""
},
{
"context": "\n DOM.a\n key: \"a-#{@props.text}-#{@pro... | src/components/main.coffee | brianshaler/kerplunk-admin | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
Item = React.createFactory React.createClass
getInitialState: ->
expanded: false
toggle: (e) ->
e.preventDefault()
@setState
expanded: !@state.expanded
render: ->
classes = ['admin-link']
if @props.children.length > 0
... | 60917 | _ = require 'lodash'
React = require 'react'
{DOM} = React
Item = React.createFactory React.createClass
getInitialState: ->
expanded: false
toggle: (e) ->
e.preventDefault()
@setState
expanded: !@state.expanded
render: ->
classes = ['admin-link']
if @props.children.length > 0
... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
Item = React.createFactory React.createClass
getInitialState: ->
expanded: false
toggle: (e) ->
e.preventDefault()
@setState
expanded: !@state.expanded
render: ->
classes = ['admin-link']
if @props.children.length > 0
... |
[
{
"context": "ach ->\n homePage.get()\n homePage.login(\"John\", \"WRONG\")\n\n it 'should not go to dashboard', ",
"end": 199,
"score": 0.9977817535400391,
"start": 195,
"tag": "NAME",
"value": "John"
},
{
"context": "ach ->\n homePage.get()\n homePage.login(\... | app/specs/e2e/login_spec.coffee | asartalo/axya | 0 | 'use strict'
describe "E2E: Logging in", ->
homePage = new (require('./pages/home'))
describe 'with incorrect credentials', ->
beforeEach ->
homePage.get()
homePage.login("John", "WRONG")
it 'should not go to dashboard', ->
expect(browser.getCurrentUrl()).toNotContain('#/dashboard')
... | 198068 | 'use strict'
describe "E2E: Logging in", ->
homePage = new (require('./pages/home'))
describe 'with incorrect credentials', ->
beforeEach ->
homePage.get()
homePage.login("<NAME>", "WRONG")
it 'should not go to dashboard', ->
expect(browser.getCurrentUrl()).toNotContain('#/dashboard')
... | true | 'use strict'
describe "E2E: Logging in", ->
homePage = new (require('./pages/home'))
describe 'with incorrect credentials', ->
beforeEach ->
homePage.get()
homePage.login("PI:NAME:<NAME>END_PI", "WRONG")
it 'should not go to dashboard', ->
expect(browser.getCurrentUrl()).toNotContain('... |
[
{
"context": " to librato',\n extra : 'see https://github.com/sdesbure/netatmo_librato'\n})\n\nparser.addArgument('secret' ",
"end": 344,
"score": 0.9995230436325073,
"start": 336,
"tag": "USERNAME",
"value": "sdesbure"
},
{
"context": "\"username\": secret.netatmo.username,\n \"... | netatmo_librato_daemon.coffee | sdesbure/netatmo_librato | 0 | #!/usr/bin/env coffee
require 'require-yaml'
require 'unorm'
xregexp = require('xregexp').XRegExp
netatmo = require('netatmo')
Parser = require('commandline-parser').Parser
parser = new Parser({
name : "netatmo_librato_daemon",
desc : 'a daemon which send data from netatmo to librato',
extra : 'see htt... | 125739 | #!/usr/bin/env coffee
require 'require-yaml'
require 'unorm'
xregexp = require('xregexp').XRegExp
netatmo = require('netatmo')
Parser = require('commandline-parser').Parser
parser = new Parser({
name : "netatmo_librato_daemon",
desc : 'a daemon which send data from netatmo to librato',
extra : 'see htt... | true | #!/usr/bin/env coffee
require 'require-yaml'
require 'unorm'
xregexp = require('xregexp').XRegExp
netatmo = require('netatmo')
Parser = require('commandline-parser').Parser
parser = new Parser({
name : "netatmo_librato_daemon",
desc : 'a daemon which send data from netatmo to librato',
extra : 'see htt... |
[
{
"context": " #\n# Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) #\n# ",
"end": 914,
"score": 0.9998069405555725,
"start": 904,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/views/_base/Layout.coffee | wrml/wrml | 47 | ###############################################################################
# #
# WRML - Web Resource Modeling Language #
# __ __ ______ __ __ __ #
... | 206949 | ###############################################################################
# #
# WRML - Web Resource Modeling Language #
# __ __ ______ __ __ __ #
... | true | ###############################################################################
# #
# WRML - Web Resource Modeling Language #
# __ __ ______ __ __ __ #
... |
[
{
"context": "cribe 'password', ->\n user.password = 'a'\n \n it 'has 64 bytes', ->\n ",
"end": 377,
"score": 0.9939361214637756,
"start": 376,
"tag": "PASSWORD",
"value": "a"
}
] | test/models/user.coffee | cncolder/vcvs | 0 | { assert, cwd } = require '../helper'
{ User } = require "#{cwd}/models"
describe User.modelName, ->
after (callback) ->
User.remove {}, callback
it 'has locals', ->
assert typeof User.locals is 'object'
describe 'new', ->
user = new User
name: 'foo'
... | 138553 | { assert, cwd } = require '../helper'
{ User } = require "#{cwd}/models"
describe User.modelName, ->
after (callback) ->
User.remove {}, callback
it 'has locals', ->
assert typeof User.locals is 'object'
describe 'new', ->
user = new User
name: 'foo'
... | true | { assert, cwd } = require '../helper'
{ User } = require "#{cwd}/models"
describe User.modelName, ->
after (callback) ->
User.remove {}, callback
it 'has locals', ->
assert typeof User.locals is 'object'
describe 'new', ->
user = new User
name: 'foo'
... |
[
{
"context": "###\nPDFImage - embeds images in PDF documents\nBy Devon Govett\n###\n\nfs = require 'fs'\nData = require './data'\nJP",
"end": 61,
"score": 0.9998637437820435,
"start": 49,
"tag": "NAME",
"value": "Devon Govett"
}
] | lib/image.coffee | iplabs/pdfkit | 0 | ###
PDFImage - embeds images in PDF documents
By Devon Govett
###
fs = require 'fs'
Data = require './data'
JPEG = require './image/jpeg'
PNG = require './image/png'
toBuffer = (src) ->
if Buffer.isBuffer(src)
src
else if src instanceof ArrayBuffer
new Buffer(new Uint8Array(src))
else if match = /^data:... | 220456 | ###
PDFImage - embeds images in PDF documents
By <NAME>
###
fs = require 'fs'
Data = require './data'
JPEG = require './image/jpeg'
PNG = require './image/png'
toBuffer = (src) ->
if Buffer.isBuffer(src)
src
else if src instanceof ArrayBuffer
new Buffer(new Uint8Array(src))
else if match = /^data:.+;bas... | true | ###
PDFImage - embeds images in PDF documents
By PI:NAME:<NAME>END_PI
###
fs = require 'fs'
Data = require './data'
JPEG = require './image/jpeg'
PNG = require './image/png'
toBuffer = (src) ->
if Buffer.isBuffer(src)
src
else if src instanceof ArrayBuffer
new Buffer(new Uint8Array(src))
else if match =... |
[
{
"context": "tehFiajdgTsyF5JN8',\n # producerName: 'Mike Shaw',\n # producerNumber: 2,\n # ",
"end": 1112,
"score": 0.9997290968894958,
"start": 1103,
"tag": "NAME",
"value": "Mike Shaw"
},
{
"context": "KBDvra4z9F3iWea4Q',\n # customerN... | server/emails/confirmOrder.coffee | redhead-web/meteor-foodcoop | 11 | import moment from 'moment'
Meteor.methods
confirmOrder: (items, order)->
user = Meteor.users.findOne(order.user)
invoiceNumber = Random.id(6)
dataObject =
order: order
customerNumber: user.profile.customerNumber
items: items
recipient: user.profile.name
number: invoiceNumb... | 163021 | import moment from 'moment'
Meteor.methods
confirmOrder: (items, order)->
user = Meteor.users.findOne(order.user)
invoiceNumber = Random.id(6)
dataObject =
order: order
customerNumber: user.profile.customerNumber
items: items
recipient: user.profile.name
number: invoiceNumb... | true | import moment from 'moment'
Meteor.methods
confirmOrder: (items, order)->
user = Meteor.users.findOne(order.user)
invoiceNumber = Random.id(6)
dataObject =
order: order
customerNumber: user.profile.customerNumber
items: items
recipient: user.profile.name
number: invoiceNumb... |
[
{
"context": "\n ###\n connect: ->\n ws = new WebSocket 'ws://64.19.78.244:443/'\n ws.on 'message', (message) ->\n\n if",
"end": 348,
"score": 0.9995786547660828,
"start": 336,
"tag": "IP_ADDRESS",
"value": "64.19.78.244"
}
] | GOTHAM/Backend/src/Objects/World/Components/IPViking.coffee | perara/gotham | 0 | WebSocket = require 'ws'
###*
# IPViking is a attackmap with good traffic flow. FrOM TO location with Port and service information
# @class IPViking
# @module Backend
# @submodule Backend.World
###
class IPViking
constructor: ->
###*
# connect to the stream
# @method connect
###
connect: ->
ws = new ... | 190117 | WebSocket = require 'ws'
###*
# IPViking is a attackmap with good traffic flow. FrOM TO location with Port and service information
# @class IPViking
# @module Backend
# @submodule Backend.World
###
class IPViking
constructor: ->
###*
# connect to the stream
# @method connect
###
connect: ->
ws = new ... | true | WebSocket = require 'ws'
###*
# IPViking is a attackmap with good traffic flow. FrOM TO location with Port and service information
# @class IPViking
# @module Backend
# @submodule Backend.World
###
class IPViking
constructor: ->
###*
# connect to the stream
# @method connect
###
connect: ->
ws = new ... |
[
{
"context": "o' />, ' 花式晒人']\n description: '晒人用插件'\n author: 'Jennings Wu.'\n link: 'https://github.com/JenningsWu'\n versi",
"end": 1032,
"score": 0.9998831748962402,
"start": 1021,
"tag": "NAME",
"value": "Jennings Wu"
},
{
"context": "uthor: 'Jennings Wu.'\n link: 'https://... | index.cjsx | yudachi/plugin-sunshine | 0 | remote = require 'remote'
windowManager = remote.require './lib/window'
path = require 'path-extra'
# i18n configure
i18n = new (require 'i18n-2')
locales: ['en-US', 'ja-JP', 'zh-CN', 'zh-TW'],
defaultLocale: 'zh-CN',
directory: path.join(__dirname, 'asset', 'i18n'),
updateFiles: false,
indent: '\t',
exten... | 52463 | remote = require 'remote'
windowManager = remote.require './lib/window'
path = require 'path-extra'
# i18n configure
i18n = new (require 'i18n-2')
locales: ['en-US', 'ja-JP', 'zh-CN', 'zh-TW'],
defaultLocale: 'zh-CN',
directory: path.join(__dirname, 'asset', 'i18n'),
updateFiles: false,
indent: '\t',
exten... | true | remote = require 'remote'
windowManager = remote.require './lib/window'
path = require 'path-extra'
# i18n configure
i18n = new (require 'i18n-2')
locales: ['en-US', 'ja-JP', 'zh-CN', 'zh-TW'],
defaultLocale: 'zh-CN',
directory: path.join(__dirname, 'asset', 'i18n'),
updateFiles: false,
indent: '\t',
exten... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9995579123497009,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-writedouble.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 150828 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "ccount secure)\n#\n# developed by http://github.com/vquaiato - Crafters Software Studio\n\nrequire('date-utils')",
"end": 490,
"score": 0.9697181582450867,
"start": 482,
"tag": "USERNAME",
"value": "vquaiato"
},
{
"context": " msg.send \"[#{d} -> #{c.commit.com... | src/scripts/github-activity.coffee | skanev/hubot-scripts | 1 | # it was based on github-issues.coffee script
#
# add "date-utils":">=1.2.5" in the hubot-scripts.json file
#
# add HUBOT_GITHUB_USER to your heroku env
# the HUBOT_GITHUB_USER should map to your account, not the bot account
# the HUBOT_BOT_GITHUB_USER should map to the bot github username
# the HUBOT_BOT_GITHUB_PASS... | 113241 | # it was based on github-issues.coffee script
#
# add "date-utils":">=1.2.5" in the hubot-scripts.json file
#
# add HUBOT_GITHUB_USER to your heroku env
# the HUBOT_GITHUB_USER should map to your account, not the bot account
# the HUBOT_BOT_GITHUB_USER should map to the bot github username
# the HUBOT_BOT_GITHUB_PASS... | true | # it was based on github-issues.coffee script
#
# add "date-utils":">=1.2.5" in the hubot-scripts.json file
#
# add HUBOT_GITHUB_USER to your heroku env
# the HUBOT_GITHUB_USER should map to your account, not the bot account
# the HUBOT_BOT_GITHUB_USER should map to the bot github username
# the HUBOT_BOT_GITHUB_PASS... |
[
{
"context": "url: \"https://docs.google.com/spreadsheet/ccc?key=0Au4e-jj1-69ZdEloMW03UExKLXI3cGRlbkJteGZFSUE#gid=0\"\n",
"end": 894,
"score": 0.9997430443763733,
"start": 850,
"tag": "KEY",
"value": "0Au4e-jj1-69ZdEloMW03UExKLXI3cGRlbkJteGZFSUE"
}
] | examples/quiz.js.coffee | ulitiy/WidLib | 1 | widget=new Widlib.Widget template: "pizza"
widget.setRemoteScript
pages:
question:
body: ->
@currentQuestion().body
inputs: ->
@currentQuestion().inputs
currentQuestion: ->
@cq||=@data("questions", @session("qNumber"))
onSubmit: (input)->
if input.answer!=@c... | 5394 | widget=new Widlib.Widget template: "pizza"
widget.setRemoteScript
pages:
question:
body: ->
@currentQuestion().body
inputs: ->
@currentQuestion().inputs
currentQuestion: ->
@cq||=@data("questions", @session("qNumber"))
onSubmit: (input)->
if input.answer!=@c... | true | widget=new Widlib.Widget template: "pizza"
widget.setRemoteScript
pages:
question:
body: ->
@currentQuestion().body
inputs: ->
@currentQuestion().inputs
currentQuestion: ->
@cq||=@data("questions", @session("qNumber"))
onSubmit: (input)->
if input.answer!=@c... |
[
{
"context": "yles!) smooth change effect\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nclass Fx.Attr extends Fx\n\n# protected\n\n prepar",
"end": 96,
"score": 0.9998930096626282,
"start": 79,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/fx/src/fx/attr.coffee | lovely-io/lovely.io-stl | 2 | #
# Basic attributes (not styles!) smooth change effect
#
# Copyright (C) 2011 Nikolay Nemshilov
#
class Fx.Attr extends Fx
# protected
prepare: (attrs)->
@before = {}
@after = attrs
element = @element._
for key of attrs
@before[key] = element[key]
return ;
render: (delta)->
ele... | 80080 | #
# Basic attributes (not styles!) smooth change effect
#
# Copyright (C) 2011 <NAME>
#
class Fx.Attr extends Fx
# protected
prepare: (attrs)->
@before = {}
@after = attrs
element = @element._
for key of attrs
@before[key] = element[key]
return ;
render: (delta)->
element = @ele... | true | #
# Basic attributes (not styles!) smooth change effect
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
class Fx.Attr extends Fx
# protected
prepare: (attrs)->
@before = {}
@after = attrs
element = @element._
for key of attrs
@before[key] = element[key]
return ;
render: (delta)->
... |
[
{
"context": "ize: (key, count) ->\n if count is 0\n key = \"#{key}.zero\"\n else if count is 1\n key = \"#{key}.one\"\n",
"end": 483,
"score": 0.7987183332443237,
"start": 471,
"tag": "KEY",
"value": "\"#{key}.zero"
},
{
"context": "= \"#{key}.zero\"\n else if cou... | src/i18n/index.coffee | mateusmaso/hipbone | 0 | _ = require "underscore"
Module = require "./../module"
module.exports = class I18n extends Module
constructor: (locale, locales={}, splitter) ->
@locale = locale
@locales = locales
@splitter = splitter || /{{\w+}}/g
interpolate: (text, values={}) ->
for match in text.match(@splitter) || []
... | 156660 | _ = require "underscore"
Module = require "./../module"
module.exports = class I18n extends Module
constructor: (locale, locales={}, splitter) ->
@locale = locale
@locales = locales
@splitter = splitter || /{{\w+}}/g
interpolate: (text, values={}) ->
for match in text.match(@splitter) || []
... | true | _ = require "underscore"
Module = require "./../module"
module.exports = class I18n extends Module
constructor: (locale, locales={}, splitter) ->
@locale = locale
@locales = locales
@splitter = splitter || /{{\w+}}/g
interpolate: (text, values={}) ->
for match in text.match(@splitter) || []
... |
[
{
"context": "local\"\n tld: \"nl\"\n })\n\n it \"parses 192.168.1.1:8080\", ->\n @isEq(\"http://192.168.1.1:8080\", ",
"end": 1626,
"score": 0.9996785521507263,
"start": 1615,
"tag": "IP_ADDRESS",
"value": "192.168.1.1"
},
{
"context": "\"parses 192.168.1.1:8080\... | packages/server/test/unit/cors_spec.coffee | Everworks/cypress | 3 | require("../spec_helper")
cors = require("#{root}lib/util/cors")
describe "lib/util/cors", ->
context ".parseUrlIntoDomainTldPort", ->
beforeEach ->
@isEq = (url, obj) ->
expect(cors.parseUrlIntoDomainTldPort(url)).to.deep.eq(obj)
it "parses https://www.google.com", ->
@isEq("https://ww... | 149157 | require("../spec_helper")
cors = require("#{root}lib/util/cors")
describe "lib/util/cors", ->
context ".parseUrlIntoDomainTldPort", ->
beforeEach ->
@isEq = (url, obj) ->
expect(cors.parseUrlIntoDomainTldPort(url)).to.deep.eq(obj)
it "parses https://www.google.com", ->
@isEq("https://ww... | true | require("../spec_helper")
cors = require("#{root}lib/util/cors")
describe "lib/util/cors", ->
context ".parseUrlIntoDomainTldPort", ->
beforeEach ->
@isEq = (url, obj) ->
expect(cors.parseUrlIntoDomainTldPort(url)).to.deep.eq(obj)
it "parses https://www.google.com", ->
@isEq("https://ww... |
[
{
"context": "tner_id\":10000000,\n \"account_id\":\"15056805\",\n \"tenant_name\":\"Go Green\",\n ",
"end": 471,
"score": 0.9595853090286255,
"start": 463,
"tag": "KEY",
"value": "15056805"
},
{
"context": "t_id\":\"15056805\",\n \"... | models/directory/fixture/get_company_directory.coffee | signonsridhar/sridhar_hbs | 0 | define([ 'can_fixture'], (can)->
can.fixture('GET /bss/tenant?action=getcompanydirectory', (req, res)->
return `{
"response":{
"service":"getcompanydirectory",
"response_code":100,
"execution_time":78,
"timestamp":"2014-02-05T23:10:15+0000",... | 126545 | define([ 'can_fixture'], (can)->
can.fixture('GET /bss/tenant?action=getcompanydirectory', (req, res)->
return `{
"response":{
"service":"getcompanydirectory",
"response_code":100,
"execution_time":78,
"timestamp":"2014-02-05T23:10:15+0000",... | true | define([ 'can_fixture'], (can)->
can.fixture('GET /bss/tenant?action=getcompanydirectory', (req, res)->
return `{
"response":{
"service":"getcompanydirectory",
"response_code":100,
"execution_time":78,
"timestamp":"2014-02-05T23:10:15+0000",... |
[
{
"context": "vent usage of this.state within setState\n# @author Rolf Erik Lekang, Jørgen Aaberg\n###\n'use strict'\n\n# --------------",
"end": 91,
"score": 0.9998765587806702,
"start": 75,
"tag": "NAME",
"value": "Rolf Erik Lekang"
},
{
"context": ".state within setState\n# @autho... | src/tests/rules/no-access-state-in-setstate.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of this.state within setState
# @author Rolf Erik Lekang, Jørgen Aaberg
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '.... | 20659 | ###*
# @fileoverview Prevent usage of this.state within setState
# @author <NAME>, <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-acc... | true | ###*
# @fileoverview Prevent usage of this.state within setState
# @author PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule =... |
[
{
"context": ").count() is 0\n Accounts.createUser(\n email: \"lauren.craig@newspring.cc\"\n password: \"newspring\"\n profile:\n nam",
"end": 96,
"score": 0.9999266862869263,
"start": 71,
"tag": "EMAIL",
"value": "lauren.craig@newspring.cc"
},
{
"context": "email: \"l... | _source/lib/config/accounts.coffee | jbaxleyiii/laurencraig.com | 0 | if Meteor.users.find().count() is 0
Accounts.createUser(
email: "lauren.craig@newspring.cc"
password: "newspring"
profile:
name: "Lauren Craig"
)
| 129053 | if Meteor.users.find().count() is 0
Accounts.createUser(
email: "<EMAIL>"
password: "<PASSWORD>"
profile:
name: "<NAME>"
)
| true | if Meteor.users.find().count() is 0
Accounts.createUser(
email: "PI:EMAIL:<EMAIL>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_PI"
profile:
name: "PI:NAME:<NAME>END_PI"
)
|
[
{
"context": "\n passwords =\n currentPassword: $scope.password.current\n plainPassword:\n first: $s",
"end": 1647,
"score": 0.6469756960868835,
"start": 1639,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "lainPassword:\n first: $scope.p... | src/Vifeed/FrontendBundle/Resources/assets/js/profile/controllers/profile-ctrl.coffee | bzis/zomba | 0 | angular.module('profile').controller 'ProfileCtrl', [
'$scope', '$location', 'security', 'Companies', 'ProgressBar', 'Utility', 'company',
($scope, $location, security, Companies, ProgressBar, Utility, company) ->
'use strict'
return unless security.isAuthenticated()
$scope.hasCompany = false
$sco... | 56256 | angular.module('profile').controller 'ProfileCtrl', [
'$scope', '$location', 'security', 'Companies', 'ProgressBar', 'Utility', 'company',
($scope, $location, security, Companies, ProgressBar, Utility, company) ->
'use strict'
return unless security.isAuthenticated()
$scope.hasCompany = false
$sco... | true | angular.module('profile').controller 'ProfileCtrl', [
'$scope', '$location', 'security', 'Companies', 'ProgressBar', 'Utility', 'company',
($scope, $location, security, Companies, ProgressBar, Utility, company) ->
'use strict'
return unless security.isAuthenticated()
$scope.hasCompany = false
$sco... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986402988433838,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-http-head-request.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 2282 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "epPath\n\t\t@label = 'Meander'\n\t\t@description = \"\"\"As Karl Kerenyi pointed out, \"the meander is the figure of a laby",
"end": 478,
"score": 0.9993879199028015,
"start": 466,
"tag": "NAME",
"value": "Karl Kerenyi"
}
] | coffee/Items/Paths/PrecisePaths/Meander.coffee | arthursw/comme-un-dessein-client | 0 | define ['paper', 'R', 'Utils/Utils', 'Items/Paths/PrecisePaths/StepPath' ], (P, R, Utils, StepPath) ->
# Meander makes use of both the tangent and the normal of the control path to draw a spiral at each step
# Many different versions can be derived from this one (some inspiration can be found here:
# http://www.dr... | 108076 | define ['paper', 'R', 'Utils/Utils', 'Items/Paths/PrecisePaths/StepPath' ], (P, R, Utils, StepPath) ->
# Meander makes use of both the tangent and the normal of the control path to draw a spiral at each step
# Many different versions can be derived from this one (some inspiration can be found here:
# http://www.dr... | true | define ['paper', 'R', 'Utils/Utils', 'Items/Paths/PrecisePaths/StepPath' ], (P, R, Utils, StepPath) ->
# Meander makes use of both the tangent and the normal of the control path to draw a spiral at each step
# Many different versions can be derived from this one (some inspiration can be found here:
# http://www.dr... |
[
{
"context": " @initReady\n\n Post.callbacks.push\n name: 'Quick Reply'\n cb: @node\n\n initReady: ->\n $.off d, ",
"end": 287,
"score": 0.7379892468452454,
"start": 276,
"tag": "NAME",
"value": "Quick Reply"
},
{
"context": " textOnly\n mode: 'regist'\n ... | src/Posting/QR.coffee | ihavenoface/4chan-x | 4 | QR =
init: ->
return if !Conf['Quick Reply']
@db = new DataBoard 'yourPosts'
@posts = []
if Conf['Hide Original Post Form']
$.addClass doc, 'hide-original-post-form'
$.on d, '4chanXInitFinished', @initReady
Post.callbacks.push
name: 'Quick Reply'
cb: @node
initReady:... | 106382 | QR =
init: ->
return if !Conf['Quick Reply']
@db = new DataBoard 'yourPosts'
@posts = []
if Conf['Hide Original Post Form']
$.addClass doc, 'hide-original-post-form'
$.on d, '4chanXInitFinished', @initReady
Post.callbacks.push
name: '<NAME>'
cb: @node
initReady: ->
... | true | QR =
init: ->
return if !Conf['Quick Reply']
@db = new DataBoard 'yourPosts'
@posts = []
if Conf['Hide Original Post Form']
$.addClass doc, 'hide-original-post-form'
$.on d, '4chanXInitFinished', @initReady
Post.callbacks.push
name: 'PI:NAME:<NAME>END_PI'
cb: @node
i... |
[
{
"context": "###\r\n Copyright (c) 2015 Michio Yokomizo (mrpepper023) \r\n control-structures.js is relea",
"end": 42,
"score": 0.9998766779899597,
"start": 27,
"tag": "NAME",
"value": "Michio Yokomizo"
},
{
"context": "###\r\n Copyright (c) 2015 Michio Yokomizo (mrpepper023) ... | lib/control-structures.coffee | mrpepper023/control-structures | 1 | ###
Copyright (c) 2015 Michio Yokomizo (mrpepper023)
control-structures.js is released under the MIT License,
see https://github.com/mrpepper023/control-structures
you want to use this library in same namespace with node.js as with web-browser,
include this library like 'var cs = require('con... | 82897 | ###
Copyright (c) 2015 <NAME> (mrpepper023)
control-structures.js is released under the MIT License,
see https://github.com/mrpepper023/control-structures
you want to use this library in same namespace with node.js as with web-browser,
include this library like 'var cs = require('control-stru... | true | ###
Copyright (c) 2015 PI:NAME:<NAME>END_PI (mrpepper023)
control-structures.js is released under the MIT License,
see https://github.com/mrpepper023/control-structures
you want to use this library in same namespace with node.js as with web-browser,
include this library like 'var cs = require... |
[
{
"context": "-terminal\": \"never\"\n \"circle-ci\":\n apiToken: \"aaeb24433649ae33eaddad16b2da35a553cf8874\"\n core:\n destroyEmptyPanes: false\n disable",
"end": 409,
"score": 0.9843556880950928,
"start": 369,
"tag": "KEY",
"value": "aaeb24433649ae33eaddad16b2da35a553cf8874"
... | src/atom/config.cson | nicinabox/dotfiles | 0 | "*":
"activate-power-mode":
autoToggle: false
"atom-alignment": {}
"atom-beautify":
general:
_analyticsUserId: "b1f78f78-1b50-45cf-8acd-d5fc00267baf"
"atom-ide-ui":
use:
"atom-ide-console": "never"
"atom-ide-outline-view": "never"
"atom-ide-refactor": "never"
"atom-ide-... | 211417 | "*":
"activate-power-mode":
autoToggle: false
"atom-alignment": {}
"atom-beautify":
general:
_analyticsUserId: "b1f78f78-1b50-45cf-8acd-d5fc00267baf"
"atom-ide-ui":
use:
"atom-ide-console": "never"
"atom-ide-outline-view": "never"
"atom-ide-refactor": "never"
"atom-ide-... | true | "*":
"activate-power-mode":
autoToggle: false
"atom-alignment": {}
"atom-beautify":
general:
_analyticsUserId: "b1f78f78-1b50-45cf-8acd-d5fc00267baf"
"atom-ide-ui":
use:
"atom-ide-console": "never"
"atom-ide-outline-view": "never"
"atom-ide-refactor": "never"
"atom-ide-... |
[
{
"context": "\"\n and: \"és\"\n back: \"vissza\"\n changePassword: \"Jelszó megváltoztatása\"\n choosePassword: \"Válassz egy jelszót\"\n clickA",
"end": 152,
"score": 0.9989555478096008,
"start": 130,
"tag": "PASSWORD",
"value": "Jelszó megváltoztatása"
},
{
"context": "word: ... | t9n/hu.coffee | XavierSamuelHuppe/xav-accounts-t9n | 0 | # We need a dummy translation so that a text is found.
hu =
add: "hozzáadás"
and: "és"
back: "vissza"
changePassword: "Jelszó megváltoztatása"
choosePassword: "Válassz egy jelszót"
clickAgree: "A regisztráció gombra kattintva egyetértesz a mi"
configure: "Beállítás"
createAccount: "Felhasználó létreh... | 38653 | # We need a dummy translation so that a text is found.
hu =
add: "hozzáadás"
and: "és"
back: "vissza"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "A regisztráció gombra kattintva egyetértesz a mi"
configure: "Beállítás"
createAccount: "Felhasználó létrehozása"
currentPassw... | true | # We need a dummy translation so that a text is found.
hu =
add: "hozzáadás"
and: "és"
back: "vissza"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "A regisztráció gombra kattintva egyetértesz a mi"
configure: "Beállítás"
createAccount: "Fel... |
[
{
"context": "/bundle/dependencies/depsVars/hi', {joke: {joke2:'JOKER'}}\n expect(oClone).to.deep.equal o\n e",
"end": 1981,
"score": 0.5495238304138184,
"start": 1978,
"tag": "KEY",
"value": "JOK"
},
{
"context": " dependencies: depsVars: newKey: {joke: {joke2:'JOKER'}}\n... | source/spec/objects/setp-spec.coffee | anodynos/uBerscore | 1 | describe 'objects/setp:', ->
o =
'$':
bundle:
anArray: ['arrayItem1', 2, 'arrayItem3':3 ]
dependencies:
depsVars: "Bingo"
describe 'existent paths:', ->
it "primitive", ->
oClone = _.clone o, true
isSet = _B.setp oClone, '$/bundle/dependencies/depsVars', 'just_a... | 57063 | describe 'objects/setp:', ->
o =
'$':
bundle:
anArray: ['arrayItem1', 2, 'arrayItem3':3 ]
dependencies:
depsVars: "Bingo"
describe 'existent paths:', ->
it "primitive", ->
oClone = _.clone o, true
isSet = _B.setp oClone, '$/bundle/dependencies/depsVars', 'just_a... | true | describe 'objects/setp:', ->
o =
'$':
bundle:
anArray: ['arrayItem1', 2, 'arrayItem3':3 ]
dependencies:
depsVars: "Bingo"
describe 'existent paths:', ->
it "primitive", ->
oClone = _.clone o, true
isSet = _B.setp oClone, '$/bundle/dependencies/depsVars', 'just_a... |
[
{
"context": "_defaults =\n id: \"1234\"\n primaryEmail: \"ben.franklin@example.com\"\n name: { givenName: \"Ben\", familyName: \"Fra",
"end": 761,
"score": 0.9999220967292786,
"start": 737,
"tag": "EMAIL",
"value": "ben.franklin@example.com"
},
{
"context": "n.frankli... | test/google_batch.coffee | Clever/node-google-admin-sdk | 11 | assert = require 'assert'
async = require 'async'
_ = require 'underscore'
google_apis = require "#{__dirname}/../"
nock = require 'nock'
util = require 'util'
before ->
nock.disableNetConnect()
describe 'Batch Requests', ->
before ->
@options =
token:
access: 'fake_access_token'
@u... | 186372 | assert = require 'assert'
async = require 'async'
_ = require 'underscore'
google_apis = require "#{__dirname}/../"
nock = require 'nock'
util = require 'util'
before ->
nock.disableNetConnect()
describe 'Batch Requests', ->
before ->
@options =
token:
access: 'fake_access_token'
@u... | true | assert = require 'assert'
async = require 'async'
_ = require 'underscore'
google_apis = require "#{__dirname}/../"
nock = require 'nock'
util = require 'util'
before ->
nock.disableNetConnect()
describe 'Batch Requests', ->
before ->
@options =
token:
access: 'fake_access_token'
@u... |
[
{
"context": "onstrainToCircle' module example project v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn\n",
"end": 65,
"score": 0.9998833537101746,
"start": 55,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "example project v1.0\n# by Marc Krenn, Sept. 20... | constrainToCircleExample.framer/app.coffee | marckrenn/framer-constrainToCircle | 15 | # 'constrainToCircle' module example project v1.0
# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn
# Include module
constrainToCircle = require "constrainToCircle"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
bg.bringToFront()
# Create layer
layerA = new Layer
width: 100
hei... | 211111 | # 'constrainToCircle' module example project v1.0
# by <NAME>, Sept. 2015 | <EMAIL> | @marc_krenn
# Include module
constrainToCircle = require "constrainToCircle"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
bg.bringToFront()
# Create layer
layerA = new Layer
width: 100
height: 100
backgro... | true | # 'constrainToCircle' module example project v1.0
# by PI:NAME:<NAME>END_PI, Sept. 2015 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# Include module
constrainToCircle = require "constrainToCircle"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
bg.bringToFront()
# Create layer
layerA = new Layer
wid... |
[
{
"context": "###*\n * Gridfw \n * @copyright khalid RAFIK 2019\n###\n'use strict'\nparseRange = require 'range",
"end": 42,
"score": 0.9985482692718506,
"start": 30,
"tag": "NAME",
"value": "khalid RAFIK"
}
] | assets/index.coffee | gridfw/uploader | 0 | ###*
* Gridfw
* @copyright khalid RAFIK 2019
###
'use strict'
parseRange = require 'range-parser'
Busboy = require 'busboy'
RawBody= require 'raw-body'
Zlib = require 'zlib'
Iconv= require 'iconv-lite'
NativeFs = require 'fs'
fs = require 'mz/fs'
Path = require 'path'
# utils
_create= Object.create
#=include _set... | 151279 | ###*
* Gridfw
* @copyright <NAME> 2019
###
'use strict'
parseRange = require 'range-parser'
Busboy = require 'busboy'
RawBody= require 'raw-body'
Zlib = require 'zlib'
Iconv= require 'iconv-lite'
NativeFs = require 'fs'
fs = require 'mz/fs'
Path = require 'path'
# utils
_create= Object.create
#=include _settings.... | true | ###*
* Gridfw
* @copyright PI:NAME:<NAME>END_PI 2019
###
'use strict'
parseRange = require 'range-parser'
Busboy = require 'busboy'
RawBody= require 'raw-body'
Zlib = require 'zlib'
Iconv= require 'iconv-lite'
NativeFs = require 'fs'
fs = require 'mz/fs'
Path = require 'path'
# utils
_create= Object.create
#=incl... |
[
{
"context": "eep Fir'\n 'hex': '002900'\n }\n {\n 'name': 'Burnham'\n 'hex': '002E20'\n }\n {\n 'name': 'Interna",
"end": 449,
"score": 0.9539893865585327,
"start": 442,
"tag": "NAME",
"value": "Burnham"
},
{
"context": "ht Blue'\n 'hex': '003366'\n }\n {\n '... | lib/colornamer-colors.coffee | lysyi3m/colorname | 9 | module.exports = [
{
'name': 'Black'
'hex': '000000'
}
{
'name': 'Navy Blue'
'hex': '000080'
}
{
'name': 'Dark Blue'
'hex': '0000C8'
}
{
'name': 'Blue'
'hex': '0000FF'
}
{
'name': 'Stratos'
'hex': '000741'
}
{
'name': 'Swamp'
'hex': '001B1C'
}
{
... | 194039 | module.exports = [
{
'name': 'Black'
'hex': '000000'
}
{
'name': 'Navy Blue'
'hex': '000080'
}
{
'name': 'Dark Blue'
'hex': '0000C8'
}
{
'name': 'Blue'
'hex': '0000FF'
}
{
'name': 'Stratos'
'hex': '000741'
}
{
'name': 'Swamp'
'hex': '001B1C'
}
{
... | true | module.exports = [
{
'name': 'Black'
'hex': '000000'
}
{
'name': 'Navy Blue'
'hex': '000080'
}
{
'name': 'Dark Blue'
'hex': '0000C8'
}
{
'name': 'Blue'
'hex': '0000FF'
}
{
'name': 'Stratos'
'hex': '000741'
}
{
'name': 'Swamp'
'hex': '001B1C'
}
{
... |
[
{
"context": "ject-talk-subject\" params={owner: ownerName, name: name, id: @props.subject.id} className=\"talk standard-",
"end": 5489,
"score": 0.9705287218093872,
"start": 5485,
"tag": "NAME",
"value": "name"
}
] | app/classifier/index.cjsx | camallen/Panoptes-Front-End | 0 | React = require 'react'
ChangeListener = require '../components/change-listener'
SubjectAnnotator = require './subject-annotator'
ClassificationSummary = require './classification-summary'
{Link} = require '@edpaget/react-router'
tasks = require './tasks'
{getSessionID} = require '../lib/session'
preloadSubject = requi... | 24921 | React = require 'react'
ChangeListener = require '../components/change-listener'
SubjectAnnotator = require './subject-annotator'
ClassificationSummary = require './classification-summary'
{Link} = require '@edpaget/react-router'
tasks = require './tasks'
{getSessionID} = require '../lib/session'
preloadSubject = requi... | true | React = require 'react'
ChangeListener = require '../components/change-listener'
SubjectAnnotator = require './subject-annotator'
ClassificationSummary = require './classification-summary'
{Link} = require '@edpaget/react-router'
tasks = require './tasks'
{getSessionID} = require '../lib/session'
preloadSubject = requi... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998652994632721,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-set-cookies.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 105763 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "\t\t\tname: \"main.tex\"\n\t\t\t}]\n\t\t@members = [{\n\t\t\tuser: @owner = {\n\t\t\t\t_id: \"owner-id\"\n\t\t\t\tfirst_name : \"Ow",
"end": 1000,
"score": 0.7919891476631165,
"start": 1000,
"tag": "USERNAME",
"value": ""
},
{
"context": " @owner = {\n\t\t\t\t_id: \"own... | test/UnitTests/coffee/Project/ProjectEditorHandlerTests.coffee | watercrossing/web-sharelatex | 0 | chai = require('chai')
expect = chai.expect
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectEditorHandler"
SandboxedModule = require('sandboxed-module')
describe "ProjectEditorHandler", ->
beforeEach ->
@project =
_id : "project-id"
name : "Project Name"
rootDo... | 221450 | chai = require('chai')
expect = chai.expect
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectEditorHandler"
SandboxedModule = require('sandboxed-module')
describe "ProjectEditorHandler", ->
beforeEach ->
@project =
_id : "project-id"
name : "Project Name"
rootDo... | true | chai = require('chai')
expect = chai.expect
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectEditorHandler"
SandboxedModule = require('sandboxed-module')
describe "ProjectEditorHandler", ->
beforeEach ->
@project =
_id : "project-id"
name : "Project Name"
rootDo... |
[
{
"context": "goDb = mongoose.createConnection 'mongodb://tests:tests@staff.mongohq.com:10083/tests'\nmiddleware = lox mongoDb\n\ndescribe '",
"end": 159,
"score": 0.9999249577522278,
"start": 136,
"tag": "EMAIL",
"value": "tests@staff.mongohq.com"
},
{
"context": "ibe 'Lox', ->\n\n ... | test/user_test.coffee | reaktivo/lox | 0 | assert = require 'assert'
lox = require '../lib/lox'
mongoose = require 'mongoose'
mongoDb = mongoose.createConnection 'mongodb://tests:tests@staff.mongohq.com:10083/tests'
middleware = lox mongoDb
describe 'Lox', ->
# Mock user
form =
email: 'some@email.com'
password: 'somepassword'
# Mock request
r... | 38532 | assert = require 'assert'
lox = require '../lib/lox'
mongoose = require 'mongoose'
mongoDb = mongoose.createConnection 'mongodb://tests:<EMAIL>:10083/tests'
middleware = lox mongoDb
describe 'Lox', ->
# Mock user
form =
email: '<EMAIL>'
password: '<PASSWORD>'
# Mock request
res =
locals: (locals)... | true | assert = require 'assert'
lox = require '../lib/lox'
mongoose = require 'mongoose'
mongoDb = mongoose.createConnection 'mongodb://tests:PI:EMAIL:<EMAIL>END_PI:10083/tests'
middleware = lox mongoDb
describe 'Lox', ->
# Mock user
form =
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI... |
[
{
"context": "n 1.0.0\n@file Datatable.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 150,
"score": 0.9999021291732788,
"start": 133,
"tag": "NAME",
"value": "Welington Sampaio"
},
{
"context": "n.zaez.net/site/contato\n\n@co... | vendor/assets/javascripts/lol_framework/Datatable.coffee | welingtonsampaio/lol-framework | 1 | ###
@summary Lol Framework
@description Framework of RIAs applications
@version 1.0.0
@file Datatable.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://welington.zaez.net/site/contato
@copyright Copyright 2012 Welington Sampaio, all rights reserved.
This source file is ... | 5404 | ###
@summary Lol Framework
@description Framework of RIAs applications
@version 1.0.0
@file Datatable.js
@author <NAME> (http://welington.zaez.net/)
@contact http://welington.zaez.net/site/contato
@copyright Copyright 2012 <NAME>, all rights reserved.
This source file is free software, under t... | true | ###
@summary Lol Framework
@description Framework of RIAs applications
@version 1.0.0
@file Datatable.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://welington.zaez.net/site/contato
@copyright Copyright 2012 PI:NAME:<NAME>END_PI, all rights reserved.
This source fi... |
[
{
"context": "s', ->\n expect(@subject.buildUrl('message', 'asd@asd.com')).to.eq('/messages/asd%40asd.com')\n \n ",
"end": 1408,
"score": 0.9999173283576965,
"start": 1397,
"tag": "EMAIL",
"value": "asd@asd.com"
}
] | test/rest/adapter.coffee | travisperson/coalesce | 18 | `import {postWithComments} from '../support/configs'`
`import Context from 'coalesce/rest/context'`
describe "RestAdapter", ->
lazy 'context', -> new Context(postWithComments())
lazy 'Post', -> @context.typeFor('post')
lazy 'Comment', -> @context.typeFor('comment')
lazy 'session', -> @context.newSession()
... | 70517 | `import {postWithComments} from '../support/configs'`
`import Context from 'coalesce/rest/context'`
describe "RestAdapter", ->
lazy 'context', -> new Context(postWithComments())
lazy 'Post', -> @context.typeFor('post')
lazy 'Comment', -> @context.typeFor('comment')
lazy 'session', -> @context.newSession()
... | true | `import {postWithComments} from '../support/configs'`
`import Context from 'coalesce/rest/context'`
describe "RestAdapter", ->
lazy 'context', -> new Context(postWithComments())
lazy 'Post', -> @context.typeFor('post')
lazy 'Comment', -> @context.typeFor('comment')
lazy 'session', -> @context.newSession()
... |
[
{
"context": "ng categories\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012, Hypee\n# http://hype",
"end": 97,
"score": 0.9992474317550659,
"start": 91,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": "://github.com/nodize/nodizecms\n#\n# Copyright 2... | modules/ionize/helpers/helper_category.coffee | nodize/nodizecms | 32 | # Category helper, used to display existing categories
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#*****
#* Displaying categories,
#* use @category.title, .descript... | 85131 | # Category helper, used to display existing categories
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#*****
#* Displaying categories,
#* use @category.title, .descrip... | true | # Category helper, used to display existing categories
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#*****
#* Displaying categories,
#* use @category.t... |
[
{
"context": "lotMap: interactive plot of a genetic marker map\n# Karl W Broman\n\niplotMap = (data, chartOpts) ->\n\n # chartOpts",
"end": 68,
"score": 0.9998825192451477,
"start": 55,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/charts/iplotMap.coffee | FourchettesDeInterActive/qtlcharts | 0 | # iplotMap: interactive plot of a genetic marker map
# Karl W Broman
iplotMap = (data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 1000 # width of chart in pixels
height = chartOpts?.height ? 600 # height of chart in pixels
margin = chartOpts?.margin ? {left:60, top:40, right:40, bottom... | 167227 | # iplotMap: interactive plot of a genetic marker map
# <NAME>
iplotMap = (data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 1000 # width of chart in pixels
height = chartOpts?.height ? 600 # height of chart in pixels
margin = chartOpts?.margin ? {left:60, top:40, right:40, bottom: 40, i... | true | # iplotMap: interactive plot of a genetic marker map
# PI:NAME:<NAME>END_PI
iplotMap = (data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 1000 # width of chart in pixels
height = chartOpts?.height ? 600 # height of chart in pixels
margin = chartOpts?.margin ? {left:60, top:40, right:40,... |
[
{
"context": "###\nCoffeeLint\n\nCopyright (c) 2011 Matthew Perpick.\nCoffeeLint is freely distributable under the MIT",
"end": 50,
"score": 0.9998656511306763,
"start": 35,
"tag": "NAME",
"value": "Matthew Perpick"
}
] | node_modules/coffeelint/src/commandline.coffee | Xeodee/absorbCSS | 2,761 | ###
CoffeeLint
Copyright (c) 2011 Matthew Perpick.
CoffeeLint is freely distributable under the MIT license.
###
resolve = require('resolve').sync
path = require('path')
fs = require('fs')
os = require('os')
glob = require('glob')
optimist = require('optimist')
ignore = require('ignore')
stripComments = require(... | 28388 | ###
CoffeeLint
Copyright (c) 2011 <NAME>.
CoffeeLint is freely distributable under the MIT license.
###
resolve = require('resolve').sync
path = require('path')
fs = require('fs')
os = require('os')
glob = require('glob')
optimist = require('optimist')
ignore = require('ignore')
stripComments = require('strip-js... | true | ###
CoffeeLint
Copyright (c) 2011 PI:NAME:<NAME>END_PI.
CoffeeLint is freely distributable under the MIT license.
###
resolve = require('resolve').sync
path = require('path')
fs = require('fs')
os = require('os')
glob = require('glob')
optimist = require('optimist')
ignore = require('ignore')
stripComments = req... |
[
{
"context": "require('../Set')\n\n#names = new Set()\n#names.add(\"David\")\n#names.add(\"Jennifer\")\n#names.add(\"Cynthia\")\n#n",
"end": 61,
"score": 0.9998612999916077,
"start": 56,
"tag": "NAME",
"value": "David"
},
{
"context": "names = new Set()\n#names.add(\"David\")\n#names... | set/test/method.coffee | youqingkui/DataStructure | 0 | Set = require('../Set')
#names = new Set()
#names.add("David")
#names.add("Jennifer")
#names.add("Cynthia")
#names.add("Mike")
#names.add("Raymond")
#if names.add "Mike"
# console.log "Mike added"
#else
# console.log "Can't add Mike, must already be in set"
#
#
#console.log names.show()
#
#removed = "Mike"
#if names... | 190383 | Set = require('../Set')
#names = new Set()
#names.add("<NAME>")
#names.add("<NAME>")
#names.add("<NAME>")
#names.add("<NAME>")
#names.add("<NAME>")
#if names.add "<NAME>"
# console.log "<NAME> added"
#else
# console.log "Can't add <NAME>, must already be in set"
#
#
#console.log names.show()
#
#removed = "<NAME>"
#i... | true | Set = require('../Set')
#names = new Set()
#names.add("PI:NAME:<NAME>END_PI")
#names.add("PI:NAME:<NAME>END_PI")
#names.add("PI:NAME:<NAME>END_PI")
#names.add("PI:NAME:<NAME>END_PI")
#names.add("PI:NAME:<NAME>END_PI")
#if names.add "PI:NAME:<NAME>END_PI"
# console.log "PI:NAME:<NAME>END_PI added"
#else
# console.log... |
[
{
"context": "et et sw=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@binux.me>\n# http://binux.me\n# Created o",
"end": 64,
"score": 0.956264853477478,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@... | web/static/har/entry_editor.coffee | js882829/qiandao-1 | 9 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-06 21:16:15
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/editablelist'
utils = require '/static/utils'
angular.module('entry_editor', ... | 12657 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<<EMAIL>>
# http://binux.me
# Created on 2014-08-06 21:16:15
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/editablelist'
utils = require '/static/utils'
angular.module('entry_editor', [
... | true | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<PI:EMAIL:<EMAIL>END_PI>
# http://binux.me
# Created on 2014-08-06 21:16:15
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/editablelist'
utils = require '/static/utils'
angular.module('ent... |
[
{
"context": " if Mapbox.loaded()\n L.mapbox.accessToken = 'pk.eyJ1Ijoic2FtY29yY29zIiwiYSI6IndLY0ZELUkifQ.HaLwwzHXtbi6XX8WBIVNwQ'\n map = L.mapbox.map('map', 'samcorcos.lgbb5",
"end": 163,
"score": 0.9997215270996094,
"start": 95,
"tag": "KEY",
"value": "pk.eyJ1Ijoic2FtY29yY29zIiwi... | client/views/home/home.coffee | samcorcos/SnapMap | 0 | Template.home.rendered = ->
@autorun ->
if Mapbox.loaded()
L.mapbox.accessToken = 'pk.eyJ1Ijoic2FtY29yY29zIiwiYSI6IndLY0ZELUkifQ.HaLwwzHXtbi6XX8WBIVNwQ'
map = L.mapbox.map('map', 'samcorcos.lgbb5nbd')
| 216525 | Template.home.rendered = ->
@autorun ->
if Mapbox.loaded()
L.mapbox.accessToken = '<KEY>'
map = L.mapbox.map('map', 'samcorcos.lgbb5nbd')
| true | Template.home.rendered = ->
@autorun ->
if Mapbox.loaded()
L.mapbox.accessToken = 'PI:KEY:<KEY>END_PI'
map = L.mapbox.map('map', 'samcorcos.lgbb5nbd')
|
[
{
"context": "\ndescribe 'Wongo CRUD All', ->\n\n docs = [{name: 'Meow'}, {name: 'Boo'}, {name: 'Fran'}]\n\n it 'should b",
"end": 190,
"score": 0.9997233152389526,
"start": 186,
"tag": "NAME",
"value": "Meow"
},
{
"context": " CRUD All', ->\n\n docs = [{name: 'Meow'}, {name: 'Boo... | test/crudall.test.coffee | wookets/wongo | 0 | _ = require 'underscore'
assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockAll',
fields:
name: String
describe 'Wongo CRUD All', ->
docs = [{name: 'Meow'}, {name: 'Boo'}, {name: 'Fran'}]
it 'should be able to save all documents', (done) ->
wongo.save 'MockAll', docs, (err, r... | 185247 | _ = require 'underscore'
assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockAll',
fields:
name: String
describe 'Wongo CRUD All', ->
docs = [{name: '<NAME>'}, {name: '<NAME>'}, {name: '<NAME>'}]
it 'should be able to save all documents', (done) ->
wongo.save 'MockAll', docs, ... | true | _ = require 'underscore'
assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockAll',
fields:
name: String
describe 'Wongo CRUD All', ->
docs = [{name: 'PI:NAME:<NAME>END_PI'}, {name: 'PI:NAME:<NAME>END_PI'}, {name: 'PI:NAME:<NAME>END_PI'}]
it 'should be able to save all documents', ... |
[
{
"context": "'use strict'\n#\n# Ethan Mick\n# 2015\n#\n\nmodule.exports = [\n method: 'GET'\n pa",
"end": 27,
"score": 0.9996577501296997,
"start": 17,
"tag": "NAME",
"value": "Ethan Mick"
}
] | lib/routes/status.coffee | ethanmick/metrics | 0 | 'use strict'
#
# Ethan Mick
# 2015
#
module.exports = [
method: 'GET'
path: '/status'
handler: (req, reply)->
reply(status: 'up')
]
| 21858 | 'use strict'
#
# <NAME>
# 2015
#
module.exports = [
method: 'GET'
path: '/status'
handler: (req, reply)->
reply(status: 'up')
]
| true | 'use strict'
#
# PI:NAME:<NAME>END_PI
# 2015
#
module.exports = [
method: 'GET'
path: '/status'
handler: (req, reply)->
reply(status: 'up')
]
|
[
{
"context": "###\n Underscore.outcasts\n (c) 2012-2013 Dmitry Karpunin <koderfunk aet gmail dot com>\n Underscore.outcas",
"end": 57,
"score": 0.9998490214347839,
"start": 42,
"tag": "NAME",
"value": "Dmitry Karpunin"
},
{
"context": " MIT license.\n Documentation: https://githu... | app/assets/javascripts/ultimate/underscore/underscore.outcasts.js.coffee | KODerFunk/ultimate-base | 1 | ###
Underscore.outcasts
(c) 2012-2013 Dmitry Karpunin <koderfunk aet gmail dot com>
Underscore.outcasts is freely distributable under the terms of the MIT license.
Documentation: https://github.com/KODerFunk/underscore.outcasts
Some code is borrowed from outcasts pull requests to Underscore.
Version '0.1.6'... | 153650 | ###
Underscore.outcasts
(c) 2012-2013 <NAME> <koderfunk aet gmail dot com>
Underscore.outcasts is freely distributable under the terms of the MIT license.
Documentation: https://github.com/KODerFunk/underscore.outcasts
Some code is borrowed from outcasts pull requests to Underscore.
Version '0.1.6'
###
'us... | true | ###
Underscore.outcasts
(c) 2012-2013 PI:NAME:<NAME>END_PI <koderfunk aet gmail dot com>
Underscore.outcasts is freely distributable under the terms of the MIT license.
Documentation: https://github.com/KODerFunk/underscore.outcasts
Some code is borrowed from outcasts pull requests to Underscore.
Version '0... |
[
{
"context": "# Contributors\ncontributors: [\n name: 'Season千'\n avatar: 'http://7xkd7e.com1.z0.glb.clouddn.c",
"end": 49,
"score": 0.9922714233398438,
"start": 42,
"tag": "USERNAME",
"value": "Season千"
},
{
"context": "w.pixiv.net/member.php?id=3991162'\n ,\n name: 'Magic... | constant.cson | wafer-li/poi | 0 | # Contributors
contributors: [
name: 'Season千'
avatar: 'http://7xkd7e.com1.z0.glb.clouddn.com/season.jpg'
link: 'http://www.pixiv.net/member.php?id=3991162'
,
name: 'Magica'
avatar: 'https://avatars0.githubusercontent.com/u/6753092?v=3&s=460'
link: 'http://weibo.com/maginya'
,
name: 'Yun... | 126228 | # Contributors
contributors: [
name: 'Season千'
avatar: 'http://7xkd7e.com1.z0.glb.clouddn.com/season.jpg'
link: 'http://www.pixiv.net/member.php?id=3991162'
,
name: '<NAME>'
avatar: 'https://avatars0.githubusercontent.com/u/6753092?v=3&s=460'
link: 'http://weibo.com/maginya'
,
name: '<NA... | true | # Contributors
contributors: [
name: 'Season千'
avatar: 'http://7xkd7e.com1.z0.glb.clouddn.com/season.jpg'
link: 'http://www.pixiv.net/member.php?id=3991162'
,
name: 'PI:NAME:<NAME>END_PI'
avatar: 'https://avatars0.githubusercontent.com/u/6753092?v=3&s=460'
link: 'http://weibo.com/maginya'
,
... |
[
{
"context": "ions, schemas and models definitions.\n#\n# @author: Daniele Gazzelloni <daniele@danielegazzelloni.com>\n#################",
"end": 94,
"score": 0.9998762011528015,
"start": 76,
"tag": "NAME",
"value": "Daniele Gazzelloni"
},
{
"context": "els definitions.\n#\n# @author... | backend/src/db.coffee | danielegazzelloni/barbershop-challenge | 0 | ##
# Mongoose CRUD operations, schemas and models definitions.
#
# @author: Daniele Gazzelloni <daniele@danielegazzelloni.com>
######################################################################
mongoose = require('mongoose')
config = require('./config')
# Our db connection
db = mongoose.connect(config.dbHost... | 136642 | ##
# Mongoose CRUD operations, schemas and models definitions.
#
# @author: <NAME> <<EMAIL>>
######################################################################
mongoose = require('mongoose')
config = require('./config')
# Our db connection
db = mongoose.connect(config.dbHostname)
db = mongoose.connection
# ... | true | ##
# Mongoose CRUD operations, schemas and models definitions.
#
# @author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
######################################################################
mongoose = require('mongoose')
config = require('./config')
# Our db connection
db = mongoose.connect(config.dbHostname)... |
[
{
"context": " config = new AWS.Config(\n accessKeyId: 'akid',\n secretAccessKey: 'secret',\n sess",
"end": 597,
"score": 0.9840964078903198,
"start": 593,
"tag": "KEY",
"value": "akid"
},
{
"context": " accessKeyId: 'akid',\n secretAccessKey: 'secret'... | test/config.spec.coffee | rwaldron/aws-sdk-js | 0 | helpers = require('./helpers')
AWS = helpers.AWS
configure = (options) -> new AWS.Config(options)
describe 'AWS.Config', ->
describe 'constructor', ->
it 'should be able to pass in a Config object as parameter', ->
config = new AWS.Config(sslEnabled: false, maxRetries: 0)
copyConfig = new AWS.Confi... | 202447 | helpers = require('./helpers')
AWS = helpers.AWS
configure = (options) -> new AWS.Config(options)
describe 'AWS.Config', ->
describe 'constructor', ->
it 'should be able to pass in a Config object as parameter', ->
config = new AWS.Config(sslEnabled: false, maxRetries: 0)
copyConfig = new AWS.Confi... | true | helpers = require('./helpers')
AWS = helpers.AWS
configure = (options) -> new AWS.Config(options)
describe 'AWS.Config', ->
describe 'constructor', ->
it 'should be able to pass in a Config object as parameter', ->
config = new AWS.Config(sslEnabled: false, maxRetries: 0)
copyConfig = new AWS.Confi... |
[
{
"context": " email: validUser.email\n password: 'secret123'\n })\n\n $httpBackend.flush()\n\n teardo",
"end": 2731,
"score": 0.999326765537262,
"start": 2722,
"tag": "PASSWORD",
"value": "secret123"
}
] | test/test/unit/ng-token-auth/configuration.coffee | ybian/ng-token-auth | 2 | suite 'configuration', ->
suite 'basic settings', ->
apiUrl = '/kronos'
setup ->
sinon.spy($auth, 'validateUser')
$authProvider.configure({
apiUrl: apiUrl
validateOnPageLoad: true
proxyIf: -> true
})
# restore defaults
teardown ->
$authProvider.config... | 211477 | suite 'configuration', ->
suite 'basic settings', ->
apiUrl = '/kronos'
setup ->
sinon.spy($auth, 'validateUser')
$authProvider.configure({
apiUrl: apiUrl
validateOnPageLoad: true
proxyIf: -> true
})
# restore defaults
teardown ->
$authProvider.config... | true | suite 'configuration', ->
suite 'basic settings', ->
apiUrl = '/kronos'
setup ->
sinon.spy($auth, 'validateUser')
$authProvider.configure({
apiUrl: apiUrl
validateOnPageLoad: true
proxyIf: -> true
})
# restore defaults
teardown ->
$authProvider.config... |
[
{
"context": " beforeEach ->\n mob = new Mob\n name: 'foo'\n gender: Mob.gender.male\n level: 5",
"end": 6819,
"score": 0.8845665454864502,
"start": 6816,
"tag": "NAME",
"value": "foo"
}
] | plugins/coffeekeep.core/test/security.coffee | leonexis/coffeekeep | 0 | should = require 'should'
security = require '../security'
coffeekeep = require 'coffeekeep'
config = [
'./coffeekeep.log'
'./coffeekeep.model'
'./coffeekeep.storage.memory'
'./coffeekeep.interpreter'
'./coffeekeep.core'
]
describe 'coffeekeep.core:security', ->
app = null
log = null
Mob = null
be... | 156315 | should = require 'should'
security = require '../security'
coffeekeep = require 'coffeekeep'
config = [
'./coffeekeep.log'
'./coffeekeep.model'
'./coffeekeep.storage.memory'
'./coffeekeep.interpreter'
'./coffeekeep.core'
]
describe 'coffeekeep.core:security', ->
app = null
log = null
Mob = null
be... | true | should = require 'should'
security = require '../security'
coffeekeep = require 'coffeekeep'
config = [
'./coffeekeep.log'
'./coffeekeep.model'
'./coffeekeep.storage.memory'
'./coffeekeep.interpreter'
'./coffeekeep.core'
]
describe 'coffeekeep.core:security', ->
app = null
log = null
Mob = null
be... |
[
{
"context": "o infomation views and the copyright.\n\n @author Sebastian Sachtleben\n###\nclass Footer extends BaseView\n\n\tclassName: 'f",
"end": 177,
"score": 0.9998905658721924,
"start": 157,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/admin/views/footer.coffee | ssachtleben/herowar | 1 | BaseView = require 'views/baseView'
templates = require 'templates'
###
The Footer shows some links to infomation views and the copyright.
@author Sebastian Sachtleben
###
class Footer extends BaseView
className: 'footer'
template: templates.get 'footer.tmpl'
return Footer | 55629 | BaseView = require 'views/baseView'
templates = require 'templates'
###
The Footer shows some links to infomation views and the copyright.
@author <NAME>
###
class Footer extends BaseView
className: 'footer'
template: templates.get 'footer.tmpl'
return Footer | true | BaseView = require 'views/baseView'
templates = require 'templates'
###
The Footer shows some links to infomation views and the copyright.
@author PI:NAME:<NAME>END_PI
###
class Footer extends BaseView
className: 'footer'
template: templates.get 'footer.tmpl'
return Footer |
[
{
"context": "g driver for channel #{CHANNEL} using username: #{USERNAME}, password: #{PASSWORD}\"\n\ndriver = new selenium.B",
"end": 235,
"score": 0.9928601980209351,
"start": 227,
"tag": "USERNAME",
"value": "USERNAME"
},
{
"context": "name]'\n .then (username) ->\n username.s... | automation/src/watch.coffee | codyseibert/random | 3 | selenium = require 'selenium-webdriver'
By = selenium.By
USERNAME = process.argv[2]
PASSWORD = process.argv[3]
CHANNEL = process.argv[4]
TIME = 5*60*1000
console.log "Starting driver for channel #{CHANNEL} using username: #{USERNAME}, password: #{PASSWORD}"
driver = new selenium.Builder()
.withCapabilities(seleni... | 176521 | selenium = require 'selenium-webdriver'
By = selenium.By
USERNAME = process.argv[2]
PASSWORD = process.argv[3]
CHANNEL = process.argv[4]
TIME = 5*60*1000
console.log "Starting driver for channel #{CHANNEL} using username: #{USERNAME}, password: #{PASSWORD}"
driver = new selenium.Builder()
.withCapabilities(seleni... | true | selenium = require 'selenium-webdriver'
By = selenium.By
USERNAME = process.argv[2]
PASSWORD = process.argv[3]
CHANNEL = process.argv[4]
TIME = 5*60*1000
console.log "Starting driver for channel #{CHANNEL} using username: #{USERNAME}, password: #{PASSWORD}"
driver = new selenium.Builder()
.withCapabilities(seleni... |
[
{
"context": "T_KEY - AWS Secret Key for Billing\n#\n# Author:\n# moqada <moqada@gmail.com>\nKanjo = require 'kanjo'\nTable ",
"end": 515,
"score": 0.9997406005859375,
"start": 509,
"tag": "USERNAME",
"value": "moqada"
},
{
"context": "WS Secret Key for Billing\n#\n# Author:\n# m... | src/scripts/kanjo.coffee | moqada/hubot-kanjo | 1 | # Description
# Summarize AWS Billing for Hubot.
#
# Commands:
# hubot kanjo - Show AWS Billing of current month
# hubot kanjo <YYYYMM> - Show AWS Billing of target month
#
# Configuration:
# HUBOT_KANJO_AWS_ACCOUNT_ID - AWS Account ID for Billing
# HUBOT_KANJO_AWS_ACCESS_KEY_ID - AWS Access Key ID for Billin... | 18429 | # Description
# Summarize AWS Billing for Hubot.
#
# Commands:
# hubot kanjo - Show AWS Billing of current month
# hubot kanjo <YYYYMM> - Show AWS Billing of target month
#
# Configuration:
# HUBOT_KANJO_AWS_ACCOUNT_ID - AWS Account ID for Billing
# HUBOT_KANJO_AWS_ACCESS_KEY_ID - AWS Access Key ID for Billin... | true | # Description
# Summarize AWS Billing for Hubot.
#
# Commands:
# hubot kanjo - Show AWS Billing of current month
# hubot kanjo <YYYYMM> - Show AWS Billing of target month
#
# Configuration:
# HUBOT_KANJO_AWS_ACCOUNT_ID - AWS Account ID for Billing
# HUBOT_KANJO_AWS_ACCESS_KEY_ID - AWS Access Key ID for Billin... |
[
{
"context": "# Default password is null\n passwd: process.env.SYNO_PASSWORD\n # Default protocol is HTTP (",
"end": 434,
"score": 0.8215766549110413,
"start": 431,
"tag": "PASSWORD",
"value": "env"
},
{
"context": "if @debug\n console.log \"[DEBUG] : Password: #... | src/syno/Syno.coffee | weshouman/syno | 252 | # Require node modules
request = require 'request'
fs = require 'fs'
path = require 'path'
{defaults, mapValues, keys, values, flatten, filter,
first, last, some, merge, isArray, startsWith, endsWith} = require 'lodash'
# Class Syno
class Syno
# Default synology parameters
defParams =
# Default accoun... | 116424 | # Require node modules
request = require 'request'
fs = require 'fs'
path = require 'path'
{defaults, mapValues, keys, values, flatten, filter,
first, last, some, merge, isArray, startsWith, endsWith} = require 'lodash'
# Class Syno
class Syno
# Default synology parameters
defParams =
# Default accoun... | true | # Require node modules
request = require 'request'
fs = require 'fs'
path = require 'path'
{defaults, mapValues, keys, values, flatten, filter,
first, last, some, merge, isArray, startsWith, endsWith} = require 'lodash'
# Class Syno
class Syno
# Default synology parameters
defParams =
# Default accoun... |
[
{
"context": "ject\", ->\n assert objects.get('name', { name: \"John\" }) == \"John\"\n\n it \"can be partially applied\", -",
"end": 174,
"score": 0.9995059370994568,
"start": 170,
"tag": "NAME",
"value": "John"
},
{
"context": " assert objects.get('name', { name: \"John\" }) ==... | test/objects.coffee | ianthehenry/effing | 5 | objects = require 'effing/objects'
{ assert } = require 'chai'
describe "objects.get", ->
it "looks up a key on an object", ->
assert objects.get('name', { name: "John" }) == "John"
it "can be partially applied", ->
getName = objects.get 'name'
assert getName(name: "Mary") == "Mary"
describe "objects... | 177297 | objects = require 'effing/objects'
{ assert } = require 'chai'
describe "objects.get", ->
it "looks up a key on an object", ->
assert objects.get('name', { name: "<NAME>" }) == "<NAME>"
it "can be partially applied", ->
getName = objects.get 'name'
assert getName(name: "<NAME>") == "<NAME>"
describe ... | true | objects = require 'effing/objects'
{ assert } = require 'chai'
describe "objects.get", ->
it "looks up a key on an object", ->
assert objects.get('name', { name: "PI:NAME:<NAME>END_PI" }) == "PI:NAME:<NAME>END_PI"
it "can be partially applied", ->
getName = objects.get 'name'
assert getName(name: "PI:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.