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": "P: \"Sign up\"\n SIGNIN: \"Sign in\"\n PASSWORD: \"Password\"\n REPEAT_PASSWORD: \"Repeat password\"\n DONOT",
"end": 359,
"score": 0.999481737613678,
"start": 351,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": "n\"\n PASSWORD: \"Password\"\n ... | assets/translations.coffee | gertu/gertu | 1 | angular.module("mean").config ["$translateProvider", ($translateProvider) ->
$translateProvider.translations "en-US",
# /
HOME: "Home"
DEALS: "Deals"
FIND: "Find"
ABOUT: "About"
CONTACT: "Contact"
WELCOME: "Welcome"
PROFILE: "Profile"
SIGNOUT: "Logout"
SIGNUP: "Sign up"
SI... | 152712 | angular.module("mean").config ["$translateProvider", ($translateProvider) ->
$translateProvider.translations "en-US",
# /
HOME: "Home"
DEALS: "Deals"
FIND: "Find"
ABOUT: "About"
CONTACT: "Contact"
WELCOME: "Welcome"
PROFILE: "Profile"
SIGNOUT: "Logout"
SIGNUP: "Sign up"
SI... | true | angular.module("mean").config ["$translateProvider", ($translateProvider) ->
$translateProvider.translations "en-US",
# /
HOME: "Home"
DEALS: "Deals"
FIND: "Find"
ABOUT: "About"
CONTACT: "Contact"
WELCOME: "Welcome"
PROFILE: "Profile"
SIGNOUT: "Logout"
SIGNUP: "Sign up"
SI... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998757243156433,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | examples/helloworld.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 6364 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
###
i... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": " dieVals.push [@key, @node.innerHTML] if @key is 'item.id'\n\n context = new Batman\n helpers.render source,",
"end": 457,
"score": 0.8650086522102356,
"start": 450,
"tag": "KEY",
"value": "item.id"
}
] | tests/batman/view/iterator_binding_test.coffee | Shipow/batman | 1 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View iterator bindings'
asyncTest 'it should destroy nodes and their bindings if items have been removed before render is complete', 1, ->
source = '<div data-foreach-item="items"><span data-bind="it... | 152289 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View iterator bindings'
asyncTest 'it should destroy nodes and their bindings if items have been removed before render is complete', 1, ->
source = '<div data-foreach-item="items"><span data-bind="it... | true | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View iterator bindings'
asyncTest 'it should destroy nodes and their bindings if items have been removed before render is complete', 1, ->
source = '<div data-foreach-item="items"><span data-bind="it... |
[
{
"context": " -> @_searches_path()\n\n data:\n i18n_key: \"ShowVolumes\"\n\n onconfig: ->\n @set \"pending\", true\n\n ",
"end": 374,
"score": 0.7768822908401489,
"start": 363,
"tag": "KEY",
"value": "ShowVolumes"
}
] | app/assets/javascripts/app/components/ShowVolumes/index.js.coffee | ubpb/katalog | 0 | #= require app/Component
do(app = (window.app ?= {})) ->
app.components.ShowVolumes = app.Component.extend
computed:
api_v1_scope_searches_path: -> @_path_helper_factory("/api/v1/scopes/:scope_id/searches")
scope_searches_path: -> @_path_helper_factory("/:scope_id/searches")
volume_path: -> @_s... | 21906 | #= require app/Component
do(app = (window.app ?= {})) ->
app.components.ShowVolumes = app.Component.extend
computed:
api_v1_scope_searches_path: -> @_path_helper_factory("/api/v1/scopes/:scope_id/searches")
scope_searches_path: -> @_path_helper_factory("/:scope_id/searches")
volume_path: -> @_s... | true | #= require app/Component
do(app = (window.app ?= {})) ->
app.components.ShowVolumes = app.Component.extend
computed:
api_v1_scope_searches_path: -> @_path_helper_factory("/api/v1/scopes/:scope_id/searches")
scope_searches_path: -> @_path_helper_factory("/:scope_id/searches")
volume_path: -> @_s... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988716244697571,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/_debugger.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... | 89248 | # 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": "xtends LayerInfo\n @shouldParse: (key) -> key is 'SoCo'\n\n constructor: (layer, length) ->\n super(lay",
"end": 211,
"score": 0.9880164861679077,
"start": 207,
"tag": "KEY",
"value": "SoCo"
}
] | lib/psd/layer_info/solid_color.coffee | aleczratiu/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
Color = require '../color.coffee'
module.exports = class SolidColor extends LayerInfo
@shouldParse: (key) -> key is 'SoCo'
constructor: (layer, length) ->
super(layer, length)
@clr = [0, 0, 0]
parse: ->
@file.se... | 48314 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
Color = require '../color.coffee'
module.exports = class SolidColor extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
constructor: (layer, length) ->
super(layer, length)
@clr = [0, 0, 0]
parse: ->
@file.s... | true | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
Color = require '../color.coffee'
module.exports = class SolidColor extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
constructor: (layer, length) ->
super(layer, length)
@clr = [0, 0, 0]
parse: -... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998437166213989,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/colour/colour.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 172130 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ 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": "ew_pages.sort (a, b) ->\n keyA = new Date(a.date_value)\n keyB = new Date(b.d",
"end": 1521,
"score": 0.8729104995727539,
"start": 1517,
"tag": "KEY",
"value": "Date"
},
{
"context": " new Date(a.date_value)\n keyB = new Date... | html/coffee/blog_more.coffee | sebastianmaier/sebastianmaier.net | 0 | $(document).ready ->
#Config
template_id = '#news_template'
more_button_id = '#next'
date_id = "text_h5"
picture_id = "picture-blog1"
headline_id = "text_h2"
teaser_id = "text_a"
articles_per_page = 5
#Config End
page_counter = 1
template = Hogan.compile($(template_id).htm... | 198734 | $(document).ready ->
#Config
template_id = '#news_template'
more_button_id = '#next'
date_id = "text_h5"
picture_id = "picture-blog1"
headline_id = "text_h2"
teaser_id = "text_a"
articles_per_page = 5
#Config End
page_counter = 1
template = Hogan.compile($(template_id).htm... | true | $(document).ready ->
#Config
template_id = '#news_template'
more_button_id = '#next'
date_id = "text_h5"
picture_id = "picture-blog1"
headline_id = "text_h2"
teaser_id = "text_a"
articles_per_page = 5
#Config End
page_counter = 1
template = Hogan.compile($(template_id).htm... |
[
{
"context": " delay = 0\n id = 0\n delays = []\n seed = 'addbulb'\n for i in [0...parts.length*2]\n delays.p",
"end": 3184,
"score": 0.5461387634277344,
"start": 3177,
"tag": "PASSWORD",
"value": "addbulb"
}
] | project_code/prod/app/src/coffee/m11s/bulbs/bodyitems.coffee | kikko/devart-template | 6 | class mk.m11s.bulbs.BodyItems extends mk.m11s.base.BodyItems
setupItems: ->
mk.m11s.bulbs.BulbSocket.symbol = @assets.symbols.bulbs['bulb_socket']
@colorOff = @settings.palette.lightBlue
@colorOn = @settings.palette.lightRed
@bulbs = []
@addBodyBulbs()
@addHeadBulb()
@rope = null
@m... | 56745 | class mk.m11s.bulbs.BodyItems extends mk.m11s.base.BodyItems
setupItems: ->
mk.m11s.bulbs.BulbSocket.symbol = @assets.symbols.bulbs['bulb_socket']
@colorOff = @settings.palette.lightBlue
@colorOn = @settings.palette.lightRed
@bulbs = []
@addBodyBulbs()
@addHeadBulb()
@rope = null
@m... | true | class mk.m11s.bulbs.BodyItems extends mk.m11s.base.BodyItems
setupItems: ->
mk.m11s.bulbs.BulbSocket.symbol = @assets.symbols.bulbs['bulb_socket']
@colorOff = @settings.palette.lightBlue
@colorOn = @settings.palette.lightRed
@bulbs = []
@addBodyBulbs()
@addHeadBulb()
@rope = null
@m... |
[
{
"context": "ectedUser._id\n scope.permission.keys = (key._id for key in scope.selectedKeys)\n scope.perm",
"end": 3217,
"score": 0.8820520639419556,
"start": 3215,
"tag": "KEY",
"value": "id"
}
] | client/directives/permissionForm.coffee | valueflowquality/gi-security-update | 0 | angular.module('gi.security').directive 'permissionForm'
, ['$q', '$timeout', '$http', '$filter', 'Resource', 'giUser', 'Permission'
, ($q, $timeout, $http, $filter, Resource, User, Permission) ->
restrict: 'E'
templateUrl: 'gi-permissionForm.html'
scope:
permission: '='
submit: '&'
destroy: '&'
s... | 40862 | angular.module('gi.security').directive 'permissionForm'
, ['$q', '$timeout', '$http', '$filter', 'Resource', 'giUser', 'Permission'
, ($q, $timeout, $http, $filter, Resource, User, Permission) ->
restrict: 'E'
templateUrl: 'gi-permissionForm.html'
scope:
permission: '='
submit: '&'
destroy: '&'
s... | true | angular.module('gi.security').directive 'permissionForm'
, ['$q', '$timeout', '$http', '$filter', 'Resource', 'giUser', 'Permission'
, ($q, $timeout, $http, $filter, Resource, User, Permission) ->
restrict: 'E'
templateUrl: 'gi-permissionForm.html'
scope:
permission: '='
submit: '&'
destroy: '&'
s... |
[
{
"context": "cal\n\n@namespace Quo.Gestures\n@class Swipe\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\n\n",
"end": 205,
"score": 0.9998941421508789,
"start": 184,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "ures\n@class ... | source/quo.gestures.swipe.coffee | lguzzon/QuoJS | 558 | ###
Quo Swipe Gestures: swipe, swiping, swipeLeft, swipeRight, swipeUp, swipeDown
New gestures added: swipingHorizontal, swipingVertical
@namespace Quo.Gestures
@class Swipe
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "swipe"
events : ["swipe",
... | 26258 | ###
Quo Swipe Gestures: swipe, swiping, swipeLeft, swipeRight, swipeUp, swipeDown
New gestures added: swipingHorizontal, swipingVertical
@namespace Quo.Gestures
@class Swipe
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "swipe"
events : ["swipe",
"swipeLeft", "sw... | true | ###
Quo Swipe Gestures: swipe, swiping, swipeLeft, swipeRight, swipeUp, swipeDown
New gestures added: swipingHorizontal, swipingVertical
@namespace Quo.Gestures
@class Swipe
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "swipe"
events : ["swipe",
... |
[
{
"context": "# grunt-processhtml\n# https://github.com/dciccale/grunt-processhtml\n#\n# Copyright (c) 2013-2014 Den",
"end": 49,
"score": 0.9994943141937256,
"start": 41,
"tag": "USERNAME",
"value": "dciccale"
},
{
"context": "cale/grunt-processhtml\n#\n# Copyright (c) 2013-2014 Den... | Gruntfile.coffee | makovich/grunt-processhtml | 0 | # grunt-processhtml
# https://github.com/dciccale/grunt-processhtml
#
# Copyright (c) 2013-2014 Denis Ciccale (@tdecs)
# Licensed under the MIT license.
# https://github.com/dciccale/grunt-processhtml/blob/master/LICENSE-MIT
"use strict"
module.exports = ->
@initConfig
jshint:
all: ["tasks/**/*.js", "<%=... | 155819 | # grunt-processhtml
# https://github.com/dciccale/grunt-processhtml
#
# Copyright (c) 2013-2014 <NAME> (@tdecs)
# Licensed under the MIT license.
# https://github.com/dciccale/grunt-processhtml/blob/master/LICENSE-MIT
"use strict"
module.exports = ->
@initConfig
jshint:
all: ["tasks/**/*.js", "<%= nodeun... | true | # grunt-processhtml
# https://github.com/dciccale/grunt-processhtml
#
# Copyright (c) 2013-2014 PI:NAME:<NAME>END_PI (@tdecs)
# Licensed under the MIT license.
# https://github.com/dciccale/grunt-processhtml/blob/master/LICENSE-MIT
"use strict"
module.exports = ->
@initConfig
jshint:
all: ["tasks/**/*.js... |
[
{
"context": "###\n# Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz>\n# Copyright (C) 2014-2017 Jesús Es",
"end": 43,
"score": 0.9998846054077148,
"start": 30,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz>\n#... | app/coffee/modules/common/sections.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2017 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014-2017 David Barragán Merino <bameda@dbarragan.com>
# Copyright (C) 2014-2017 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# Copyright (C) 2014-2017 Juan Francisco Alcánta... | 152943 | ###
# Copyright (C) 2014-2017 <NAME> <<EMAIL>>
# Copyright (C) 2014-2017 <NAME> <<EMAIL>>
# Copyright (C) 2014-2017 <NAME> <<EMAIL>>
# Copyright (C) 2014-2017 <NAME> <<EMAIL>>
# Copyright (C) 2014-2017 <NAME> <<EMAIL>>
# Copyright (C) 2014-2017 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it... | true | ###
# Copyright (C) 2014-2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014-2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014-2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014-2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014-2017 PI... |
[
{
"context": "\n\t\t\"/account\": \"user_edit\"\n\t\t\"/forgot_password\": \"user_password\"\n\t\t\"/users/:id\": user_profile\n\t\t\"/users/:id/edit\"",
"end": 4521,
"score": 0.9991653561592102,
"start": 4508,
"tag": "PASSWORD",
"value": "user_password"
}
] | client/lib/router.coffee | ananta-IO/marq | 1 | (->
# PAGE_SUBS =
# questions_answer: 'answerQuestionsReady'
# questions_answered: 'answeredQuestionsReady'
# questions_asked: 'askedQuestionsReady'
# questions_page: 'singleQuestionReady'
question = (id) ->
Session.set('selectedQuestionId', id)
'questionsShow'
Meteor.Router.add
"/": "questionsAnswer"
... | 133441 | (->
# PAGE_SUBS =
# questions_answer: 'answerQuestionsReady'
# questions_answered: 'answeredQuestionsReady'
# questions_asked: 'askedQuestionsReady'
# questions_page: 'singleQuestionReady'
question = (id) ->
Session.set('selectedQuestionId', id)
'questionsShow'
Meteor.Router.add
"/": "questionsAnswer"
... | true | (->
# PAGE_SUBS =
# questions_answer: 'answerQuestionsReady'
# questions_answered: 'answeredQuestionsReady'
# questions_asked: 'askedQuestionsReady'
# questions_page: 'singleQuestionReady'
question = (id) ->
Session.set('selectedQuestionId', id)
'questionsShow'
Meteor.Router.add
"/": "questionsAnswer"
... |
[
{
"context": "tion\nstubOptions = {\n host : '0.0.0.0'\n user : 'user'\n password : 'secret'\n}\n\n# Module testing\ndescri",
"end": 162,
"score": 0.7593947649002075,
"start": 158,
"tag": "USERNAME",
"value": "user"
},
{
"context": "\n host : '0.0.0.0'\n user : 'user'\n passwor... | ud/node_modules/mysql-connection-pool/test/mysqlAdapterTest.coffee | dev-mean/AppJK | 0 | # Lib dependencies
MysqlAdapter = require('../lib/MysqlAdapter')
# Stub DB options used to configure connection
stubOptions = {
host : '0.0.0.0'
user : 'user'
password : 'secret'
}
# Module testing
describe 'MysqlAdapter', ->
describe '#new', ->
adapter = undefined
beforeEach ->
spyOn(MysqlAda... | 52885 | # Lib dependencies
MysqlAdapter = require('../lib/MysqlAdapter')
# Stub DB options used to configure connection
stubOptions = {
host : '0.0.0.0'
user : 'user'
password : '<PASSWORD>'
}
# Module testing
describe 'MysqlAdapter', ->
describe '#new', ->
adapter = undefined
beforeEach ->
spyOn(Mysq... | true | # Lib dependencies
MysqlAdapter = require('../lib/MysqlAdapter')
# Stub DB options used to configure connection
stubOptions = {
host : '0.0.0.0'
user : 'user'
password : 'PI:PASSWORD:<PASSWORD>END_PI'
}
# Module testing
describe 'MysqlAdapter', ->
describe '#new', ->
adapter = undefined
beforeEach -... |
[
{
"context": "thod getWrap\n ###\n getWrap: (x,y,d) ->\n key = \"#{x}-#{y}\"\n if @wrapNodes[key]?\n return @wrapNodes[k",
"end": 2022,
"score": 0.9990355372428894,
"start": 2011,
"tag": "KEY",
"value": "\"#{x}-#{y}\""
},
{
"context": "ar.cleanNode(@wrapNodes[key])\n ... | src/main/coffeescript/nz/Graph.coffee | fukuyama/nineteen | 2 | ###*
* @file Graph.coffee
* A*用グラフクラス
###
###* nineteen namespace.
* @namespace nz
###
# node.js と ブラウザでの this.nz を同じインスタンスにする
_g = window ? global
nz = _g.nz = _g.nz ? {}
_g = undefined
_NEIGHBORS = [
[
[[ 0,-1, 0],[ 0, 0, 5],[ 0, 0, 1],[ 0, 1, 0]]
[[ 1, 0, 1],[ 0, 0, 0],[ 0, 0, 2],[-1, 1, 1]]
[[ 1, 1... | 11756 | ###*
* @file Graph.coffee
* A*用グラフクラス
###
###* nineteen namespace.
* @namespace nz
###
# node.js と ブラウザでの this.nz を同じインスタンスにする
_g = window ? global
nz = _g.nz = _g.nz ? {}
_g = undefined
_NEIGHBORS = [
[
[[ 0,-1, 0],[ 0, 0, 5],[ 0, 0, 1],[ 0, 1, 0]]
[[ 1, 0, 1],[ 0, 0, 0],[ 0, 0, 2],[-1, 1, 1]]
[[ 1, 1... | true | ###*
* @file Graph.coffee
* A*用グラフクラス
###
###* nineteen namespace.
* @namespace nz
###
# node.js と ブラウザでの this.nz を同じインスタンスにする
_g = window ? global
nz = _g.nz = _g.nz ? {}
_g = undefined
_NEIGHBORS = [
[
[[ 0,-1, 0],[ 0, 0, 5],[ 0, 0, 1],[ 0, 1, 0]]
[[ 1, 0, 1],[ 0, 0, 0],[ 0, 0, 2],[-1, 1, 1]]
[[ 1, 1... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.787792444229126,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\",... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/et/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/et_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 19185 | bcv_parser = require("../../js/et_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/et_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "######################\n# Copyright (C) 2015 by Vaughn Iverson\n# SimpleWiki is free software released under ",
"end": 119,
"score": 0.9998360872268677,
"start": 105,
"tag": "NAME",
"value": "Vaughn Iverson"
}
] | SimpleWiki.coffee | vsivsi/SimpleWiki | 0 | ############################################################################
# Copyright (C) 2015 by Vaughn Iverson
# SimpleWiki is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
docDb =... | 166463 | ############################################################################
# Copyright (C) 2015 by <NAME>
# SimpleWiki is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
docDb = new Mon... | true | ############################################################################
# Copyright (C) 2015 by PI:NAME:<NAME>END_PI
# SimpleWiki is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
d... |
[
{
"context": " \"test\"\n source_password: \"abc123\"\n root_route: true\n seconds",
"end": 193,
"score": 0.9981609582901001,
"start": 187,
"tag": "PASSWORD",
"value": "abc123"
},
{
"context": " config\n\n info.api_uri = \... | test/helpers/standalone.coffee | VandeurenGlenn/StreamMachine | 0 | StandaloneMode = $src "modes/standalone"
uuid = require "node-uuid"
_ = require "underscore"
STREAMS =
mp3:
key: "test"
source_password: "abc123"
root_route: true
seconds: 60*60*4
format: "mp3"
module.exports =
... | 135602 | StandaloneMode = $src "modes/standalone"
uuid = require "node-uuid"
_ = require "underscore"
STREAMS =
mp3:
key: "test"
source_password: "<PASSWORD>"
root_route: true
seconds: 60*60*4
format: "mp3"
module.exports =... | true | StandaloneMode = $src "modes/standalone"
uuid = require "node-uuid"
_ = require "underscore"
STREAMS =
mp3:
key: "test"
source_password: "PI:PASSWORD:<PASSWORD>END_PI"
root_route: true
seconds: 60*60*4
format: "mp3"
... |
[
{
"context": " email: $scope.cred.username\n password: $scope.cred.password\n $http.post('/api/verifyUser', creds).success(",
"end": 461,
"score": 0.9841769933700562,
"start": 442,
"tag": "PASSWORD",
"value": "scope.cred.password"
},
{
"context": "ngs, (setting) ->\n ... | client/controllers/login.coffee | sterob7/gi-security | 0 | angular.module('gi.security').controller 'loginController'
, ['$scope', '$http', '$filter'
, 'Auth', 'Facebook', 'Setting'
, ( $scope, $http, $filter
, Auth, Facebook, Setting) ->
#when we're in this controller we should keep testing to see
#if the user has managed to login yet.
$scope.loginStatus =
failed: f... | 3510 | angular.module('gi.security').controller 'loginController'
, ['$scope', '$http', '$filter'
, 'Auth', 'Facebook', 'Setting'
, ( $scope, $http, $filter
, Auth, Facebook, Setting) ->
#when we're in this controller we should keep testing to see
#if the user has managed to login yet.
$scope.loginStatus =
failed: f... | true | angular.module('gi.security').controller 'loginController'
, ['$scope', '$http', '$filter'
, 'Auth', 'Facebook', 'Setting'
, ( $scope, $http, $filter
, Auth, Facebook, Setting) ->
#when we're in this controller we should keep testing to see
#if the user has managed to login yet.
$scope.loginStatus =
failed: f... |
[
{
"context": " new Restivus\n useAuth: true\n auth: token: 'apiKey'\n defaultHeaders:\n 'Content-Type': 'text/",
"end": 81,
"score": 0.9818935394287109,
"start": 75,
"tag": "KEY",
"value": "apiKey"
},
{
"context": "seAuth, true\n test.equal config.auth.token, 'apiK... | test/api_tests.coffee | adthrasher/meteor-restivus | 613 | Meteor.startup ->
Api = new Restivus
useAuth: true
auth: token: 'apiKey'
defaultHeaders:
'Content-Type': 'text/json'
'X-Test-Header': 'test header'
defaultOptionsEndpoint: ->
headers:
'Content-Type': 'text/plain'
body: 'options'
describe 'An API', ->
it 'should a... | 165049 | Meteor.startup ->
Api = new Restivus
useAuth: true
auth: token: '<KEY>'
defaultHeaders:
'Content-Type': 'text/json'
'X-Test-Header': 'test header'
defaultOptionsEndpoint: ->
headers:
'Content-Type': 'text/plain'
body: 'options'
describe 'An API', ->
it 'should al... | true | Meteor.startup ->
Api = new Restivus
useAuth: true
auth: token: 'PI:KEY:<KEY>END_PI'
defaultHeaders:
'Content-Type': 'text/json'
'X-Test-Header': 'test header'
defaultOptionsEndpoint: ->
headers:
'Content-Type': 'text/plain'
body: 'options'
describe 'An API', ->
... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998879432678223,
"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/resources/issues.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
... | 3277 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "###\n Pokemon Go (c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n###\n\nProxy = require 'http-mi",
"end": 62,
"score": 0.9998676180839539,
"start": 42,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": "Go (c) MITM node proxy\n by Mich... | lib/pokemon-go-mitm.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go (c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
###
Proxy = require 'http-mitm-proxy'
POGOProtos = require 'pokemongo-protobuf'
changeCase = require 'change-case'
http = require 'http'
https = require 'https'
fs = require 'fs'
_ = require 'lodash'
request = require 'request'
rp = req... | 158698 | ###
Pokemon Go (c) MITM node proxy
by <NAME> <<EMAIL>>
###
Proxy = require 'http-mitm-proxy'
POGOProtos = require 'pokemongo-protobuf'
changeCase = require 'change-case'
http = require 'http'
https = require 'https'
fs = require 'fs'
_ = require 'lodash'
request = require 'request'
rp = require 'request-promise'
u... | true | ###
Pokemon Go (c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
Proxy = require 'http-mitm-proxy'
POGOProtos = require 'pokemongo-protobuf'
changeCase = require 'change-case'
http = require 'http'
https = require 'https'
fs = require 'fs'
_ = require 'lodash'
request = require 'request'
rp ... |
[
{
"context": "lackListToken', ->\n beforeEach ->\n @redisKey = uuid.v1()\n @sut = new BlackListToken cache: redis.create",
"end": 202,
"score": 0.9846768379211426,
"start": 193,
"tag": "KEY",
"value": "uuid.v1()"
},
{
"context": " uuid: 'electric-eels'\n toke... | test/black-list-token-spec.coffee | octoblu/meshblu-token-black-list | 0 | BlackListToken = require '../src/black-list-token'
crypto = require 'crypto'
redis = require 'fakeredis'
uuid = require 'uuid'
describe 'BlackListToken', ->
beforeEach ->
@redisKey = uuid.v1()
@sut = new BlackListToken cache: redis.createClient(@redisKey), pepper: 'totally-a-secret'
@cache = redis.cre... | 43316 | BlackListToken = require '../src/black-list-token'
crypto = require 'crypto'
redis = require 'fakeredis'
uuid = require 'uuid'
describe 'BlackListToken', ->
beforeEach ->
@redisKey = <KEY>
@sut = new BlackListToken cache: redis.createClient(@redisKey), pepper: 'totally-a-secret'
@cache = redis.createC... | true | BlackListToken = require '../src/black-list-token'
crypto = require 'crypto'
redis = require 'fakeredis'
uuid = require 'uuid'
describe 'BlackListToken', ->
beforeEach ->
@redisKey = PI:KEY:<KEY>END_PI
@sut = new BlackListToken cache: redis.createClient(@redisKey), pepper: 'totally-a-secret'
@cache = ... |
[
{
"context": ".insert { 'import': @importRecord._id, 'importer': @name, 'type': 'users', 'users': tempUsers }\n\t\t@users =",
"end": 2016,
"score": 0.9393250942230225,
"start": 2011,
"tag": "USERNAME",
"value": "@name"
},
{
"context": ".insert { 'import': @importRecord._id, 'importer... | packages/rocketchat-importer-slack/server.coffee | claysaad/Rocket.Chat | 0 | Importer.Slack = class Importer.Slack extends Importer.Base
constructor: (name, descriptionI18N, fileTypeRegex) ->
super(name, descriptionI18N, fileTypeRegex)
@userTags = []
@bots = {}
@logger.debug('Constructed a new Slack Importer.')
prepare: (dataURI, sentContentType, fileName) =>
super(dataURI, sentCon... | 129860 | Importer.Slack = class Importer.Slack extends Importer.Base
constructor: (name, descriptionI18N, fileTypeRegex) ->
super(name, descriptionI18N, fileTypeRegex)
@userTags = []
@bots = {}
@logger.debug('Constructed a new Slack Importer.')
prepare: (dataURI, sentContentType, fileName) =>
super(dataURI, sentCon... | true | Importer.Slack = class Importer.Slack extends Importer.Base
constructor: (name, descriptionI18N, fileTypeRegex) ->
super(name, descriptionI18N, fileTypeRegex)
@userTags = []
@bots = {}
@logger.debug('Constructed a new Slack Importer.')
prepare: (dataURI, sentContentType, fileName) =>
super(dataURI, sentCon... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'PlLd'\n\n constructor: (layer, length) ->\n super(lay",
"end": 178,
"score": 0.9480730295181274,
"start": 174,
"tag": "KEY",
"value": "PlLd"
}
] | lib/psd/layer_info/placed_layer.coffee | kostark/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class PlacedLayer extends LayerInfo
@shouldParse: (key) -> key is 'PlLd'
constructor: (layer, length) ->
super(layer, length)
@uuid = null
@page = 0
@totalPages = 0
@antiAlias = 0
@layer... | 186101 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class PlacedLayer extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
constructor: (layer, length) ->
super(layer, length)
@uuid = null
@page = 0
@totalPages = 0
@antiAlias = 0
@laye... | true | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class PlacedLayer extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
constructor: (layer, length) ->
super(layer, length)
@uuid = null
@page = 0
@totalPages = 0
@antiAlias ... |
[
{
"context": "/PEM--/grunt-phonegapsplash\n#\n# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)\n# Licensed under",
"end": 120,
"score": 0.9998695850372314,
"start": 98,
"tag": "NAME",
"value": "Pierre-Eric Marchandet"
},
{
"context": "Copyright (c) 2013 Pi... | tasks/phonegapsplash.coffee | gruntjs-updater/grunt-phonegapsplash | 0 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT licence.
###
'use strict'
# GraphicsMagick (node-gm) is used for cropping and resizing tasks.
gm = require 'gm'
# Async is used to transfor... | 48546 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT licence.
###
'use strict'
# GraphicsMagick (node-gm) is used for cropping and resizing tasks.
gm = require 'gm'
# Async is used to transform this task as an asynchronous ... | true | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT licence.
###
'use strict'
# GraphicsMagick (node-gm) is used for cropping and resizing tasks.
gm = require 'gm'
# Async is used to transform ... |
[
{
"context": "verview Tests for jsx-sort-default-props\n# @author Vladimir Kattsov\n###\n'use strict'\n\n# -----------------------------",
"end": 80,
"score": 0.999868631362915,
"start": 64,
"tag": "NAME",
"value": "Vladimir Kattsov"
}
] | src/tests/rules/jsx-sort-default-props.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for jsx-sort-default-props
# @author Vladimir Kattsov
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-sort-default-... | 117634 | ###*
# @fileoverview Tests for jsx-sort-default-props
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-sort-default-props'
{Ru... | true | ###*
# @fileoverview Tests for jsx-sort-default-props
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-sort-defa... |
[
{
"context": "-02-01 下午2.43.25.png\",\n \"fileKey\" : \"110d5ed584332bf5da96fe96b95f8c681dbf\",\n \"imageHeight\" : 437\n ]\n ",
"end": 1598,
"score": 0.9997535943984985,
"start": 1562,
"tag": "KEY",
"value": "110d5ed584332bf5da96fe96b95f8c681dbf"
}
] | talk-api2x/test/controllers/usage.coffee | ikingye/talk-os | 3,084 | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
app = require '../app'
{prepare, cleanup, requestAsync} = app
describe 'Usage#CURD', ->
before prepare
it 'should read a full list of usages', (done) ->
options =
method: 'GET'
url: '/usages'
qs:
_sessi... | 43542 | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
app = require '../app'
{prepare, cleanup, requestAsync} = app
describe 'Usage#CURD', ->
before prepare
it 'should read a full list of usages', (done) ->
options =
method: 'GET'
url: '/usages'
qs:
_sessi... | true | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
app = require '../app'
{prepare, cleanup, requestAsync} = app
describe 'Usage#CURD', ->
before prepare
it 'should read a full list of usages', (done) ->
options =
method: 'GET'
url: '/usages'
qs:
_sessi... |
[
{
"context": "###\nAuthor: Paul B. Hartzog\nYear: 2015\nWWW: http:paulbhartzog.org\nGithub: htt",
"end": 27,
"score": 0.9998905062675476,
"start": 12,
"tag": "NAME",
"value": "Paul B. Hartzog"
},
{
"context": ": http:paulbhartzog.org\nGithub: http://github.com/paulbhartzog\n\nRequire... | uebersicht/rsc/ubersicht-video-widget.widget/ubersicht-video-widget.coffee | HeminWon/.dotfiles | 4 | ###
Author: Paul B. Hartzog
Year: 2015
WWW: http:paulbhartzog.org
Github: http://github.com/paulbhartzog
Requirements:
Übersicht: http://github.com/felixhageloh/uebersicht/
INSTRUCTIONS
- This widget uses the HTML5 "video" tag to place a video into Übersicht
- This widget has been tested with .mp4 files.
EXAMPLE:
... | 180163 | ###
Author: <NAME>
Year: 2015
WWW: http:paulbhartzog.org
Github: http://github.com/paulbhartzog
Requirements:
Übersicht: http://github.com/felixhageloh/uebersicht/
INSTRUCTIONS
- This widget uses the HTML5 "video" tag to place a video into Übersicht
- This widget has been tested with .mp4 files.
EXAMPLE:
<video wi... | true | ###
Author: PI:NAME:<NAME>END_PI
Year: 2015
WWW: http:paulbhartzog.org
Github: http://github.com/paulbhartzog
Requirements:
Übersicht: http://github.com/felixhageloh/uebersicht/
INSTRUCTIONS
- This widget uses the HTML5 "video" tag to place a video into Übersicht
- This widget has been tested with .mp4 files.
EXAMPL... |
[
{
"context": "ule')\n data = {\n 'name': @ruleName\n 'type': @ruleType\n ",
"end": 2283,
"score": 0.9653797745704651,
"start": 2283,
"tag": "NAME",
"value": ""
},
{
"context": "e')\n data = {\n 'name': @ruleName... | nosferatu/static/js/directives/rule-selector.coffee | DanCardin/nosferatu | 0 | angular.module('nosferatuApp').directive('ruleSelector', () ->
controller = ['$scope', '$log', '$http', '$timeout', ($scope, $log, $http, $timeout) ->
self = this
@enableAddRuleBtn = () ->
result = (
(not @ruleName) or
(not @daysOfWeekSelected.length) or
... | 163539 | angular.module('nosferatuApp').directive('ruleSelector', () ->
controller = ['$scope', '$log', '$http', '$timeout', ($scope, $log, $http, $timeout) ->
self = this
@enableAddRuleBtn = () ->
result = (
(not @ruleName) or
(not @daysOfWeekSelected.length) or
... | true | angular.module('nosferatuApp').directive('ruleSelector', () ->
controller = ['$scope', '$log', '$http', '$timeout', ($scope, $log, $http, $timeout) ->
self = this
@enableAddRuleBtn = () ->
result = (
(not @ruleName) or
(not @daysOfWeekSelected.length) or
... |
[
{
"context": "Platforms\"\nlocation: \"Leeds\"\nphase: \"alpha\"\nsro: \"Neil Couling\"\nservice_man: \"Tim Carter\"\nfacing: \"internal\"\npha",
"end": 229,
"score": 0.9998438954353333,
"start": 217,
"tag": "NAME",
"value": "Neil Couling"
},
{
"context": "\nphase: \"alpha\"\nsro: \"... | app/data/projects/appointment-booking.cson | tsmorgan/dwp-ux-work | 0 | id: 31
name: "Appointment Booking"
description: "Providing the ability for agents to book appointments for users (including self-service appointment booking)"
theme: "Platforms"
location: "Leeds"
phase: "alpha"
sro: "Neil Couling"
service_man: "Tim Carter"
facing: "internal"
phase_history:
discovery: [
{
la... | 98888 | id: 31
name: "Appointment Booking"
description: "Providing the ability for agents to book appointments for users (including self-service appointment booking)"
theme: "Platforms"
location: "Leeds"
phase: "alpha"
sro: "<NAME>"
service_man: "<NAME>"
facing: "internal"
phase_history:
discovery: [
{
label: "Comp... | true | id: 31
name: "Appointment Booking"
description: "Providing the ability for agents to book appointments for users (including self-service appointment booking)"
theme: "Platforms"
location: "Leeds"
phase: "alpha"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
facing: "internal"
phase_history:
discovery... |
[
{
"context": "##\n Translated from JavaScript to Coffeescript by Anton Warnhag, 2015.\n###\n\n'use strict'\n\n# Modifications by Anto",
"end": 717,
"score": 0.9998910427093506,
"start": 704,
"tag": "NAME",
"value": "Anton Warnhag"
},
{
"context": "rnhag, 2015.\n###\n\n'use strict'\n... | app/scripts/main.coffee | awarn/popup-crypt | 0 | ###
*
* Web Starter Kit
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
... | 62350 | ###
*
* Web Starter Kit
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
... | true | ###
*
* Web Starter Kit
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.9998602271080017,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
},
{
"context": " @setter_name_for = (key) ->\n example_key = \"full_nam... | source/core.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# 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, merge, publish... | 76809 | #
# Copyright (c) 2012 <NAME>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribut... | true | #
# Copyright (c) 2012 PI:NAME:<NAME>END_PI.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... |
[
{
"context": "rom Last.fm\nlastFMrequest = () ->\n username = 'paul_r_schaefer'\n API_key = '0f680404e39c821cac34008cc4d803db'",
"end": 158,
"score": 0.9996594786643982,
"start": 143,
"tag": "USERNAME",
"value": "paul_r_schaefer"
},
{
"context": ">\n username = 'paul_r_schae... | public/js/main.coffee | pschfr/now-playing | 3 | # Used in development
debug = false
# Initiate timer variable
timer = ''
# Load scrobbles from Last.fm
lastFMrequest = () ->
username = 'paul_r_schaefer'
API_key = '0f680404e39c821cac34008cc4d803db'
lastFM_URL = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=' + username + '&api_key=... | 25571 | # Used in development
debug = false
# Initiate timer variable
timer = ''
# Load scrobbles from Last.fm
lastFMrequest = () ->
username = 'paul_r_schaefer'
API_key = '<KEY>'
lastFM_URL = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=' + username + '&api_key=' + API_key + '&limit=1&for... | true | # Used in development
debug = false
# Initiate timer variable
timer = ''
# Load scrobbles from Last.fm
lastFMrequest = () ->
username = 'paul_r_schaefer'
API_key = 'PI:KEY:<KEY>END_PI'
lastFM_URL = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=' + username + '&api_key=' + API_key + ... |
[
{
"context": "titutionUsers', ->\n\t\tbeforeEach ->\n\t\t\t@user1Id = '123abc123abc123abc123abc'\n\t\t\t@user2Id = '456def456def456def456",
"end": 1760,
"score": 0.850145161151886,
"start": 1748,
"tag": "PASSWORD",
"value": "123abc123abc"
},
{
"context": "er1Id = '123abc123abc123abc1... | test/unit/coffee/Institutions/InstitutionsManagerTests.coffee | shyoshyo/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsManager"
expect = require('chai').expect
describe "InstitutionsManager", ->
beforeEach ->
@instituti... | 84097 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsManager"
expect = require('chai').expect
describe "InstitutionsManager", ->
beforeEach ->
@instituti... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsManager"
expect = require('chai').expect
describe "InstitutionsManager", ->
beforeEach ->
@instituti... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992656707763672,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-smalloc.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... | 71457 | # 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": "eady ->\n $submit = $('#submit')\n username = $('#username').val()\n token = $('#token').val()\n $password =",
"end": 71,
"score": 0.7704900503158569,
"start": 63,
"tag": "USERNAME",
"value": "username"
},
{
"context": "').val()\n token = $('#token').val()\n $pass... | app/assets/javascripts/resetPassword.coffee | ojny/oj_web | 2 | $(document).ready ->
$submit = $('#submit')
username = $('#username').val()
token = $('#token').val()
$password = $('#password')
$password2 = $('#password2')
$('#reset-password').submit ->
if $password.val() != $password2.val()
toastr.error "Passwords are different."
return false
disable... | 159978 | $(document).ready ->
$submit = $('#submit')
username = $('#username').val()
token = $('#token').val()
$password = <PASSWORD>')
$password2 = $('#<PASSWORD>')
$('#reset-password').submit ->
if $password.val() != $password2.val()
toastr.error "Passwords are different."
return false
disableB... | true | $(document).ready ->
$submit = $('#submit')
username = $('#username').val()
token = $('#token').val()
$password = PI:PASSWORD:<PASSWORD>END_PI')
$password2 = $('#PI:PASSWORD:<PASSWORD>END_PI')
$('#reset-password').submit ->
if $password.val() != $password2.val()
toastr.error "Passwords are differe... |
[
{
"context": "ase\n username: userCookie\n password: passwordCookie\n .then ->\n Promise.resolve()\n else",
"end": 871,
"score": 0.9978507161140442,
"start": 857,
"tag": "PASSWORD",
"value": "passwordCookie"
}
] | _attachments/app/models/User.coffee | Coconut-Data/coconut-mobile | 0 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
global.Cookie = require 'js-cookie'
class User extends Backbone.Model
url: "/user"
username: ->
@get("_id").replace(/^user\./,"")
district: ->
@get("district")
isAdmin: ->
_(@get("roles")).include "admin"... | 160705 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
global.Cookie = require 'js-cookie'
class User extends Backbone.Model
url: "/user"
username: ->
@get("_id").replace(/^user\./,"")
district: ->
@get("district")
isAdmin: ->
_(@get("roles")).include "admin"... | true | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
global.Cookie = require 'js-cookie'
class User extends Backbone.Model
url: "/user"
username: ->
@get("_id").replace(/^user\./,"")
district: ->
@get("district")
isAdmin: ->
_(@get("roles")).include "admin"... |
[
{
"context": "art of butterfly\n#\n# butterfly Copyright (C) 2014 Florian Mounier\n# This program is free software: you can redistri",
"end": 106,
"score": 0.9998512268066406,
"start": 91,
"tag": "NAME",
"value": "Florian Mounier"
}
] | butterfly/coffees/main.coffee | binRick/thc.digital | 0 | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 Florian Mounier
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (... | 128673 | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 <NAME>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your o... | true | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 PI:NAME:<NAME>END_PI
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, o... |
[
{
"context": " (Darwin)\nComment: GPGTools - http://gpgtools.org\n\nowEBRAK7/ZANAwACAS/gHEVDSNo5AcsbYgBTBq2LR28gcmV0cm8gbGlrZSBXb3hp\nZHUKiQIVAwUAUwatiy/gHEVDSNo5AQIjZA/+M9tnFjf0EOVOwUHYS6AYfk6rpgoP\nSJcGNxpflU6nMA92AiMexlp7iyBPe7ZklkDclMNAaxelR6e9jLIEckm9qq6qw0vP\ni5XhbwJnqVh0cYn+AG/PKrlxZk6ULpmFw2MRfcnftW6f3H... | test/files/sig_v3.iced | johnnyRose/kbpgp | 1 | testing_unixtime = Math.floor(new Date(2014, 2, 20)/1000)
{KeyManager} = require '../../'
{do_message,Processor} = require '../../lib/openpgp/processor'
#==================================================================
sigs = [
{
sig : """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
C... | 107241 | testing_unixtime = Math.floor(new Date(2014, 2, 20)/1000)
{KeyManager} = require '../../'
{do_message,Processor} = require '../../lib/openpgp/processor'
#==================================================================
sigs = [
{
sig : """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
C... | true | testing_unixtime = Math.floor(new Date(2014, 2, 20)/1000)
{KeyManager} = require '../../'
{do_message,Processor} = require '../../lib/openpgp/processor'
#==================================================================
sigs = [
{
sig : """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
C... |
[
{
"context": "pingFactor = 0.3;\n controls.keys = [65, 83, 68];\n controls.addEventListener('change'",
"end": 9170,
"score": 0.9166293740272522,
"start": 9158,
"tag": "KEY",
"value": "65, 83, 68];"
}
] | packages/custom/transparency/coffee/public/directives/austrianMapDirective.coffee | AnotherCodeArtist/medien-transparenz.at | 3 | 'use strict'
app = angular.module 'mean.transparency'
app.directive 'austrianMap', ($rootScope, TPAService) ->
restrict: 'EA'
scope:
data: '='
link: ($scope,element,attrs) ->
$rootScope.showTooltip = true;
initialized = false
transferSums = {}
json = {}
... | 129926 | 'use strict'
app = angular.module 'mean.transparency'
app.directive 'austrianMap', ($rootScope, TPAService) ->
restrict: 'EA'
scope:
data: '='
link: ($scope,element,attrs) ->
$rootScope.showTooltip = true;
initialized = false
transferSums = {}
json = {}
... | true | 'use strict'
app = angular.module 'mean.transparency'
app.directive 'austrianMap', ($rootScope, TPAService) ->
restrict: 'EA'
scope:
data: '='
link: ($scope,element,attrs) ->
$rootScope.showTooltip = true;
initialized = false
transferSums = {}
json = {}
... |
[
{
"context": "ingGambitDamageNearbyForAttack\"\n\n\t@modifierName: \"Opening Gambit\"\n\t@description: \"ALL nearby minions deal damage t",
"end": 406,
"score": 0.9196373820304871,
"start": 392,
"tag": "NAME",
"value": "Opening Gambit"
}
] | app/sdk/modifiers/modifierOpeningGambitDamageNearbyForAttack.coffee | willroberts/duelyst | 5 | ModifierOpeningGambit = require './modifierOpeningGambit'
DamageAction = require 'app/sdk/actions/damageAction'
CardType = require 'app/sdk/cards/cardType'
Modifier = require './modifier'
class ModifierOpeningGambitDamageNearbyForAttack extends ModifierOpeningGambit
type: "ModifierOpeningGambitDamageNearbyForAttack"... | 91513 | ModifierOpeningGambit = require './modifierOpeningGambit'
DamageAction = require 'app/sdk/actions/damageAction'
CardType = require 'app/sdk/cards/cardType'
Modifier = require './modifier'
class ModifierOpeningGambitDamageNearbyForAttack extends ModifierOpeningGambit
type: "ModifierOpeningGambitDamageNearbyForAttack"... | true | ModifierOpeningGambit = require './modifierOpeningGambit'
DamageAction = require 'app/sdk/actions/damageAction'
CardType = require 'app/sdk/cards/cardType'
Modifier = require './modifier'
class ModifierOpeningGambitDamageNearbyForAttack extends ModifierOpeningGambit
type: "ModifierOpeningGambitDamageNearbyForAttack"... |
[
{
"context": "ey: 'I7GcKlS4hnVloq9vLyvfQ'\n consumer_secret: 'N0eoeNkSufsKsnpywjKZsZeK6DrqA7Jhr7kW6I'\n scope: 'https://api.twitter.com/1.1/'\n ap",
"end": 1099,
"score": 0.999661386013031,
"start": 1061,
"tag": "KEY",
"value": "N0eoeNkSufsKsnpywjKZsZeK6DrqA7Jhr7kW6I"
},
{
"... | src/coffee/eventPage.coffee | yonchu/vimmers-follow-status | 3 | class Background
constructor: (@commands) ->
@addEventListeners()
addEventListeners: ->
chrome.runtime.onMessage.addListener (request, sender, sendResponse) =>
if sender.tab
console.log "from a content script: #{sender.tab.url}"
else
console.log "from the extension"
target... | 66655 | class Background
constructor: (@commands) ->
@addEventListeners()
addEventListeners: ->
chrome.runtime.onMessage.addListener (request, sender, sendResponse) =>
if sender.tab
console.log "from a content script: #{sender.tab.url}"
else
console.log "from the extension"
target... | true | class Background
constructor: (@commands) ->
@addEventListeners()
addEventListeners: ->
chrome.runtime.onMessage.addListener (request, sender, sendResponse) =>
if sender.tab
console.log "from a content script: #{sender.tab.url}"
else
console.log "from the extension"
target... |
[
{
"context": "key}\"\n\n initialize: (options) ->\n @key = 'popular'\n @query = options.query\n @id = options",
"end": 348,
"score": 0.9924149513244629,
"start": 341,
"tag": "KEY",
"value": "popular"
}
] | app/assets/javascripts/backbone/models/searchresult.js.coffee | vacaybug/vacaybug | 0 | jQuery ->
Vacaybug = window.Vacaybug ? {}
class SearchResultCollection extends window.Vacaybug.GenericCollection
model: window.Vacaybug.GuideModel
restURL: ->
"/rest/search/search"
queryParams: ->
"#{super()}&query=#{encodeURIComponent(@query)}&id=#{@id}&key=#{@key}"
initialize: (optio... | 144916 | jQuery ->
Vacaybug = window.Vacaybug ? {}
class SearchResultCollection extends window.Vacaybug.GenericCollection
model: window.Vacaybug.GuideModel
restURL: ->
"/rest/search/search"
queryParams: ->
"#{super()}&query=#{encodeURIComponent(@query)}&id=#{@id}&key=#{@key}"
initialize: (optio... | true | jQuery ->
Vacaybug = window.Vacaybug ? {}
class SearchResultCollection extends window.Vacaybug.GenericCollection
model: window.Vacaybug.GuideModel
restURL: ->
"/rest/search/search"
queryParams: ->
"#{super()}&query=#{encodeURIComponent(@query)}&id=#{@id}&key=#{@key}"
initialize: (optio... |
[
{
"context": ", 'app', 'files'], coffeeLintConfig\n\n\t\tif key is 'spaJade'\n\t\t\tcopyDevConfig.src = path.join(dirname, \"#{bas",
"end": 14597,
"score": 0.8514201641082764,
"start": 14590,
"tag": "KEY",
"value": "spaJade"
},
{
"context": "dirname, \"#{basename}.{jade,html}\")\n\n\... | Gruntfile.coffee | jceverritt/AngularFun-master | 0 | path = require 'path'
# Build configurations
module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
require('time-grunt')(grunt)
pkg = require './package.json'
grunt.initConfig
settings:
distDirectory: 'dist'
srcDirectory: 'src'
tempDirectory: '.temp'
# Gets dependent components from bower
... | 58052 | path = require 'path'
# Build configurations
module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
require('time-grunt')(grunt)
pkg = require './package.json'
grunt.initConfig
settings:
distDirectory: 'dist'
srcDirectory: 'src'
tempDirectory: '.temp'
# Gets dependent components from bower
... | true | path = require 'path'
# Build configurations
module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
require('time-grunt')(grunt)
pkg = require './package.json'
grunt.initConfig
settings:
distDirectory: 'dist'
srcDirectory: 'src'
tempDirectory: '.temp'
# Gets dependent components from bower
... |
[
{
"context": "ileoverview Tests for dot-notation rule.\n# @author Josh Perez\n###\n\n'use strict'\n\n#-----------------------------",
"end": 70,
"score": 0.9998437166213989,
"start": 60,
"tag": "NAME",
"value": "Josh Perez"
}
] | src/tests/rules/dot-notation.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for dot-notation rule.
# @author Josh Perez
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/dot-notation'
{RuleTester}... | 30252 | ###*
# @fileoverview Tests for dot-notation rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/dot-notation'
{RuleTester} = r... | true | ###*
# @fileoverview Tests for dot-notation rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/dot-notation'
{R... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998614192008972,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/ContentCache.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
# This object lets you manage a number of content objects which are uniquely identifiable with some
# string or integer identifier in such a way that you can simply query them frequently and load... | 4080 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
# This object lets you manage a number of content objects which are uniquely identifiable with some
# string or integer identifier in such a way that you can simply query them frequently and loading/un... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
# This object lets you manage a number of content objects which are uniquely identifiable with some
# string or integer identifier in such a way that you can simply query them frequently ... |
[
{
"context": "y to rock!'\n return\n # See https://github.com/Polymer/polymer/issues/1381\n window.addEventListener 'We",
"end": 1515,
"score": 0.9993410110473633,
"start": 1508,
"tag": "USERNAME",
"value": "Polymer"
},
{
"context": "er()\n return\n\n app.myListItems = [\n ... | public/javascripts/app.coffee | mafiuss/sandcat | 1 | ###
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.g... | 66120 | ###
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.g... | true | ###
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.g... |
[
{
"context": "ts: =>\n @props.tokens.map (item) =>\n key = @props.tokenKey(item)\n valid = true\n if @props.tokenIsV",
"end": 10658,
"score": 0.6704034209251404,
"start": 10643,
"tag": "KEY",
"value": "@props.tokenKey"
}
] | app/src/components/tokenizing-text-field.cjsx | immershy/nodemail | 0 | React = require 'react'
ReactDOM = require 'react-dom'
classNames = require 'classnames'
_ = require 'underscore'
{CompositeDisposable} = require 'event-kit'
{Utils,
Contact,
RegExpUtils} = require 'nylas-exports'
RetinaImg = require './retina-img'
class SizeToFitInput extends React.Component
constructor: (@props)... | 95842 | React = require 'react'
ReactDOM = require 'react-dom'
classNames = require 'classnames'
_ = require 'underscore'
{CompositeDisposable} = require 'event-kit'
{Utils,
Contact,
RegExpUtils} = require 'nylas-exports'
RetinaImg = require './retina-img'
class SizeToFitInput extends React.Component
constructor: (@props)... | true | React = require 'react'
ReactDOM = require 'react-dom'
classNames = require 'classnames'
_ = require 'underscore'
{CompositeDisposable} = require 'event-kit'
{Utils,
Contact,
RegExpUtils} = require 'nylas-exports'
RetinaImg = require './retina-img'
class SizeToFitInput extends React.Component
constructor: (@props)... |
[
{
"context": "--------------------\n\n // created by: ${2:Alessandro Muraro} ( ${3:akmuraro@gmail.com} )\n // creation ",
"end": 232,
"score": 0.9998783469200134,
"start": 215,
"tag": "NAME",
"value": "Alessandro Muraro"
},
{
"context": " // created by: ${2:Alessa... | snippets/comment.cson | akmur/atom-sass-style-comments | 0 | '.source.scss, .source.sass, .source.js':
'Comment Section Title':
'prefix': 'c-t'
'body': '''
// --------------------------- ${1:Title} ------------------------------
// created by: ${2:Alessandro Muraro} ( ${3:akmuraro@gmail.com} )
// creation data: ${4: 00 Month 2016}
//... | 119473 | '.source.scss, .source.sass, .source.js':
'Comment Section Title':
'prefix': 'c-t'
'body': '''
// --------------------------- ${1:Title} ------------------------------
// created by: ${2:<NAME>} ( ${3:<EMAIL>} )
// creation data: ${4: 00 Month 2016}
// upadate by: ${2:<NAM... | true | '.source.scss, .source.sass, .source.js':
'Comment Section Title':
'prefix': 'c-t'
'body': '''
// --------------------------- ${1:Title} ------------------------------
// created by: ${2:PI:NAME:<NAME>END_PI} ( ${3:PI:EMAIL:<EMAIL>END_PI} )
// creation data: ${4: 00 Month 2016}
... |
[
{
"context": "#\t> File Name: discuss.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: S",
"end": 44,
"score": 0.9992979764938354,
"start": 42,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "File Name: discuss.coffee\n#\t> Author: LY\n#\t> Mail: ly.frank... | server/views/src/coffee/discuss.coffee | Booker-Z/MIAC-website | 0 | # > File Name: discuss.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Saturday, December 06, 2014 PM03:36:38 CST
$('.up').click ->
discussionId = $(@).attr('discussion-id')
$.post '/Discuss/up', { discussionId: discussionId }, (data)->
alert data.result + '\n' + (data.msg if data... | 191515 | # > File Name: discuss.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Saturday, December 06, 2014 PM03:36:38 CST
$('.up').click ->
discussionId = $(@).attr('discussion-id')
$.post '/Discuss/up', { discussionId: discussionId }, (data)->
alert data.result + '\n' + (data.msg if data.msg)
... | true | # > File Name: discuss.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Saturday, December 06, 2014 PM03:36:38 CST
$('.up').click ->
discussionId = $(@).attr('discussion-id')
$.post '/Discuss/up', { discussionId: discussionId }, (data)->
alert data.result + '\n' + (data.msg if d... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998777508735657,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | examples/simple.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 194100 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
###
in... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": "lintIdentifier: (token, tokenApi) ->\n key = token[1]\n\n # Class names might not be in a scope\n ",
"end": 927,
"score": 0.9957132339477539,
"start": 919,
"tag": "KEY",
"value": "token[1]"
},
{
"context": "d \"something\" are not the same thing\n ... | src/rules/duplicate_key.coffee | AsaAyers/coffeelint | 0 |
module.exports = class DuplicateKey
rule:
# I don't know of any legitimate reason to define duplicate keys in an
# object. It seems to always be a mistake, it's also a syntax error in
# strict mode.
# See http://jslinterrors.com/duplicate-key-a/
name: 'duplicate_key'
... | 32899 |
module.exports = class DuplicateKey
rule:
# I don't know of any legitimate reason to define duplicate keys in an
# object. It seems to always be a mistake, it's also a syntax error in
# strict mode.
# See http://jslinterrors.com/duplicate-key-a/
name: 'duplicate_key'
... | true |
module.exports = class DuplicateKey
rule:
# I don't know of any legitimate reason to define duplicate keys in an
# object. It seems to always be a mistake, it's also a syntax error in
# strict mode.
# See http://jslinterrors.com/duplicate-key-a/
name: 'duplicate_key'
... |
[
{
"context": "s to get different\n# result.\n\nkeyAndIdsPackets = 'c652045b6f142613082a8648ce3d030107020304a54bdb6b6f7c145f584c3cf33ba9894b16708b3707310df27625546d2b10310a4ac4b23c516c8ceb4f38aa96a21e02c8717480c831095a2a287317d8e03e3c22cd264d69636861c582205067702054657374203c6e6f742d7a617075406b6579626173652e696... | test/files/subkey_multiple_sigs.iced | samkenxstream/kbpgp | 464 | C = require('../../lib/const').openpgp
{KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{Message} = require '../../lib/openpgp/armor'
{make_esc} = require 'iced-error'
# Keep key in parts that we concatenate in different ways to get different
# result.
keyAndIdsPackets = 'c... | 55636 | C = require('../../lib/const').openpgp
{KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{Message} = require '../../lib/openpgp/armor'
{make_esc} = require 'iced-error'
# Keep key in parts that we concatenate in different ways to get different
# result.
keyAndIdsPackets = '<... | true | C = require('../../lib/const').openpgp
{KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{Message} = require '../../lib/openpgp/armor'
{make_esc} = require 'iced-error'
# Keep key in parts that we concatenate in different ways to get different
# result.
keyAndIdsPackets = 'P... |
[
{
"context": "home controller shows the start view.\n\n @author Sebastian Sachtleben\n###\nclass HomeController extends BaseController\n\n",
"end": 138,
"score": 0.9998869895935059,
"start": 118,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/site/controllers/home.coffee | ssachtleben/herowar | 1 | BaseController = require 'controllers/baseController'
###
The home controller shows the start view.
@author Sebastian Sachtleben
###
class HomeController extends BaseController
views:
'views/header' : ''
'views/home' : ''
return HomeController | 149681 | BaseController = require 'controllers/baseController'
###
The home controller shows the start view.
@author <NAME>
###
class HomeController extends BaseController
views:
'views/header' : ''
'views/home' : ''
return HomeController | true | BaseController = require 'controllers/baseController'
###
The home controller shows the start view.
@author PI:NAME:<NAME>END_PI
###
class HomeController extends BaseController
views:
'views/header' : ''
'views/home' : ''
return HomeController |
[
{
"context": " ### a=b ###\n\n key = keyval.split('=', 1)[0]\n\n ### If the key is blank, eg. \"#path?a=b&=",
"end": 2943,
"score": 0.60211580991745,
"start": 2942,
"tag": "KEY",
"value": "0"
},
{
"context": "lit('=', 1)[0]\n\n ### If the key is blank, eg. \"#path... | app/javascript/src/legacy/browser-url-hash.coffee | AstroAntics/moebooru | 0 | window.UrlHashHandler = ->
@observers = new Hash
@normalize = (h) ->
@denormalize = (h) ->
@deferred_sets = []
@deferred_replace = false
@current_hash = @parse(@get_raw_hash())
@normalize @current_hash
### The last value received by the hashchange event: ###
@last_hashchange = @current_hash.clone... | 108664 | window.UrlHashHandler = ->
@observers = new Hash
@normalize = (h) ->
@denormalize = (h) ->
@deferred_sets = []
@deferred_replace = false
@current_hash = @parse(@get_raw_hash())
@normalize @current_hash
### The last value received by the hashchange event: ###
@last_hashchange = @current_hash.clone... | true | window.UrlHashHandler = ->
@observers = new Hash
@normalize = (h) ->
@denormalize = (h) ->
@deferred_sets = []
@deferred_replace = false
@current_hash = @parse(@get_raw_hash())
@normalize @current_hash
### The last value received by the hashchange event: ###
@last_hashchange = @current_hash.clone... |
[
{
"context": "e CMS helpers\n#\n# Nodize CMS\n# https://github.com/hypee/nodize\n#\n# Copyright 2013, Hypee\n# http://hypee.c",
"end": 98,
"score": 0.9994433522224426,
"start": 93,
"tag": "USERNAME",
"value": "hypee"
},
{
"context": "ttps://github.com/hypee/nodize\n#\n# Copyright 201... | modules/ionize/libs/jade_helpers_filters.coffee | nodize/nodizecms | 32 | # Monkey patching Jade to allow using Nodize CMS helpers
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2013, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
jade = require "jade"
#
# Adding helpers compatibility to Jade templates,
# Creating ... | 91254 | # Monkey patching Jade to allow using Nodize CMS helpers
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2013, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
jade = require "jade"
#
# Adding helpers compatibility to Jade templates,
# Creating... | true | # Monkey patching Jade to allow using Nodize CMS helpers
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2013, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
jade = require "jade"
#
# Adding helpers compatibility to Jade templat... |
[
{
"context": "ail address to signup'\n u :\n aliases : [ 'username' ]\n help : 'the username to signup as'\n\n #-",
"end": 814,
"score": 0.9281525015830994,
"start": 806,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n pwh : @pwh.toString('hex')\n u... | src/command/join.iced | AngelKey/Angelkey.nodeclient | 151 | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{E} = require '../err'
{prompt_yn,Prompter} = require '../prompter'
{checkers} = require '../checkers'
{make_esc} = require 'iced-error'
triplesec = requir... | 6952 | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{E} = require '../err'
{prompt_yn,Prompter} = require '../prompter'
{checkers} = require '../checkers'
{make_esc} = require 'iced-error'
triplesec = requir... | true | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{E} = require '../err'
{prompt_yn,Prompter} = require '../prompter'
{checkers} = require '../checkers'
{make_esc} = require 'iced-error'
triplesec = requir... |
[
{
"context": " getNode = (name,nodeType) ->\n key = \"#{name}-#{nodeType}\"\n if not nodes[key]\n nod",
"end": 23330,
"score": 0.9604167342185974,
"start": 23309,
"tag": "KEY",
"value": "\"#{name}-#{nodeType}\""
}
] | packages/custom/transparency/coffee/public/controllers/flowController.coffee | AnotherCodeArtist/medien-transparenz.at | 3 | 'use strict'
app = angular.module 'mean.transparency'
app.filter('searchFilter', ['$sce', 'gettextCatalog', ($sce, gettextCatalog) ->
(label, query, item, options, element) ->
#console.log "searchFilter"+item.name
html = """<span class="label #{if item.groupType is 'public' then 'label-danger' els... | 74975 | 'use strict'
app = angular.module 'mean.transparency'
app.filter('searchFilter', ['$sce', 'gettextCatalog', ($sce, gettextCatalog) ->
(label, query, item, options, element) ->
#console.log "searchFilter"+item.name
html = """<span class="label #{if item.groupType is 'public' then 'label-danger' els... | true | 'use strict'
app = angular.module 'mean.transparency'
app.filter('searchFilter', ['$sce', 'gettextCatalog', ($sce, gettextCatalog) ->
(label, query, item, options, element) ->
#console.log "searchFilter"+item.name
html = """<span class="label #{if item.groupType is 'public' then 'label-danger' els... |
[
{
"context": "\n# @fileoverview Tests for max-len rule.\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n\n'use strict'\n\n#-",
"end": 66,
"score": 0.9998372793197632,
"start": 55,
"tag": "NAME",
"value": "Matt DuVall"
},
{
"context": "check indented comment lines - https://g... | src/tests/rules/max-len.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for max-len rule.
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/max... | 21863 | ###*
# @fileoverview Tests for max-len rule.
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/max-len'... | true | ###*
# @fileoverview Tests for max-len rule.
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../... |
[
{
"context": "onstructor: -> \n @username = ko.observable 'max'\n @password = ko.observable 'abc'\n\n @mayLog",
"end": 149,
"score": 0.9993133544921875,
"start": 146,
"tag": "USERNAME",
"value": "max"
},
{
"context": "o.observable 'max'\n @password = ko.observable 'abc... | app/scripts/pages/login/login.coffee | Welfenlab/tutor-corrector | 0 | ko = require 'knockout'
app = require '../../app'
api = require '../../api'
class ViewModel
constructor: ->
@username = ko.observable 'max'
@password = ko.observable 'abc'
@mayLogin = ko.computed => @username() isnt '' and @password() isnt ''
@isLoggingIn = ko.observable no
@error = ko.obs... | 69290 | ko = require 'knockout'
app = require '../../app'
api = require '../../api'
class ViewModel
constructor: ->
@username = ko.observable 'max'
@password = ko.observable '<PASSWORD>'
@mayLogin = ko.computed => @username() isnt '' and @password() isnt ''
@isLoggingIn = ko.observable no
@error =... | true | ko = require 'knockout'
app = require '../../app'
api = require '../../api'
class ViewModel
constructor: ->
@username = ko.observable 'max'
@password = ko.observable 'PI:PASSWORD:<PASSWORD>END_PI'
@mayLogin = ko.computed => @username() isnt '' and @password() isnt ''
@isLoggingIn = ko.observabl... |
[
{
"context": " nock('https://api.github.com')\n .get('/users/pgilad')\n .reply 200, pgilad: 'true' # JSON response\n",
"end": 461,
"score": 0.9996204376220703,
"start": 455,
"tag": "USERNAME",
"value": "pgilad"
},
{
"context": "ser = robot.brain.userForId '1', {\n name:... | test/evaluate.coffee | pgilad/hubot-evaluate | 0 | expect = require("chai").expect
path = require("path")
chai = require("chai")
sinon = require("sinon")
chai.use require("sinon-chai")
nock = require('nock')
Robot = require("hubot/src/robot")
TextMessage = require("hubot/src/message").TextMessage
process.env.HUBOT_LOG_LEVEL = 'debug'
describe '... | 43756 | expect = require("chai").expect
path = require("path")
chai = require("chai")
sinon = require("sinon")
chai.use require("sinon-chai")
nock = require('nock')
Robot = require("hubot/src/robot")
TextMessage = require("hubot/src/message").TextMessage
process.env.HUBOT_LOG_LEVEL = 'debug'
describe '... | true | expect = require("chai").expect
path = require("path")
chai = require("chai")
sinon = require("sinon")
chai.use require("sinon-chai")
nock = require('nock')
Robot = require("hubot/src/robot")
TextMessage = require("hubot/src/message").TextMessage
process.env.HUBOT_LOG_LEVEL = 'debug'
describe '... |
[
{
"context": "# Company: Homes Store\n# Author: Douglas Cockerham\n# email: douglas.cockerham@homes-store.com\n# ",
"end": 56,
"score": 0.9998976588249207,
"start": 39,
"tag": "NAME",
"value": "Douglas Cockerham"
},
{
"context": "s Store\n# Author: Douglas Cockerham\n# ... | assets/coffeescript/main.coffee | DouglasCockerham/HomesStore | 0 | # Company: Homes Store
# Author: Douglas Cockerham
# email: douglas.cockerham@homes-store.com
# date: 01-OCT-2014
$('.flash-modal').modal()
$("[data-toggle='tooltip']").tooltip({ animation: true })
$(".bottom").fadeIn(300).delay(2500).fadeOut(300) | 115784 | # Company: Homes Store
# Author: <NAME>
# email: <EMAIL>
# date: 01-OCT-2014
$('.flash-modal').modal()
$("[data-toggle='tooltip']").tooltip({ animation: true })
$(".bottom").fadeIn(300).delay(2500).fadeOut(300) | true | # Company: Homes Store
# Author: PI:NAME:<NAME>END_PI
# email: PI:EMAIL:<EMAIL>END_PI
# date: 01-OCT-2014
$('.flash-modal').modal()
$("[data-toggle='tooltip']").tooltip({ animation: true })
$(".bottom").fadeIn(300).delay(2500).fadeOut(300) |
[
{
"context": "\trequest.setRequestHeader 'X-Auth-Token', Accounts._storedLoginToken()\n\t\t\trequest.setRequestHeader 'X-Space-Id', Steed",
"end": 598,
"score": 0.5242280960083008,
"start": 582,
"tag": "KEY",
"value": "storedLoginToken"
}
] | creator/packages/steedos-creator-autoform-modals/lib/client/object-modal.coffee | baozhoutao/steedos-platform | 10 | oDataOperation = (type, url, data, object_name, operation, other)->
self = this
beforeHook = FormManager.runHook(object_name, operation, 'before', {_id: other._id, formId: other.formId, doc: data})
if !beforeHook
return false;
previousDoc = FormManager.getPreviousDoc(object_name, other._id, operation)
$.ajax
t... | 207015 | oDataOperation = (type, url, data, object_name, operation, other)->
self = this
beforeHook = FormManager.runHook(object_name, operation, 'before', {_id: other._id, formId: other.formId, doc: data})
if !beforeHook
return false;
previousDoc = FormManager.getPreviousDoc(object_name, other._id, operation)
$.ajax
t... | true | oDataOperation = (type, url, data, object_name, operation, other)->
self = this
beforeHook = FormManager.runHook(object_name, operation, 'before', {_id: other._id, formId: other.formId, doc: data})
if !beforeHook
return false;
previousDoc = FormManager.getPreviousDoc(object_name, other._id, operation)
$.ajax
t... |
[
{
"context": " v: API_VERSION\n oauth_token: token\n venueId: venueid\n success: (",
"end": 3187,
"score": 0.4187012314796448,
"start": 3182,
"tag": "PASSWORD",
"value": "token"
}
] | app/assets/javascripts/search/VenueActionPopovers/ExportAction.js.coffee | Gavin-X/4sweep | 12 | #= require search/VenueActionPopovers/VenueActionPopover
class ExportAction extends VenueActionPopover
requireSelectedCount: 1
template: "explore/massflags/export"
userCreatedLists: (options = {}) ->
return options.success?(@createdListCache) if @createdListCache
$.ajax
url: "https://api.foursquar... | 34119 | #= require search/VenueActionPopovers/VenueActionPopover
class ExportAction extends VenueActionPopover
requireSelectedCount: 1
template: "explore/massflags/export"
userCreatedLists: (options = {}) ->
return options.success?(@createdListCache) if @createdListCache
$.ajax
url: "https://api.foursquar... | true | #= require search/VenueActionPopovers/VenueActionPopover
class ExportAction extends VenueActionPopover
requireSelectedCount: 1
template: "explore/massflags/export"
userCreatedLists: (options = {}) ->
return options.success?(@createdListCache) if @createdListCache
$.ajax
url: "https://api.foursquar... |
[
{
"context": "G.host,\n user: DBCONFIG.user,\n password: DBCONFIG.password,\n database: DBCONFIG.name,\n port: DBCON",
"end": 435,
"score": 0.9994201064109802,
"start": 418,
"tag": "PASSWORD",
"value": "DBCONFIG.password"
}
] | node_modules/konsserto/lib/src/Konsserto/Component/EntityManager/Adapter/MysqlAdapter.coffee | konsserto/konsserto | 2 | MySql = use('mysql')
DBCONFIG = use('/app/config/config').database
cc = use('cli-color')
Q = use('q')
class MysqlAdapter
@INSTANCE = undefined
@CONNECTION = undefined
@getInstance: ()->
if !@INSTANCE
@INSTANCE = new @
@connect()
return @INSTANCE
@connect: ()->
MysqlAdapter.CONNECTION... | 126726 | MySql = use('mysql')
DBCONFIG = use('/app/config/config').database
cc = use('cli-color')
Q = use('q')
class MysqlAdapter
@INSTANCE = undefined
@CONNECTION = undefined
@getInstance: ()->
if !@INSTANCE
@INSTANCE = new @
@connect()
return @INSTANCE
@connect: ()->
MysqlAdapter.CONNECTION... | true | MySql = use('mysql')
DBCONFIG = use('/app/config/config').database
cc = use('cli-color')
Q = use('q')
class MysqlAdapter
@INSTANCE = undefined
@CONNECTION = undefined
@getInstance: ()->
if !@INSTANCE
@INSTANCE = new @
@connect()
return @INSTANCE
@connect: ()->
MysqlAdapter.CONNECTION... |
[
{
"context": "alse\n\n model: () ->\n [\n {\n name: 'Sven Fuchs'\n title: 'The Original Builder'\n ha",
"end": 178,
"score": 0.9998896718025208,
"start": 168,
"tag": "NAME",
"value": "Sven Fuchs"
},
{
"context": " title: 'The Original Builder'\n ... | app/routes/team.coffee | 2947721120/travis-web | 0 | `import Ember from 'ember'`
`import TravisRoute from 'travis/routes/basic'`
Route = TravisRoute.extend
needsAuth: false
model: () ->
[
{
name: 'Sven Fuchs'
title: 'The Original Builder'
handle: 'svenfuchs'
nationality: 'germany'
country: 'germany'
image: '... | 93004 | `import Ember from 'ember'`
`import TravisRoute from 'travis/routes/basic'`
Route = TravisRoute.extend
needsAuth: false
model: () ->
[
{
name: '<NAME>'
title: 'The Original Builder'
handle: 'svenfuchs'
nationality: 'germany'
country: 'germany'
image: 'sven... | true | `import Ember from 'ember'`
`import TravisRoute from 'travis/routes/basic'`
Route = TravisRoute.extend
needsAuth: false
model: () ->
[
{
name: 'PI:NAME:<NAME>END_PI'
title: 'The Original Builder'
handle: 'svenfuchs'
nationality: 'germany'
country: 'germany'
... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.999874472618103,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/grid.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 207607 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "s!\n# Entry for the GitHub Game Off 2013\n# Author : Paul Joannon for H-Bomb\n# <paul.joannon@gmail.com>\n##\n#####\n\nc",
"end": 85,
"score": 0.9998572468757629,
"start": 73,
"tag": "NAME",
"value": "Paul Joannon"
},
{
"context": "e GitHub Game Off 2013\n# Author : Pau... | assets/js/coffee/game.coffee | MySweetWhomp/demcreepers | 1 | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : Paul Joannon for H-Bomb
# <paul.joannon@gmail.com>
##
#####
class DrawBatch
constructor : ->
@_toDraw = []
add : (elem) =>
if jaws.isArray elem
_.map elem, (e) =>
@_toDraw.push e
else
... | 32438 | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : <NAME> for <NAME>
# <<EMAIL>>
##
#####
class DrawBatch
constructor : ->
@_toDraw = []
add : (elem) =>
if jaws.isArray elem
_.map elem, (e) =>
@_toDraw.push e
else
@_toDraw.p... | true | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : PI:NAME:<NAME>END_PI for PI:NAME:<NAME>END_PI
# <PI:EMAIL:<EMAIL>END_PI>
##
#####
class DrawBatch
constructor : ->
@_toDraw = []
add : (elem) =>
if jaws.isArray elem
_.map elem, (e) =>
@_toDraw... |
[
{
"context": "m popular definition for the term.\n#\n# Author:\n# Kevin Qiu\n#\n# FIXME merge with urban.coffee\n\njsdom = requir",
"end": 246,
"score": 0.9998505711555481,
"start": 237,
"tag": "NAME",
"value": "Kevin Qiu"
}
] | src/scripts/whatis.coffee | contolini/hubot-scripts | 1,450 | # Description:
# None
#
# Dependencies:
# "jsdom": "0.2.14"
#
# Configuration:
# None
#
# Commands:
# hubot whatis <term> - search the term on urbandictionary.com and get a random popular definition for the term.
#
# Author:
# Kevin Qiu
#
# FIXME merge with urban.coffee
jsdom = require('jsdom').jsdom
module... | 113403 | # Description:
# None
#
# Dependencies:
# "jsdom": "0.2.14"
#
# Configuration:
# None
#
# Commands:
# hubot whatis <term> - search the term on urbandictionary.com and get a random popular definition for the term.
#
# Author:
# <NAME>
#
# FIXME merge with urban.coffee
jsdom = require('jsdom').jsdom
module.ex... | true | # Description:
# None
#
# Dependencies:
# "jsdom": "0.2.14"
#
# Configuration:
# None
#
# Commands:
# hubot whatis <term> - search the term on urbandictionary.com and get a random popular definition for the term.
#
# Author:
# PI:NAME:<NAME>END_PI
#
# FIXME merge with urban.coffee
jsdom = require('jsdom').js... |
[
{
"context": " requestAnimFrame shim\n copy the one from paul irish\n###\nwindow.requestAnimFrame = do ->\n window.requ",
"end": 93,
"score": 0.5058414936065674,
"start": 90,
"tag": "NAME",
"value": "ish"
}
] | src/waveform.coffee | samcrosoft/waveformjs | 6 | Observant = require('observant')
###
requestAnimFrame shim
copy the one from paul irish
###
window.requestAnimFrame = do ->
window.requestAnimationFrame or window.webkitRequestAnimationFrame or window.mozRequestAnimationFrame or window.oRequestAnimationFrame or window.msRequestAnimationFrame or (callback) ->
... | 118850 | Observant = require('observant')
###
requestAnimFrame shim
copy the one from paul ir<NAME>
###
window.requestAnimFrame = do ->
window.requestAnimationFrame or window.webkitRequestAnimationFrame or window.mozRequestAnimationFrame or window.oRequestAnimationFrame or window.msRequestAnimationFrame or (callback) ->... | true | Observant = require('observant')
###
requestAnimFrame shim
copy the one from paul irPI:NAME:<NAME>END_PI
###
window.requestAnimFrame = do ->
window.requestAnimationFrame or window.webkitRequestAnimationFrame or window.mozRequestAnimationFrame or window.oRequestAnimationFrame or window.msRequestAnimationFrame or... |
[
{
"context": "rogress bar, according to Material Design\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\n{View} = requir",
"end": 92,
"score": 0.9998828768730164,
"start": 81,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "l Design\n\n@author Roelof Roos (https://g... | lib/views/progressbar.coffee | roelofr/php-report | 0 | ###
PHP Report
indeterminate progress bar, according to Material Design
@author Roelof Roos (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class Progressbar extends View
@content: ->
@div class: 'php-report__progress', =>
@div class: 'php-report__progress-inn... | 148363 | ###
PHP Report
indeterminate progress bar, according to Material Design
@author <NAME> (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class Progressbar extends View
@content: ->
@div class: 'php-report__progress', =>
@div class: 'php-report__progress-inner', ... | true | ###
PHP Report
indeterminate progress bar, according to Material Design
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class Progressbar extends View
@content: ->
@div class: 'php-report__progress', =>
@div class: 'php-report__pro... |
[
{
"context": "###\n fixtures\n###\nusername = \"user1@tiktai.lt\"\nuser = Meteor.users.findOne($or: [{username: use",
"end": 46,
"score": 0.9999241828918457,
"start": 31,
"tag": "EMAIL",
"value": "user1@tiktai.lt"
},
{
"context": "i.lt\"\nuser = Meteor.users.findOne($or: [{username:... | src/packages/carpool-api/carpool-api-tests.coffee | ArnoldasSid/vilnius-carpool | 11 | ###
fixtures
###
username = "user1@tiktai.lt"
user = Meteor.users.findOne($or: [{username: username},{"emails.address" : username}]);
if user
userId = user._id
else
userId = Accounts.createUser
username: username
password: "aaa"
id = Locations.insert {
tsi: new Date()
userId: userId
loc: [ 25.2721... | 67632 | ###
fixtures
###
username = "<EMAIL>"
user = Meteor.users.findOne($or: [{username: username},{"emails.address" : username}]);
if user
userId = user._id
else
userId = Accounts.createUser
username: username
password: "<PASSWORD>"
id = Locations.insert {
tsi: new Date()
userId: userId
loc: [ 25.27215... | true | ###
fixtures
###
username = "PI:EMAIL:<EMAIL>END_PI"
user = Meteor.users.findOne($or: [{username: username},{"emails.address" : username}]);
if user
userId = user._id
else
userId = Accounts.createUser
username: username
password: "PI:PASSWORD:<PASSWORD>END_PI"
id = Locations.insert {
tsi: new Date()
... |
[
{
"context": " instance of Validator, it's a validator.\n@author: Christopher Thorn\n###\n{check, sanitize} = require 'validator'\n\nmodu",
"end": 227,
"score": 0.9998751878738403,
"start": 210,
"tag": "NAME",
"value": "Christopher Thorn"
}
] | node_modules_koding/bongo/lib/validator/inbuilts.coffee | ezgikaysi/koding | 1 | ###
Bongo.js
Unfancy models for MongoDB
@description: inbuilt validators and filters
@convention: if it's a function, it's a filter, if it's an array,
or an instance of Validator, it's a validator.
@author: Christopher Thorn
###
{check, sanitize} = require 'validator'
module.exports =
email: [
'not an emai... | 198666 | ###
Bongo.js
Unfancy models for MongoDB
@description: inbuilt validators and filters
@convention: if it's a function, it's a filter, if it's an array,
or an instance of Validator, it's a validator.
@author: <NAME>
###
{check, sanitize} = require 'validator'
module.exports =
email: [
'not an email address.'... | true | ###
Bongo.js
Unfancy models for MongoDB
@description: inbuilt validators and filters
@convention: if it's a function, it's a filter, if it's an array,
or an instance of Validator, it's a validator.
@author: PI:NAME:<NAME>END_PI
###
{check, sanitize} = require 'validator'
module.exports =
email: [
'not an e... |
[
{
"context": "r.Model\n # @index [[\"firstName\", \"asc\"], [\"lastName\", \"asc\"]], unique: true\n # \n # @example Emb",
"end": 376,
"score": 0.5956198573112488,
"start": 368,
"tag": "NAME",
"value": "lastName"
}
] | src/tower/model/indexing.coffee | vjsingh/tower | 1 | # @mixin
Tower.Model.Indexing =
ClassMethods:
# Add indexing to the model.
#
# @todo
#
# @example Simple field
# class App.User extends Tower.Model
# @index "ssn", unique: true, background: true
#
# @example Indexing on multiple fields
# class App.User extends Tower.... | 150516 | # @mixin
Tower.Model.Indexing =
ClassMethods:
# Add indexing to the model.
#
# @todo
#
# @example Simple field
# class App.User extends Tower.Model
# @index "ssn", unique: true, background: true
#
# @example Indexing on multiple fields
# class App.User extends Tower.... | true | # @mixin
Tower.Model.Indexing =
ClassMethods:
# Add indexing to the model.
#
# @todo
#
# @example Simple field
# class App.User extends Tower.Model
# @index "ssn", unique: true, background: true
#
# @example Indexing on multiple fields
# class App.User extends Tower.... |
[
{
"context": "()\n token = privateKey.decrypt(encryptedToken).toString()\n\n options =\n baseUrl: @dropboxServiceUr",
"end": 1216,
"score": 0.7141614556312561,
"start": 1208,
"tag": "KEY",
"value": "toString"
}
] | src/services/dropbox-link-service.coffee | octoblu/dropbox-link-service | 0 | MeshbluHttp = require 'meshblu-http'
request = require 'request'
class DropboxLinkService
constructor: ({@meshbluConfig,@dropboxServiceUri}) ->
generate: ({token,path,fileName}, callback) =>
meshbluHttp = new MeshbluHttp @meshbluConfig
privateKey = meshbluHttp.setPrivateKey @meshbluConfig.privateKey
... | 60182 | MeshbluHttp = require 'meshblu-http'
request = require 'request'
class DropboxLinkService
constructor: ({@meshbluConfig,@dropboxServiceUri}) ->
generate: ({token,path,fileName}, callback) =>
meshbluHttp = new MeshbluHttp @meshbluConfig
privateKey = meshbluHttp.setPrivateKey @meshbluConfig.privateKey
... | true | MeshbluHttp = require 'meshblu-http'
request = require 'request'
class DropboxLinkService
constructor: ({@meshbluConfig,@dropboxServiceUri}) ->
generate: ({token,path,fileName}, callback) =>
meshbluHttp = new MeshbluHttp @meshbluConfig
privateKey = meshbluHttp.setPrivateKey @meshbluConfig.privateKey
... |
[
{
"context": "serinfo=\n accountNumber:undefined\n passWord:undefined\n userorpwdIsError:undefined\n\n $scope=undefined\n",
"end": 83,
"score": 0.9989538192749023,
"start": 74,
"tag": "PASSWORD",
"value": "undefined"
}
] | test/main/accountSpec.coffee | rongcloud/sealtalk-web | 195 | describe "账户部分测试",->
userinfo=
accountNumber:undefined
passWord:undefined
userorpwdIsError:undefined
$scope=undefined
beforeEach module "webim.account"
beforeEach inject((_$rootScope_, _$compile_)->
$compile = _$compile_
$rootScope = _$rootScope_
)
| 45054 | describe "账户部分测试",->
userinfo=
accountNumber:undefined
passWord:<PASSWORD>
userorpwdIsError:undefined
$scope=undefined
beforeEach module "webim.account"
beforeEach inject((_$rootScope_, _$compile_)->
$compile = _$compile_
$rootScope = _$rootScope_
)
| true | describe "账户部分测试",->
userinfo=
accountNumber:undefined
passWord:PI:PASSWORD:<PASSWORD>END_PI
userorpwdIsError:undefined
$scope=undefined
beforeEach module "webim.account"
beforeEach inject((_$rootScope_, _$compile_)->
$compile = _$compile_
$rootScope = _$rootScope_
)
|
[
{
"context": "ird the head-body size.\n '''\n\n scientificName: 'Leptailurus serval'\n mainImage: 'assets/fieldguide-",
"end": 420,
"score": 0.5992802977561951,
"start": 418,
"tag": "NAME",
"value": "Le"
}
] | app/lib/field-guide-content/serval.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
description: '''
A small cat species, servals have many characteristics of domestic cats. They are strongly built with long legs, long necks, and tall, pointed ears. Their coat is tawny with black spots, which sometimes causes people to misidentify them as young leopards or cheetahs. Their tail i... | 55557 | module.exports =
description: '''
A small cat species, servals have many characteristics of domestic cats. They are strongly built with long legs, long necks, and tall, pointed ears. Their coat is tawny with black spots, which sometimes causes people to misidentify them as young leopards or cheetahs. Their tail i... | true | module.exports =
description: '''
A small cat species, servals have many characteristics of domestic cats. They are strongly built with long legs, long necks, and tall, pointed ears. Their coat is tawny with black spots, which sometimes causes people to misidentify them as young leopards or cheetahs. Their tail i... |
[
{
"context": ".1 安装相关包\n \n PIL 2009年之后就没有更新了,也不支持 Python3 ,于是有了 Alex Clark 领导的公益项目 [Pillow](https://github.com/python-pillow",
"end": 776,
"score": 0.8991022109985352,
"start": 766,
"tag": "NAME",
"value": "Alex Clark"
},
{
"context": "有了 Alex Clark 领导的公益项目 [Pillow](https://github... | notes/f67ed79932652dd2c4d4.cson | Shadowalker1995/Boostnote | 0 | createdAt: "2018-05-18T06:08:03.074Z"
updatedAt: "2018-05-18T06:08:05.862Z"
type: "MARKDOWN_NOTE"
folder: "46ccafb94878584d989c"
title: "Python 3 色情图片识别"
content: '''
# Python 3 色情图片识别
## 一、实验简介
### 1.1 实验内容
本实验将使用 Python3 去识别图片是否为色情图片,我们会使用到 PIL 这个图像处理库,会编写算法来划分图像的皮肤区域
### 1.2 实验知识点
- Python... | 33033 | createdAt: "2018-05-18T06:08:03.074Z"
updatedAt: "2018-05-18T06:08:05.862Z"
type: "MARKDOWN_NOTE"
folder: "46ccafb94878584d989c"
title: "Python 3 色情图片识别"
content: '''
# Python 3 色情图片识别
## 一、实验简介
### 1.1 实验内容
本实验将使用 Python3 去识别图片是否为色情图片,我们会使用到 PIL 这个图像处理库,会编写算法来划分图像的皮肤区域
### 1.2 实验知识点
- Python... | true | createdAt: "2018-05-18T06:08:03.074Z"
updatedAt: "2018-05-18T06:08:05.862Z"
type: "MARKDOWN_NOTE"
folder: "46ccafb94878584d989c"
title: "Python 3 色情图片识别"
content: '''
# Python 3 色情图片识别
## 一、实验简介
### 1.1 实验内容
本实验将使用 Python3 去识别图片是否为色情图片,我们会使用到 PIL 这个图像处理库,会编写算法来划分图像的皮肤区域
### 1.2 实验知识点
- Python... |
[
{
"context": " given title. <title> is required \n#\n# Author:\n# Nithin Shenoy <nshenoy@mimeo.com>\n\nvstsToken = 'Basic ' + new B",
"end": 649,
"score": 0.9998753070831299,
"start": 636,
"tag": "NAME",
"value": "Nithin Shenoy"
},
{
"context": "itle> is required \n#\n# Author:\n# ... | src/vsts-slack.coffee | Mimeo/Hubot-Slack-VSTS | 0 | # Description
# A Hubot script for Visual Studio Team Services integration tailored for Slack
#
# Configuration:
# HUBOT_VSTS_API_TOKEN
# HUBOT_VSTS_API_URL
# HUBOT_VSTS_SERVICEACCOUNT
#
# Commands:
# hubot vsts projects - Gets the list of projects available in Visual Studio Team Services
# hubot vsts <proj... | 215864 | # Description
# A Hubot script for Visual Studio Team Services integration tailored for Slack
#
# Configuration:
# HUBOT_VSTS_API_TOKEN
# HUBOT_VSTS_API_URL
# HUBOT_VSTS_SERVICEACCOUNT
#
# Commands:
# hubot vsts projects - Gets the list of projects available in Visual Studio Team Services
# hubot vsts <proj... | true | # Description
# A Hubot script for Visual Studio Team Services integration tailored for Slack
#
# Configuration:
# HUBOT_VSTS_API_TOKEN
# HUBOT_VSTS_API_URL
# HUBOT_VSTS_SERVICEACCOUNT
#
# Commands:
# hubot vsts projects - Gets the list of projects available in Visual Studio Team Services
# hubot vsts <proj... |
[
{
"context": " (req) ->\n pubkey = @getPayplugPublicKey().toString()\n _sign = forge.util.decode64(req.header",
"end": 3873,
"score": 0.9644688963890076,
"start": 3865,
"tag": "KEY",
"value": "toString"
}
] | src/payplug.coffee | WorkingBox/payplug | 0 | config = require '../config/payplug.json'
ipn = require '../config/ipn.json'
uuid = require 'node-uuid'
querystring = require 'querystring'
fs = require 'fs'
forge = require('node-forge')
path = require('path')
R = require('ramda')
crypto = require('crypto')
#Q = require('q')
module.exports = exports =
getCurrenc... | 103298 | config = require '../config/payplug.json'
ipn = require '../config/ipn.json'
uuid = require 'node-uuid'
querystring = require 'querystring'
fs = require 'fs'
forge = require('node-forge')
path = require('path')
R = require('ramda')
crypto = require('crypto')
#Q = require('q')
module.exports = exports =
getCurrenc... | true | config = require '../config/payplug.json'
ipn = require '../config/ipn.json'
uuid = require 'node-uuid'
querystring = require 'querystring'
fs = require 'fs'
forge = require('node-forge')
path = require('path')
R = require('ramda')
crypto = require('crypto')
#Q = require('q')
module.exports = exports =
getCurrenc... |
[
{
"context": " id : 'register-task-id'\n name : 'test-register'\n pickle : -> null\n }\n\n id ",
"end": 7796,
"score": 0.6922578811645508,
"start": 7783,
"tag": "NAME",
"value": "test-register"
},
{
"context": "\n id : 'ready-task-id'\n... | test/lib/queue.spec.coffee | scull7/uow | 0 |
Queue = require '../../lib/queue.js'
TaskRequest = require '../../lib/task/request.js'
TaskLock = require 'uow-lock'
{ inherits } = require 'util'
{ EventEmitter } = require 'events'
{ MemoryStore } = require 'uow-store'
describe 'Queue', ->
queue = null
store = null
beforeEa... | 178624 |
Queue = require '../../lib/queue.js'
TaskRequest = require '../../lib/task/request.js'
TaskLock = require 'uow-lock'
{ inherits } = require 'util'
{ EventEmitter } = require 'events'
{ MemoryStore } = require 'uow-store'
describe 'Queue', ->
queue = null
store = null
beforeEa... | true |
Queue = require '../../lib/queue.js'
TaskRequest = require '../../lib/task/request.js'
TaskLock = require 'uow-lock'
{ inherits } = require 'util'
{ EventEmitter } = require 'events'
{ MemoryStore } = require 'uow-store'
describe 'Queue', ->
queue = null
store = null
beforeEa... |
[
{
"context": " id: 'coolbox4life.dfc12b44'\n accessToken: \"pk.eyJ1IjoiY29vbGJveDRsaWZlIiwiYSI6ImY2Zjk2YmQ1ZjMyYWM2ZDZk\\\n YjI2OWIzY2U3YzMwY2NhIn0.WGZ5HU-CIlNshi1UVm4z-g\"\n })\n .addTo @map\n\n @map.on 'locationfou",
"end": 730,
"score": 0.977211594581604,
"start": 617,
"ta... | www/coffee/services.coffee | CEPFU/ionic-front | 0 | angular.module 'starter.services', ['ionic.service.core', 'starter.config']
.service 'MapService', () ->
@map = null
@listeners = []
@init = (cssId) =>
@map = L.map cssId
L.tileLayer("https://api.tiles.mapbox.com/v4/{id}\
/{z}/{x}/{y}.png?access_token={accessToken}", {
attribution: """Map d... | 124064 | angular.module 'starter.services', ['ionic.service.core', 'starter.config']
.service 'MapService', () ->
@map = null
@listeners = []
@init = (cssId) =>
@map = L.map cssId
L.tileLayer("https://api.tiles.mapbox.com/v4/{id}\
/{z}/{x}/{y}.png?access_token={accessToken}", {
attribution: """Map d... | true | angular.module 'starter.services', ['ionic.service.core', 'starter.config']
.service 'MapService', () ->
@map = null
@listeners = []
@init = (cssId) =>
@map = L.map cssId
L.tileLayer("https://api.tiles.mapbox.com/v4/{id}\
/{z}/{x}/{y}.png?access_token={accessToken}", {
attribution: """Map d... |
[
{
"context": "1', [])\n attacker = new Pokemon(species: \"Farfetch'd\", item: 'Stick')\n defender = new Pokemon()",
"end": 2147,
"score": 0.5990298390388489,
"start": 2142,
"tag": "NAME",
"value": "fetch"
},
{
"context": "r).should.equal 3\n\n it \"is 3 if the attacker i... | test/bw/moves.coffee | sarenji/pokebattle-sim | 5 | require '../helpers'
{Attachment, Status} = require('../../server/bw/attachment')
{Battle} = require('../../server/bw/battle')
{Pokemon} = require('../../server/bw/pokemon')
{Weather} = require('../../shared/weather')
{Move} = require('../../server/bw/move')
util = require '../../server/bw/util'
{Protocol} = require '... | 27476 | require '../helpers'
{Attachment, Status} = require('../../server/bw/attachment')
{Battle} = require('../../server/bw/battle')
{Pokemon} = require('../../server/bw/pokemon')
{Weather} = require('../../shared/weather')
{Move} = require('../../server/bw/move')
util = require '../../server/bw/util'
{Protocol} = require '... | true | require '../helpers'
{Attachment, Status} = require('../../server/bw/attachment')
{Battle} = require('../../server/bw/battle')
{Pokemon} = require('../../server/bw/pokemon')
{Weather} = require('../../shared/weather')
{Move} = require('../../server/bw/move')
util = require '../../server/bw/util'
{Protocol} = require '... |
[
{
"context": "####################################\n\nVaultKey = \"hubot-deploy-github-secret\"\n\nclass ApiTokenVerifier\n constructor: (token) -",
"end": 341,
"score": 0.9991041421890259,
"start": 315,
"tag": "KEY",
"value": "hubot-deploy-github-secret"
},
{
"context": "ets = proc... | src/models/verifiers.coffee | alvinvogelzang/hubot-deploy | 310 | Path = require "path"
Octonode = require "octonode"
Address4 = require("ip-address").Address4
GitHubApi = require(Path.join(__dirname, "..", "github", "api")).Api
ScopedClient = require "scoped-http-client"
###########################################################################
VaultKey = "hubot... | 182515 | Path = require "path"
Octonode = require "octonode"
Address4 = require("ip-address").Address4
GitHubApi = require(Path.join(__dirname, "..", "github", "api")).Api
ScopedClient = require "scoped-http-client"
###########################################################################
VaultKey = "<KEY>... | true | Path = require "path"
Octonode = require "octonode"
Address4 = require("ip-address").Address4
GitHubApi = require(Path.join(__dirname, "..", "github", "api")).Api
ScopedClient = require "scoped-http-client"
###########################################################################
VaultKey = "PI:KE... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998920559883118,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/f... | src/Coffixi/filters/MaskFilter.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/filters/MaskFilter', ->
class MaskFilter
constructor: (graphics) ->
# the graphics data that will be used for filtering
@graphics
| 59620 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/filters/MaskFilter', ->
class MaskFilter
constructor: (graphics) ->
# the graphics data that will be used for filtering
@graphics
| true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/filters/MaskFilter', ->
class MaskFilter
constructor: (graphics) ->
# the graphics data that will be used for filtering
@graphics
|
[
{
"context": "ard highlight visual effect\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nclass Fx.Highlight extends Fx.Style\n extend:\n ",
"end": 81,
"score": 0.9998824596405029,
"start": 64,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/fx/src/fx/highlight.coffee | lovely-io/lovely.io-stl | 2 | #
# The standard highlight visual effect
#
# Copyright (C) 2011 Nikolay Nemshilov
#
class Fx.Highlight extends Fx.Style
extend:
# additional options
Options: Hash.merge(Fx.Options, {
color: '#FF8'
transition: 'ease-out'
})
# protected
#
# Prepares the transition
#
# @param {Stri... | 171982 | #
# The standard highlight visual effect
#
# Copyright (C) 2011 <NAME>
#
class Fx.Highlight extends Fx.Style
extend:
# additional options
Options: Hash.merge(Fx.Options, {
color: '#FF8'
transition: 'ease-out'
})
# protected
#
# Prepares the transition
#
# @param {String} start c... | true | #
# The standard highlight visual effect
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
class Fx.Highlight extends Fx.Style
extend:
# additional options
Options: Hash.merge(Fx.Options, {
color: '#FF8'
transition: 'ease-out'
})
# protected
#
# Prepares the transition
#
# @param {S... |
[
{
"context": "Bittorrent Instance'\n\n @username = properties['username'] or 'admin'\n @password = properties['passwor",
"end": 302,
"score": 0.6775888800621033,
"start": 294,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ance'\n\n @username = properties['username... | src/qBittorrent.coffee | makeran218/node-qbittorrent-client | 3 | request = require 'request'
md5 = require 'md5'
async = require 'async'
semver = require 'semver'
log = require('debug-logger')('qBittorrent')
class qBittorrent
constructor: (properties) ->
log.debug 'Instantiating qBittorrent Instance'
@username = properties['username'] or 'admin'
... | 58046 | request = require 'request'
md5 = require 'md5'
async = require 'async'
semver = require 'semver'
log = require('debug-logger')('qBittorrent')
class qBittorrent
constructor: (properties) ->
log.debug 'Instantiating qBittorrent Instance'
@username = properties['username'] or 'admin'
... | true | request = require 'request'
md5 = require 'md5'
async = require 'async'
semver = require 'semver'
log = require('debug-logger')('qBittorrent')
class qBittorrent
constructor: (properties) ->
log.debug 'Instantiating qBittorrent Instance'
@username = properties['username'] or 'admin'
... |
[
{
"context": "\tlist.append(@tripTemplate(trip: item))\n\t\t\tkey = \"vehicle#{item.get('vehicleId')}\"\n\t\t\tpos = Transit.map.lat",
"end": 1471,
"score": 0.9844623804092407,
"start": 1464,
"tag": "KEY",
"value": "vehicle"
},
{
"context": "(trip: item))\n\t\t\tkey = \"vehicle#{item... | app/scripts/transit/views/route.coffee | whichbus/whichbus-phonegap | 0 | class Transit.Views.Route extends Backbone.View
template: JST['templates/route']
tripTemplate: JST['templates/trip']
el: '#navigation'
tagName: 'div'
className: 'route'
initialize: =>
@model.fetch
success: @render
error: (model, message) =>
Transit.errorPage('Error Loading Route', message)
@trips =... | 93271 | class Transit.Views.Route extends Backbone.View
template: JST['templates/route']
tripTemplate: JST['templates/trip']
el: '#navigation'
tagName: 'div'
className: 'route'
initialize: =>
@model.fetch
success: @render
error: (model, message) =>
Transit.errorPage('Error Loading Route', message)
@trips =... | true | class Transit.Views.Route extends Backbone.View
template: JST['templates/route']
tripTemplate: JST['templates/trip']
el: '#navigation'
tagName: 'div'
className: 'route'
initialize: =>
@model.fetch
success: @render
error: (model, message) =>
Transit.errorPage('Error Loading Route', message)
@trips =... |
[
{
"context": "\n options {\n dependentKeys: ['customer_id', 'job_id', 'campaign_id']\n args: ['${",
"end": 3665,
"score": 0.9985998272895813,
"start": 3654,
"tag": "KEY",
"value": "customer_id"
},
{
"context": "ons {\n dependentKeys: ['custom... | src/controls/mixins/DataSourced.coffee | vedantchoubey098/react-form-builder | 44 | React = require 'react'
shallowEqual = require('shallowequal')
tap = require("lodash/tap")
keys = require("lodash/keys")
difference = require("lodash/difference")
clone = require("lodash/clone")
each = require("lodash/each")
capitalize = require("lodash/capitalize")
#
# For each data source:
# * sets a value on the ... | 65821 | React = require 'react'
shallowEqual = require('shallowequal')
tap = require("lodash/tap")
keys = require("lodash/keys")
difference = require("lodash/difference")
clone = require("lodash/clone")
each = require("lodash/each")
capitalize = require("lodash/capitalize")
#
# For each data source:
# * sets a value on the ... | true | React = require 'react'
shallowEqual = require('shallowequal')
tap = require("lodash/tap")
keys = require("lodash/keys")
difference = require("lodash/difference")
clone = require("lodash/clone")
each = require("lodash/each")
capitalize = require("lodash/capitalize")
#
# For each data source:
# * sets a value on the ... |
[
{
"context": "# name: coffeelint.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Update: 沈",
"end": 37,
"score": 0.9998903870582581,
"start": 34,
"tag": "NAME",
"value": "沈维忠"
},
{
"context": "# name: coffeelint.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n#... | dev/splited_tasks_for_gulp/coffeelint.coffee | gitter-badger/is-object-brace | 0 | # name: coffeelint.js
#
# author: 沈维忠 ( Shen Weizhong / Tony Stark )
#
# Last Update: 沈维忠 ( Shen Weizhong / Tony Stark )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
extend = require 'xtend'
clp = require './clp'
gulp.task 'coff... | 130616 | # name: coffeelint.js
#
# author: <NAME> ( <NAME> / <NAME> )
#
# Last Update: <NAME> ( <NAME> / <NAME> )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
extend = require 'xtend'
clp = require './clp'
gulp.task 'coffeelint', ->
gu... | true | # name: coffeelint.js
#
# author: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
#
# Last Update: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
exten... |
[
{
"context": "se it's been minified to \"n\"\n foreign_key = \"#{_.singularize(@constructor.to_s().toLowerCase())}_id\"\n if @constructor._object_id\n selecto",
"end": 2728,
"score": 0.8920518159866333,
"start": 2673,
"tag": "KEY",
"value": "\"#{_.singularize(@constructor.... | lib/minimongoid.coffee | tianfranco/uno | 50 | global = @
class @Minimongoid
# --- instance vars
id: undefined
errors: false
# attr: {}
# --- instance methods
constructor: (attr = {}, parent = null, is_new = true) ->
@__is_new = !!is_new
if attr._id
if @constructor._object_id
@id = attr._id._str
else
@id = attr._id
... | 135203 | global = @
class @Minimongoid
# --- instance vars
id: undefined
errors: false
# attr: {}
# --- instance methods
constructor: (attr = {}, parent = null, is_new = true) ->
@__is_new = !!is_new
if attr._id
if @constructor._object_id
@id = attr._id._str
else
@id = attr._id
... | true | global = @
class @Minimongoid
# --- instance vars
id: undefined
errors: false
# attr: {}
# --- instance methods
constructor: (attr = {}, parent = null, is_new = true) ->
@__is_new = !!is_new
if attr._id
if @constructor._object_id
@id = attr._id._str
else
@id = attr._id
... |
[
{
"context": "/cryptotrader.org/strategies/peKY35zY2Z2G56rLi\r\nby aspiramedia (https://cryptotrader.org/aspiramedia)\r\n\r\nPlease ",
"end": 157,
"score": 0.9034062027931213,
"start": 146,
"tag": "USERNAME",
"value": "aspiramedia"
},
{
"context": " and Swing indicators used here wer... | test.coffee | urbantumbleweed/charlie-tango-bravo | 1 | #######################
### TRENDATRON 5000 ###
#######################
### INTRO
https://cryptotrader.org/strategies/peKY35zY2Z2G56rLi
by aspiramedia (https://cryptotrader.org/aspiramedia)
Please PM me with any updates, feedback, bugs, suggestions, criticism etc.
Please leave this header intact, adding your... | 57023 | #######################
### TRENDATRON 5000 ###
#######################
### INTRO
https://cryptotrader.org/strategies/peKY35zY2Z2G56rLi
by aspiramedia (https://cryptotrader.org/aspiramedia)
Please PM me with any updates, feedback, bugs, suggestions, criticism etc.
Please leave this header intact, adding your... | true | #######################
### TRENDATRON 5000 ###
#######################
### INTRO
https://cryptotrader.org/strategies/peKY35zY2Z2G56rLi
by aspiramedia (https://cryptotrader.org/aspiramedia)
Please PM me with any updates, feedback, bugs, suggestions, criticism etc.
Please leave this header intact, adding your... |
[
{
"context": "= ()->\n#Аа Aа \n equalLat(\"Алушта Андрій\", \"Alushta Andrii\");\n#Бб Bb \n equalLat(\"Борщагівка Борисенко",
"end": 1082,
"score": 0.9817265272140503,
"start": 1068,
"tag": "NAME",
"value": "Alushta Andrii"
},
{
"context": "#Бб Bb \n equalLat(\"Б... | src/test/coffee/ukrainiantolatin.test.coffee | HappyFacade/ukrainiantolatin | 4 | # ukrainiantolatin.test.coffee
conv = require '../../main/coffee/ukrainiantolatin.coffee'
equal = (expected, actual) ->
throw new Error(expected + " != " + actual) if expected != actual
test_generateLat = ()->
equal("", conv.UkrainianToLatin.generateLat(""));
equal("abvhd", conv.UkrainianToLatin.generate... | 207736 | # ukrainiantolatin.test.coffee
conv = require '../../main/coffee/ukrainiantolatin.coffee'
equal = (expected, actual) ->
throw new Error(expected + " != " + actual) if expected != actual
test_generateLat = ()->
equal("", conv.UkrainianToLatin.generateLat(""));
equal("abvhd", conv.UkrainianToLatin.generate... | true | # ukrainiantolatin.test.coffee
conv = require '../../main/coffee/ukrainiantolatin.coffee'
equal = (expected, actual) ->
throw new Error(expected + " != " + actual) if expected != actual
test_generateLat = ()->
equal("", conv.UkrainianToLatin.generateLat(""));
equal("abvhd", conv.UkrainianToLatin.generate... |
[
{
"context": "rune/\n# JSON.prune on github : https://github.com/Canop/JSON.prune\n# This was discussed here : http://sta",
"end": 522,
"score": 0.9990884065628052,
"start": 517,
"tag": "USERNAME",
"value": "Canop"
},
{
"context": "rflow.com/q/13861254/263525\n# The code is based on ... | GOTHAM/Backend/src/Tools/JSON.coffee | perara/gotham | 0 | # JSON.prune : a function to stringify any object without overflow
# two additional optional parameters :
# - the maximal depth (default : 6)
# - the maximal length of arrays (default : 50)
# You can also pass an "options" object.
# examples :
# var json = JSON.prune(window)
# var arr = Array.apply(0,Array(1000... | 116621 | # JSON.prune : a function to stringify any object without overflow
# two additional optional parameters :
# - the maximal depth (default : 6)
# - the maximal length of arrays (default : 50)
# You can also pass an "options" object.
# examples :
# var json = JSON.prune(window)
# var arr = Array.apply(0,Array(1000... | true | # JSON.prune : a function to stringify any object without overflow
# two additional optional parameters :
# - the maximal depth (default : 6)
# - the maximal length of arrays (default : 50)
# You can also pass an "options" object.
# examples :
# var json = JSON.prune(window)
# var arr = Array.apply(0,Array(1000... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999122619628906,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/forum-post-preview.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 @ForumPostPreview
constructor: ->
$(document).on 'click', '.js-forum-post-preview--show', @fetchPreview
$(document).on 'click', '... | 180483 | # 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 @ForumPostPreview
constructor: ->
$(document).on 'click', '.js-forum-post-preview--show', @fetchPreview
$(document).on 'click', '.js-for... | 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 @ForumPostPreview
constructor: ->
$(document).on 'click', '.js-forum-post-preview--show', @fetchPreview
$(document).on 'c... |
[
{
"context": "ction View\nContains buttons that do stuff\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\n{View} = requir",
"end": 78,
"score": 0.9998788237571716,
"start": 67,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "do stuff\n\n@author Roelof Roos (https://... | lib/views/action-view.coffee | roelofr/php-report | 0 | ###
PHP Report
Action View
Contains buttons that do stuff
@author Roelof Roos (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class ActionView extends View
@buttons:
btn_run: ['run', 'primary', 'playback-play', 'Start'],
btn_kill: ['kill', 'default', 'flame', 'Abort... | 124630 | ###
PHP Report
Action View
Contains buttons that do stuff
@author <NAME> (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class ActionView extends View
@buttons:
btn_run: ['run', 'primary', 'playback-play', 'Start'],
btn_kill: ['kill', 'default', 'flame', 'Abort'],
... | true | ###
PHP Report
Action View
Contains buttons that do stuff
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class ActionView extends View
@buttons:
btn_run: ['run', 'primary', 'playback-play', 'Start'],
btn_kill: ['kill', 'default', 'flame... |
[
{
"context": "dify_footer() {\n\techo 'Created by <a href=\"mailto:you@example.com\">you</a>.';\n}\nadd_filter( 'admin_footer_text', 'm",
"end": 2746,
"score": 0.999843955039978,
"start": 2731,
"tag": "EMAIL",
"value": "you@example.com"
},
{
"context": " $excerpt_more;\n\t\t?>\n<meta... | snippets/wp-functions.cson | Alicannklc/wp-functions-snippets | 1 | ".text.html.php":
"Hide WordPress Update Nag to All But Admins":
"prefix": "hidea"
"body": """
/**
* Hide WordPress Update Nag to All But Admins
*/
function hide_update_notice_to_all_but_admin() {
if ( !current_user_can( 'update_core' ) ) {
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_ac... | 34225 | ".text.html.php":
"Hide WordPress Update Nag to All But Admins":
"prefix": "hidea"
"body": """
/**
* Hide WordPress Update Nag to All But Admins
*/
function hide_update_notice_to_all_but_admin() {
if ( !current_user_can( 'update_core' ) ) {
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_ac... | true | ".text.html.php":
"Hide WordPress Update Nag to All But Admins":
"prefix": "hidea"
"body": """
/**
* Hide WordPress Update Nag to All But Admins
*/
function hide_update_notice_to_all_but_admin() {
if ( !current_user_can( 'update_core' ) ) {
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_ac... |
[
{
"context": " {\n field: 'prices.all.mode'\n key: 'maxPrice'\n type: 'maxIntCustom'\n inputPrefix",
"end": 7515,
"score": 0.8947764039039612,
"start": 7507,
"tag": "KEY",
"value": "maxPrice"
},
{
"context": "roam-na-contours.json?2'\n # url: 'htt... | src/services/map.coffee | FreeRoamApp/free-roam | 14 | _clone = require 'lodash/clone'
_map = require 'lodash/map'
_filter = require 'lodash/filter'
_groupBy = require 'lodash/groupBy'
_orderBy = require 'lodash/orderBy'
_some = require 'lodash/some'
_startCase = require 'lodash/startCase'
_snakeCase = require 'lodash/snakeCase'
_uniq = require 'lodash/uniq'
_last = requir... | 201653 | _clone = require 'lodash/clone'
_map = require 'lodash/map'
_filter = require 'lodash/filter'
_groupBy = require 'lodash/groupBy'
_orderBy = require 'lodash/orderBy'
_some = require 'lodash/some'
_startCase = require 'lodash/startCase'
_snakeCase = require 'lodash/snakeCase'
_uniq = require 'lodash/uniq'
_last = requir... | true | _clone = require 'lodash/clone'
_map = require 'lodash/map'
_filter = require 'lodash/filter'
_groupBy = require 'lodash/groupBy'
_orderBy = require 'lodash/orderBy'
_some = require 'lodash/some'
_startCase = require 'lodash/startCase'
_snakeCase = require 'lodash/snakeCase'
_uniq = require 'lodash/uniq'
_last = requir... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.