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": "s\n# hubot coprhd cli exec --help\n#\n# Author:\n# victorockeiro@gmail.com\n\nfs = require 'fs'\ncoprhd_bin = \"/opt/storageos",
"end": 304,
"score": 0.9999216794967651,
"start": 281,
"tag": "EMAIL",
"value": "victorockeiro@gmail.com"
}
] | src/coprhd.coffee | victorock/hubot-coprhd | 0 | # Description
# A hubot script to interact with Storage Infrastructure.
#
# Configuration:
# HUBOT_COPRHD_DEV - DEV Mode, no authentication required.
# HUBOT_COPRHD_ROLE - Role to access CoprHD (using hubot-auth)
#
# Commands
# hubot coprhd cli exec --help
#
# Author:
# victorockeiro@gmail.com
fs = require... | 188460 | # Description
# A hubot script to interact with Storage Infrastructure.
#
# Configuration:
# HUBOT_COPRHD_DEV - DEV Mode, no authentication required.
# HUBOT_COPRHD_ROLE - Role to access CoprHD (using hubot-auth)
#
# Commands
# hubot coprhd cli exec --help
#
# Author:
# <EMAIL>
fs = require 'fs'
coprhd_bin... | true | # Description
# A hubot script to interact with Storage Infrastructure.
#
# Configuration:
# HUBOT_COPRHD_DEV - DEV Mode, no authentication required.
# HUBOT_COPRHD_ROLE - Role to access CoprHD (using hubot-auth)
#
# Commands
# hubot coprhd cli exec --help
#
# Author:
# PI:EMAIL:<EMAIL>END_PI
fs = require ... |
[
{
"context": "s string formatted as an hexadecimal value (i.e. '01294b7431234b5323f5588ce7d02703'\n @throw If the seed length is not 32 or if it",
"end": 4393,
"score": 0.9993296265602112,
"start": 4361,
"tag": "KEY",
"value": "01294b7431234b5323f5588ce7d02703"
},
{
"context": "s ... | app/src/fup/firmware_update_request.coffee | romanornr/ledger-wallet-crw | 173 | ledger.fup ?= {}
States =
Undefined: 0
Erasing: 1
Unlocking: 2
SeedingKeycard: 3
LoadingOldApplication: 4
ReloadingBootloaderFromOs: 5
LoadingBootloader: 6
LoadingReloader: 7
LoadingBootloaderReloader: 8
LoadingOs: 9
InitializingOs: 10
Done: 11
Modes =
Os: 0
Bootloader: 1
Errors =
Unabl... | 10140 | ledger.fup ?= {}
States =
Undefined: 0
Erasing: 1
Unlocking: 2
SeedingKeycard: 3
LoadingOldApplication: 4
ReloadingBootloaderFromOs: 5
LoadingBootloader: 6
LoadingReloader: 7
LoadingBootloaderReloader: 8
LoadingOs: 9
InitializingOs: 10
Done: 11
Modes =
Os: 0
Bootloader: 1
Errors =
Unabl... | true | ledger.fup ?= {}
States =
Undefined: 0
Erasing: 1
Unlocking: 2
SeedingKeycard: 3
LoadingOldApplication: 4
ReloadingBootloaderFromOs: 5
LoadingBootloader: 6
LoadingReloader: 7
LoadingBootloaderReloader: 8
LoadingOs: 9
InitializingOs: 10
Done: 11
Modes =
Os: 0
Bootloader: 1
Errors =
Unabl... |
[
{
"context": "on trigger the transitionstart event\n#\n# @author Olivier Bossel <olivier.bossel@gmail.com>\n# @created 22.01.16\n#",
"end": 171,
"score": 0.9998778700828552,
"start": 157,
"tag": "NAME",
"value": "Olivier Bossel"
},
{
"context": "ansitionstart event\n#\n# @author ... | node_modules/sugarcss/coffee/sugar-transitionstart.coffee | hagsey/nlpt2 | 0 | ###
# Sugar-transitionstart.js
#
# This little js file allow you to make your element that have a transition trigger the transitionstart event
#
# @author Olivier Bossel <olivier.bossel@gmail.com>
# @created 22.01.16
# @updated 22.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.... | 104756 | ###
# Sugar-transitionstart.js
#
# This little js file allow you to make your element that have a transition trigger the transitionstart event
#
# @author <NAME> <<EMAIL>>
# @created 22.01.16
# @updated 22.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as ... | true | ###
# Sugar-transitionstart.js
#
# This little js file allow you to make your element that have a transition trigger the transitionstart event
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @created 22.01.16
# @updated 22.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and def... |
[
{
"context": "dryrun, context} = opts\n if not key? then key = _uniqueId(\"var_\")\n context ?= {}\n if _.isFunction(fns",
"end": 7831,
"score": 0.9894078373908997,
"start": 7822,
"tag": "KEY",
"value": "_uniqueId"
},
{
"context": "} = opts\n if not key? then key = _uniqu... | src/data.coffee | Polychart/polychart2 | 64 | ###
Data Object
---------
Polychart wrapper around a data set. This is contains the data structure
required for poly.chart(). Data object that either contains JSON format
of a dataset, or knows how to retrieve data from some source.
###
poly.data = (blob) ->
type = undefined
data = undefined
meta = undefined
... | 34674 | ###
Data Object
---------
Polychart wrapper around a data set. This is contains the data structure
required for poly.chart(). Data object that either contains JSON format
of a dataset, or knows how to retrieve data from some source.
###
poly.data = (blob) ->
type = undefined
data = undefined
meta = undefined
... | true | ###
Data Object
---------
Polychart wrapper around a data set. This is contains the data structure
required for poly.chart(). Data object that either contains JSON format
of a dataset, or knows how to retrieve data from some source.
###
poly.data = (blob) ->
type = undefined
data = undefined
meta = undefined
... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998701810836792,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/spellcheck.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# spellcheck plugin
# requires bjspell and getStyleObject
# and is needed for older browsers or qt-webkit
# execute on load:
# , utils.getJavaScript("lib/hal... | 160004 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# spellcheck plugin
# requires bjspell and getStyleObject
# and is needed for older browsers or qt-webkit
# execute on load:
# , utils.getJavaScript("lib/hallojs/bj... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# spellcheck plugin
# requires bjspell and getStyleObject
# and is needed for older browsers or qt-webkit
# execute on load:
# , utils.getJavaScript("... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.5370814204216003,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/visualization/views/AbstractFilterView.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j 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 o... | 169764 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j 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 th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j 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 v... |
[
{
"context": "tool, mouse, snapper) ->\n $scope.author = \"Antonio\"\n\n _plane = plane\n\n\n menu = Menu.bu",
"end": 319,
"score": 0.9985799193382263,
"start": 312,
"tag": "NAME",
"value": "Antonio"
}
] | src/scripts/main.coffee | aziis98/Geometric | 1 | remote = require 'remote'
ipc = require 'ipc'
Menu = remote.require 'menu'
_plane = undefined
angular.module('geometric', [ 'toolbar', 'gcanvas', 'structure', 'infobar', 'handler' ])
.controller 'geomCtrl', ($scope, $rootScope, $interval, $timeout, plane, tool, mouse, snapper) ->
$scope.author = "Antonio"... | 41932 | remote = require 'remote'
ipc = require 'ipc'
Menu = remote.require 'menu'
_plane = undefined
angular.module('geometric', [ 'toolbar', 'gcanvas', 'structure', 'infobar', 'handler' ])
.controller 'geomCtrl', ($scope, $rootScope, $interval, $timeout, plane, tool, mouse, snapper) ->
$scope.author = "<NAME>"
... | true | remote = require 'remote'
ipc = require 'ipc'
Menu = remote.require 'menu'
_plane = undefined
angular.module('geometric', [ 'toolbar', 'gcanvas', 'structure', 'infobar', 'handler' ])
.controller 'geomCtrl', ($scope, $rootScope, $interval, $timeout, plane, tool, mouse, snapper) ->
$scope.author = "PI:NAME:... |
[
{
"context": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ",
"end": 88,
"score": 0.9998705983161926,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/helper/crhelper.coffee | koma75/crowdutil | 1 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 Yasuhiro Okuno
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... | 208979 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 <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
... | true | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 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 limitati... |
[
{
"context": " id={'task_id_' + task.id}\n key={'task_id_' + task.id}\n task={task}\n pa",
"end": 1615,
"score": 0.9632431268692017,
"start": 1596,
"tag": "KEY",
"value": "task_id_' + task.id"
}
] | hbw/app/assets/javascripts/hbw/components/entity_tasks.js.jsx.coffee | napramirez/homs | 0 | modulejs.define(
'HBWEntityTasks',
['React', 'HBWEntityTask', 'HBWCallbacksMixin'],
(React, Task, CallbacksMixin) ->
React.createClass
PANEL_CLASS: 'hbw-entity-task-list-panel'
mixins: [CallbacksMixin]
getInitialState: ->
error: null
chosenTaskID: @props.chosenTaskID or @se... | 96307 | modulejs.define(
'HBWEntityTasks',
['React', 'HBWEntityTask', 'HBWCallbacksMixin'],
(React, Task, CallbacksMixin) ->
React.createClass
PANEL_CLASS: 'hbw-entity-task-list-panel'
mixins: [CallbacksMixin]
getInitialState: ->
error: null
chosenTaskID: @props.chosenTaskID or @se... | true | modulejs.define(
'HBWEntityTasks',
['React', 'HBWEntityTask', 'HBWCallbacksMixin'],
(React, Task, CallbacksMixin) ->
React.createClass
PANEL_CLASS: 'hbw-entity-task-list-panel'
mixins: [CallbacksMixin]
getInitialState: ->
error: null
chosenTaskID: @props.chosenTaskID or @se... |
[
{
"context": " # object as key\n objectKey = {key: \"object\"}\n objectVal = {someObject: \"that's me\"}\n ",
"end": 865,
"score": 0.8447446823120117,
"start": 859,
"tag": "KEY",
"value": "object"
}
] | hash/test.coffee | jneuendorf/js_utils | 1 | describe "Hash", () ->
beforeEach () ->
@hash = new JSUtils.Hash()
@hash.put 1, "2"
@hash.put 2, "3"
@hashEq = new JSUtils.Hash(
null
42
(key1, key2) ->
return key1[0] + key1[1] is key2[0] + key2[1]
)
it "get & put", ... | 65771 | describe "Hash", () ->
beforeEach () ->
@hash = new JSUtils.Hash()
@hash.put 1, "2"
@hash.put 2, "3"
@hashEq = new JSUtils.Hash(
null
42
(key1, key2) ->
return key1[0] + key1[1] is key2[0] + key2[1]
)
it "get & put", ... | true | describe "Hash", () ->
beforeEach () ->
@hash = new JSUtils.Hash()
@hash.put 1, "2"
@hash.put 2, "3"
@hashEq = new JSUtils.Hash(
null
42
(key1, key2) ->
return key1[0] + key1[1] is key2[0] + key2[1]
)
it "get & put", ... |
[
{
"context": "# Note: Turkish locale by fiatux.com\nuploadcare.namespace 'uploadcare.locale.translati",
"end": 36,
"score": 0.700548529624939,
"start": 26,
"tag": "EMAIL",
"value": "fiatux.com"
}
] | app/assets/javascripts/uploadcare/locale/tr.js.coffee | uniiverse/uploadcare-widget | 0 | # Note: Turkish locale by fiatux.com
uploadcare.namespace 'uploadcare.locale.translations', (ns) ->
ns.tr =
uploading: 'Yükleniyor... Lütfen bekleyin.'
loadingInfo: 'Bilgiler yükleniyor...'
errors:
default: 'Hata'
baddata: 'Geçersiz değer'
size: 'Dosya çok büyük'
upload: 'Yükleneme... | 100128 | # Note: Turkish locale by <EMAIL>
uploadcare.namespace 'uploadcare.locale.translations', (ns) ->
ns.tr =
uploading: 'Yükleniyor... Lütfen bekleyin.'
loadingInfo: 'Bilgiler yükleniyor...'
errors:
default: 'Hata'
baddata: 'Geçersiz değer'
size: 'Dosya çok büyük'
upload: 'Yüklenemedi'... | true | # Note: Turkish locale by PI:EMAIL:<EMAIL>END_PI
uploadcare.namespace 'uploadcare.locale.translations', (ns) ->
ns.tr =
uploading: 'Yükleniyor... Lütfen bekleyin.'
loadingInfo: 'Bilgiler yükleniyor...'
errors:
default: 'Hata'
baddata: 'Geçersiz değer'
size: 'Dosya çok büyük'
upload... |
[
{
"context": "Over\"\n contact: \"Contact\"\n twitter_follow: \"Volgen\"\n\n forms:\n name: \"Naam\"\n email: \"Email\"\n ",
"end": 572,
"score": 0.9977166652679443,
"start": 566,
"tag": "USERNAME",
"value": "Volgen"
},
{
"context": "olor: \"Tovenaar Kleding Kleur\"\n ... | app/locale/nl.coffee | lwatiker/codecombat | 1 | module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", translation:
common:
loading: "Aan het laden..."
modal:
close: "Sluiten"
okay: "Oké"
not_found:
page_not_found: "Pagina niet gevonden"
nav:
# Header
sign_up: "Account Maken"
log_in: "Inloggen"
log_o... | 90345 | module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", translation:
common:
loading: "Aan het laden..."
modal:
close: "Sluiten"
okay: "Oké"
not_found:
page_not_found: "Pagina niet gevonden"
nav:
# Header
sign_up: "Account Maken"
log_in: "Inloggen"
log_o... | true | module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", translation:
common:
loading: "Aan het laden..."
modal:
close: "Sluiten"
okay: "Oké"
not_found:
page_not_found: "Pagina niet gevonden"
nav:
# Header
sign_up: "Account Maken"
log_in: "Inloggen"
log_o... |
[
{
"context": "calhost'\n username: process.env.USERNAME || 'admin'\n password: process.env.PASSWORD || '9999'\n ",
"end": 344,
"score": 0.9962547421455383,
"start": 339,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "e: process.env.USERNAME || 'admin'\n password:... | test/device.coffee | unm4sk1g/onvif | 1 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'Device', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: proces... | 104103 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'Device', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: proces... | true | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'Device', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: proces... |
[
{
"context": "ogging: true\n logFn: @logFn\n username: 'username'\n password: 'password'\n\n serverOptions.da",
"end": 396,
"score": 0.9991405606269836,
"start": 388,
"tag": "USERNAME",
"value": "username"
},
{
"context": "logFn\n username: 'username'\n pa... | test/integration/update-from-docker-hub-spec.coffee | octoblu/deploy-state-service | 1 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update From Docker Hub', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefin... | 92508 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update From Docker Hub', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefin... | true | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update From Docker Hub', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefin... |
[
{
"context": " # # \"Crow\"\n # # \"Flamingo\"\n # \"Gouldian Finch\"\n \"House Finch\"\n \"Kingfisher\"\n ",
"end": 226,
"score": 0.7830753326416016,
"start": 213,
"tag": "NAME",
"value": "ouldian Finch"
},
{
"context": "\"Kookaburra\"\n \"M... | lib/birds-settings.coffee | katie7r/atom-birds-syntax | 4 | settings =
config:
scheme:
type: 'string'
default: 'Pigeon'
enum: [
# # "Bluejay"
# # "Cardinal"
# "Chickadee"
# # "Crow"
# # "Flamingo"
# "Gouldian Finch"
"House Finch"
"Kingfisher"
"Kookaburra"
"Magpie"
# "... | 82201 | settings =
config:
scheme:
type: 'string'
default: 'Pigeon'
enum: [
# # "Bluejay"
# # "Cardinal"
# "Chickadee"
# # "Crow"
# # "Flamingo"
# "G<NAME>"
"House Finch"
"Kingfisher"
"Kookaburra"
"Magpie"
# "Orchard... | true | settings =
config:
scheme:
type: 'string'
default: 'Pigeon'
enum: [
# # "Bluejay"
# # "Cardinal"
# "Chickadee"
# # "Crow"
# # "Flamingo"
# "GPI:NAME:<NAME>END_PI"
"House Finch"
"Kingfisher"
"Kookaburra"
"Magpie"
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9981265664100647,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "ire(\"child_process\").fork\nLOCAL_BROADCAST_HOST = \"224.0.0.114\"\nTIMEOUT = 5000\nmessages ... | test/internet/test-dgram-multicast-multi-process.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... | 86792 | # 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": "\n\t##############################\n\t# LISTS\n\t\n\t@LIST_ADD:\n\t\taction: 'Add to list'\n\t\tlabel: 'L'\n\t\tkey: '",
"end": 415,
"score": 0.6918577551841736,
"start": 415,
"tag": "USERNAME",
"value": ""
},
{
"context": "ion: 'Add to list'\n\t\tlabel: 'L'\n\t\tkey: '... | src/coffee/Keymap.coffee | donmccurdy/powerline | 0 | class Keymap
##############################
# NAVIGATION
@UP:
action: 'Select Above'
label: '↑'
key: ['up', 'shift+up']
@DOWN:
action: 'Select Below'
label: '↓'
key: ['down', 'shift+down']
@LEFT:
action: 'Select Left'
label: '←'
key: ['left', 'shift+left']
@RIGHT:
action: 'Select Right'
... | 205057 | class Keymap
##############################
# NAVIGATION
@UP:
action: 'Select Above'
label: '↑'
key: ['up', 'shift+up']
@DOWN:
action: 'Select Below'
label: '↓'
key: ['down', 'shift+down']
@LEFT:
action: 'Select Left'
label: '←'
key: ['left', 'shift+left']
@RIGHT:
action: 'Select Right'
... | true | class Keymap
##############################
# NAVIGATION
@UP:
action: 'Select Above'
label: '↑'
key: ['up', 'shift+up']
@DOWN:
action: 'Select Below'
label: '↓'
key: ['down', 'shift+down']
@LEFT:
action: 'Select Left'
label: '←'
key: ['left', 'shift+left']
@RIGHT:
action: 'Select Right'
... |
[
{
"context": "/\n countries : [\"ie\", \"kr\", \"kp\", \"nz\", \"tw\", \"my\", \"ph\",\n \"sg\", \"th\", \"uk\", \"us\"]\n sep : \",\"",
"end": 1136,
"score": 0.8611155152320862,
"start": 1134,
"tag": "NAME",
"value": "my"
}
] | formats.coffee | GuillaumeLeclerc/numberParsing | 12 | module.exports = [
{
reg : /-?([0-9]+(?:\.[0-9]+)?)/
countries : ["au", "ca", "cn", "in", "ie", "is", "jp",
"kr", "kb", "lu", "my", "mx", "np", "pk", "nz", "sg",
"ph", "sg", "tz", "ch", "tw", "uk", "us"]
sep : ""
decimalSep : "."
}
{
reg : /-?([0-9]+(?:,[0-9]+)?)/
countries : ["al"... | 159932 | module.exports = [
{
reg : /-?([0-9]+(?:\.[0-9]+)?)/
countries : ["au", "ca", "cn", "in", "ie", "is", "jp",
"kr", "kb", "lu", "my", "mx", "np", "pk", "nz", "sg",
"ph", "sg", "tz", "ch", "tw", "uk", "us"]
sep : ""
decimalSep : "."
}
{
reg : /-?([0-9]+(?:,[0-9]+)?)/
countries : ["al"... | true | module.exports = [
{
reg : /-?([0-9]+(?:\.[0-9]+)?)/
countries : ["au", "ca", "cn", "in", "ie", "is", "jp",
"kr", "kb", "lu", "my", "mx", "np", "pk", "nz", "sg",
"ph", "sg", "tz", "ch", "tw", "uk", "us"]
sep : ""
decimalSep : "."
}
{
reg : /-?([0-9]+(?:,[0-9]+)?)/
countries : ["al"... |
[
{
"context": "ntWidget\n\n setting = {}\n setting.key = \"dates-picker\"\n\n scope.setting = setting\n scope.calen",
"end": 757,
"score": 0.8036906123161316,
"start": 745,
"tag": "KEY",
"value": "dates-picker"
}
] | src/components/widgets-settings/dates-picker/dates-picker.directive.coffee | agranado2k/impac-angular | 7 | # TODO: dates-picker should be a common component. Template compiling should be revised.
module = angular.module('impac.components.widgets-settings.dates-picker',[])
module.directive('settingDatesPicker', ($templateCache, $filter, ImpacWidgetsSvc, $timeout, $compile) ->
return {
restrict: 'A',
scope: {
... | 210378 | # TODO: dates-picker should be a common component. Template compiling should be revised.
module = angular.module('impac.components.widgets-settings.dates-picker',[])
module.directive('settingDatesPicker', ($templateCache, $filter, ImpacWidgetsSvc, $timeout, $compile) ->
return {
restrict: 'A',
scope: {
... | true | # TODO: dates-picker should be a common component. Template compiling should be revised.
module = angular.module('impac.components.widgets-settings.dates-picker',[])
module.directive('settingDatesPicker', ($templateCache, $filter, ImpacWidgetsSvc, $timeout, $compile) ->
return {
restrict: 'A',
scope: {
... |
[
{
"context": "le:'comment about a delicate truth'\n reader:'su ning'\n stars: 2 \n content:'it is wonderfulex",
"end": 2119,
"score": 0.9946322441101074,
"start": 2112,
"tag": "NAME",
"value": "su ning"
},
{
"context": "ent of new york'\n stars:4\n reader... | coffees/test-link-of-nohm-api.coffee | android1and1/easti | 0 | assert = require 'assert'
nohm = require 'nohm'
Nohm = nohm.Nohm
NohmModel = nohm.NohmModel
# keep global db-like variables.
CommentModel = undefined
ArticleModel = undefined
cdb = undefined
adb = undefined
class Article extends NohmModel
@modelName = 'article'
@idGenerator = 'increment'
@definitions =
tit... | 211689 | assert = require 'assert'
nohm = require 'nohm'
Nohm = nohm.Nohm
NohmModel = nohm.NohmModel
# keep global db-like variables.
CommentModel = undefined
ArticleModel = undefined
cdb = undefined
adb = undefined
class Article extends NohmModel
@modelName = 'article'
@idGenerator = 'increment'
@definitions =
tit... | true | assert = require 'assert'
nohm = require 'nohm'
Nohm = nohm.Nohm
NohmModel = nohm.NohmModel
# keep global db-like variables.
CommentModel = undefined
ArticleModel = undefined
cdb = undefined
adb = undefined
class Article extends NohmModel
@modelName = 'article'
@idGenerator = 'increment'
@definitions =
tit... |
[
{
"context": "e41ed1ef17d7541845d0e5ef506f2a94c651c836e53dde7621fda8897890f0251e1f6dbc0e713b41f13e73c2cf031aea2e888fe54f3bd656d727a83fddb\",\n private_key_hex: \"52173306ca0f862e8",
"end": 1744,
"score": 0.984695553779602,
"start": 1671,
"tag": "KEY",
"value": "fda8897890f0251e1f6... | programs/web_wallet/test/crypto/test/fixtures/mailmessage.coffee | larkx/LarkX | 0 | class Fixtures
before:
signed_messages: [
# "hex" was obtained from bitcoin_client mail API
hex: "077375626a656374c50231323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839300a3132333435363738393031323334353637383930313233343536373839303132... | 103258 | class Fixtures
before:
signed_messages: [
# "hex" was obtained from bitcoin_client mail API
hex: "077375626a656374c50231323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839300a3132333435363738393031323334353637383930313233343536373839303132... | true | class Fixtures
before:
signed_messages: [
# "hex" was obtained from bitcoin_client mail API
hex: "077375626a656374c50231323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839300a3132333435363738393031323334353637383930313233343536373839303132... |
[
{
"context": "se invite, used for invite links.\"\"\"\n\nusers: {\n \"herb\": {}\n \"basil\": {}\n \"rose\": {}\n \"lily\": {}\n}\n\nt",
"end": 80,
"score": 0.9975311756134033,
"start": 76,
"tag": "USERNAME",
"value": "herb"
},
{
"context": "ed for invite links.\"\"\"\n\nusers: {... | teamchains/inputs/multiple_use_invite.iced | keybase/keybase-test-vectors | 4 | description: """Multiple use invite, used for invite links."""
users: {
"herb": {}
"basil": {}
"rose": {}
"lily": {}
}
teams: {
"cabal": {
links: [{
type: "root"
members:
owner: ["herb"]
}, {
type: "invite"
signer: "herb"
invites:
writer: [{
id... | 121992 | description: """Multiple use invite, used for invite links."""
users: {
"herb": {}
"basil": {}
"<NAME>": {}
"<NAME>": {}
}
teams: {
"cabal": {
links: [{
type: "root"
members:
owner: ["herb"]
}, {
type: "invite"
signer: "herb"
invites:
writer: [{
... | true | description: """Multiple use invite, used for invite links."""
users: {
"herb": {}
"basil": {}
"PI:NAME:<NAME>END_PI": {}
"PI:NAME:<NAME>END_PI": {}
}
teams: {
"cabal": {
links: [{
type: "root"
members:
owner: ["herb"]
}, {
type: "invite"
signer: "herb"
invites:... |
[
{
"context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s",
"end": 31,
"score": 0.9520426392555237,
"start": 24,
"tag": "NAME",
"value": "Groupon"
}
] | src/server/models/model.coffee | Mefiso/greenscreen | 729 | ###
Copyright (c) 2014, Groupon
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla... | 106940 | ###
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclai... | true | ###
Copyright (c) 2014, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol... |
[
{
"context": " dimensions, cross-browser compatible\n# Thanks to: Stefano Gargiulo\ngetViewportSize = ->\n x = 0\n y = 0\n if window.",
"end": 990,
"score": 0.9998912215232849,
"start": 974,
"tag": "NAME",
"value": "Stefano Gargiulo"
}
] | vminpoly.coffee | fisherw/vminpoly | 360 | XMLHttpFactories = [
-> new XMLHttpRequest(),
-> new ActiveXObject("Msxml2.XMLHTTP"),
-> new ActiveXObject("Msxml3.XMLHTTP"),
-> new ActiveXObject("Microsoft.XMLHTTP")]
createXMLHTTPObject = ->
xmlhttp = false
i = 0
while i < XMLHttpFactories.length
try
xmlhttp = XMLHttpFactories[i++]()
ca... | 27886 | XMLHttpFactories = [
-> new XMLHttpRequest(),
-> new ActiveXObject("Msxml2.XMLHTTP"),
-> new ActiveXObject("Msxml3.XMLHTTP"),
-> new ActiveXObject("Microsoft.XMLHTTP")]
createXMLHTTPObject = ->
xmlhttp = false
i = 0
while i < XMLHttpFactories.length
try
xmlhttp = XMLHttpFactories[i++]()
ca... | true | XMLHttpFactories = [
-> new XMLHttpRequest(),
-> new ActiveXObject("Msxml2.XMLHTTP"),
-> new ActiveXObject("Msxml3.XMLHTTP"),
-> new ActiveXObject("Microsoft.XMLHTTP")]
createXMLHTTPObject = ->
xmlhttp = false
i = 0
while i < XMLHttpFactories.length
try
xmlhttp = XMLHttpFactories[i++]()
ca... |
[
{
"context": "\t@calendar = `{{{calendar}}}`\n\t\t@weekday_keys = [\"sun\", \"mon\", \"tue\", \"wed\", \"thu\", \"fri\", \"sat\"]\n\t\t@methods = # ignoring u, l, g, j, A\n\t\t\t'G': 'er",
"end": 274,
"score": 0.9976433515548706,
"start": 227,
"tag": "KEY",
"value": "sun\", \"mon\", \"tue\",... | js/lib/mustache/calendars/datetime.coffee | caniszczyk/twitter-cldr-rb | 0 | # Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
TwitterCldr.DateTimeFormatter = class DateTimeFormatter
constructor: ->
@tokens = `{{{tokens}}}`
@calendar = `{{{calendar}}}`
@weekday_keys = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"]
@methods = # ignoring u, l, g, j, A
'G':... | 169997 | # Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
TwitterCldr.DateTimeFormatter = class DateTimeFormatter
constructor: ->
@tokens = `{{{tokens}}}`
@calendar = `{{{calendar}}}`
@weekday_keys = ["<KEY>
@methods = # ignoring u, l, g, j, A
'G': 'era'
'y': 'year'
'Y': 'year_of_wee... | true | # Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
TwitterCldr.DateTimeFormatter = class DateTimeFormatter
constructor: ->
@tokens = `{{{tokens}}}`
@calendar = `{{{calendar}}}`
@weekday_keys = ["PI:KEY:<KEY>END_PI
@methods = # ignoring u, l, g, j, A
'G': 'era'
'y': 'year'
'Y':... |
[
{
"context": "'fileTypes': [\n 'arnoldc'\n]\n'name': 'ArnoldC'\n'patterns': [\n {\n 'match': '(HEY\\ CHRISTMAS\\",
"end": 45,
"score": 0.9712295532226562,
"start": 38,
"tag": "NAME",
"value": "ArnoldC"
}
] | grammars/arnoldc.cson | mpgirro/atom-language-arnoldc | 0 | 'fileTypes': [
'arnoldc'
]
'name': 'ArnoldC'
'patterns': [
{
'match': '(HEY\ CHRISTMAS\ TREE|YOU\ SET\ US\ UP|YOU\ HAVE\ BEEN\ TERMINATED|GET\ TO\ THE\ CHOPPER|ENOUGH\ TALK|HERE\ IS\ MY\ INVITATION|GET\ UP|LET\ OFF\ SOME\ STEAM\ BENNET|HASTA\ LA\ VISTA\,\ BABY)'
'name': 'keyword.control.arnoldc'
}
{
... | 60046 | 'fileTypes': [
'arnoldc'
]
'name': '<NAME>'
'patterns': [
{
'match': '(HEY\ CHRISTMAS\ TREE|YOU\ SET\ US\ UP|YOU\ HAVE\ BEEN\ TERMINATED|GET\ TO\ THE\ CHOPPER|ENOUGH\ TALK|HERE\ IS\ MY\ INVITATION|GET\ UP|LET\ OFF\ SOME\ STEAM\ BENNET|HASTA\ LA\ VISTA\,\ BABY)'
'name': 'keyword.control.arnoldc'
}
{
... | true | 'fileTypes': [
'arnoldc'
]
'name': 'PI:NAME:<NAME>END_PI'
'patterns': [
{
'match': '(HEY\ CHRISTMAS\ TREE|YOU\ SET\ US\ UP|YOU\ HAVE\ BEEN\ TERMINATED|GET\ TO\ THE\ CHOPPER|ENOUGH\ TALK|HERE\ IS\ MY\ INVITATION|GET\ UP|LET\ OFF\ SOME\ STEAM\ BENNET|HASTA\ LA\ VISTA\,\ BABY)'
'name': 'keyword.control.arnoldc... |
[
{
"context": "nditions =\n asc: [\"Title\"]\n desc: [\"Name\"]\n\n scope = controller.resourceClass()\n ",
"end": 4387,
"score": 0.5063925385475159,
"start": 4383,
"tag": "NAME",
"value": "Name"
},
{
"context": "1, model1) =>\n App.Parent.create title:... | test/controllers/resourceTest.coffee | komola/salad | 2 | describe "App.Controller mixin resource", ->
describe "#buildConditionsFromParameters", ->
it "should translate GET parameters to where conditions", ->
controller = new App.TodosController()
gtParameters =
title: "Test"
createdAt: ">2013-07-15T09:09:09.000Z"
encodedGtParameters ... | 174457 | describe "App.Controller mixin resource", ->
describe "#buildConditionsFromParameters", ->
it "should translate GET parameters to where conditions", ->
controller = new App.TodosController()
gtParameters =
title: "Test"
createdAt: ">2013-07-15T09:09:09.000Z"
encodedGtParameters ... | true | describe "App.Controller mixin resource", ->
describe "#buildConditionsFromParameters", ->
it "should translate GET parameters to where conditions", ->
controller = new App.TodosController()
gtParameters =
title: "Test"
createdAt: ">2013-07-15T09:09:09.000Z"
encodedGtParameters ... |
[
{
"context": "ire \"../../../lib/config\"\n\ngapi.server.setApiKey \"AIzaSyB14Ua7k5_wusxHTQEH3sqmglO7MHjHPCI\"\ngapi.server.load \"plus\", \"v1\", ->\n request = ga",
"end": 134,
"score": 0.9997470378875732,
"start": 95,
"tag": "KEY",
"value": "AIzaSyB14Ua7k5_wusxHTQEH3sqmglO7MHjHPCI"
},
... | static/node_modules/gapi/test/plus/activities/list.coffee | nohharri/chator | 4 | gapi = require "../../../index"
config = require "../../../lib/config"
gapi.server.setApiKey "AIzaSyB14Ua7k5_wusxHTQEH3sqmglO7MHjHPCI"
gapi.server.load "plus", "v1", ->
request = gapi.server.plus.activities.list userId: '102147307918874735077', collection: 'public', maxResults: '1'
describe "calling activities.li... | 32185 | gapi = require "../../../index"
config = require "../../../lib/config"
gapi.server.setApiKey "<KEY>"
gapi.server.load "plus", "v1", ->
request = gapi.server.plus.activities.list userId: '102147307918874735077', collection: 'public', maxResults: '1'
describe "calling activities.list({userId: '102147307918874735077... | true | gapi = require "../../../index"
config = require "../../../lib/config"
gapi.server.setApiKey "PI:KEY:<KEY>END_PI"
gapi.server.load "plus", "v1", ->
request = gapi.server.plus.activities.list userId: '102147307918874735077', collection: 'public', maxResults: '1'
describe "calling activities.list({userId: '10214730... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987263679504395,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " common.PORT, ->\n cmd = \"curl --insecure https://127.0.0.1:\" + common.PORT + \"/\"\n cons... | test/simple/test-https-simple.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... | 11485 | # 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": "###\n * 测试 Promise\n * @author jackie Lin <dashi_lin@163.com>\n###\npromise = null\ndescribe '",
"end": 39,
"score": 0.9997403621673584,
"start": 29,
"tag": "NAME",
"value": "jackie Lin"
},
{
"context": "###\n * 测试 Promise\n * @author jackie Lin <dashi_lin@163.com>\n###... | test/test.coffee | JackieLin/promise | 3 | ###
* 测试 Promise
* @author jackie Lin <dashi_lin@163.com>
###
promise = null
describe 'Promise', ->
it '#new Promise', ->
promise = new Promise (resolve, reject)->
window.setTimeout ->
resolve 111
, 1000
it 'then test normal', ->
# normal promise
... | 129509 | ###
* 测试 Promise
* @author <NAME> <<EMAIL>>
###
promise = null
describe 'Promise', ->
it '#new Promise', ->
promise = new Promise (resolve, reject)->
window.setTimeout ->
resolve 111
, 1000
it 'then test normal', ->
# normal promise
promise.then... | true | ###
* 测试 Promise
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
promise = null
describe 'Promise', ->
it '#new Promise', ->
promise = new Promise (resolve, reject)->
window.setTimeout ->
resolve 111
, 1000
it 'then test normal', ->
# normal... |
[
{
"context": " ->\n options ?= new Object\n options.key ?= 'connect.sid'\n options.store ?= new session.MemoryStore\n ",
"end": 543,
"score": 0.999232292175293,
"start": 532,
"tag": "KEY",
"value": "connect.sid"
}
] | node_modules/express.io/lib/index.coffee | bradyuen/nodejs | 4 | connect = require 'express/node_modules/connect'
express = require 'express'
io = require 'socket.io'
http = require 'http'
https = require 'https'
async = require 'async'
middleware = require './middleware'
_ = require 'underscore'
RequestIO = require('./request').RequestIO
RoomIO = require('./room').RoomIO
express.... | 129998 | connect = require 'express/node_modules/connect'
express = require 'express'
io = require 'socket.io'
http = require 'http'
https = require 'https'
async = require 'async'
middleware = require './middleware'
_ = require 'underscore'
RequestIO = require('./request').RequestIO
RoomIO = require('./room').RoomIO
express.... | true | connect = require 'express/node_modules/connect'
express = require 'express'
io = require 'socket.io'
http = require 'http'
https = require 'https'
async = require 'async'
middleware = require './middleware'
_ = require 'underscore'
RequestIO = require('./request').RequestIO
RoomIO = require('./room').RoomIO
express.... |
[
{
"context": "# @file testAll.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 59,
"score": 0.999764621257782,
"start": 45,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | test/testExample.coffee | siviter-t/lampyridae.coffee | 4 | # @file testAll.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'particle/firefly'
describe 'Testing an example', ->
canvas = null
before (done) ->
canvas = new Lampyridae.Canvas 'wor... | 22673 | # @file testAll.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'particle/firefly'
describe 'Testing an example', ->
canvas = null
before (done) ->
canvas = new Lampyridae.Canvas 'world'
... | true | # @file testAll.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'particle/firefly'
describe 'Testing an example', ->
canvas = null
before (done) ->
canvas = new Lampyridae.Canva... |
[
{
"context": "malsListData = [\n id: 1, animal: 'tiger', name: 'Vee'\n,\n id: 2, animal: 'lion', name: 'Simba'\n,\n id:",
"end": 70,
"score": 0.7999870181083679,
"start": 67,
"tag": "NAME",
"value": "Vee"
},
{
"context": "r', name: 'Vee'\n,\n id: 2, animal: 'lion', name: 'Simba'\... | exercises/08.fetching.cjsx | soyjavi/react-kitchensink | 1 | "use strict"
animalsListData = [
id: 1, animal: 'tiger', name: 'Vee'
,
id: 2, animal: 'lion', name: 'Simba'
,
id: 3, animal: 'dog', name: 'Buck'
,
id: 4, animal: 'sealion', name: 'Seel'
]
AnimalsList = React.createClass
getInitialState: ->
animals: []
componentDidMount: ->
@_fetchAsync()
rend... | 207842 | "use strict"
animalsListData = [
id: 1, animal: 'tiger', name: '<NAME>'
,
id: 2, animal: 'lion', name: '<NAME>'
,
id: 3, animal: 'dog', name: '<NAME>'
,
id: 4, animal: 'sealion', name: '<NAME>el'
]
AnimalsList = React.createClass
getInitialState: ->
animals: []
componentDidMount: ->
@_fetchAsync... | true | "use strict"
animalsListData = [
id: 1, animal: 'tiger', name: 'PI:NAME:<NAME>END_PI'
,
id: 2, animal: 'lion', name: 'PI:NAME:<NAME>END_PI'
,
id: 3, animal: 'dog', name: 'PI:NAME:<NAME>END_PI'
,
id: 4, animal: 'sealion', name: 'PI:NAME:<NAME>END_PIel'
]
AnimalsList = React.createClass
getInitialState: ->
... |
[
{
"context": "memberId\n\n ContactItem\n key: _memberId\n _teamId: @props._teamId\n ",
"end": 850,
"score": 0.5145905017852783,
"start": 844,
"tag": "KEY",
"value": "member"
}
] | talk-web/client/app/group-details.coffee | ikingye/talk-os | 3,084 | React = require 'react'
cx = require 'classnames'
Immutable = require 'immutable'
orders = require '../util/orders'
lang = require '../locales/lang'
Permission = require '../module/permission'
ContactItem = React.createFactory require './contact-item'
{ div, span, button } = React.DOM
T = React.PropTypes
l = lang... | 181363 | React = require 'react'
cx = require 'classnames'
Immutable = require 'immutable'
orders = require '../util/orders'
lang = require '../locales/lang'
Permission = require '../module/permission'
ContactItem = React.createFactory require './contact-item'
{ div, span, button } = React.DOM
T = React.PropTypes
l = lang... | true | React = require 'react'
cx = require 'classnames'
Immutable = require 'immutable'
orders = require '../util/orders'
lang = require '../locales/lang'
Permission = require '../module/permission'
ContactItem = React.createFactory require './contact-item'
{ div, span, button } = React.DOM
T = React.PropTypes
l = lang... |
[
{
"context": "e-break-on-single-newline': ->\n keyPath = 'dyndoc-viewer.breakOnSingleNewline'\n atom.config.set(keyPath,!atom.config.get",
"end": 2358,
"score": 0.9970970153808594,
"start": 2324,
"tag": "KEY",
"value": "dyndoc-viewer.breakOnSingleNewline"
}
] | lib/main.coffee | rcqls/atom-dyndoc-viewer | 0 | url = require 'url'
path = require 'path'
fs = require 'fs'
dyndoc_viewer = null
DyndocViewer = require './dyndoc-viewer' #null # Defer until used
rendererCoffee = require './render-coffee'
rendererDyndoc = require './render-dyndoc'
DyndocRunner = require './dyndoc-runner'
#rendererDyndoc = null # Defer until user ch... | 208657 | url = require 'url'
path = require 'path'
fs = require 'fs'
dyndoc_viewer = null
DyndocViewer = require './dyndoc-viewer' #null # Defer until used
rendererCoffee = require './render-coffee'
rendererDyndoc = require './render-dyndoc'
DyndocRunner = require './dyndoc-runner'
#rendererDyndoc = null # Defer until user ch... | true | url = require 'url'
path = require 'path'
fs = require 'fs'
dyndoc_viewer = null
DyndocViewer = require './dyndoc-viewer' #null # Defer until used
rendererCoffee = require './render-coffee'
rendererDyndoc = require './render-dyndoc'
DyndocRunner = require './dyndoc-runner'
#rendererDyndoc = null # Defer until user ch... |
[
{
"context": "\n# }\n#\n\nclass SuggestedTriggerRepository\n KEY = 'suggested-triggers'\n\n constructor: (@brain) ->\n @cache = []\n ",
"end": 186,
"score": 0.9027900695800781,
"start": 168,
"tag": "KEY",
"value": "suggested-triggers"
}
] | support/suggested_trigger_repository.coffee | lawsonjt/liona | 9 | #
# record structure
# {
# id: 'x3jrja',
# name: '!foo',
# phrase: '...',
# created_at: ...,
# author: '...'
# }
#
class SuggestedTriggerRepository
KEY = 'suggested-triggers'
constructor: (@brain) ->
@cache = []
@brain.on 'loaded', =>
braindata = brain.data._private[KEY]
@cache = bra... | 179244 | #
# record structure
# {
# id: 'x3jrja',
# name: '!foo',
# phrase: '...',
# created_at: ...,
# author: '...'
# }
#
class SuggestedTriggerRepository
KEY = '<KEY>'
constructor: (@brain) ->
@cache = []
@brain.on 'loaded', =>
braindata = brain.data._private[KEY]
@cache = braindata if bra... | true | #
# record structure
# {
# id: 'x3jrja',
# name: '!foo',
# phrase: '...',
# created_at: ...,
# author: '...'
# }
#
class SuggestedTriggerRepository
KEY = 'PI:KEY:<KEY>END_PI'
constructor: (@brain) ->
@cache = []
@brain.on 'loaded', =>
braindata = brain.data._private[KEY]
@cache = bra... |
[
{
"context": "text' className={userEmailClassName} placeholder='mail@example.com' value={inviteInput.get 'email'} onChange={@props",
"end": 672,
"score": 0.999904990196228,
"start": 656,
"tag": "EMAIL",
"value": "mail@example.com"
},
{
"context": "nformationLabel = ({ canEdit }) ->\n... | client/home/lib/myteam/components/hometeamsendinvites/view.coffee | lionheart1022/koding | 0 | kd = require 'kd'
React = require 'app/react'
List = require 'app/components/list'
CheckBox = require 'app/components/common/checkbox'
module.exports = class HomeTeamSendInvitesView extends React.Component
numberOfSections: -> 1
numberOfRowsInSection: ->
@props.inputValues?.size or 0
renderSectionHead... | 64587 | kd = require 'kd'
React = require 'app/react'
List = require 'app/components/list'
CheckBox = require 'app/components/common/checkbox'
module.exports = class HomeTeamSendInvitesView extends React.Component
numberOfSections: -> 1
numberOfRowsInSection: ->
@props.inputValues?.size or 0
renderSectionHead... | true | kd = require 'kd'
React = require 'app/react'
List = require 'app/components/list'
CheckBox = require 'app/components/common/checkbox'
module.exports = class HomeTeamSendInvitesView extends React.Component
numberOfSections: -> 1
numberOfRowsInSection: ->
@props.inputValues?.size or 0
renderSectionHead... |
[
{
"context": "t_key: 'prj1', client_id: 'id1', client_secret: 's1', props: {}}\n {project_key: 'prj2', client_i",
"end": 857,
"score": 0.6373029947280884,
"start": 856,
"tag": "KEY",
"value": "1"
},
{
"context": "t_key: 'prj2', client_id: 'id2', client_secret: 's2', props: {}}\n... | src/spec/util.spec.coffee | sphereio/sphere-message-processing | 0 | Q = require 'q'
{_} = require 'underscore'
util = require '../lib/util'
describe 'util.parseProjectsCredentials', ->
mockCredentialsConfig =
forProjectKey: (key) ->
project_key: key
client_id: "mock_client_id"
client_secret: "mock_client_secret"
it 'should return an empty array if input is ... | 99478 | Q = require 'q'
{_} = require 'underscore'
util = require '../lib/util'
describe 'util.parseProjectsCredentials', ->
mockCredentialsConfig =
forProjectKey: (key) ->
project_key: key
client_id: "mock_client_id"
client_secret: "mock_client_secret"
it 'should return an empty array if input is ... | true | Q = require 'q'
{_} = require 'underscore'
util = require '../lib/util'
describe 'util.parseProjectsCredentials', ->
mockCredentialsConfig =
forProjectKey: (key) ->
project_key: key
client_id: "mock_client_id"
client_secret: "mock_client_secret"
it 'should return an empty array if input is ... |
[
{
"context": "LaTeX and the Terminal.\n#\n# Copyright (C) 2014, William Stein\n#\n# This program is free software: you can red",
"end": 217,
"score": 0.9998446702957153,
"start": 204,
"tag": "NAME",
"value": "William Stein"
}
] | .sagemathcloud/console_server_child.coffee | febman/elastic-3D-model | 0 | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, William Stein
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of... | 26740 | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, <NAME>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GN... | true | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, PI:NAME:<NAME>END_PI
#
# This program is free software: you can redistribute it and/or modify
# it under the t... |
[
{
"context": "# 开发模式下的监控模块\n# @date 2015年11月23日17:37:08\n# @author pjg <iampjg@gmail.com>\n# @link http://pjg.pw\n# @versi",
"end": 59,
"score": 0.9996052980422974,
"start": 56,
"tag": "USERNAME",
"value": "pjg"
},
{
"context": "下的监控模块\n# @date 2015年11月23日17:37:08\n# @author pjg <iam... | node_modules/vbuilder/lib/watchCtl/index.coffee | duolaimi/v.builder.site | 0 | ###*
# 开发模式下的监控模块
# @date 2015年11月23日17:37:08
# @author pjg <iampjg@gmail.com>
# @link http://pjg.pw
# @version $Id$
###
fs = require "fs"
path = require "path"
_ = require "lodash"
gutil = require "gulp-util"
color = gutil.colors
Watch = require "gulp-watch"
# JS语法检测
jshint = require "jshint"
JSHI... | 61706 | ###*
# 开发模式下的监控模块
# @date 2015年11月23日17:37:08
# @author pjg <<EMAIL>>
# @link http://pjg.pw
# @version $Id$
###
fs = require "fs"
path = require "path"
_ = require "lodash"
gutil = require "gulp-util"
color = gutil.colors
Watch = require "gulp-watch"
# JS语法检测
jshint = require "jshint"
JSHINT = jsh... | true | ###*
# 开发模式下的监控模块
# @date 2015年11月23日17:37:08
# @author pjg <PI:EMAIL:<EMAIL>END_PI>
# @link http://pjg.pw
# @version $Id$
###
fs = require "fs"
path = require "path"
_ = require "lodash"
gutil = require "gulp-util"
color = gutil.colors
Watch = require "gulp-watch"
# JS语法检测
jshint = require "jshint... |
[
{
"context": "t:alert(0);' # removes javascript\n 'mailto:hello@kermit.cc' # removes email\n '#inpage-anchor'\n ",
"end": 306,
"score": 0.9999081492424011,
"start": 291,
"tag": "EMAIL",
"value": "hello@kermit.cc"
},
{
"context": "ocalPath base, \"https://raw.githu... | src/kermit/util/tools.spec.coffee | open-medicine-initiative/webcherries | 6 | {obj, uri, files} = require './tools'
describe 'Tools collection', ->
describe ' has uri utilities', ->
it ' #clean(base, urls) to clean sets of URLs ', ->
base = "http://kermit.cc/base/"
uncleaned = [
'javascript:alert(0);' # removes javascript
'mailto:hello@kermit.cc' # removes em... | 119348 | {obj, uri, files} = require './tools'
describe 'Tools collection', ->
describe ' has uri utilities', ->
it ' #clean(base, urls) to clean sets of URLs ', ->
base = "http://kermit.cc/base/"
uncleaned = [
'javascript:alert(0);' # removes javascript
'mailto:<EMAIL>' # removes email
... | true | {obj, uri, files} = require './tools'
describe 'Tools collection', ->
describe ' has uri utilities', ->
it ' #clean(base, urls) to clean sets of URLs ', ->
base = "http://kermit.cc/base/"
uncleaned = [
'javascript:alert(0);' # removes javascript
'mailto:PI:EMAIL:<EMAIL>END_PI' # rem... |
[
{
"context": "ource: jsonp.coffee\n###\n\n###\n * \n * Copyright 2017 Al Carruth\n * \n * Licensed under the Apache License, Version",
"end": 70,
"score": 0.9998121857643127,
"start": 60,
"tag": "NAME",
"value": "Al Carruth"
},
{
"context": "method send() ###\n send: =>\n w... | src/jsonp.coffee | alcarruth/JSONP_Controller | 0 | ###*
* source: jsonp.coffee
###
###
*
* Copyright 2017 Al Carruth
*
* 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 ... | 123681 | ###*
* source: jsonp.coffee
###
###
*
* Copyright 2017 <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 requ... | true | ###*
* source: jsonp.coffee
###
###
*
* Copyright 2017 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
*
... |
[
{
"context": " User({\n anonymous: false\n name: 'healthcheck'\n nameLower: 'healthcheck'\n slug: 'heal",
"end": 375,
"score": 0.5613493919372559,
"start": 370,
"tag": "NAME",
"value": "check"
},
{
"context": "lthcheck'\n slug: 'healthcheck'\n email: 'ro... | server/middleware/healthcheck.coffee | adamcsillag/codecombat | 2 | wrap = require 'co-express'
errors = require '../commons/errors'
module.exports = wrap (req, res) ->
User = require '../models/User'
user = yield User.findOne({})
throw new errors.InternalServerError('No users found') unless user
hcUser = yield User.findOne(slug: 'healthcheck')
if not hcUser
hcUser = new... | 181467 | wrap = require 'co-express'
errors = require '../commons/errors'
module.exports = wrap (req, res) ->
User = require '../models/User'
user = yield User.findOne({})
throw new errors.InternalServerError('No users found') unless user
hcUser = yield User.findOne(slug: 'healthcheck')
if not hcUser
hcUser = new... | true | wrap = require 'co-express'
errors = require '../commons/errors'
module.exports = wrap (req, res) ->
User = require '../models/User'
user = yield User.findOne({})
throw new errors.InternalServerError('No users found') unless user
hcUser = yield User.findOne(slug: 'healthcheck')
if not hcUser
hcUser = new... |
[
{
"context": "ls type=\"pets\" test=\"yeah\"><dog type=\"dumb\"><name>Rufus</name><breed>labrador</breed></dog><dog><name>Mar",
"end": 181,
"score": 0.998879611492157,
"start": 176,
"tag": "NAME",
"value": "Rufus"
},
{
"context": "fus</name><breed>labrador</breed></dog><dog><name>Mar... | bench.coffee | contra/xmlson | 1 | xmlson = require './'
Benchmark = require 'benchmark'
tiny = "<foo/>"
simple = "<foo bar='baz'>quux</foo>"
standard = '<animals type="pets" test="yeah"><dog type="dumb"><name>Rufus</name><breed>labrador</breed></dog><dog><name>Marty</name><breed>whippet</breed></dog><dog/><cat name="Matilda"/></animals>'
complex = '<i... | 41645 | xmlson = require './'
Benchmark = require 'benchmark'
tiny = "<foo/>"
simple = "<foo bar='baz'>quux</foo>"
standard = '<animals type="pets" test="yeah"><dog type="dumb"><name><NAME></name><breed>labrador</breed></dog><dog><name><NAME></name><breed>whippet</breed></dog><dog/><cat name="<NAME>ilda"/></animals>'
complex ... | true | xmlson = require './'
Benchmark = require 'benchmark'
tiny = "<foo/>"
simple = "<foo bar='baz'>quux</foo>"
standard = '<animals type="pets" test="yeah"><dog type="dumb"><name>PI:NAME:<NAME>END_PI</name><breed>labrador</breed></dog><dog><name>PI:NAME:<NAME>END_PI</name><breed>whippet</breed></dog><dog/><cat name="PI:NA... |
[
{
"context": " hubot prs - Same as \"hubot pr\".\n#\n# Author:\n# helious (David Posey)\n# davedash (Dave Dash)\n\nasync = r",
"end": 847,
"score": 0.99945467710495,
"start": 840,
"tag": "USERNAME",
"value": "helious"
},
{
"context": "rs - Same as \"hubot pr\".\n#\n# Author:\n#... | scripts/github-pull-requests.coffee | helious/hubot-github-pull-requests.coffee | 1 | # Description:
# A way to list all currently open PRs on GitHub.
#
# Dependencies:
# "async": "~1.4.2",
# "bluebird": "~2.10.0",
# "octonode": "> 0.6.0 < 0.8.0"
#
# Configuration:
# GITHUB_PRS_OAUTH_TOKEN = # (Required) A GitHub OAuth token generated from your account.
# GITHUB_PRS_USER = # (Required if GIT... | 171926 | # Description:
# A way to list all currently open PRs on GitHub.
#
# Dependencies:
# "async": "~1.4.2",
# "bluebird": "~2.10.0",
# "octonode": "> 0.6.0 < 0.8.0"
#
# Configuration:
# GITHUB_PRS_OAUTH_TOKEN = # (Required) A GitHub OAuth token generated from your account.
# GITHUB_PRS_USER = # (Required if GIT... | true | # Description:
# A way to list all currently open PRs on GitHub.
#
# Dependencies:
# "async": "~1.4.2",
# "bluebird": "~2.10.0",
# "octonode": "> 0.6.0 < 0.8.0"
#
# Configuration:
# GITHUB_PRS_OAUTH_TOKEN = # (Required) A GitHub OAuth token generated from your account.
# GITHUB_PRS_USER = # (Required if GIT... |
[
{
"context": "# VexTab Artist\n# Copyright 2012 Mohit Cheppudira <mohit@muthanna.com>\n#\n# This class is responsibl",
"end": 49,
"score": 0.9998893141746521,
"start": 33,
"tag": "NAME",
"value": "Mohit Cheppudira"
},
{
"context": " VexTab Artist\n# Copyright 2012 Mohit Cheppudira <m... | src/artist.coffee | TheodoreChu/vextab | 1 | # VexTab Artist
# Copyright 2012 Mohit Cheppudira <mohit@muthanna.com>
#
# This class is responsible for rendering the elements
# parsed by Vex.Flow.VexTab.
import Vex from 'vexflow'
import * as _ from 'lodash'
class Artist
@DEBUG = false
L = (args...) -> console?.log("(Vex.Flow.Artist)", args...) if Artist.DEBU... | 90446 | # VexTab Artist
# Copyright 2012 <NAME> <<EMAIL>>
#
# This class is responsible for rendering the elements
# parsed by Vex.Flow.VexTab.
import Vex from 'vexflow'
import * as _ from 'lodash'
class Artist
@DEBUG = false
L = (args...) -> console?.log("(Vex.Flow.Artist)", args...) if Artist.DEBUG
@NOLOGO = false
... | true | # VexTab Artist
# Copyright 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This class is responsible for rendering the elements
# parsed by Vex.Flow.VexTab.
import Vex from 'vexflow'
import * as _ from 'lodash'
class Artist
@DEBUG = false
L = (args...) -> console?.log("(Vex.Flow.Artist)", args...) if Art... |
[
{
"context": "odosSinos #NovoHamburgo from:ComusaNH',\n# key: 'bc254ea08faf45c216fada14d64edf71',\n# secret: '99cbd9758755f8e9e55aa2be5acb75da'\n",
"end": 705,
"score": 0.9996774792671204,
"start": 673,
"tag": "KEY",
"value": "bc254ea08faf45c216fada14d64edf71"
},
{
"context": " '... | lib/index.coffee | paulodiovani/sinos-river-scraper-twitter | 1 | # # Index
#
# The main module exports a series of methods that pass a
# Readable Stream to the callback function.
TweetsSearch = require('./tweets').TweetsSearch
Parser = require('./parser')
DEFAULT_QUERY = '#RiodosSinos #NovoHamburgo from:ComusaNH'
# ## Search tweets
#
# - `options` Search options
# - `ke... | 138494 | # # Index
#
# The main module exports a series of methods that pass a
# Readable Stream to the callback function.
TweetsSearch = require('./tweets').TweetsSearch
Parser = require('./parser')
DEFAULT_QUERY = '#RiodosSinos #NovoHamburgo from:ComusaNH'
# ## Search tweets
#
# - `options` Search options
# - `ke... | true | # # Index
#
# The main module exports a series of methods that pass a
# Readable Stream to the callback function.
TweetsSearch = require('./tweets').TweetsSearch
Parser = require('./parser')
DEFAULT_QUERY = '#RiodosSinos #NovoHamburgo from:ComusaNH'
# ## Search tweets
#
# - `options` Search options
# - `ke... |
[
{
"context": "ns links to it\n#\n# Notes:\n# None\n#\n# Author:\n# JD Courtoy\n\nMEMEGEN_API_URL = \"http://memegen.link\"\n\nmodule.",
"end": 399,
"score": 0.9997605085372925,
"start": 389,
"tag": "NAME",
"value": "JD Courtoy"
}
] | scripts/memegen.coffee | nc2/bb-bot | 0 | # Description
# A Hubot script for creating memes from templates using memegen.link.
#
# Configuration:
# None
#
# Commands:
# hubot meme list - Returns available meme templates from Memegen.link and their respective URLs (keys)
# hubot meme <template> top: <text> bottom: <text> - Creates a <template> meme usin... | 150472 | # Description
# A Hubot script for creating memes from templates using memegen.link.
#
# Configuration:
# None
#
# Commands:
# hubot meme list - Returns available meme templates from Memegen.link and their respective URLs (keys)
# hubot meme <template> top: <text> bottom: <text> - Creates a <template> meme usin... | true | # Description
# A Hubot script for creating memes from templates using memegen.link.
#
# Configuration:
# None
#
# Commands:
# hubot meme list - Returns available meme templates from Memegen.link and their respective URLs (keys)
# hubot meme <template> top: <text> bottom: <text> - Creates a <template> meme usin... |
[
{
"context": "LOG\", message\n getDevices: -> [\n { deviceId: \"FAKEDEVICEID779BA001D1B7A638EB320103F0EF\", kind: \"audioinput\", label: \"iPad Micro\", groupI",
"end": 925,
"score": 0.990100085735321,
"start": 885,
"tag": "KEY",
"value": "FAKEDEVICEID779BA001D1B7A638EB320103F0EF"
},
... | src/js/OT.coffee | cadesalaberry/cordova-plugin-opentok | 1 | # TB Object:
# Methods:
# TB.checkSystemRequirements() :number
# TB.initPublisher( apiKey:String [, replaceElementId:String] [, properties:Object] ):Publisher
# TB.initSession( apiKey, sessionId ):Session
# TB.log( message )
# TB.off( type:String, listener:Function )
# TB.on( type:String, list... | 13902 | # TB Object:
# Methods:
# TB.checkSystemRequirements() :number
# TB.initPublisher( apiKey:String [, replaceElementId:String] [, properties:Object] ):Publisher
# TB.initSession( apiKey, sessionId ):Session
# TB.log( message )
# TB.off( type:String, listener:Function )
# TB.on( type:String, list... | true | # TB Object:
# Methods:
# TB.checkSystemRequirements() :number
# TB.initPublisher( apiKey:String [, replaceElementId:String] [, properties:Object] ):Publisher
# TB.initSession( apiKey, sessionId ):Session
# TB.log( message )
# TB.off( type:String, listener:Function )
# TB.on( type:String, list... |
[
{
"context": "corporates code from [markmon](https://github.com/yyjhao/markmon)\n# covered by the following terms:\n#\n# Co",
"end": 70,
"score": 0.9992825984954834,
"start": 64,
"tag": "USERNAME",
"value": "yyjhao"
},
{
"context": "ed by the following terms:\n#\n# Copyright (c) 2014... | lib/update-preview.coffee | abejfehr/markdown-preview-katex | 20 | # This file incorporates code from [markmon](https://github.com/yyjhao/markmon)
# covered by the following terms:
#
# Copyright (c) 2014, Yao Yujian, http://yjyao.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), ... | 103063 | # This file incorporates code from [markmon](https://github.com/yyjhao/markmon)
# covered by the following terms:
#
# Copyright (c) 2014, <NAME>, http://yjyao.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to d... | true | # This file incorporates code from [markmon](https://github.com/yyjhao/markmon)
# covered by the following terms:
#
# Copyright (c) 2014, PI:NAME:<NAME>END_PI, http://yjyao.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "So... |
[
{
"context": "class DropShadow\n @shouldParse: (key) -> key is 'dsdw'\n\n BLEND_MODES = {\n norm: 'normal',\n dark: 'da",
"end": 171,
"score": 0.9681181311607361,
"start": 167,
"tag": "KEY",
"value": "dsdw"
}
] | lib/psd/layer_info/effect_info/drop_shadow.coffee | fzx-design/Trims-psd-resolving | 0 | Descriptor = require '../../descriptor.coffee'
EffectLayer = require '../effect_layer_info.coffee'
module.exports = class DropShadow
@shouldParse: (key) -> key is 'dsdw'
BLEND_MODES = {
norm: 'normal',
dark: 'darken',
lite: 'lighten',
hue: 'hue',
sat: 'saturation',
colr: 'color',
lum: 'luminosity... | 117621 | Descriptor = require '../../descriptor.coffee'
EffectLayer = require '../effect_layer_info.coffee'
module.exports = class DropShadow
@shouldParse: (key) -> key is '<KEY>'
BLEND_MODES = {
norm: 'normal',
dark: 'darken',
lite: 'lighten',
hue: 'hue',
sat: 'saturation',
colr: 'color',
lum: 'luminosit... | true | Descriptor = require '../../descriptor.coffee'
EffectLayer = require '../effect_layer_info.coffee'
module.exports = class DropShadow
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
BLEND_MODES = {
norm: 'normal',
dark: 'darken',
lite: 'lighten',
hue: 'hue',
sat: 'saturation',
colr: 'color',
lum... |
[
{
"context": "/PEM--/grunt-svg2storeicons\n#\n# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)\n# Licensed under",
"end": 120,
"score": 0.999873161315918,
"start": 98,
"tag": "NAME",
"value": "Pierre-Eric Marchandet"
},
{
"context": "Copyright (c) 2013 Pie... | test/testReducedSet.coffee | gruntjs-updater/grunt-svg2storeicons | 0 | ###
# grunt-svg2storeicons
# https://github.com/PEM--/grunt-svg2storeicons
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'reduced_set'... | 186338 | ###
# grunt-svg2storeicons
# https://github.com/PEM--/grunt-svg2storeicons
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'reduced_set'
PROFILES = (require '../lib/pr... | true | ###
# grunt-svg2storeicons
# https://github.com/PEM--/grunt-svg2storeicons
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'reduced_set'
P... |
[
{
"context": "# Made with Framer\n# By Jay Stakelon\n# www.framerjs.com\n\n# This imports all the layers",
"end": 36,
"score": 0.9998812079429626,
"start": 24,
"tag": "NAME",
"value": "Jay Stakelon"
}
] | examples/facebook-ios-player.framer/app.coffee | benjamindenboer/Framer-VideoPlayer | 1 | # Made with Framer
# By Jay Stakelon
# www.framerjs.com
# This imports all the layers for "facebook" into facebookLayers
imports = Framer.Importer.load "imported/facebook"
# Set device background
Framer.Device.background.style.background =
"linear-gradient(0deg, #384778 0%, #4f6ba5 100%)"
Framer.Defaults.Animati... | 2261 | # Made with Framer
# By <NAME>
# www.framerjs.com
# This imports all the layers for "facebook" into facebookLayers
imports = Framer.Importer.load "imported/facebook"
# Set device background
Framer.Device.background.style.background =
"linear-gradient(0deg, #384778 0%, #4f6ba5 100%)"
Framer.Defaults.Animation =
... | true | # Made with Framer
# By PI:NAME:<NAME>END_PI
# www.framerjs.com
# This imports all the layers for "facebook" into facebookLayers
imports = Framer.Importer.load "imported/facebook"
# Set device background
Framer.Device.background.style.background =
"linear-gradient(0deg, #384778 0%, #4f6ba5 100%)"
Framer.Defaults... |
[
{
"context": " if(winningPlayer.daburu)\n flags.push(\"Daburu Riichi\")\n if(\"Ippatsu\" in @oneRoundTracker[winningP",
"end": 14071,
"score": 0.7938785552978516,
"start": 14059,
"tag": "NAME",
"value": "aburu Riichi"
},
{
"context": " else\n flags.push(... | akagiGame.coffee | Kuba663/Akagi-Bot | 1 | gamePieces = require('./akagiTiles.coffee')
playerObject = require('./akagiPlayer.coffee')
score = require('./akagiScoring.coffee')
test = require('./akagiTest.coffee')
Promise = require('promise')
_ = require('lodash')
class MessageSender
#Way to make sending messages to both players and the observation channel eas... | 35438 | gamePieces = require('./akagiTiles.coffee')
playerObject = require('./akagiPlayer.coffee')
score = require('./akagiScoring.coffee')
test = require('./akagiTest.coffee')
Promise = require('promise')
_ = require('lodash')
class MessageSender
#Way to make sending messages to both players and the observation channel eas... | true | gamePieces = require('./akagiTiles.coffee')
playerObject = require('./akagiPlayer.coffee')
score = require('./akagiScoring.coffee')
test = require('./akagiTest.coffee')
Promise = require('promise')
_ = require('lodash')
class MessageSender
#Way to make sending messages to both players and the observation channel eas... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984017014503479,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-pipe-fs.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... | 128610 | # 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": "ties to edit entries in a table view.\n\n @author Sebastian Sachtleben\n###\nclass TableView extends BaseView\n\t\n\ttemplate:",
"end": 188,
"score": 0.9998863339424133,
"start": 168,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/shared/views/tableView.coffee | ssachtleben/herowar | 1 | BaseView = require 'views/baseView'
templates = require 'templates'
###
The TableView provides basic functionalities to edit entries in a table view.
@author Sebastian Sachtleben
###
class TableView extends BaseView
template: templates.get 'table.tmpl'
allowCreate: true
entryView: 'views/tableEntryVi... | 26085 | BaseView = require 'views/baseView'
templates = require 'templates'
###
The TableView provides basic functionalities to edit entries in a table view.
@author <NAME>
###
class TableView extends BaseView
template: templates.get 'table.tmpl'
allowCreate: true
entryView: 'views/tableEntryView'
events:... | true | BaseView = require 'views/baseView'
templates = require 'templates'
###
The TableView provides basic functionalities to edit entries in a table view.
@author PI:NAME:<NAME>END_PI
###
class TableView extends BaseView
template: templates.get 'table.tmpl'
allowCreate: true
entryView: 'views/tableEntryVi... |
[
{
"context": "returnValue field of the response object.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass ChecklistVersio",
"end": 704,
"score": 0.9998630285263062,
"start": 692,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/aircraft/ChecklistVersionRoute.coffee | qrefdev/qref | 0 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that returns the next available vers... | 60908 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that returns the next available vers... | true | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that returns the next available vers... |
[
{
"context": "ing object properties on separate lines.\n# @author Vitor Balocco\n###\n\n'use strict'\n\n#-----------------------------",
"end": 105,
"score": 0.99920654296875,
"start": 92,
"tag": "NAME",
"value": "Vitor Balocco"
}
] | src/rules/object-property-newline.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to enforce placing object properties on separate lines.
# @author Vitor Balocco
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =... | 100052 | ###*
# @fileoverview Rule to enforce placing object properties on separate lines.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta... | true | ###*
# @fileoverview Rule to enforce placing object properties on separate lines.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.ex... |
[
{
"context": "entID: '32d29cd28dc740123247',\n clientSecret: 'c1597b8d29b53ce352d88decae82320629ccdf59',\n callbackURL: 'http://localhost:3000/auth/gi",
"end": 746,
"score": 0.9994918704032898,
"start": 706,
"tag": "KEY",
"value": "c1597b8d29b53ce352d88decae82320629ccdf59"
}
] | src/config/passport.coffee | marinoscar/NodeExpressAuth | 0 | localStrategy = require('passport-local').Strategy
GitHubStrategy = require('passport-github').Strategy
UserStore = require '../services/userStore'
module.exports = (passport) ->
#configure forms authentication
passport.use('local', new localStrategy((username, password, done) ->
store = new UserStore()
... | 30307 | localStrategy = require('passport-local').Strategy
GitHubStrategy = require('passport-github').Strategy
UserStore = require '../services/userStore'
module.exports = (passport) ->
#configure forms authentication
passport.use('local', new localStrategy((username, password, done) ->
store = new UserStore()
... | true | localStrategy = require('passport-local').Strategy
GitHubStrategy = require('passport-github').Strategy
UserStore = require '../services/userStore'
module.exports = (passport) ->
#configure forms authentication
passport.use('local', new localStrategy((username, password, done) ->
store = new UserStore()
... |
[
{
"context": "or':\n 'ID': @userId\n 'Password': @password\n 'Track':\n '$': action: 'Get', ve",
"end": 542,
"score": 0.8565049171447754,
"start": 533,
"tag": "PASSWORD",
"value": "@password"
}
] | src/dhl.coffee | tom9890/shipit | 0 | {Builder, Parser} = require 'xml2js'
moment = require 'moment'
{titleCase, upperCaseFirst, lowerCase} = require 'change-case'
{ShipperClient} = require './shipper'
class DhlClient extends ShipperClient
constructor: ({@userId, @password}, @options) ->
super
@parser = new Parser()
@builder = new Builder(r... | 38220 | {Builder, Parser} = require 'xml2js'
moment = require 'moment'
{titleCase, upperCaseFirst, lowerCase} = require 'change-case'
{ShipperClient} = require './shipper'
class DhlClient extends ShipperClient
constructor: ({@userId, @password}, @options) ->
super
@parser = new Parser()
@builder = new Builder(r... | true | {Builder, Parser} = require 'xml2js'
moment = require 'moment'
{titleCase, upperCaseFirst, lowerCase} = require 'change-case'
{ShipperClient} = require './shipper'
class DhlClient extends ShipperClient
constructor: ({@userId, @password}, @options) ->
super
@parser = new Parser()
@builder = new Builder(r... |
[
{
"context": "'36.000'\n process.env.HUBOT_LYFT_CLIENT_TOKEN='foobarbaz'\n Date.now = mockDateNow\n @room = helper.cr",
"end": 544,
"score": 0.9947757720947266,
"start": 535,
"tag": "PASSWORD",
"value": "foobarbaz"
},
{
"context": "on')\n\n selfRoom = @room\n selfRoom.... | test/lyft-slack-test.coffee | stephenyeargin/hubot-lyft | 0 | Helper = require 'hubot-test-helper'
chai = require 'chai'
nock = require 'nock'
fs = require 'fs'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/lyft.coffee'
]
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 06 2018 23:01:27 GMT-... | 7556 | Helper = require 'hubot-test-helper'
chai = require 'chai'
nock = require 'nock'
fs = require 'fs'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/lyft.coffee'
]
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 06 2018 23:01:27 GMT-... | true | Helper = require 'hubot-test-helper'
chai = require 'chai'
nock = require 'nock'
fs = require 'fs'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/lyft.coffee'
]
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 06 2018 23:01:27 GMT-... |
[
{
"context": "ient_id = '4b5a6ab7eea4c6aaee37'\nclient_secret = '769602c9c4a0944a5386e883db4670e436f3af5a'\n\nmodule.exports = (done)->\n login (user, pass)-",
"end": 188,
"score": 0.9997039437294006,
"start": 148,
"tag": "KEY",
"value": "769602c9c4a0944a5386e883db4670e436f3af5a"
}
] | src/register.coffee | mralexgray/ghfm | 0 | fs = require 'fs'
path = require 'path'
prompt = require 'prompt'
request = require 'request'
client_id = '4b5a6ab7eea4c6aaee37'
client_secret = '769602c9c4a0944a5386e883db4670e436f3af5a'
module.exports = (done)->
login (user, pass)->
url = 'https://api.github.com/authorizations/clients/' + client_id
opti... | 192057 | fs = require 'fs'
path = require 'path'
prompt = require 'prompt'
request = require 'request'
client_id = '4b5a6ab7eea4c6aaee37'
client_secret = '<KEY>'
module.exports = (done)->
login (user, pass)->
url = 'https://api.github.com/authorizations/clients/' + client_id
options =
headers: 'User-Agent':... | true | fs = require 'fs'
path = require 'path'
prompt = require 'prompt'
request = require 'request'
client_id = '4b5a6ab7eea4c6aaee37'
client_secret = 'PI:KEY:<KEY>END_PI'
module.exports = (done)->
login (user, pass)->
url = 'https://api.github.com/authorizations/clients/' + client_id
options =
headers: ... |
[
{
"context": "tion:\n databaseUrl: 'mongodb://mongo_dev_user1:zJYBZWPEcvKkuGpYJxHoTKRGGc8G4bdqftzgqQbybEYsFThosN@ds031088.",
"end": 239,
"score": 0.9697708487510681,
"start": 229,
"tag": "EMAIL",
"value": "zJYBZWPEcv"
},
{
"context": "atabaseUrl: 'mongodb://mongo_dev_user1:zJYBZWP... | config/config.coffee | ethanmick/fastchat-server | 7 | module.exports =
dev:
databaseUrl: 'mongodb://localhost/dev'
baseUrl: 'localhost'
test:
databaseUrl: 'mongodb://localhost/test'
baseUrl: 'localhost'
production:
databaseUrl: 'mongodb://mongo_dev_user1:zJYBZWPEcvKkuGpYJxHoTKRGGc8G4bdqftzgqQbybEYsFThosN@ds031088.mongolab.com:31088/MongoLab-92'... | 80833 | module.exports =
dev:
databaseUrl: 'mongodb://localhost/dev'
baseUrl: 'localhost'
test:
databaseUrl: 'mongodb://localhost/test'
baseUrl: 'localhost'
production:
databaseUrl: 'mongodb://mongo_dev_user1:<EMAIL>K<EMAIL>zgq<EMAIL>by<EMAIL>:31088/MongoLab-92'
baseUrl: 'https://www.fastchat.io... | true | module.exports =
dev:
databaseUrl: 'mongodb://localhost/dev'
baseUrl: 'localhost'
test:
databaseUrl: 'mongodb://localhost/test'
baseUrl: 'localhost'
production:
databaseUrl: 'mongodb://mongo_dev_user1:PI:EMAIL:<EMAIL>END_PIKPI:EMAIL:<EMAIL>END_PIzgqPI:EMAIL:<EMAIL>END_PIbyPI:EMAIL:<EMAIL>END... |
[
{
"context": "oveshark', ->\n trackTitle = '꿈에'\n artistName = '박정현'\n\n describe 'Grooveshark.getStreamingUrl(...)', ",
"end": 175,
"score": 0.9998415112495422,
"start": 172,
"tag": "NAME",
"value": "박정현"
}
] | node_modules/grooveshark-streaming/test/Grooveshark.test.coffee | samkreter/MusicChoose | 3 | should = require 'should'
Tinysong = require '../lib/Tinysong'
Grooveshark = require '../lib/Grooveshark'
describe 'Grooveshark', ->
trackTitle = '꿈에'
artistName = '박정현'
describe 'Grooveshark.getStreamingUrl(...)', ->
it 'should be done', (done) ->
Tinysong.getSongInfo trackTitle, artistName, (err, ... | 122534 | should = require 'should'
Tinysong = require '../lib/Tinysong'
Grooveshark = require '../lib/Grooveshark'
describe 'Grooveshark', ->
trackTitle = '꿈에'
artistName = '<NAME>'
describe 'Grooveshark.getStreamingUrl(...)', ->
it 'should be done', (done) ->
Tinysong.getSongInfo trackTitle, artistName, (er... | true | should = require 'should'
Tinysong = require '../lib/Tinysong'
Grooveshark = require '../lib/Grooveshark'
describe 'Grooveshark', ->
trackTitle = '꿈에'
artistName = 'PI:NAME:<NAME>END_PI'
describe 'Grooveshark.getStreamingUrl(...)', ->
it 'should be done', (done) ->
Tinysong.getSongInfo trackTitle, a... |
[
{
"context": "ndexOf selectedId\n key = if ua.isMac then '⌘I' else 'Ctrl-I'\n if index == -1\n di",
"end": 17507,
"score": 0.8434537053108215,
"start": 17504,
"tag": "KEY",
"value": "⌘I'"
},
{
"context": "ectedId\n key = if ua.isMac then '⌘I' else 'Ctrl-... | src/public/lib/views/console.coffee | tonistiigi/styler | 18 | define (require, exports, module) ->
TreeOutline = require 'lib/views/ui/treeoutline'
StyleInfo = require 'lib/views/ui/styleinfo'
OutlineInfo = require 'lib/views/outlineinfo'
OutputSwitch = require 'lib/views/outputswitch'
Resizer = require 'lib/views/ui/resizer'
{StateList, FoldList, PseudoList} = requi... | 78810 | define (require, exports, module) ->
TreeOutline = require 'lib/views/ui/treeoutline'
StyleInfo = require 'lib/views/ui/styleinfo'
OutlineInfo = require 'lib/views/outlineinfo'
OutputSwitch = require 'lib/views/outputswitch'
Resizer = require 'lib/views/ui/resizer'
{StateList, FoldList, PseudoList} = requi... | true | define (require, exports, module) ->
TreeOutline = require 'lib/views/ui/treeoutline'
StyleInfo = require 'lib/views/ui/styleinfo'
OutlineInfo = require 'lib/views/outlineinfo'
OutputSwitch = require 'lib/views/outputswitch'
Resizer = require 'lib/views/ui/resizer'
{StateList, FoldList, PseudoList} = requi... |
[
{
"context": " baseUrl,\n json: true,\n auth: {\n username,\n password,\n },\n }\n debug 'get ",
"end": 762,
"score": 0.98984694480896,
"start": 754,
"tag": "USERNAME",
"value": "username"
},
{
"context": "lace 'quay.io/', ''\n deployment.deploy... | src/governator-service.coffee | octoblu/deploy-state-util | 0 | _ = require 'lodash'
url = require 'url'
async = require 'async'
request = require 'request'
moment = require 'moment'
debug = require('debug')('deploy-state-util:governator-service')
class GovernatorService
constructor: ({ config }) ->
@governators = config['governators']
getStatuses: ({ repo,... | 210794 | _ = require 'lodash'
url = require 'url'
async = require 'async'
request = require 'request'
moment = require 'moment'
debug = require('debug')('deploy-state-util:governator-service')
class GovernatorService
constructor: ({ config }) ->
@governators = config['governators']
getStatuses: ({ repo,... | true | _ = require 'lodash'
url = require 'url'
async = require 'async'
request = require 'request'
moment = require 'moment'
debug = require('debug')('deploy-state-util:governator-service')
class GovernatorService
constructor: ({ config }) ->
@governators = config['governators']
getStatuses: ({ repo,... |
[
{
"context": " \n record = new App.User(firstName: \"James\")\n record.set('batch', new Tower.StoreBatc",
"end": 281,
"score": 0.9996885657310486,
"start": 276,
"tag": "NAME",
"value": "James"
}
] | test/cases/store/shared/transactionTest.coffee | jivagoalves/tower | 1 | ###
describeWith = (store) ->
describe "Tower.StoreBatch (Tower.Store.#{store.className()})", ->
record = null
batch = null
beforeEach (done) ->
store.clean =>
App.User.store(store)
record = new App.User(firstName: "James")
record.set('batch', new Towe... | 6709 | ###
describeWith = (store) ->
describe "Tower.StoreBatch (Tower.Store.#{store.className()})", ->
record = null
batch = null
beforeEach (done) ->
store.clean =>
App.User.store(store)
record = new App.User(firstName: "<NAME>")
record.set('batch', new Tow... | true | ###
describeWith = (store) ->
describe "Tower.StoreBatch (Tower.Store.#{store.className()})", ->
record = null
batch = null
beforeEach (done) ->
store.clean =>
App.User.store(store)
record = new App.User(firstName: "PI:NAME:<NAME>END_PI")
record.set('b... |
[
{
"context": "###!\n# Bubble Slider\n# https://github.com/dahjson/bubble-slider\n# Copyright (c) Daniel Johnson\n###\n",
"end": 49,
"score": 0.9995904564857483,
"start": 42,
"tag": "USERNAME",
"value": "dahjson"
},
{
"context": "//github.com/dahjson/bubble-slider\n# Copyright (c) Dan... | vendor/bubble-slider-master/src/jquery.bubble-slider.coffee | blackout-games/rugby | 1 | ###!
# Bubble Slider
# https://github.com/dahjson/bubble-slider
# Copyright (c) Daniel Johnson
###
(($) -> # avoid conflicts with $
class BubbleSlider
constructor: (@element, options) ->
# hide input field
@element.hide()
# get input field settings
@min = @element.attr('min') ? option... | 156157 | ###!
# Bubble Slider
# https://github.com/dahjson/bubble-slider
# Copyright (c) <NAME>
###
(($) -> # avoid conflicts with $
class BubbleSlider
constructor: (@element, options) ->
# hide input field
@element.hide()
# get input field settings
@min = @element.attr('min') ? options.min
... | true | ###!
# Bubble Slider
# https://github.com/dahjson/bubble-slider
# Copyright (c) PI:NAME:<NAME>END_PI
###
(($) -> # avoid conflicts with $
class BubbleSlider
constructor: (@element, options) ->
# hide input field
@element.hide()
# get input field settings
@min = @element.attr('min') ? ... |
[
{
"context": " ->\n user = new NgParseUser username: 'mario', password: 'pass'\n user.username.shou",
"end": 2045,
"score": 0.99964439868927,
"start": 2040,
"tag": "USERNAME",
"value": "mario"
},
{
"context": "r = new NgParseUser username: 'mario', password: 'pa... | test/User.spec.coffee | leonardfactory/ng-parse | 1 | describe 'NgParse.User', ->
NgParseUser = null
NgParseRequest = null
ngParseRequestConfig = null
$httpBackend = null
$http = null
locker = null
beforeEach ->
angular.mock.module 'ngParse', ($provide) ->
$provide.value 'ngParseRequestConfig',
appI... | 86462 | describe 'NgParse.User', ->
NgParseUser = null
NgParseRequest = null
ngParseRequestConfig = null
$httpBackend = null
$http = null
locker = null
beforeEach ->
angular.mock.module 'ngParse', ($provide) ->
$provide.value 'ngParseRequestConfig',
appI... | true | describe 'NgParse.User', ->
NgParseUser = null
NgParseRequest = null
ngParseRequestConfig = null
$httpBackend = null
$http = null
locker = null
beforeEach ->
angular.mock.module 'ngParse', ($provide) ->
$provide.value 'ngParseRequestConfig',
appI... |
[
{
"context": "\n# [Docco](https://github.com/jashkenas/docco) \n# =====\n# > Refactored by [@Amit Portnoy]",
"end": 39,
"score": 0.9995958805084229,
"start": 30,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "ub.com/jashkenas/docco) \n# =====\n# > Refactored by [@Amit Portn... | lib/docco.coffee | amitport/gulp-wrap-docco | 2 |
# [Docco](https://github.com/jashkenas/docco)
# =====
# > Refactored by [@Amit Portnoy](https://github.com/amitport)
#
# **Docco** is a quick-and-dirty documentation generator, written in
# [Literate CoffeeScript](http://coffeescript.org/#literate).
# It produces an HTML document that displays your comments interming... | 46824 |
# [Docco](https://github.com/jashkenas/docco)
# =====
# > Refactored by <NAME>](https://github.com/amitport)
#
# **Docco** is a quick-and-dirty documentation generator, written in
# [Literate CoffeeScript](http://coffeescript.org/#literate).
# It produces an HTML document that displays your comments intermingled with... | true |
# [Docco](https://github.com/jashkenas/docco)
# =====
# > Refactored by PI:NAME:<NAME>END_PI](https://github.com/amitport)
#
# **Docco** is a quick-and-dirty documentation generator, written in
# [Literate CoffeeScript](http://coffeescript.org/#literate).
# It produces an HTML document that displays your comments int... |
[
{
"context": "ngoose.Schema\n userName : String\n passWord : String\n email : String\n role : String\n adm",
"end": 147,
"score": 0.574726402759552,
"start": 141,
"tag": "PASSWORD",
"value": "String"
}
] | schemas/users.coffee | ruicky/node-wiki | 99 | mongoose = require 'mongoose'
#
# 创建用户的shcema
# @type {mongoose}
#
UserSchema = new mongoose.Schema
userName : String
passWord : String
email : String
role : String
admin : Boolean
meta :
createAt :
type : Date
default : Date.now()
updateAt :
ty... | 33980 | mongoose = require 'mongoose'
#
# 创建用户的shcema
# @type {mongoose}
#
UserSchema = new mongoose.Schema
userName : String
passWord : <PASSWORD>
email : String
role : String
admin : Boolean
meta :
createAt :
type : Date
default : Date.now()
updateAt :
... | true | mongoose = require 'mongoose'
#
# 创建用户的shcema
# @type {mongoose}
#
UserSchema = new mongoose.Schema
userName : String
passWord : PI:PASSWORD:<PASSWORD>END_PI
email : String
role : String
admin : Boolean
meta :
createAt :
type : Date
default : Date.now()
... |
[
{
"context": "###\n# Copyright (C) 2012 jareiko / http://www.jareiko.net/\n###\n\ndefine [\n 'THREE'",
"end": 32,
"score": 0.9990600943565369,
"start": 25,
"tag": "USERNAME",
"value": "jareiko"
},
{
"context": "r tx in [txCenter-3..txCenter+3]\n key = tx + ',' + ty\n ... | server/public/scripts/client/scenery.coffee | triggerrally/triggerrally.github.io | 1 | ###
# Copyright (C) 2012 jareiko / http://www.jareiko.net/
###
define [
'THREE'
'cs!client/array_geometry'
'cs!util/quiver'
], (THREE, array_geometry, quiver) ->
RenderScenery: class RenderScenery
constructor: (@scene, @scenery, @loadFunc) ->
@fadeSpeed = 2
@layers = (@createLayer l for l in @... | 200682 | ###
# Copyright (C) 2012 jareiko / http://www.jareiko.net/
###
define [
'THREE'
'cs!client/array_geometry'
'cs!util/quiver'
], (THREE, array_geometry, quiver) ->
RenderScenery: class RenderScenery
constructor: (@scene, @scenery, @loadFunc) ->
@fadeSpeed = 2
@layers = (@createLayer l for l in @... | true | ###
# Copyright (C) 2012 jareiko / http://www.jareiko.net/
###
define [
'THREE'
'cs!client/array_geometry'
'cs!util/quiver'
], (THREE, array_geometry, quiver) ->
RenderScenery: class RenderScenery
constructor: (@scene, @scenery, @loadFunc) ->
@fadeSpeed = 2
@layers = (@createLayer l for l in @... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998623132705688,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | shaders/StarfieldShader.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
frag = """
precision mediump float;
varying vec3 vUVA;
varying vec4 vColor;
void main(void) {
// compute star color based on intensity = 1/dist^2 from center of sprite
vec2 dv = vUVA.xy;
float d = dot(dv, dv);
f... | 113335 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
frag = """
precision mediump float;
varying vec3 vUVA;
varying vec4 vColor;
void main(void) {
// compute star color based on intensity = 1/dist^2 from center of sprite
vec2 dv = vUVA.xy;
float d = dot(dv, dv);
float l... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
frag = """
precision mediump float;
varying vec3 vUVA;
varying vec4 vColor;
void main(void) {
// compute star color based on intensity = 1/dist^2 from center of sprite
vec2 dv = vUVA.xy;
float d = dot(dv,... |
[
{
"context": "ed.\n#\n\n# Based on Github.js 0.7.0\n#\n# (c) 2012 Michael Aufreiter, Development Seed\n# Github.js is freely distr",
"end": 259,
"score": 0.9998656511306763,
"start": 242,
"tag": "NAME",
"value": "Michael Aufreiter"
},
{
"context": "ails and documentation:\n# ... | public/js/octokit/octokit.coffee | alfredo-pozo/DynamoDictionary | 11 | # Github Promise API
# ======
#
# This class provides a Promise API for accessing GitHub.
# Most methods return a Promise object whose value is resolved when `.then(doneFn, failFn)`
# is called.
#
# Based on Github.js 0.7.0
#
# (c) 2012 Michael Aufreiter, Development Seed
# Github.js is freely distributable un... | 144170 | # Github Promise API
# ======
#
# This class provides a Promise API for accessing GitHub.
# Most methods return a Promise object whose value is resolved when `.then(doneFn, failFn)`
# is called.
#
# Based on Github.js 0.7.0
#
# (c) 2012 <NAME>, Development Seed
# Github.js is freely distributable under the MIT... | true | # Github Promise API
# ======
#
# This class provides a Promise API for accessing GitHub.
# Most methods return a Promise object whose value is resolved when `.then(doneFn, failFn)`
# is called.
#
# Based on Github.js 0.7.0
#
# (c) 2012 PI:NAME:<NAME>END_PI, Development Seed
# Github.js is freely distributable... |
[
{
"context": "jector](http://neocotic.com/injector)\n#\n# (c) 2014 Alasdair Mercer\n#\n# Freely distributable under the MIT license\n\n#",
"end": 71,
"score": 0.9998696446418762,
"start": 56,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/coffee/models.coffee | SlinkySalmon633/injector-chrome | 33 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 Alasdair Mercer
#
# Freely distributable under the MIT license
# Models
# ------
# Expose all models (and collections) that are used throughout the extension.
#
# These are intentionally not added to the global object (i.e. `window`) to avoid cluttering that
# *... | 213024 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 <NAME>
#
# Freely distributable under the MIT license
# Models
# ------
# Expose all models (and collections) that are used throughout the extension.
#
# These are intentionally not added to the global object (i.e. `window`) to avoid cluttering that
# *namespace... | true | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 PI:NAME:<NAME>END_PI
#
# Freely distributable under the MIT license
# Models
# ------
# Expose all models (and collections) that are used throughout the extension.
#
# These are intentionally not added to the global object (i.e. `window`) to avoid cluttering tha... |
[
{
"context": "# @author Gianluigi Mango\n# Post API\nPostHandler = require './handler/postH",
"end": 25,
"score": 0.9998695850372314,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/api/postApi.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Post API
PostHandler = require './handler/postHandler'
module.exports = class UserApi
constructor: (@action, @path, @req, @res) ->
@postHandler = new PostHandler @req
console.info '[Query]', action
switch @action
when 'getAll' then @postHandler.getAll @path, @res
when 'saveP... | 199067 | # @author <NAME>
# Post API
PostHandler = require './handler/postHandler'
module.exports = class UserApi
constructor: (@action, @path, @req, @res) ->
@postHandler = new PostHandler @req
console.info '[Query]', action
switch @action
when 'getAll' then @postHandler.getAll @path, @res
when 'savePost' then... | true | # @author PI:NAME:<NAME>END_PI
# Post API
PostHandler = require './handler/postHandler'
module.exports = class UserApi
constructor: (@action, @path, @req, @res) ->
@postHandler = new PostHandler @req
console.info '[Query]', action
switch @action
when 'getAll' then @postHandler.getAll @path, @res
when '... |
[
{
"context": "ileoverview Tests for no-div-regex rule.\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n\n'use strict'\n\n#-",
"end": 71,
"score": 0.9998252987861633,
"start": 60,
"tag": "NAME",
"value": "Matt DuVall"
}
] | src/tests/rules/no-div-regex.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-div-regex rule.
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rul... | 12656 | ###*
# @fileoverview Tests for no-div-regex rule.
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no... | true | ###*
# @fileoverview Tests for no-div-regex rule.
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '... |
[
{
"context": "n.meta.should.eql {}\n\n collection.jsonKey = 'base_collection'\n collection.parse(jsonKeyResp)\n collec",
"end": 2465,
"score": 0.8898191452026367,
"start": 2450,
"tag": "KEY",
"value": "base_collection"
}
] | test/shared/base/collection.test.coffee | redbadger/rendr | 0 | require('../../../shared/globals')
should = require('should')
BaseCollection = require('../../../shared/base/collection')
BaseModel = require('../../../shared/base/model')
fetcher = require('../../../shared/fetcher')
modelUtils = require('../../../shared/modelUtils')
describe 'BaseCollection', ->
describe 'parse',... | 73746 | require('../../../shared/globals')
should = require('should')
BaseCollection = require('../../../shared/base/collection')
BaseModel = require('../../../shared/base/model')
fetcher = require('../../../shared/fetcher')
modelUtils = require('../../../shared/modelUtils')
describe 'BaseCollection', ->
describe 'parse',... | true | require('../../../shared/globals')
should = require('should')
BaseCollection = require('../../../shared/base/collection')
BaseModel = require('../../../shared/base/model')
fetcher = require('../../../shared/fetcher')
modelUtils = require('../../../shared/modelUtils')
describe 'BaseCollection', ->
describe 'parse',... |
[
{
"context": " = singularize underscore name\n fkey ?= \"#{name}_id\"\n\n association = (record) ->\n model = loa",
"end": 1505,
"score": 0.7915302515029907,
"start": 1503,
"tag": "KEY",
"value": "id"
}
] | src/async.coffee | nextorigin/spine-relations | 0 | Spine = require "spine"
errify = require "errify"
Relations = require "./relations"
helpers = require "./helpers"
{singularize, underscore, loadModel} = helpers
arraysMatch = (arrays...) ->
match = String arrays.pop()
return false for array in arrays when (String array) isnt match
true
isEmpty... | 185269 | Spine = require "spine"
errify = require "errify"
Relations = require "./relations"
helpers = require "./helpers"
{singularize, underscore, loadModel} = helpers
arraysMatch = (arrays...) ->
match = String arrays.pop()
return false for array in arrays when (String array) isnt match
true
isEmpty... | true | Spine = require "spine"
errify = require "errify"
Relations = require "./relations"
helpers = require "./helpers"
{singularize, underscore, loadModel} = helpers
arraysMatch = (arrays...) ->
match = String arrays.pop()
return false for array in arrays when (String array) isnt match
true
isEmpty... |
[
{
"context": "tabase\nrequire(\"./db\") \"mongodb://heroku_lvm2p4zk:27me0oje7us7b97s3pg9s7ooak@ds035703.mongolab.com:35703/heroku_lvm2p4zk\", ->\n Recipe = require \"./",
"end": 160,
"score": 0.999545693397522,
"start": 112,
"tag": "EMAIL",
"value": "27me0oje7us7b97s3pg9s7ooak@ds035703.mong... | algo/index.coffee | 1egoman/bag-node | 0 | #!/usr/bin/env coffee
async = require "async"
# connect to database
require("./db") "mongodb://heroku_lvm2p4zk:27me0oje7us7b97s3pg9s7ooak@ds035703.mongolab.com:35703/heroku_lvm2p4zk", ->
Recipe = require "./models/list_model"
User = require "./models/user_model"
Pick = require "./models/pick_model"
query
... | 83583 | #!/usr/bin/env coffee
async = require "async"
# connect to database
require("./db") "mongodb://heroku_lvm2p4zk:<EMAIL>:35703/heroku_lvm2p4zk", ->
Recipe = require "./models/list_model"
User = require "./models/user_model"
Pick = require "./models/pick_model"
query
user_id: "55d3b333e2bf182b637341dc"
, R... | true | #!/usr/bin/env coffee
async = require "async"
# connect to database
require("./db") "mongodb://heroku_lvm2p4zk:PI:EMAIL:<EMAIL>END_PI:35703/heroku_lvm2p4zk", ->
Recipe = require "./models/list_model"
User = require "./models/user_model"
Pick = require "./models/pick_model"
query
user_id: "55d3b333e2bf182b... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998394846916199,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/semantic/formular.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 115688 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "e Now API Username\n# HUBOT_SERVICE_NOW_PASSWORD: Service Now API Password\n\n\nmodule.exports = (robot) ->\n sn_domain = proce",
"end": 592,
"score": 0.9785292744636536,
"start": 568,
"tag": "PASSWORD",
"value": "Service Now API Password"
}
] | src/hubot-service-now.coffee | colorstheforce/hubot-service-now | 5 | # Description:
# Service Now Record lookup
#
# Commands:
# hubot <sn|snapi|service now> <record number> - Look up record number in Service Now
# hubot <sn|snapi|service now> listen - Toggle Implicit/Explicit listening for Service Now records
#
# Configuration:
# HUBOT_SERVICE_NOW_INSTANCE: Service Now instance ... | 83775 | # Description:
# Service Now Record lookup
#
# Commands:
# hubot <sn|snapi|service now> <record number> - Look up record number in Service Now
# hubot <sn|snapi|service now> listen - Toggle Implicit/Explicit listening for Service Now records
#
# Configuration:
# HUBOT_SERVICE_NOW_INSTANCE: Service Now instance ... | true | # Description:
# Service Now Record lookup
#
# Commands:
# hubot <sn|snapi|service now> <record number> - Look up record number in Service Now
# hubot <sn|snapi|service now> listen - Toggle Implicit/Explicit listening for Service Now records
#
# Configuration:
# HUBOT_SERVICE_NOW_INSTANCE: Service Now instance ... |
[
{
"context": "ent.IndexService\n local_storage_key = 'sort-' + IndexService.controller\n\n syncIndexS",
"end": 318,
"score": 0.7387930750846863,
"start": 312,
"tag": "KEY",
"value": "sort-'"
}
] | resources/assets/coffee/directives/order-by.coffee | maxflex/tcms | 0 | angular.module 'Egecms'
.directive 'orderBy', ->
restrict: 'E'
replace: true
scope:
options: '='
templateUrl: 'directives/order-by'
link: ($scope, $element, $attrs) ->
IndexService = $scope.$parent.IndexService
local_storage_key = 'sort-' +... | 89282 | angular.module 'Egecms'
.directive 'orderBy', ->
restrict: 'E'
replace: true
scope:
options: '='
templateUrl: 'directives/order-by'
link: ($scope, $element, $attrs) ->
IndexService = $scope.$parent.IndexService
local_storage_key = '<KEY> + ... | true | angular.module 'Egecms'
.directive 'orderBy', ->
restrict: 'E'
replace: true
scope:
options: '='
templateUrl: 'directives/order-by'
link: ($scope, $element, $attrs) ->
IndexService = $scope.$parent.IndexService
local_storage_key = 'PI:KEY:<... |
[
{
"context": "eturn\n\n query =\n email: creds[0]\n password: creds[1]\n Users.findOne(query).then (results) ->\n if ",
"end": 589,
"score": 0.9948930144309998,
"start": 582,
"tag": "PASSWORD",
"value": "creds[1"
}
] | server/src/helpers/auth.coffee | codyseibert/typr.io | 1 | Base64 = require('js-base64').Base64
Users = require('../models/models').Users
module.exports = (req, res, next) ->
auth = req.headers.authorization
if not auth?
res.status 400
res.send 'invalid authorization header'
return
auth = auth.split(" ")
if auth.length isnt 2
res.status 400
res.s... | 219821 | Base64 = require('js-base64').Base64
Users = require('../models/models').Users
module.exports = (req, res, next) ->
auth = req.headers.authorization
if not auth?
res.status 400
res.send 'invalid authorization header'
return
auth = auth.split(" ")
if auth.length isnt 2
res.status 400
res.s... | true | Base64 = require('js-base64').Base64
Users = require('../models/models').Users
module.exports = (req, res, next) ->
auth = req.headers.authorization
if not auth?
res.status 400
res.send 'invalid authorization header'
return
auth = auth.split(" ")
if auth.length isnt 2
res.status 400
res.s... |
[
{
"context": " 321: 2\n 456: 3\n 654: 4\n password = '0123456789'\n matches = matching.reverse_dictionary_match pa",
"end": 6899,
"score": 0.9994208216667175,
"start": 6889,
"tag": "PASSWORD",
"value": "0123456789"
},
{
"context": " dicts =\n words:\n aac: 1\n ... | test/test-matching.coffee | lpavlicek/zxcvbn-czech | 3 | test = require 'tape'
matching = require '../src/matching'
adjacency_graphs = require '../src/adjacency_graphs'
# takes a pattern and list of prefixes/suffixes
# returns a bunch of variants of that pattern embedded
# with each possible prefix/suffix combination, including no prefix/suffix
# returns a list of triplets ... | 72170 | test = require 'tape'
matching = require '../src/matching'
adjacency_graphs = require '../src/adjacency_graphs'
# takes a pattern and list of prefixes/suffixes
# returns a bunch of variants of that pattern embedded
# with each possible prefix/suffix combination, including no prefix/suffix
# returns a list of triplets ... | true | test = require 'tape'
matching = require '../src/matching'
adjacency_graphs = require '../src/adjacency_graphs'
# takes a pattern and list of prefixes/suffixes
# returns a bunch of variants of that pattern embedded
# with each possible prefix/suffix combination, including no prefix/suffix
# returns a list of triplets ... |
[
{
"context": "': (event) => @archiveToClipboard(event) }))\n #@subscriptions.add(atom.commands.add('atom-text-edi",
"end": 7446,
"score": 0.5765600800514221,
"start": 7446,
"tag": "EMAIL",
"value": ""
},
{
"context": "@archiveToClipboard(event) }))\n #@subscriptions.add(atom.co... | lib/organized.coffee | brvier/organized | 137 | {CompositeDisposable, Directory, Point} = require 'atom'
fs = require 'fs'
{dialog} = require('electron')
moment = require 'moment'
CodeBlock = require './codeblock'
#GoogleCalendar = require './google-calendar'
OrganizedToolbar = require './toolbar'
OrganizedView = require './organized-view'
SidebarView = require './... | 4204 | {CompositeDisposable, Directory, Point} = require 'atom'
fs = require 'fs'
{dialog} = require('electron')
moment = require 'moment'
CodeBlock = require './codeblock'
#GoogleCalendar = require './google-calendar'
OrganizedToolbar = require './toolbar'
OrganizedView = require './organized-view'
SidebarView = require './... | true | {CompositeDisposable, Directory, Point} = require 'atom'
fs = require 'fs'
{dialog} = require('electron')
moment = require 'moment'
CodeBlock = require './codeblock'
#GoogleCalendar = require './google-calendar'
OrganizedToolbar = require './toolbar'
OrganizedView = require './organized-view'
SidebarView = require './... |
[
{
"context": "\n###\n Partially extracted from https://github.com/padolsey/mini/blob/master/mini.js\n \"mini\" Selector Engine\n",
"end": 90,
"score": 0.9977962374687195,
"start": 82,
"tag": "USERNAME",
"value": "padolsey"
},
{
"context": "ini.js\n \"mini\" Selector Engine\n Copyrigh... | src/tb/lib/ti/helpers/mini.coffee | vcu/titanium-backbone | 1 | matchers = require './matchers'
###
Partially extracted from https://github.com/padolsey/mini/blob/master/mini.js
"mini" Selector Engine
Copyright (c) 2009 James Padolsey
-------------------------------------------------------
Dual licensed under the MIT and GPL licenses.
- http://www.opensource.org/licenses/... | 133312 | matchers = require './matchers'
###
Partially extracted from https://github.com/padolsey/mini/blob/master/mini.js
"mini" Selector Engine
Copyright (c) 2009 <NAME>
-------------------------------------------------------
Dual licensed under the MIT and GPL licenses.
- http://www.opensource.org/licenses/mit-lice... | true | matchers = require './matchers'
###
Partially extracted from https://github.com/padolsey/mini/blob/master/mini.js
"mini" Selector Engine
Copyright (c) 2009 PI:NAME:<NAME>END_PI
-------------------------------------------------------
Dual licensed under the MIT and GPL licenses.
- http://www.opensource.org/lic... |
[
{
"context": ".log Songs.get_count()\n# => 0\n\n\nsong = new Songs(\"Rick Astley\", \"Never Gonna Give You Up\")\nconsole.log Songs.ge",
"end": 414,
"score": 0.9998939633369446,
"start": 403,
"tag": "NAME",
"value": "Rick Astley"
}
] | test/coffee_scoping_test.coffee | orospakr/diatropikon | 5 | class Songs
@_titles: 0 # Although it's directly accessible, the leading _ defines it by convention as private property.
@get_count: ->
# console.log "GET COUNT THIS IS " + this
@_titles
constructor: (@artist, @title) ->
Songs._titles++
class Poop extends Songs
@poop_method: ->
... | 10224 | class Songs
@_titles: 0 # Although it's directly accessible, the leading _ defines it by convention as private property.
@get_count: ->
# console.log "GET COUNT THIS IS " + this
@_titles
constructor: (@artist, @title) ->
Songs._titles++
class Poop extends Songs
@poop_method: ->
... | true | class Songs
@_titles: 0 # Although it's directly accessible, the leading _ defines it by convention as private property.
@get_count: ->
# console.log "GET COUNT THIS IS " + this
@_titles
constructor: (@artist, @title) ->
Songs._titles++
class Poop extends Songs
@poop_method: ->
... |
[
{
"context": "egistry keys used for context menu\nfileKeyPath = 'HKCU\\\\Software\\\\Classes\\\\*\\\\shell\\\\Atom'\ndirectoryKeyPath = 'HKCU\\\\Software\\\\Classes\\\\dir",
"end": 309,
"score": 0.9994993209838867,
"start": 270,
"tag": "KEY",
"value": "HKCU\\\\Software\\\\Classes\\\\*\\\\she... | src/main-process/win-registry.coffee | noscripter/atom | 2 | path = require 'path'
Spawner = require './spawner'
if process.env.SystemRoot
system32Path = path.join(process.env.SystemRoot, 'System32')
regPath = path.join(system32Path, 'reg.exe')
else
regPath = 'reg.exe'
# Registry keys used for context menu
fileKeyPath = 'HKCU\\Software\\Classes\\*\\shell\\Atom'
directory... | 219226 | path = require 'path'
Spawner = require './spawner'
if process.env.SystemRoot
system32Path = path.join(process.env.SystemRoot, 'System32')
regPath = path.join(system32Path, 'reg.exe')
else
regPath = 'reg.exe'
# Registry keys used for context menu
fileKeyPath = '<KEY>'
directoryKeyPath = '<KEY>'
backgroundKeyPat... | true | path = require 'path'
Spawner = require './spawner'
if process.env.SystemRoot
system32Path = path.join(process.env.SystemRoot, 'System32')
regPath = path.join(system32Path, 'reg.exe')
else
regPath = 'reg.exe'
# Registry keys used for context menu
fileKeyPath = 'PI:KEY:<KEY>END_PI'
directoryKeyPath = 'PI:KEY:<KE... |
[
{
"context": "\n width = 400\n height = 400\n me = 'Konstantin Denerz'\n window.color = d3.scale.category20()\n\n ",
"end": 436,
"score": 0.9998458027839661,
"start": 419,
"tag": "NAME",
"value": "Konstantin Denerz"
}
] | coffee/skills.coffee | konstantindenerz/cv.konstantin.denerz.com | 1 | $ ()->
$skills = $ '.skills'
window.lab = window.lab or {}
window.lab.ui = window.lab.ui or {}
window.lab.ui.graph = window.lab.ui.graph or {}
# Define helper functions
if typeof String.prototype.endsWith isnt 'function'
String.prototype.endsWith = (suffix)-> this.indexOf(suffix, this.length - suffix.le... | 80691 | $ ()->
$skills = $ '.skills'
window.lab = window.lab or {}
window.lab.ui = window.lab.ui or {}
window.lab.ui.graph = window.lab.ui.graph or {}
# Define helper functions
if typeof String.prototype.endsWith isnt 'function'
String.prototype.endsWith = (suffix)-> this.indexOf(suffix, this.length - suffix.le... | true | $ ()->
$skills = $ '.skills'
window.lab = window.lab or {}
window.lab.ui = window.lab.ui or {}
window.lab.ui.graph = window.lab.ui.graph or {}
# Define helper functions
if typeof String.prototype.endsWith isnt 'function'
String.prototype.endsWith = (suffix)-> this.indexOf(suffix, this.length - suffix.le... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.992316484451294,
"start": 16,
"tag": "NAME",
"value": "Konode"
},
{
"context": "s 'colorKeyHex'\n\t\t\t\t\tColorKeyBubble {\n\t\t\t\t\t\tkey: 'bubble'\n\t\t\t\t\t\tcolorKey... | src/clientFilePage/filterBar.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Toolbar for handling search query (via props and internal copy),
# and a dropdown menu handling selection for options... | 26219 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Toolbar for handling search query (via props and internal copy),
# and a dropdown menu handling selection for options... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Toolbar for handling search query (via props and internal copy),
# and a dropdown menu handling selecti... |
[
{
"context": "li className=\"user\"\n key={\"username-#{i}\"}\n onClick={@choose.bind @, \"@",
"end": 5167,
"score": 0.6899269819259644,
"start": 5167,
"tag": "KEY",
"value": ""
}
] | app/talk/suggester.cjsx | tlalka/Panoptes-Front-End | 72 | React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
ReactDOM = require 'react-dom'
talkClient = require 'panoptes-client/lib/talk-client'
Loading = require('../components/loading-indicator').default
getCaretPosition = require './lib/get-caret-position'
module.export... | 48272 | React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
ReactDOM = require 'react-dom'
talkClient = require 'panoptes-client/lib/talk-client'
Loading = require('../components/loading-indicator').default
getCaretPosition = require './lib/get-caret-position'
module.export... | true | React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
ReactDOM = require 'react-dom'
talkClient = require 'panoptes-client/lib/talk-client'
Loading = require('../components/loading-indicator').default
getCaretPosition = require './lib/get-caret-position'
module.export... |
[
{
"context": "t value', ->\n post = buildPost author_name: 'John Doe'\n expect(post.authorName()).to.equal 'John D",
"end": 690,
"score": 0.9996042847633362,
"start": 682,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "hn Doe'\n expect(post.authorName()).to.equal ... | spec/javascripts/models/post_spec.coffee | njade/boot2docker-docker-fig-rails | 24 | #= require spec_helper
#
describe "App.Models.Post", ->
buildPost = (options) ->
new App.Models.Post(options)
describe '#title', ->
it 'returns the correct value', ->
post = buildPost title: 'Great title'
expect(post.title()).to.equal 'Great title'
describe '#body', ->
it 'returns the co... | 187261 | #= require spec_helper
#
describe "App.Models.Post", ->
buildPost = (options) ->
new App.Models.Post(options)
describe '#title', ->
it 'returns the correct value', ->
post = buildPost title: 'Great title'
expect(post.title()).to.equal 'Great title'
describe '#body', ->
it 'returns the co... | true | #= require spec_helper
#
describe "App.Models.Post", ->
buildPost = (options) ->
new App.Models.Post(options)
describe '#title', ->
it 'returns the correct value', ->
post = buildPost title: 'Great title'
expect(post.title()).to.equal 'Great title'
describe '#body', ->
it 'returns the co... |
[
{
"context": " ws.on 'close', callback\n ws.write\n key:\"userid:#{username}:#{id}\"\n value:\n username: us",
"end": 914,
"score": 0.8088796138763428,
"start": 905,
"tag": "KEY",
"value": "userid:#{"
},
{
"context": "callback\n ws.write\n key:\"userid:#{... | src/usermetrics.coffee | MegPau/testnode | 0 | level = require 'level'
levelws = require 'level-ws'
metrics = require './metrics'
user = require './user'
db = levelws level "#{__dirname}/../db/usermetrics"
module.exports =
get: (username, id, callback) ->
userid = []
if callback == undefined
callback = id
id = null
if id == null then op... | 11025 | level = require 'level'
levelws = require 'level-ws'
metrics = require './metrics'
user = require './user'
db = levelws level "#{__dirname}/../db/usermetrics"
module.exports =
get: (username, id, callback) ->
userid = []
if callback == undefined
callback = id
id = null
if id == null then op... | true | level = require 'level'
levelws = require 'level-ws'
metrics = require './metrics'
user = require './user'
db = levelws level "#{__dirname}/../db/usermetrics"
module.exports =
get: (username, id, callback) ->
userid = []
if callback == undefined
callback = id
id = null
if id == null then op... |
[
{
"context": " data:\n username: uname,\n password: pass\n ",
"end": 877,
"score": 0.997836709022522,
"start": 872,
"tag": "USERNAME",
"value": "uname"
},
{
"context": " username: uname,\n password:... | zero_privacy_hacker_news/app/assets/javascripts/backbone/apps/header/show/show_view.js.coffee | davidrusu/zero_privacy_hacker_news | 0 | App.module "HeaderApp.Show", (Show, App, Backbone, Marionette, $, _) ->
LOGIN_URL="/user"
Show.Controller =
showHeader: (failedAuth = false) ->
headerView = @getHeaderView(failedAuth)
App.headerRegion.show headerView
getHeaderView: (failedAuth) ->
model... | 13266 | App.module "HeaderApp.Show", (Show, App, Backbone, Marionette, $, _) ->
LOGIN_URL="/user"
Show.Controller =
showHeader: (failedAuth = false) ->
headerView = @getHeaderView(failedAuth)
App.headerRegion.show headerView
getHeaderView: (failedAuth) ->
model... | true | App.module "HeaderApp.Show", (Show, App, Backbone, Marionette, $, _) ->
LOGIN_URL="/user"
Show.Controller =
showHeader: (failedAuth = false) ->
headerView = @getHeaderView(failedAuth)
App.headerRegion.show headerView
getHeaderView: (failedAuth) ->
model... |
[
{
"context": "Length: 4\n \"exception-reporting\":\n userId: \"ed76c550-bec0-47a7-9681-03451d887cf5\"\n fonts: {}\n l",
"end": 535,
"score": 0.5033734440803528,
"start": 534,
"tag": "PASSWORD",
"value": "7"
},
{
"context": "\"exception-reporting\":\n userId: \"ed76c550-bec0-... | .atom/config.cson | fullpipe/dotfiles | 0 | "*":
"activate-power-mode":
plugins:
playAudio: true
screenShake: true
"atom-ide-ui":
use:
"atom-ide-code-format": false
"atom-ide-code-highlight": false
"atom-ide-datatip": false
"atom-ide-outline-view": false
"atom-ide-signature-help": false
core:
disabledPa... | 74481 | "*":
"activate-power-mode":
plugins:
playAudio: true
screenShake: true
"atom-ide-ui":
use:
"atom-ide-code-format": false
"atom-ide-code-highlight": false
"atom-ide-datatip": false
"atom-ide-outline-view": false
"atom-ide-signature-help": false
core:
disabledPa... | true | "*":
"activate-power-mode":
plugins:
playAudio: true
screenShake: true
"atom-ide-ui":
use:
"atom-ide-code-format": false
"atom-ide-code-highlight": false
"atom-ide-datatip": false
"atom-ide-outline-view": false
"atom-ide-signature-help": false
core:
disabledPa... |
[
{
"context": "return\n\nItemManager::create = () ->\n this.items['dagon'] = new Item {\n name: 'dagon',\n clickNeeded",
"end": 95,
"score": 0.9387613534927368,
"start": 90,
"tag": "NAME",
"value": "dagon"
},
{
"context": " ->\n this.items['dagon'] = new Item {\n name: 'dag... | assets/js/src/itemManager.coffee | juancjara/dota-game | 0 | ItemManager = () ->
this.items = {}
return
ItemManager::create = () ->
this.items['dagon'] = new Item {
name: 'dagon',
clickNeeded: true,
secondsCd: 2,
srcImg: 'dagon',
endDurationDmg: 800
}
this.items['ethereal'] = new Item {
name: 'ethereal',
clickNeeded: true,
secondsCd: 2,... | 146103 | ItemManager = () ->
this.items = {}
return
ItemManager::create = () ->
this.items['<NAME>'] = new Item {
name: '<NAME>',
clickNeeded: true,
secondsCd: 2,
srcImg: 'dagon',
endDurationDmg: 800
}
this.items['ethereal'] = new Item {
name: '<NAME>',
clickNeeded: true,
secondsCd: 2,... | true | ItemManager = () ->
this.items = {}
return
ItemManager::create = () ->
this.items['PI:NAME:<NAME>END_PI'] = new Item {
name: 'PI:NAME:<NAME>END_PI',
clickNeeded: true,
secondsCd: 2,
srcImg: 'dagon',
endDurationDmg: 800
}
this.items['ethereal'] = new Item {
name: 'PI:NAME:<NAME>END_PI'... |
[
{
"context": "--------\n# A number of collection classes based on Rich Hickey's persistent\n# hash trie implementation from Cloj",
"end": 124,
"score": 0.9991720914840698,
"start": 113,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "oduced as a mutable data structure in a pap... | lib/indexed.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# A number of collection classes based on Rich Hickey's persistent
# hash trie implementation from Clojure (http://clojure.org), which
# was originally introduced as a mutable data structure in a paper by
# Phil Bagwell.
#
# To simplify the logic do... | 98286 | # --------------------------------------------------------------------
# A number of collection classes based on <NAME>'s persistent
# hash trie implementation from Clojure (http://clojure.org), which
# was originally introduced as a mutable data structure in a paper by
# <NAME>.
#
# To simplify the logic downstream, a... | true | # --------------------------------------------------------------------
# A number of collection classes based on PI:NAME:<NAME>END_PI's persistent
# hash trie implementation from Clojure (http://clojure.org), which
# was originally introduced as a mutable data structure in a paper by
# PI:NAME:<NAME>END_PI.
#
# To simp... |
[
{
"context": "use: sinon.spy(), resume: sinon.spy(), username: \"anonymous\", authorization: {} }\n @res = { header: sinon.",
"end": 2907,
"score": 0.9973425269126892,
"start": 2898,
"tag": "USERNAME",
"value": "anonymous"
},
{
"context": "eEach ->\n @us... | test/ropc-unit.coffee | awdrius/restify-oauth2 | 0 | "use strict"
require("chai").use(require("sinon-chai"))
sinon = require("sinon")
should = require("chai").should()
Assertion = require("chai").Assertion
restify = require("restify")
restifyOAuth2 = require("..")
tokenEndpoint = "/token-uri"
wwwAuthenticateRealm = "Realm string"
tokenExpirationTime = 12345
Assertion.... | 212625 | "use strict"
require("chai").use(require("sinon-chai"))
sinon = require("sinon")
should = require("chai").should()
Assertion = require("chai").Assertion
restify = require("restify")
restifyOAuth2 = require("..")
tokenEndpoint = "/token-uri"
wwwAuthenticateRealm = "Realm string"
tokenExpirationTime = 12345
Assertion.... | true | "use strict"
require("chai").use(require("sinon-chai"))
sinon = require("sinon")
should = require("chai").should()
Assertion = require("chai").Assertion
restify = require("restify")
restifyOAuth2 = require("..")
tokenEndpoint = "/token-uri"
wwwAuthenticateRealm = "Realm string"
tokenExpirationTime = 12345
Assertion.... |
[
{
"context": "ed\n catch\n key = if globals.os is 'mac' then '⌘ + C' else 'Ctrl + C'\n msg = \"Hit #{key} to copy!\"\n",
"end": 373,
"score": 0.7489832639694214,
"start": 368,
"tag": "KEY",
"value": "⌘ + C"
},
{
"context": " key = if globals.os is 'mac' then '⌘ + C' else 'Ctr... | client/app/lib/util/copyToClipboard.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
notification = null
module.exports = copyToClipboard = (el, showNotification = yes) ->
notification?.destroy()
kd.utils.selectText el
msg = 'Copied to clipboard!'
try
copied = document.execCommand 'copy'
couldntCopy = 'couldn\'t copy'
throw couldntCopy unless copied... | 224399 | kd = require 'kd'
notification = null
module.exports = copyToClipboard = (el, showNotification = yes) ->
notification?.destroy()
kd.utils.selectText el
msg = 'Copied to clipboard!'
try
copied = document.execCommand 'copy'
couldntCopy = 'couldn\'t copy'
throw couldntCopy unless copied... | true | kd = require 'kd'
notification = null
module.exports = copyToClipboard = (el, showNotification = yes) ->
notification?.destroy()
kd.utils.selectText el
msg = 'Copied to clipboard!'
try
copied = document.execCommand 'copy'
couldntCopy = 'couldn\'t copy'
throw couldntCopy unless copied... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.