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": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.999891459941864,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\nclass InstanceC... | source/javascripts/new_src/loaders/collada/instance_camera.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
class InstanceCamera
constructor: ->
@url = ""
parse: (element) ->
@url = element.getAttribute("url").replace /^#/, ""
this
namespace "THREE.Collada", (exports) ->
exports.Instance... | 80139 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
class InstanceCamera
constructor: ->
@url = ""
parse: (element) ->
@url = element.getAttribute("url").replace /^#/, ""
this
namespace "THREE.Collada", (exports) ->
exports.InstanceCamera = InstanceCa... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
class InstanceCamera
constructor: ->
@url = ""
parse: (element) ->
@url = element.getAttribute("url").replace /^#/, ""
this
namespace "THREE.Collada", (exports) ->
export... |
[
{
"context": "\\n <script>\n\\n var pubvars = { name: \\\"Hans Gruber\\\", criminal: true };\n\\n var some_html = tof",
"end": 970,
"score": 0.9958275556564331,
"start": 959,
"tag": "NAME",
"value": "Hans Gruber"
}
] | node_modules/toffee/src/command_line.coffee | dfraser74/whoislikingyou | 0 | fs = require 'fs'
path = require 'path'
{view, getCommonHeadersJs} = require '../lib/view'
program = require 'commander'
mkdirp = require 'mkdirp'
# ------------------------------------------------------------... | 79068 | fs = require 'fs'
path = require 'path'
{view, getCommonHeadersJs} = require '../lib/view'
program = require 'commander'
mkdirp = require 'mkdirp'
# ------------------------------------------------------------... | true | fs = require 'fs'
path = require 'path'
{view, getCommonHeadersJs} = require '../lib/view'
program = require 'commander'
mkdirp = require 'mkdirp'
# ------------------------------------------------------------... |
[
{
"context": "ion, Block Strings, and Block Comments\r\nauthor = \"Wittgenstein\"\r\nquote = \"A picture is a fact. -- #{ author }\"\r",
"end": 1436,
"score": 0.9996317028999329,
"start": 1424,
"tag": "NAME",
"value": "Wittgenstein"
}
] | js/coffee-script/coffee-scripte_basic.coffee | zhaoace/codecraft | 0 | # Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, r... | 118925 | # Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, r... | true | # Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, r... |
[
{
"context": "'scopeName': 'source.hau'\n'name': 'Haumea'\n'fileTypes': [\n 'hau'\n]\n'patterns': [\n {\n ",
"end": 37,
"score": 0.620703399181366,
"start": 35,
"tag": "NAME",
"value": "Ha"
},
{
"context": "'scopeName': 'source.hau'\n'name': 'Haumea'\n'fileTypes': [\n 'hau'\n]\n'p... | grammars/haumea.cson | haumea-lang/language-haumea | 0 | 'scopeName': 'source.hau'
'name': 'Haumea'
'fileTypes': [
'hau'
]
'patterns': [
{
'include': '#comments'
}
{
# reserved words
'match': '\\b(to|with|is|return|do|end|if|then|else|let|be|forever|while|for|each|in|set|to|through|change|by|variable)\\b'
'name': 'keyword.control.hau'
}
{
... | 48144 | 'scopeName': 'source.hau'
'name': '<NAME>ume<NAME>'
'fileTypes': [
'hau'
]
'patterns': [
{
'include': '#comments'
}
{
# reserved words
'match': '\\b(to|with|is|return|do|end|if|then|else|let|be|forever|while|for|each|in|set|to|through|change|by|variable)\\b'
'name': 'keyword.control.hau'
}
... | true | 'scopeName': 'source.hau'
'name': 'PI:NAME:<NAME>END_PIumePI:NAME:<NAME>END_PI'
'fileTypes': [
'hau'
]
'patterns': [
{
'include': '#comments'
}
{
# reserved words
'match': '\\b(to|with|is|return|do|end|if|then|else|let|be|forever|while|for|each|in|set|to|through|change|by|variable)\\b'
'name'... |
[
{
"context": " ?= DEFAULT_BOT_MOVE_DURATION\n sprite.id ?= 'Captain Anya'\n noteGroup.script ?= {}\n noteGroup.script.",
"end": 7166,
"score": 0.9959600567817688,
"start": 7154,
"tag": "NAME",
"value": "Captain Anya"
}
] | app/lib/scripts/ScriptManager.coffee | Melondonut/codecombat | 1 | # * search for how various places handle or call 'end-current-script' event
CocoClass = require 'lib/CocoClass'
CocoView = require 'views/kinds/CocoView'
{scriptMatchesEventPrereqs} = require './../world/script_event_prereqs'
allScriptModules = []
allScriptModules.push(require './SpriteScriptModule')
allScriptModule... | 200270 | # * search for how various places handle or call 'end-current-script' event
CocoClass = require 'lib/CocoClass'
CocoView = require 'views/kinds/CocoView'
{scriptMatchesEventPrereqs} = require './../world/script_event_prereqs'
allScriptModules = []
allScriptModules.push(require './SpriteScriptModule')
allScriptModule... | true | # * search for how various places handle or call 'end-current-script' event
CocoClass = require 'lib/CocoClass'
CocoView = require 'views/kinds/CocoView'
{scriptMatchesEventPrereqs} = require './../world/script_event_prereqs'
allScriptModules = []
allScriptModules.push(require './SpriteScriptModule')
allScriptModule... |
[
{
"context": "nston'\n\n\nclass Discourse\n\n constructor: ({@url, @username, @password}) ->\n\n @jar = request.jar()\n\n @r",
"end": 124,
"score": 0.9415114521980286,
"start": 116,
"tag": "USERNAME",
"value": "username"
},
{
"context": "se.then =>\n @_post \"#{@url}/sess... | src/discourse.coffee | gwwar/discbot | 16 | request = require('request')
Q = require 'q'
winston = require 'winston'
class Discourse
constructor: ({@url, @username, @password}) ->
@jar = request.jar()
@r = request.defaults({
jar : @jar
headers : {
'User-Agent' : 'discbot v 0.1.0'
'X-Requested-With': 'XMLHttpRequest'
... | 46348 | request = require('request')
Q = require 'q'
winston = require 'winston'
class Discourse
constructor: ({@url, @username, @password}) ->
@jar = request.jar()
@r = request.defaults({
jar : @jar
headers : {
'User-Agent' : 'discbot v 0.1.0'
'X-Requested-With': 'XMLHttpRequest'
... | true | request = require('request')
Q = require 'q'
winston = require 'winston'
class Discourse
constructor: ({@url, @username, @password}) ->
@jar = request.jar()
@r = request.defaults({
jar : @jar
headers : {
'User-Agent' : 'discbot v 0.1.0'
'X-Requested-With': 'XMLHttpRequest'
... |
[
{
"context": "ame : jQuery DragDrop Droppable\n# Author : Steven Luscher, https://twitter.com/steveluscher\n# Version : 0",
"end": 70,
"score": 0.9998485445976257,
"start": 56,
"tag": "NAME",
"value": "Steven Luscher"
},
{
"context": "# Author : Steven Luscher, https://t... | src/droppable.coffee | steveluscher/jquery.dragdrop | 3 | #
# Name : jQuery DragDrop Droppable
# Author : Steven Luscher, https://twitter.com/steveluscher
# Version : 0.0.1-dev
# Repo : https://github.com/steveluscher/jquery.dragdrop
# Donations : http://lakefieldmusic.com
#
jQuery ->
class jQuery.droppable extends jQuery.dragdrop
#
# Config
#
... | 22154 | #
# Name : jQuery DragDrop Droppable
# Author : <NAME>, https://twitter.com/steveluscher
# Version : 0.0.1-dev
# Repo : https://github.com/steveluscher/jquery.dragdrop
# Donations : http://lakefieldmusic.com
#
jQuery ->
class jQuery.droppable extends jQuery.dragdrop
#
# Config
#
def... | true | #
# Name : jQuery DragDrop Droppable
# Author : PI:NAME:<NAME>END_PI, https://twitter.com/steveluscher
# Version : 0.0.1-dev
# Repo : https://github.com/steveluscher/jquery.dragdrop
# Donations : http://lakefieldmusic.com
#
jQuery ->
class jQuery.droppable extends jQuery.dragdrop
#
# Config
... |
[
{
"context": " pass\n\t\tif !isValid\n\t\t\tlogger.err user:user, pass:pass, \"invalid login details\"\n\t\treturn isValid\n\n\tsetRe",
"end": 7853,
"score": 0.9695853590965271,
"start": 7849,
"tag": "PASSWORD",
"value": "pass"
}
] | app/coffee/Features/Authentication/AuthenticationController.coffee | shyoshyo/web-sharelatex | 1 | AuthenticationManager = require ("./AuthenticationManager")
LoginRateLimiter = require("../Security/LoginRateLimiter")
UserUpdater = require "../User/UserUpdater"
Metrics = require('metrics-sharelatex')
logger = require("logger-sharelatex")
querystring = require('querystring')
Url = require("url")
Settings = require "s... | 175665 | AuthenticationManager = require ("./AuthenticationManager")
LoginRateLimiter = require("../Security/LoginRateLimiter")
UserUpdater = require "../User/UserUpdater"
Metrics = require('metrics-sharelatex')
logger = require("logger-sharelatex")
querystring = require('querystring')
Url = require("url")
Settings = require "s... | true | AuthenticationManager = require ("./AuthenticationManager")
LoginRateLimiter = require("../Security/LoginRateLimiter")
UserUpdater = require "../User/UserUpdater"
Metrics = require('metrics-sharelatex')
logger = require("logger-sharelatex")
querystring = require('querystring')
Url = require("url")
Settings = require "s... |
[
{
"context": " uuid : credentials.uuid\n token : credentials.token\n server : @meshbluHost\n port",
"end": 1429,
"score": 0.622782826423645,
"start": 1418,
"tag": "PASSWORD",
"value": "credentials"
}
] | tentacle-server.coffee | octoblu/tentacle-server-test | 2 | _ = require 'lodash'
debug = require('debug')('meshblu:tentacle-server')
Tentacle = require 'meshblu-tentacle'
Meshblu = require 'meshblu'
MESSAGE_SCHEMA = require 'tentacle-protocol-buffer/message-schema.json'
OPTIONS_SCHEMA = require 'tentacle-protocol-buffer/options-schema.json'
class TentacleServer
constructor... | 95103 | _ = require 'lodash'
debug = require('debug')('meshblu:tentacle-server')
Tentacle = require 'meshblu-tentacle'
Meshblu = require 'meshblu'
MESSAGE_SCHEMA = require 'tentacle-protocol-buffer/message-schema.json'
OPTIONS_SCHEMA = require 'tentacle-protocol-buffer/options-schema.json'
class TentacleServer
constructor... | true | _ = require 'lodash'
debug = require('debug')('meshblu:tentacle-server')
Tentacle = require 'meshblu-tentacle'
Meshblu = require 'meshblu'
MESSAGE_SCHEMA = require 'tentacle-protocol-buffer/message-schema.json'
OPTIONS_SCHEMA = require 'tentacle-protocol-buffer/options-schema.json'
class TentacleServer
constructor... |
[
{
"context": "token hook below\nmodule.exports=\n SLACK_TOKEN : 'xoxo-asdfsaasd'\n SLACK_INCOMING_WEB_HOOK : 'https://hooks.slack",
"end": 132,
"score": 0.9976171255111694,
"start": 118,
"tag": "PASSWORD",
"value": "xoxo-asdfsaasd"
}
] | secrets-default.coffee | bdargan/sns-slack-notifier | 0 | #add your token, move it to ./secrets.coffee
#add your incoming web token hook below
module.exports=
SLACK_TOKEN : 'xoxo-asdfsaasd'
SLACK_INCOMING_WEB_HOOK : 'https://hooks.slack.com/services/...'
| 148527 | #add your token, move it to ./secrets.coffee
#add your incoming web token hook below
module.exports=
SLACK_TOKEN : '<PASSWORD>'
SLACK_INCOMING_WEB_HOOK : 'https://hooks.slack.com/services/...'
| true | #add your token, move it to ./secrets.coffee
#add your incoming web token hook below
module.exports=
SLACK_TOKEN : 'PI:PASSWORD:<PASSWORD>END_PI'
SLACK_INCOMING_WEB_HOOK : 'https://hooks.slack.com/services/...'
|
[
{
"context": "view Tests for no-floating-decimal rule.\n# @author James Allardice\n###\n\n'use strict'\n\n#-----------------------------",
"end": 82,
"score": 0.9998487830162048,
"start": 67,
"tag": "NAME",
"value": "James Allardice"
}
] | src/tests/rules/no-floating-decimal.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-floating-decimal rule.
# @author James Allardice
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-floati... | 105144 | ###*
# @fileoverview Tests for no-floating-decimal rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-floating-decima... | true | ###*
# @fileoverview Tests for no-floating-decimal rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-f... |
[
{
"context": " team: [\"badger\"]\n name: \"Badger Badger\"\n author: \"jonti\"\n ",
"end": 640,
"score": 0.9747411608695984,
"start": 627,
"tag": "NAME",
"value": "Badger Badger"
},
{
"context": " name: \"Badger Badger\"\n ... | www/test/src/comment.coffee | berekuk/questhub | 15 | define [
"models/comment", "models/quest"
"views/comment/any"
], (CommentModel, QuestModel, CommentText) ->
describe "comments render", ->
model = new CommentModel(
body: "aaa"
ts: 1363395653
body_html: "aaa\n"
entity: "quest"
_id: "1234"
... | 106431 | define [
"models/comment", "models/quest"
"views/comment/any"
], (CommentModel, QuestModel, CommentText) ->
describe "comments render", ->
model = new CommentModel(
body: "aaa"
ts: 1363395653
body_html: "aaa\n"
entity: "quest"
_id: "1234"
... | true | define [
"models/comment", "models/quest"
"views/comment/any"
], (CommentModel, QuestModel, CommentText) ->
describe "comments render", ->
model = new CommentModel(
body: "aaa"
ts: 1363395653
body_html: "aaa\n"
entity: "quest"
_id: "1234"
... |
[
{
"context": "ngleB.fillColor = \"pink\"\n # rectangleB.name = \"temp\"\n\n\n\n\n regionA = boundary.intersect rectangleA,",
"end": 9274,
"score": 0.8432396054267883,
"start": 9270,
"tag": "NAME",
"value": "temp"
},
{
"context": "eaker\n speaker.send\n t... | app/assets/javascripts/canvas_ui/ui_space.js.coffee | Hybrid-Ecologies/phosphenes | 0 | class window.HeatSpaceUI extends HeatSpace
Object.defineProperties @prototype, @make_object()
@unassigned: ()->
color = Environment.pretty_color("#DDDDDD")
rtn =
fillColor: color.clear
strokeWidth: 3
strokeColor: color.dark
terminal: (pt)->
boundary = @get("boundary")
return bo... | 70307 | class window.HeatSpaceUI extends HeatSpace
Object.defineProperties @prototype, @make_object()
@unassigned: ()->
color = Environment.pretty_color("#DDDDDD")
rtn =
fillColor: color.clear
strokeWidth: 3
strokeColor: color.dark
terminal: (pt)->
boundary = @get("boundary")
return bo... | true | class window.HeatSpaceUI extends HeatSpace
Object.defineProperties @prototype, @make_object()
@unassigned: ()->
color = Environment.pretty_color("#DDDDDD")
rtn =
fillColor: color.clear
strokeWidth: 3
strokeColor: color.dark
terminal: (pt)->
boundary = @get("boundary")
return bo... |
[
{
"context": "cript sample.\n\"\"\"\n\nclass Vehicle\n constructor: (@name) =>\n\n drive: () =>\n alert \"Drive #{@name}\"\n\nc",
"end": 67,
"score": 0.9222537279129028,
"start": 63,
"tag": "USERNAME",
"value": "name"
},
{
"context": " () =>\n alert \"Driving #{@name}\"\n\nc ... | extensions/vscode-colorize-tests/test/colorize-fixtures/test.coffee | sbj42/vscode | 82,043 | """
A CoffeeScript sample.
"""
class Vehicle
constructor: (@name) =>
drive: () =>
alert "Drive #{@name}"
class Car extends Vehicle
drive: () =>
alert "Driving #{@name}"
c = new Car "Volvo"
while onTheRoad()
c.drive()
vehicles = (new Car for i in [1..100])
startRace = (vehicles) -> [vehicle.drive(... | 225908 | """
A CoffeeScript sample.
"""
class Vehicle
constructor: (@name) =>
drive: () =>
alert "Drive #{@name}"
class Car extends Vehicle
drive: () =>
alert "Driving #{@name}"
c = new Car "<NAME>"
while onTheRoad()
c.drive()
vehicles = (new Car for i in [1..100])
startRace = (vehicles) -> [vehicle.drive... | true | """
A CoffeeScript sample.
"""
class Vehicle
constructor: (@name) =>
drive: () =>
alert "Drive #{@name}"
class Car extends Vehicle
drive: () =>
alert "Driving #{@name}"
c = new Car "PI:NAME:<NAME>END_PI"
while onTheRoad()
c.drive()
vehicles = (new Car for i in [1..100])
startRace = (vehicles) -> ... |
[
{
"context": " if cell\n h = []\n mainKeys = ['mcc', 'mnc', 'radio', 'lac', 'psc', 'cid']\n ad",
"end": 2132,
"score": 0.950448751449585,
"start": 2129,
"tag": "KEY",
"value": "mcc"
},
{
"context": "f cell\n h = []\n mainKeys = ['mcc', 'mnc', '... | app/scripts/Application.coffee | illarionov/cellview0 | 1 | define [
'Constants',
'CellsFormController'
'MapView',
'jquery',
'underscore',
'leaflet',
'bootflat'
'jquery-deparam'
], (Constants, CellsFormController, MapView, $, _, L, Bootflat, jqDeparam) ->
"use strict"
class Application
constructor: ->
_.templateSettings.variable =... | 44588 | define [
'Constants',
'CellsFormController'
'MapView',
'jquery',
'underscore',
'leaflet',
'bootflat'
'jquery-deparam'
], (Constants, CellsFormController, MapView, $, _, L, Bootflat, jqDeparam) ->
"use strict"
class Application
constructor: ->
_.templateSettings.variable =... | true | define [
'Constants',
'CellsFormController'
'MapView',
'jquery',
'underscore',
'leaflet',
'bootflat'
'jquery-deparam'
], (Constants, CellsFormController, MapView, $, _, L, Bootflat, jqDeparam) ->
"use strict"
class Application
constructor: ->
_.templateSettings.variable =... |
[
{
"context": "_smartphone'\n dialog.positiveLocalizableKey = 'common.no'\n dialog.negativeLocalizableKey = 'common.yes'",
"end": 658,
"score": 0.9989880919456482,
"start": 649,
"tag": "KEY",
"value": "common.no"
},
{
"context": " 'common.no'\n dialog.negativeLocalizableKey =... | app/src/controllers/wallet/settings/hardware/wallet_settings_hardware_smartphones_setting_view_controller.coffee | romanornr/ledger-wallet-crw | 173 | class @WalletSettingsHardwareSmartphonesSettingViewController extends WalletSettingsSettingViewController
renderSelector: "#smartphones_table_container"
initialize: ->
super
@_smartphonesGroups = []
pairSmartphone: ->
dialog = new WalletPairingIndexDialogViewController()
dialog.show()
dialo... | 176040 | class @WalletSettingsHardwareSmartphonesSettingViewController extends WalletSettingsSettingViewController
renderSelector: "#smartphones_table_container"
initialize: ->
super
@_smartphonesGroups = []
pairSmartphone: ->
dialog = new WalletPairingIndexDialogViewController()
dialog.show()
dialo... | true | class @WalletSettingsHardwareSmartphonesSettingViewController extends WalletSettingsSettingViewController
renderSelector: "#smartphones_table_container"
initialize: ->
super
@_smartphonesGroups = []
pairSmartphone: ->
dialog = new WalletPairingIndexDialogViewController()
dialog.show()
dialo... |
[
{
"context": " [\n id: 'm_3',\n threadID: 't_1',\n threadName: 'Jing and Bill',\n authorName: 'Jing',\n text: 'Sounds ",
"end": 64,
"score": 0.9996902346611023,
"start": 60,
"tag": "NAME",
"value": "Jing"
},
{
"context": " 'm_3',\n threadID: 't_1',\n threadName: 'Jing and Bill... | src/client/chat/context/thread/thread-service_test.coffee | DavidSouther/song-flux-chat | 1 | messages = [
id: 'm_3',
threadID: 't_1',
threadName: 'Jing and Bill',
authorName: 'Jing',
text: 'Sounds good. Will they be serving dessert?',
timestamp: Date.now() - 79999
date: new Date(this.timestamp)
,
id: 'm_4',
threadID: 't_2',
threadName: 'Dave and Bill',
authorName: 'Bill',
text: 'Hey Da... | 196695 | messages = [
id: 'm_3',
threadID: 't_1',
threadName: '<NAME> and <NAME>',
authorName: '<NAME>',
text: 'Sounds good. Will they be serving dessert?',
timestamp: Date.now() - 79999
date: new Date(this.timestamp)
,
id: 'm_4',
threadID: 't_2',
threadName: '<NAME> and <NAME>',
authorName: '<NAME>',
t... | true | messages = [
id: 'm_3',
threadID: 't_1',
threadName: 'PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI',
authorName: 'PI:NAME:<NAME>END_PI',
text: 'Sounds good. Will they be serving dessert?',
timestamp: Date.now() - 79999
date: new Date(this.timestamp)
,
id: 'm_4',
threadID: 't_2',
threadName: 'PI:NA... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990440011024475,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-readfile-unlink.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... | 53442 | # 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": "ssword: if opts.password then opts.password else 'aaa'\n #console.log '---', \"Created user #{id}\", ",
"end": 682,
"score": 0.9978601932525635,
"start": 679,
"tag": "PASSWORD",
"value": "aaa"
}
] | src/packages/cucumber-fixtures/hookFixtures.coffee | ArnoldasSid/vilnius-carpool | 11 | Meteor.methods
removeUsers: () ->
console.log '---', "Cleanup users"
Meteor.users.remove {}
removeUser: (email) ->
console.log '---', "Remove user"
Meteor.users.remove {"emails.address": email}
removeMessages: (email) ->
user = Meteor.users.findOne {"emails.address": email};
ChatHistory... | 186420 | Meteor.methods
removeUsers: () ->
console.log '---', "Cleanup users"
Meteor.users.remove {}
removeUser: (email) ->
console.log '---', "Remove user"
Meteor.users.remove {"emails.address": email}
removeMessages: (email) ->
user = Meteor.users.findOne {"emails.address": email};
ChatHistory... | true | Meteor.methods
removeUsers: () ->
console.log '---', "Cleanup users"
Meteor.users.remove {}
removeUser: (email) ->
console.log '---', "Remove user"
Meteor.users.remove {"emails.address": email}
removeMessages: (email) ->
user = Meteor.users.findOne {"emails.address": email};
ChatHistory... |
[
{
"context": "rename:(name)->\n delete @project.source_table[@name]\n @name = name\n @project.source_table[@name",
"end": 717,
"score": 0.612813413143158,
"start": 713,
"tag": "USERNAME",
"value": "name"
},
{
"context": " delete @project.source_table[@name]\n @name = na... | static/js/project/projectsource.coffee | sksdutra/microstudio | 0 | class @ProjectSource
constructor:(@project,@file,@size=0)->
@name = @file.split(".")[0]
@ext = @file.split(".")[1]
@filename = @file
@file = "ms/#{@file}"
s = @name.split "-"
@shortname = s[s.length-1]
@path_prefix = if s.length>1 then s.splice(0,s.length-1).join("-")+"-" else ""
@con... | 45708 | class @ProjectSource
constructor:(@project,@file,@size=0)->
@name = @file.split(".")[0]
@ext = @file.split(".")[1]
@filename = @file
@file = "ms/#{@file}"
s = @name.split "-"
@shortname = s[s.length-1]
@path_prefix = if s.length>1 then s.splice(0,s.length-1).join("-")+"-" else ""
@con... | true | class @ProjectSource
constructor:(@project,@file,@size=0)->
@name = @file.split(".")[0]
@ext = @file.split(".")[1]
@filename = @file
@file = "ms/#{@file}"
s = @name.split "-"
@shortname = s[s.length-1]
@path_prefix = if s.length>1 then s.splice(0,s.length-1).join("-")+"-" else ""
@con... |
[
{
"context": "ipal: krb5.kadmin_principal\n kadmin_password: krb5.kadmin_password\n .krb5.addprinc\n principal: \"nikita@#{krb",
"end": 381,
"score": 0.9953992962837219,
"start": 361,
"tag": "PASSWORD",
"value": "krb5.kadmin_password"
},
{
"context": "min_password\n .... | packages/krb5/test/ktadd.coffee | chibanemourad/node-nikita | 0 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, krb5} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.krb5_ktadd
describe 'krb5.ktadd', ->
they 'create a new keytab', ({ssh}) ->
nikita
ssh: ssh
kadmin_server: krb5.kadmin_server
kadmin_principal: krb5... | 35464 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, krb5} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.krb5_ktadd
describe 'krb5.ktadd', ->
they 'create a new keytab', ({ssh}) ->
nikita
ssh: ssh
kadmin_server: krb5.kadmin_server
kadmin_principal: krb5... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, krb5} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.krb5_ktadd
describe 'krb5.ktadd', ->
they 'create a new keytab', ({ssh}) ->
nikita
ssh: ssh
kadmin_server: krb5.kadmin_server
kadmin_principal: krb5... |
[
{
"context": "# Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and us",
"end": 34,
"score": 0.9998292922973633,
"start": 21,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redist... | test/optimistic.coffee | salsify/escope | 0 | # Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and... | 4520 | # Copyright (C) 2013 <NAME> <<EMAIL>>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following discla... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... |
[
{
"context": " request.headers.Authorization = \"Token token=\\\"#{$window.sessionStorage.token}\\\"\"\n request\n ",
"end": 815,
"score": 0.7216838002204895,
"start": 814,
"tag": "KEY",
"value": "#"
},
{
"context": "on = \"Token token=\\\"#{$window.sessionStorage.token}\\\"\... | app/assets/javascripts/app.coffee | zhoutong/coledger | 1 | app = angular.module("coledger", [
"ui.router",
"ngResource",
"angular-flash.service",
"angular-flash.flash-alert-directive",
"ui.bootstrap",
"schemaForm",
"xeditable",
"ngDraggable",
"angularMoment",
"pickadate",
"chart.js",
"duScroll",
"naif.base64",
"templates"
])
app.factory('authInterc... | 206521 | app = angular.module("coledger", [
"ui.router",
"ngResource",
"angular-flash.service",
"angular-flash.flash-alert-directive",
"ui.bootstrap",
"schemaForm",
"xeditable",
"ngDraggable",
"angularMoment",
"pickadate",
"chart.js",
"duScroll",
"naif.base64",
"templates"
])
app.factory('authInterc... | true | app = angular.module("coledger", [
"ui.router",
"ngResource",
"angular-flash.service",
"angular-flash.flash-alert-directive",
"ui.bootstrap",
"schemaForm",
"xeditable",
"ngDraggable",
"angularMoment",
"pickadate",
"chart.js",
"duScroll",
"naif.base64",
"templates"
])
app.factory('authInterc... |
[
{
"context": "users = [\n {\n name: 'Normal User'\n pw: 'normal'\n email: 'normal@example.com'",
"end": 36,
"score": 0.7989547252655029,
"start": 25,
"tag": "NAME",
"value": "Normal User"
},
{
"context": " name: 'Normal User'\n pw: 'normal'\n email: 'normal@example.co... | collections/users.coffee | rvmn/Meteor-Boilerplate | 0 | users = [
{
name: 'Normal User'
pw: 'normal'
email: 'normal@example.com'
roles: []
}
{
name: 'View-Secrets User'
pw: 'view'
email: 'view@example.com'
roles: [ 'view-secrets' ]
}
{
name: 'Manage-Users User'
pw: 'manage'
email: 'manage@example.com'
roles: [ 'manag... | 105483 | users = [
{
name: '<NAME>'
pw: 'normal'
email: '<EMAIL>'
roles: []
}
{
name: 'View-Secrets User'
pw: 'view'
email: '<EMAIL>'
roles: [ 'view-secrets' ]
}
{
name: 'Manage-Users User'
pw: 'manage'
email: '<EMAIL>'
roles: [ 'manage-users' ]
}
{
name: 'Admin ... | true | users = [
{
name: 'PI:NAME:<NAME>END_PI'
pw: 'normal'
email: 'PI:EMAIL:<EMAIL>END_PI'
roles: []
}
{
name: 'View-Secrets User'
pw: 'view'
email: 'PI:EMAIL:<EMAIL>END_PI'
roles: [ 'view-secrets' ]
}
{
name: 'Manage-Users User'
pw: 'manage'
email: 'PI:EMAIL:<EMAIL>END_... |
[
{
"context": "attachments: (attachments, key) ->\n if key == 'sentelink'\n for attachment in attachments\n atta",
"end": 935,
"score": 0.9390704035758972,
"start": 926,
"tag": "KEY",
"value": "sentelink"
}
] | resource/translators/BetterBibTeXParserSupport.coffee | edwinksl/zotero-better-bibtex | 0 | class BetterBibTeXParserSupport
constructor: (options) ->
@raw = options.raw
@references = []
@collections = []
@strings = Object.create(null)
@comments = []
@errors = []
quoteWith: (state) ->
switch state
when '"'
@braced = false
@quoted = true
when '{}'
... | 111104 | class BetterBibTeXParserSupport
constructor: (options) ->
@raw = options.raw
@references = []
@collections = []
@strings = Object.create(null)
@comments = []
@errors = []
quoteWith: (state) ->
switch state
when '"'
@braced = false
@quoted = true
when '{}'
... | true | class BetterBibTeXParserSupport
constructor: (options) ->
@raw = options.raw
@references = []
@collections = []
@strings = Object.create(null)
@comments = []
@errors = []
quoteWith: (state) ->
switch state
when '"'
@braced = false
@quoted = true
when '{}'
... |
[
{
"context": "html.md](http://neocotic.com/html.md) \n# (c) 2013 Alasdair Mercer \n# Freely distributable under the MIT license. ",
"end": 69,
"score": 0.9998745322227478,
"start": 54,
"tag": "NAME",
"value": "Alasdair Mercer"
},
{
"context": " \n# Based on [Make.text](http://hom... | src/command.coffee | bergie/html.md | 1 | # [html.md](http://neocotic.com/html.md)
# (c) 2013 Alasdair Mercer
# Freely distributable under the MIT license.
# Based on [Make.text](http://homepage.mac.com/tjim/) 1.5
# (c) 2007 Trevor Jim
# For all details and documentation:
# <http://neocotic.com/html.md>
# Module dependencies
# -------------------
... | 217126 | # [html.md](http://neocotic.com/html.md)
# (c) 2013 <NAME>
# Freely distributable under the MIT license.
# Based on [Make.text](http://homepage.mac.com/tjim/) 1.5
# (c) 2007 <NAME>
# For all details and documentation:
# <http://neocotic.com/html.md>
# Module dependencies
# -------------------
fs = re... | true | # [html.md](http://neocotic.com/html.md)
# (c) 2013 PI:NAME:<NAME>END_PI
# Freely distributable under the MIT license.
# Based on [Make.text](http://homepage.mac.com/tjim/) 1.5
# (c) 2007 PI:NAME:<NAME>END_PI
# For all details and documentation:
# <http://neocotic.com/html.md>
# Module dependencies
# -----... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.5970680713653564,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/ribcage/ui/LineChartTimeTicker.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... | 132484 | ###
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": "############\n#\n#\tMooqita publications\n# Created by Markus on 26/10/2016.\n#\n################################",
"end": 100,
"score": 0.9994277954101562,
"start": 94,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/solution.coffee | MooqitaSFH/worklearn | 0 | #######################################################
#
# Mooqita publications
# Created by Markus on 26/10/2016.
#
#######################################################
#######################################################
# item header
#######################################################
##################... | 113182 | #######################################################
#
# Mooqita publications
# Created by <NAME> on 26/10/2016.
#
#######################################################
#######################################################
# item header
#######################################################
##################... | true | #######################################################
#
# Mooqita publications
# Created by PI:NAME:<NAME>END_PI on 26/10/2016.
#
#######################################################
#######################################################
# item header
#######################################################
####... |
[
{
"context": "1]} complaining about #{msg.match[3]}\"\n key = \"exceptions_#{today()}\"\n\n data = robot.brain.data[key] ? {}\n\n data.",
"end": 553,
"score": 0.9986397624015808,
"start": 531,
"tag": "KEY",
"value": "exceptions_#{today()}\""
}
] | scripts/exceptions.coffee | melexis/melexis-hubot | 0 | # Feel hurt when an exception occurs
#
# Say 'aie' when a message contains 'exception'
#
#
Util = require "util"
today = () ->
date = new Date()
date.toJSON().split(/T/)[0]
incrementCounter = (data, cat, key) ->
counters = data[cat] ? { }
if counters[key]?
counters[key]++
else
counters[key] = 1
d... | 216779 | # Feel hurt when an exception occurs
#
# Say 'aie' when a message contains 'exception'
#
#
Util = require "util"
today = () ->
date = new Date()
date.toJSON().split(/T/)[0]
incrementCounter = (data, cat, key) ->
counters = data[cat] ? { }
if counters[key]?
counters[key]++
else
counters[key] = 1
d... | true | # Feel hurt when an exception occurs
#
# Say 'aie' when a message contains 'exception'
#
#
Util = require "util"
today = () ->
date = new Date()
date.toJSON().split(/T/)[0]
incrementCounter = (data, cat, key) ->
counters = data[cat] ? { }
if counters[key]?
counters[key]++
else
counters[key] = 1
d... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998431205749512,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/cakefile.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... | 189309 | ###
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": "phase',\n position: position\n name: \"New Phase\"\n paper: paper\n @updatePositions(phas",
"end": 618,
"score": 0.7627097964286804,
"start": 609,
"tag": "NAME",
"value": "New Phase"
}
] | app/assets/javascripts/controllers/paper_manage_controller.js.coffee | johan--/tahi | 1 | ETahi.PaperManageController = Ember.ObjectController.extend
needs: ['application']
positionSort: ["position:asc"]
sortedPhases: Ember.computed.sort('phases', 'positionSort')
updatePositions: (phase)->
relevantPhases = @get('model.phases').filter((p)->
p != phase && p.get('position') >= phase.get('pos... | 2861 | ETahi.PaperManageController = Ember.ObjectController.extend
needs: ['application']
positionSort: ["position:asc"]
sortedPhases: Ember.computed.sort('phases', 'positionSort')
updatePositions: (phase)->
relevantPhases = @get('model.phases').filter((p)->
p != phase && p.get('position') >= phase.get('pos... | true | ETahi.PaperManageController = Ember.ObjectController.extend
needs: ['application']
positionSort: ["position:asc"]
sortedPhases: Ember.computed.sort('phases', 'positionSort')
updatePositions: (phase)->
relevantPhases = @get('model.phases').filter((p)->
p != phase && p.get('position') >= phase.get('pos... |
[
{
"context": "'use strict'\n\napp_name = 'semaphoreFlag'\npusher_token = '196081c6021641d28f43'\n\napp = ang",
"end": 39,
"score": 0.9219135642051697,
"start": 26,
"tag": "USERNAME",
"value": "semaphoreFlag"
},
{
"context": "rict'\n\napp_name = 'semaphoreFlag'\npusher_token = '196081... | app/coffee/controllers.coffee | rastasheep/semaphore-flag | 0 | 'use strict'
app_name = 'semaphoreFlag'
pusher_token = '196081c6021641d28f43'
app = angular.module "#{app_name}.controllers", []
app.controller 'mainController', ['$rootScope', '$scope', '$location', 'sharedData'
($rootScope, $scope, $location, sharedData) ->
init = ->
$rootScope.isProjectsCtrl = false
... | 43854 | 'use strict'
app_name = 'semaphoreFlag'
pusher_token = '<KEY> <PASSWORD>'
app = angular.module "#{app_name}.controllers", []
app.controller 'mainController', ['$rootScope', '$scope', '$location', 'sharedData'
($rootScope, $scope, $location, sharedData) ->
init = ->
$rootScope.isProjectsCtrl = false
... | true | 'use strict'
app_name = 'semaphoreFlag'
pusher_token = 'PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI'
app = angular.module "#{app_name}.controllers", []
app.controller 'mainController', ['$rootScope', '$scope', '$location', 'sharedData'
($rootScope, $scope, $location, sharedData) ->
init = ->
$rootSc... |
[
{
"context": "ce text with phonetic spelling\n\nWritten in 2013 by Karl Naylor <kpn103@yahoo.com>\n\nTo the extent possible under ",
"end": 104,
"score": 0.999893844127655,
"start": 93,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": "honetic spelling\n\nWritten in 2013 by Karl... | src/content/coffee/utils.coffee | karlorg/phonetify | 1 | ###
phonetify - Firefox extension to replace text with phonetic spelling
Written in 2013 by Karl Naylor <kpn103@yahoo.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed witho... | 37730 | ###
phonetify - Firefox extension to replace text with phonetic spelling
Written in 2013 by <NAME> <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warrant... | true | ###
phonetify - Firefox extension to replace text with phonetic spelling
Written in 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is di... |
[
{
"context": "alue) ->\n path = @getElementDomPath()\n key = path.join()\n storage = @storage.get key\n storage ?= {}\n",
"end": 3868,
"score": 0.9088694453239441,
"start": 3857,
"tag": "KEY",
"value": "path.join()"
}
] | este/ui/formspersister.coffee | vlkous/este-library | 0 | ###*
@fileoverview Forms persister. Persist form fields state into localStorage
or session.
@see /demos/ui/formspersister.html
###
goog.provide 'este.ui.FormsPersister'
goog.provide 'este.ui.FormsPersister.create'
goog.require 'este.ui.Component'
goog.require 'goog.dom.forms'
goog.require 'este.dom'
goog.requir... | 213401 | ###*
@fileoverview Forms persister. Persist form fields state into localStorage
or session.
@see /demos/ui/formspersister.html
###
goog.provide 'este.ui.FormsPersister'
goog.provide 'este.ui.FormsPersister.create'
goog.require 'este.ui.Component'
goog.require 'goog.dom.forms'
goog.require 'este.dom'
goog.requir... | true | ###*
@fileoverview Forms persister. Persist form fields state into localStorage
or session.
@see /demos/ui/formspersister.html
###
goog.provide 'este.ui.FormsPersister'
goog.provide 'este.ui.FormsPersister.create'
goog.require 'este.ui.Component'
goog.require 'goog.dom.forms'
goog.require 'este.dom'
goog.requir... |
[
{
"context": "nfig =\n server:\n host: 'example.dev'\n ip: '127.0.0.1'\n port: process.env.PORT or 5000\n client:\n ",
"end": 61,
"score": 0.9997854232788086,
"start": 52,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ss.env.PORT or 5000\n client:\n face... | config.coffee | iliyat/espresso | 0 | config =
server:
host: 'example.dev'
ip: '127.0.0.1'
port: process.env.PORT or 5000
client:
facebookAppId: 'XXXXXXXXXXXXXX'
gaId: 'XXXXXXXXXXXXXX'
module.exports = config | 135556 | config =
server:
host: 'example.dev'
ip: '127.0.0.1'
port: process.env.PORT or 5000
client:
facebookAppId: '<KEY>'
gaId: '<KEY>'
module.exports = config | true | config =
server:
host: 'example.dev'
ip: '127.0.0.1'
port: process.env.PORT or 5000
client:
facebookAppId: 'PI:KEY:<KEY>END_PI'
gaId: 'PI:KEY:<KEY>END_PI'
module.exports = config |
[
{
"context": " userid: Userid\n name: String\n }\n password: Hashed Password\n comment: String\n mode: \"waiting\"/\"playing\"/\"en",
"end": 351,
"score": 0.9985979199409485,
"start": 336,
"tag": "PASSWORD",
"value": "Hashed Password"
},
{
"context": "パスワードをアレする\n ... | server/rpc/game/rooms.coffee | absent132/jinrou | 0 | libblacklist = require '../../libs/blacklist.coffee'
libuserlogs = require '../../libs/userlogs.coffee'
libi18n = require '../../libs/i18n.coffee'
libready = require '../../libs/ready.coffee'
i18n = libi18n.getWithDefaultNS 'rooms'
###
room: {
id: Number
name: String
owner:{
userid: Userid
name: String
... | 146673 | libblacklist = require '../../libs/blacklist.coffee'
libuserlogs = require '../../libs/userlogs.coffee'
libi18n = require '../../libs/i18n.coffee'
libready = require '../../libs/ready.coffee'
i18n = libi18n.getWithDefaultNS 'rooms'
###
room: {
id: Number
name: String
owner:{
userid: Userid
name: String
... | true | libblacklist = require '../../libs/blacklist.coffee'
libuserlogs = require '../../libs/userlogs.coffee'
libi18n = require '../../libs/i18n.coffee'
libready = require '../../libs/ready.coffee'
i18n = libi18n.getWithDefaultNS 'rooms'
###
room: {
id: Number
name: String
owner:{
userid: Userid
name: String
... |
[
{
"context": "est'\n\nmodule.exports =\n data:\n users :\n 'adw12asd23':\n username: 'admin'\n password: 'ad",
"end": 83,
"score": 0.9942473769187927,
"start": 73,
"tag": "USERNAME",
"value": "adw12asd23"
},
{
"context": " users :\n 'adw12asd23':\n ... | test/mockup.coffee | tungv/oauth2-provider | 2 | request = require 'request'
module.exports =
data:
users :
'adw12asd23':
username: 'admin'
password: 'admin'
name: 'Admin'
id: 'adw12asd23'
clients :
'awesome-app':
clientId: 'awesome-app'
clientSecret: 'awesome-secret'
redirectURI: 'http:/... | 192659 | request = require 'request'
module.exports =
data:
users :
'adw12asd23':
username: 'admin'
password: '<PASSWORD>'
name: '<NAME>'
id: 'adw12asd23'
clients :
'awesome-app':
clientId: 'awesome-app'
clientSecret: '<KEY>'
redirectURI: 'http://aw... | true | request = require 'request'
module.exports =
data:
users :
'adw12asd23':
username: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
name: 'PI:NAME:<NAME>END_PI'
id: 'adw12asd23'
clients :
'awesome-app':
clientId: 'awesome-app'
clientSecret: 'PI:KEY... |
[
{
"context": "\t\t\t'emails'\n\t\t\t'status'\n\t\t\t'statusConnection'\n\t\t\t'username'\n\t\t\t'utcOffset'\n\t\t\t'active'\n\t\t\t'language'\n\t\t]\n\n\n#",
"end": 247,
"score": 0.9992192387580872,
"start": 239,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rn RocketChat.A... | packages/rocketchat-api/server/routes.coffee | abhishekshukla0302/trico | 0 | RocketChat.API.v1.addRoute 'info', authRequired: false,
get: -> RocketChat.Info
RocketChat.API.v1.addRoute 'me', authRequired: true,
get: ->
return _.pick @user, [
'_id'
'name'
'emails'
'status'
'statusConnection'
'username'
'utcOffset'
'active'
'language'
]
# Send Channel Message
R... | 191741 | RocketChat.API.v1.addRoute 'info', authRequired: false,
get: -> RocketChat.Info
RocketChat.API.v1.addRoute 'me', authRequired: true,
get: ->
return _.pick @user, [
'_id'
'name'
'emails'
'status'
'statusConnection'
'username'
'utcOffset'
'active'
'language'
]
# Send Channel Message
R... | true | RocketChat.API.v1.addRoute 'info', authRequired: false,
get: -> RocketChat.Info
RocketChat.API.v1.addRoute 'me', authRequired: true,
get: ->
return _.pick @user, [
'_id'
'name'
'emails'
'status'
'statusConnection'
'username'
'utcOffset'
'active'
'language'
]
# Send Channel Message
R... |
[
{
"context": "#\t> File Name: util.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: W",
"end": 41,
"score": 0.9994698166847229,
"start": 39,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "\t> File Name: util.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@... | server/common/util.coffee | Booker-Z/MIAC-website | 0 | # > File Name: util.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Wednesday, November 19, 2014 PM05:38:24 CST
crypto = require 'crypto'
config = require '../config.coffee'
util = exports
###
* encrypt password with sha1
* @param str: the original password
###
util.encrypt = (str)->
sha1 =... | 30706 | # > File Name: util.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Wednesday, November 19, 2014 PM05:38:24 CST
crypto = require 'crypto'
config = require '../config.coffee'
util = exports
###
* encrypt password with sha1
* @param str: the original password
###
util.encrypt = (str)->
sha1 = crypto.crea... | true | # > File Name: util.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Wednesday, November 19, 2014 PM05:38:24 CST
crypto = require 'crypto'
config = require '../config.coffee'
util = exports
###
* encrypt password with sha1
* @param str: the original password
###
util.encrypt = (str)->
sha... |
[
{
"context": "# Leisure (C) 2016 Bill Burdick and TEAM CTHULHU\n\n# Many thanks to webBoxio for w",
"end": 31,
"score": 0.9998198747634888,
"start": 19,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": "for writing atom-html-preview: https://github.com/webBoxio/atom-html-previe... | atom-support/leisure/lib/leisure.coffee | zot/Leisure | 58 | # Leisure (C) 2016 Bill Burdick and TEAM CTHULHU
# Many thanks to webBoxio for writing atom-html-preview: https://github.com/webBoxio/atom-html-preview
LeisureView = require './leisure-view'
url = require 'url'
{CompositeDisposable, Disposable} = require 'atom'
{Promise} = require 'bluebird'
atom = window.atom
# Org... | 205022 | # Leisure (C) 2016 <NAME> and TEAM CTHULHU
# Many thanks to webBoxio for writing atom-html-preview: https://github.com/webBoxio/atom-html-preview
LeisureView = require './leisure-view'
url = require 'url'
{CompositeDisposable, Disposable} = require 'atom'
{Promise} = require 'bluebird'
atom = window.atom
# OrgEditor... | true | # Leisure (C) 2016 PI:NAME:<NAME>END_PI and TEAM CTHULHU
# Many thanks to webBoxio for writing atom-html-preview: https://github.com/webBoxio/atom-html-preview
LeisureView = require './leisure-view'
url = require 'url'
{CompositeDisposable, Disposable} = require 'atom'
{Promise} = require 'bluebird'
atom = window.ato... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990652203559875,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-push.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... | 139453 | # 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": "ate\n\t\t\tresourceType: \"Patient\"\n\t\t\tname: {family: \"dan\"}\n\n\t\tassertProperty decorated, \"Patient.name.fami",
"end": 1230,
"score": 0.6572668552398682,
"start": 1227,
"tag": "NAME",
"value": "dan"
},
{
"context": "te\n\t\t\tresourceType: \"Patient\"\n\t\t\t... | test/stu-3-tests.coffee | TarikaPruthi/fred | 45 | assert = require "assert"
SchemaUtils = require "../src/helpers/schema-utils.coffee"
profiles = require("../public/profiles/stu3.json").profiles
getNode = (decorated, path) ->
position = decorated
segments = path.split(".")
unless segments.shift() is position.name
return null
while (segment = segments.shift())
... | 38860 | assert = require "assert"
SchemaUtils = require "../src/helpers/schema-utils.coffee"
profiles = require("../public/profiles/stu3.json").profiles
getNode = (decorated, path) ->
position = decorated
segments = path.split(".")
unless segments.shift() is position.name
return null
while (segment = segments.shift())
... | true | assert = require "assert"
SchemaUtils = require "../src/helpers/schema-utils.coffee"
profiles = require("../public/profiles/stu3.json").profiles
getNode = (decorated, path) ->
position = decorated
segments = path.split(".")
unless segments.shift() is position.name
return null
while (segment = segments.shift())
... |
[
{
"context": "###\n Author: ec.huyinghuan@gmail.com\n Date: 2015.07.09 15:30 PM\n Describe:\n 创建git",
"end": 37,
"score": 0.9999039769172668,
"start": 14,
"tag": "EMAIL",
"value": "ec.huyinghuan@gmail.com"
}
] | src/js/gitlab/gitlab-create-directive.coffee | Kiteam/kiteam-angular | 0 | ###
Author: ec.huyinghuan@gmail.com
Date: 2015.07.09 15:30 PM
Describe:
创建gitlab 新仓库并关联到项目
###
define [
'../ng-module'
], (_module)->
template = "
<div class='gitlab-create-form'>
<header>
<h3><i class='icon small create title'></i>创建新的仓库</h3>
</header>
<input type='text'
... | 158673 | ###
Author: <EMAIL>
Date: 2015.07.09 15:30 PM
Describe:
创建gitlab 新仓库并关联到项目
###
define [
'../ng-module'
], (_module)->
template = "
<div class='gitlab-create-form'>
<header>
<h3><i class='icon small create title'></i>创建新的仓库</h3>
</header>
<input type='text'
placehold... | true | ###
Author: PI:EMAIL:<EMAIL>END_PI
Date: 2015.07.09 15:30 PM
Describe:
创建gitlab 新仓库并关联到项目
###
define [
'../ng-module'
], (_module)->
template = "
<div class='gitlab-create-form'>
<header>
<h3><i class='icon small create title'></i>创建新的仓库</h3>
</header>
<input type='text'
... |
[
{
"context": ">. You showed them.\"\n]\n\nmodule.exports =\n name: \"Merit Badger\"\n listen: (message, room, logger) ->\n body = ",
"end": 12631,
"score": 0.9995602965354919,
"start": 12619,
"tag": "NAME",
"value": "Merit Badger"
}
] | src/plugins/badges.coffee | abachman/pat-the-campfire-bot | 2 | # HACK. This will give you a merit badge!
_ = require('underscore')._
the_badge_list = [
["American Business", "http://clipart.usscouts.org/library/BSA_Boy_Scout_MeritBadges/mb015c.gif"],
["American Cultures", "http://clipart.usscouts.org/library/BSA_Boy_Scout_MeritBadges/mb017c.gif"],
["American Heritage", "htt... | 89687 | # HACK. This will give you a merit badge!
_ = require('underscore')._
the_badge_list = [
["American Business", "http://clipart.usscouts.org/library/BSA_Boy_Scout_MeritBadges/mb015c.gif"],
["American Cultures", "http://clipart.usscouts.org/library/BSA_Boy_Scout_MeritBadges/mb017c.gif"],
["American Heritage", "htt... | true | # HACK. This will give you a merit badge!
_ = require('underscore')._
the_badge_list = [
["American Business", "http://clipart.usscouts.org/library/BSA_Boy_Scout_MeritBadges/mb015c.gif"],
["American Cultures", "http://clipart.usscouts.org/library/BSA_Boy_Scout_MeritBadges/mb017c.gif"],
["American Heritage", "htt... |
[
{
"context": "ify = require('watchify')\n\n\nFAVICON = new Buffer('iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACf0lEQVR42r2XS2gTURSG04K2VReilorEECVKiJk8EYuurIgPEFddKW4El1J3FbRUEOzKKuhKdy4Uql0H0UVxoYIKkoWCrxaKz1qKTayNYv0O3IEhzNzecSYz8HNnJpPz3XPm3HPuxGIRHNlstqdQKBwul8tDpVLpDprg/BV63hJgPB7vAngU0HX0BtCSh76FCs7n8... | config/grunt/server.coffee | Asana/quill-1 | 0 | _ = require('lodash')
browserify = require('browserify')
coffeeify = require('coffeeify')
fs = require('fs')
harp = require('harp')
proxy = require('http-proxy')
stylify = require('stylify')
stylus = require('stylus')
watchify = require('watchify')
FAVICON = new Buffer('iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAA... | 165308 | _ = require('lodash')
browserify = require('browserify')
coffeeify = require('coffeeify')
fs = require('fs')
harp = require('harp')
proxy = require('http-proxy')
stylify = require('stylify')
stylus = require('stylus')
watchify = require('watchify')
FAVICON = new Buffer('<KEY>', 'base<KEY>')
browserifyOps =
cache:... | true | _ = require('lodash')
browserify = require('browserify')
coffeeify = require('coffeeify')
fs = require('fs')
harp = require('harp')
proxy = require('http-proxy')
stylify = require('stylify')
stylus = require('stylus')
watchify = require('watchify')
FAVICON = new Buffer('PI:KEY:<KEY>END_PI', 'basePI:KEY:<KEY>END_PI')
... |
[
{
"context": "###*\n# @fileoverview Tests for no-danger\n# @author Scott Andrews\n###\n\n'use strict'\n\n# ----------------------------",
"end": 64,
"score": 0.9998306035995483,
"start": 51,
"tag": "NAME",
"value": "Scott Andrews"
}
] | src/tests/rules/no-danger.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-danger
# @author Scott Andrews
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-danger'
{Ru... | 144067 | ###*
# @fileoverview Tests for no-danger
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-danger'
{RuleTeste... | true | ###*
# @fileoverview Tests for no-danger
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-dang... |
[
{
"context": "# (c) 2013-2018 Flowhub UG\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 116,
"score": 0.9998526573181152,
"start": 103,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "2018 Flowhub UG\n# (c) 2011-2012 He... | src/lib/LegacyNetwork.coffee | rrothenb/noflo | 0 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
BaseNetwork = require './BaseNetwork'
{ deprecated } = require './Platform'
# ## The NoFlo network coordinator
#
# NoFlo networks cons... | 44642 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
BaseNetwork = require './BaseNetwork'
{ deprecated } = require './Platform'
# ## The NoFlo network coordinator
#
# NoFlo networks consist of ... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
BaseNetwork = require './BaseNetwork'
{ deprecated } = require './Platform'
# ## The NoFlo network coordinator
#
... |
[
{
"context": ", verified: true}}})\n\n\tif user?\n\t\tserviceIdKey = \"services.\" + serviceName + \".id\"\n\t\tupdate = {}\n\t\tupdate[serv",
"end": 1224,
"score": 0.7268475294113159,
"start": 1214,
"tag": "KEY",
"value": "services.\""
},
{
"context": "user?\n\t\tserviceIdKey = \"se... | server/configuration/accounts_meld.coffee | sunboy/rchat | 1 | orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService
Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) ->
if serviceName not in ['facebook', 'github', 'google', 'meteor-developer', 'linkedin']
return
if serviceName is 'github' and (not servi... | 155342 | orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService
Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) ->
if serviceName not in ['facebook', 'github', 'google', 'meteor-developer', 'linkedin']
return
if serviceName is 'github' and (not servi... | true | orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService
Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) ->
if serviceName not in ['facebook', 'github', 'google', 'meteor-developer', 'linkedin']
return
if serviceName is 'github' and (not servi... |
[
{
"context": " request =\n rawData: '{\"$set\": {\"token\":\"angry\"}}'\n\n @sut = new UpdateDeviceIsValid\n ",
"end": 3490,
"score": 0.7749016284942627,
"start": 3485,
"tag": "PASSWORD",
"value": "angry"
}
] | test/update-device-is-valid-spec.coffee | octoblu/meshblu-core-task-check-update-device-is-valid | 0 | {beforeEach, describe, it} = global
{expect} = require 'chai'
UpdateDeviceIsValid = require '../'
describe 'UpdateDeviceIsValid', ->
describe '->do', ->
describe 'when called with a valid request', ->
beforeEach (done) ->
request =
rawData: '{"$set": {"pigeonCount": 0}}'
@sut = ... | 76465 | {beforeEach, describe, it} = global
{expect} = require 'chai'
UpdateDeviceIsValid = require '../'
describe 'UpdateDeviceIsValid', ->
describe '->do', ->
describe 'when called with a valid request', ->
beforeEach (done) ->
request =
rawData: '{"$set": {"pigeonCount": 0}}'
@sut = ... | true | {beforeEach, describe, it} = global
{expect} = require 'chai'
UpdateDeviceIsValid = require '../'
describe 'UpdateDeviceIsValid', ->
describe '->do', ->
describe 'when called with a valid request', ->
beforeEach (done) ->
request =
rawData: '{"$set": {"pigeonCount": 0}}'
@sut = ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9977968335151672,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/_http_common.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... | 138308 | # 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": "YEwV6NtRD8\">https://t.co/YEwV6NtRD8</a></p>— Sam Stephenson (@sstephenson) <a href=\"https://twitter.com/sstep",
"end": 13310,
"score": 0.99985671043396,
"start": 13296,
"tag": "NAME",
"value": "Sam Stephenson"
},
{
"context": "ps://t.co/YEwV6NtRD8</a></p>—... | test/src/test_helpers/fixtures/fixtures.coffee | kohrVid/trix | 0 | {css} = Trix.config
@TEST_IMAGE_URL = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs="
createDocument = (parts...) ->
blocks = for part in parts
[string, textAttributes, blockAttributes] = part
text = Trix.Text.textForStringWithAttributes(string, textAttributes)
new Trix.Block te... | 217223 | {css} = Trix.config
@TEST_IMAGE_URL = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs="
createDocument = (parts...) ->
blocks = for part in parts
[string, textAttributes, blockAttributes] = part
text = Trix.Text.textForStringWithAttributes(string, textAttributes)
new Trix.Block te... | true | {css} = Trix.config
@TEST_IMAGE_URL = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs="
createDocument = (parts...) ->
blocks = for part in parts
[string, textAttributes, blockAttributes] = part
text = Trix.Text.textForStringWithAttributes(string, textAttributes)
new Trix.Block te... |
[
{
"context": "orms.length - 1 ]\n switch key = \"#{R.first.type}/#{R.last.type}\"\n when 'source/through' then R",
"end": 6364,
"score": 0.8512742519378662,
"start": 6362,
"tag": "KEY",
"value": "#{"
}
] | src/pull-remit.coffee | loveencounterflow/steampipes | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'STEAMPIPES/PULL-REMIT'
debug = CND.get_logger 'debug', badge
wa... | 162845 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'STEAMPIPES/PULL-REMIT'
debug = CND.get_logger 'debug', badge
wa... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'STEAMPIPES/PULL-REMIT'
debug = CND.get_logger 'debug', badge
wa... |
[
{
"context": "G\n#\n# This is the n-squared algorithm described by David Eberly. While faster\n# algorithms exist for polygon tri",
"end": 113,
"score": 0.9993845820426941,
"start": 101,
"tag": "NAME",
"value": "David Eberly"
}
] | src/polygon.coffee | prideout/polygon.js | 29 | # TRIANGULATION OF SIMPLE POLYGONS VIA EAR CLIPPING
#
# This is the n-squared algorithm described by David Eberly. While faster
# algorithms exist for polygon triangulation, this one is easy to follow.
#
# INPUTS:
#
# coords ... coordinate list representing the original polygon in CCW order.
# holes ... list of coo... | 48415 | # TRIANGULATION OF SIMPLE POLYGONS VIA EAR CLIPPING
#
# This is the n-squared algorithm described by <NAME>. While faster
# algorithms exist for polygon triangulation, this one is easy to follow.
#
# INPUTS:
#
# coords ... coordinate list representing the original polygon in CCW order.
# holes ... list of coordinat... | true | # TRIANGULATION OF SIMPLE POLYGONS VIA EAR CLIPPING
#
# This is the n-squared algorithm described by PI:NAME:<NAME>END_PI. While faster
# algorithms exist for polygon triangulation, this one is easy to follow.
#
# INPUTS:
#
# coords ... coordinate list representing the original polygon in CCW order.
# holes ... lis... |
[
{
"context": "1, 1, 1, 1, 1, 1, 1, 2, 1, .5, 0, 1 ], # Dra\n [ 1, 1, 1, 1, 1, 1, .5, 1, 1, 1, 2, ",
"end": 1651,
"score": 0.9650875329971313,
"start": 1648,
"tag": "NAME",
"value": "Dra"
},
{
"context": "1, 1, 1, 2, 1, 1, 2, 1, .5, 1, .5, 1 ], # Dar\n ... | server/xy/util.coffee | sarenji/pokebattle-sim | 5 | coffee = require 'coffee-script'
path = require('path').resolve(__dirname, '../bw/util.coffee')
eval(coffee.compile(require('fs').readFileSync(path, 'utf8'), bare: true))
@Type.Fairy = Type.Fairy = 17
@Type["???"] = Type["???"] = 18
typeChart = [
# Nor Fir Wat Ele Gra Ice Fig Poi Gro Fly Psy Bug Roc Gho Dra Dar S... | 65509 | coffee = require 'coffee-script'
path = require('path').resolve(__dirname, '../bw/util.coffee')
eval(coffee.compile(require('fs').readFileSync(path, 'utf8'), bare: true))
@Type.Fairy = Type.Fairy = 17
@Type["???"] = Type["???"] = 18
typeChart = [
# Nor Fir Wat Ele Gra Ice Fig Poi Gro Fly Psy Bug Roc Gho Dra Dar S... | true | coffee = require 'coffee-script'
path = require('path').resolve(__dirname, '../bw/util.coffee')
eval(coffee.compile(require('fs').readFileSync(path, 'utf8'), bare: true))
@Type.Fairy = Type.Fairy = 17
@Type["???"] = Type["???"] = 18
typeChart = [
# Nor Fir Wat Ele Gra Ice Fig Poi Gro Fly Psy Bug Roc Gho Dra Dar S... |
[
{
"context": "Scope.$new()\n models = [\n first_name: \"Paul\"\n last_name: \"McCartney\"\n ,\n first_",
"end": 1430,
"score": 0.9997742176055908,
"start": 1426,
"tag": "NAME",
"value": "Paul"
},
{
"context": " = [\n first_name: \"Paul\"\n last_nam... | test/unit/table_section_selected_models.spec.coffee | neosavvyinc/MacGyver | 1 | describe "Table Section Selected Models", ->
# Initialize these values up here
scope = null
$document = null
models = null
columns = null
element = null
template = """
<table mac-table mac-table-columns="tableColumns">
<thead mac-table-section="header" mac-table-section-blank-row>
... | 226001 | describe "Table Section Selected Models", ->
# Initialize these values up here
scope = null
$document = null
models = null
columns = null
element = null
template = """
<table mac-table mac-table-columns="tableColumns">
<thead mac-table-section="header" mac-table-section-blank-row>
... | true | describe "Table Section Selected Models", ->
# Initialize these values up here
scope = null
$document = null
models = null
columns = null
element = null
template = """
<table mac-table mac-table-columns="tableColumns">
<thead mac-table-section="header" mac-table-section-blank-row>
... |
[
{
"context": "ion:\n# None\n#\n# Commands:\n# None\n#\n# Author:\n# AdamEdgett\n\nmodule.exports = (robot) ->\n robot.hear /https?",
"end": 175,
"score": 0.9983659386634827,
"start": 165,
"tag": "NAME",
"value": "AdamEdgett"
}
] | scripts/xkcd-image.coffee | AdamEdgett/hubot-xkcd-image | 1 | # Description:
# Replies with the comic image when an XKCD url is sent
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# AdamEdgett
module.exports = (robot) ->
robot.hear /https?:\/\/(www.)?xkcd.com(\/\d+)?/i, (msg) ->
num = if msg.match[2] then "#{msg.match[2]}" else ... | 198164 | # Description:
# Replies with the comic image when an XKCD url is sent
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.hear /https?:\/\/(www.)?xkcd.com(\/\d+)?/i, (msg) ->
num = if msg.match[2] then "#{msg.match[2]}" else ""
... | true | # Description:
# Replies with the comic image when an XKCD url is sent
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.hear /https?:\/\/(www.)?xkcd.com(\/\d+)?/i, (msg) ->
num = if msg.match[2] then "#{msg.match[... |
[
{
"context": "g.tweenDurationUnit\n\n apiKey = localStorage.getItem('api_key')\n qsMatchId = qs.get('mat",
"end": 12622,
"score": 0.5815374851226807,
"start": 12622,
"tag": "KEY",
"value": ""
}
] | frontend/src/game.coffee | sargo/grot2 | 0 | # GROT - html5 canvas game
cfg = require './config.coffee'
engine = require './engine.coffee'
board = require './board.coffee'
menu = require './menu.coffee'
ctrl_bars = require './control-bars.coffee'
utils = require './utils.coffee'
class RenderManager extends engine.RenderManager
# Manage canvas and widgets
... | 47212 | # GROT - html5 canvas game
cfg = require './config.coffee'
engine = require './engine.coffee'
board = require './board.coffee'
menu = require './menu.coffee'
ctrl_bars = require './control-bars.coffee'
utils = require './utils.coffee'
class RenderManager extends engine.RenderManager
# Manage canvas and widgets
... | true | # GROT - html5 canvas game
cfg = require './config.coffee'
engine = require './engine.coffee'
board = require './board.coffee'
menu = require './menu.coffee'
ctrl_bars = require './control-bars.coffee'
utils = require './utils.coffee'
class RenderManager extends engine.RenderManager
# Manage canvas and widgets
... |
[
{
"context": "overview Tests for consistent-this rule.\n# @author Raphael Pigulla\n###\n\n'use strict'\n\n#-----------------------------",
"end": 78,
"score": 0.9998679161071777,
"start": 63,
"tag": "NAME",
"value": "Raphael Pigulla"
}
] | src/tests/rules/consistent-this.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for consistent-this rule.
# @author Raphael Pigulla
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/consistent-this'
{R... | 89017 | ###*
# @fileoverview Tests for consistent-this rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/consistent-this'
{RuleTester... | true | ###*
# @fileoverview Tests for consistent-this rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/consistent-thi... |
[
{
"context": "fferent length uppercase\", ->\n\n candidates = [\"Bernauer Stra\\u00DFe Wall\"] # Bernauer Straße Wall\n expect(f",
"end": 1033,
"score": 0.9624810814857483,
"start": 1020,
"tag": "NAME",
"value": "Bernauer Stra"
},
{
"context": "rcase\", ->\n\n candidates = [... | test/filter-spec.coffee | atom-community/zadeh | 12 | path = require 'path'
{filter,score} = require '../index'
bestMatch = (candidates, query, options = {}) ->
{debug} = options
if debug?
console.log("\n = Against query: #{query} = ")
console.log(" #{score(c, query)}: #{c}") for c in candidates
filter(candidates, query, options)[0]
rootPath = (segments... | 93226 | path = require 'path'
{filter,score} = require '../index'
bestMatch = (candidates, query, options = {}) ->
{debug} = options
if debug?
console.log("\n = Against query: #{query} = ")
console.log(" #{score(c, query)}: #{c}") for c in candidates
filter(candidates, query, options)[0]
rootPath = (segments... | true | path = require 'path'
{filter,score} = require '../index'
bestMatch = (candidates, query, options = {}) ->
{debug} = options
if debug?
console.log("\n = Against query: #{query} = ")
console.log(" #{score(c, query)}: #{c}") for c in candidates
filter(candidates, query, options)[0]
rootPath = (segments... |
[
{
"context": "cess.env.AWS_SECRET_ACCESS_KEY\n accessKeyId = 'rHiziprP5FLOL5DpLaRc'\n secretAccessKey = 'dGudXJxDvtgZ2oRvzuMY1uWA/",
"end": 565,
"score": 0.9993894100189209,
"start": 545,
"tag": "KEY",
"value": "rHiziprP5FLOL5DpLaRc"
},
{
"context": "d = 'rHiziprP5FLOL5DpLaRc'\... | src/test/index.coffee | jssuttles/s3-browser-direct-upload | 0 | # s3-browser-direct-upload
_ = require('lodash')
fs = require('fs')
moment = require('moment')
chai = require('chai')
path = require('path')
sinon = require('sinon')
sinonChai = require('sinon-chai')
assert = chai.assert
expect = chai.expect
chai.use(sinonChai)
s3B... | 206737 | # s3-browser-direct-upload
_ = require('lodash')
fs = require('fs')
moment = require('moment')
chai = require('chai')
path = require('path')
sinon = require('sinon')
sinonChai = require('sinon-chai')
assert = chai.assert
expect = chai.expect
chai.use(sinonChai)
s3B... | true | # s3-browser-direct-upload
_ = require('lodash')
fs = require('fs')
moment = require('moment')
chai = require('chai')
path = require('path')
sinon = require('sinon')
sinonChai = require('sinon-chai')
assert = chai.assert
expect = chai.expect
chai.use(sinonChai)
s3B... |
[
{
"context": "ex.typeform.com/to/f5lBiZ\n\nThank you in advance.\n\nHenry\n\nShareLaTeX Co-founder\n\"\"\"\n\tcompiledTemplate: _.t",
"end": 1660,
"score": 0.9997612833976746,
"start": 1655,
"tag": "NAME",
"value": "Henry"
},
{
"context": "urvey</a>?</p>\n\n<p>Thank you in advance.</... | app/coffee/Features/Email/EmailBuilder.coffee | dtu-compute/web-sharelatex | 0 | _ = require('underscore')
settings = require("settings-sharelatex")
PersonalEmailLayout = require("./Layouts/PersonalEmailLayout")
NotificationEmailLayout = require("./Layouts/NotificationEmailLayout")
BaseWithHeaderEmailLayout = require("./Layouts/" + settings.brandPrefix + "BaseWithHeaderEmailLayout")
SingleCTAEmai... | 66410 | _ = require('underscore')
settings = require("settings-sharelatex")
PersonalEmailLayout = require("./Layouts/PersonalEmailLayout")
NotificationEmailLayout = require("./Layouts/NotificationEmailLayout")
BaseWithHeaderEmailLayout = require("./Layouts/" + settings.brandPrefix + "BaseWithHeaderEmailLayout")
SingleCTAEmai... | true | _ = require('underscore')
settings = require("settings-sharelatex")
PersonalEmailLayout = require("./Layouts/PersonalEmailLayout")
NotificationEmailLayout = require("./Layouts/NotificationEmailLayout")
BaseWithHeaderEmailLayout = require("./Layouts/" + settings.brandPrefix + "BaseWithHeaderEmailLayout")
SingleCTAEmai... |
[
{
"context": "r.call(@, data, @)\n\n emit: (socket, data, key = 'sync') ->\n socket.emit(key, data)\n\n broadcast: (so",
"end": 539,
"score": 0.5736984014511108,
"start": 535,
"tag": "KEY",
"value": "sync"
}
] | node_modules/tower/packages/tower-net/server/connection/socketio.coffee | MagicPower2/Power | 1 | Tower.NetConnectionSocketio =
getId: (socket) ->
socket.id
getSessionId: (socket) ->
listen: (server) ->
# if client
# socket = global.io.connect(domain)
io = Tower.module('socketio').listen(server)
io.on 'connection', (socket) =>
@connect(socket)
io
connect: (socket) ->
... | 45242 | Tower.NetConnectionSocketio =
getId: (socket) ->
socket.id
getSessionId: (socket) ->
listen: (server) ->
# if client
# socket = global.io.connect(domain)
io = Tower.module('socketio').listen(server)
io.on 'connection', (socket) =>
@connect(socket)
io
connect: (socket) ->
... | true | Tower.NetConnectionSocketio =
getId: (socket) ->
socket.id
getSessionId: (socket) ->
listen: (server) ->
# if client
# socket = global.io.connect(domain)
io = Tower.module('socketio').listen(server)
io.on 'connection', (socket) =>
@connect(socket)
io
connect: (socket) ->
... |
[
{
"context": "module.exports = boys = [\n # name: 'Spencer'\n name: 'Richard'\n number: '5556544'\n tnumber:",
"end": 44,
"score": 0.9997844696044922,
"start": 37,
"tag": "NAME",
"value": "Spencer"
},
{
"context": "e.exports = boys = [\n # name: 'Spencer'\n name: 'Richard'\n n... | app/models/boys.coffee | dordille/dreamphone | 1 | module.exports = boys = [
# name: 'Spencer'
name: 'Richard'
number: '5556544'
tnumber: '+16466815541'
traits: ['movies', 'popcorn', 'jacket']
place: "Reel Movies"
image: "http://upload.wikimedia.org/wikipedia/commons/b/b2/Richard_Shelby%2C_official_portrait%2C_112th_Congress_crop.jpg"
,
# name: 'Dan'
... | 211212 | module.exports = boys = [
# name: '<NAME>'
name: '<NAME>'
number: '5556544'
tnumber: '+16466815541'
traits: ['movies', 'popcorn', 'jacket']
place: "Reel Movies"
image: "http://upload.wikimedia.org/wikipedia/commons/b/b2/Richard_Shelby%2C_official_portrait%2C_112th_Congress_crop.jpg"
,
# name: '<NAME>'
... | true | module.exports = boys = [
# name: 'PI:NAME:<NAME>END_PI'
name: 'PI:NAME:<NAME>END_PI'
number: '5556544'
tnumber: '+16466815541'
traits: ['movies', 'popcorn', 'jacket']
place: "Reel Movies"
image: "http://upload.wikimedia.org/wikipedia/commons/b/b2/Richard_Shelby%2C_official_portrait%2C_112th_Congress_crop... |
[
{
"context": "lient()\nserver = new SRPServer()\n\nI = new Buffer \"alice\"\nP = new Buffer \"password123\"\ns = new Buffer 'beb",
"end": 235,
"score": 0.9728943705558777,
"start": 230,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "PServer()\n\nI = new Buffer \"alice\"\nP = ne... | test/rfc5054.coffee | Neufund/jsrp-server-fast | 0 | assert = require 'assert'
should = require 'should'
transform = require '../src/transform'
SRPClient = require '../src/client'
SRPServer = require '../src/server'
client = new SRPClient()
server = new SRPServer()
I = new Buffer "alice"
P = new Buffer "password123"
s = new Buffer 'beb25379d1a8581eb5a727673a2441ee', 'he... | 124119 | assert = require 'assert'
should = require 'should'
transform = require '../src/transform'
SRPClient = require '../src/client'
SRPServer = require '../src/server'
client = new SRPClient()
server = new SRPServer()
I = new Buffer "alice"
P = new Buffer "<PASSWORD>"
s = new Buffer 'beb25379d1a8581eb5a727673a2441ee', 'hex... | true | assert = require 'assert'
should = require 'should'
transform = require '../src/transform'
SRPClient = require '../src/client'
SRPServer = require '../src/server'
client = new SRPClient()
server = new SRPServer()
I = new Buffer "alice"
P = new Buffer "PI:PASSWORD:<PASSWORD>END_PI"
s = new Buffer 'beb25379d1a8581eb5a72... |
[
{
"context": "#############\n#\n#\tMooqita collections\n# Created by Markus on 26/10/2017.\n#\n################################",
"end": 99,
"score": 0.9990134239196777,
"start": 93,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/educert.coffee | MooqitaSFH/worklearn | 0 | #######################################################
#
# Mooqita collections
# Created by Markus on 26/10/2017.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | 82955 | #######################################################
#
# Mooqita collections
# Created by <NAME> on 26/10/2017.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | true | #######################################################
#
# Mooqita collections
# Created by PI:NAME:<NAME>END_PI on 26/10/2017.
#
#######################################################
#######################################################
# item header
#######################################################
#####... |
[
{
"context": " # @todo cleanup/optimize\n key = if key == '_id' then 'id' else key\n result = @_cid if key =",
"end": 3685,
"score": 0.9639662504196167,
"start": 3683,
"tag": "KEY",
"value": "id"
},
{
"context": "leanup/optimize\n key = if key == '_id' then 'id' else k... | node_modules/tower/packages/tower-model/shared/attributes.coffee | MagicPower2/Power | 1 | _ = Tower._
# @mixin
Tower.ModelAttributes =
Serialization: {}
ClassMethods:
# @todo there are no tests for this yet.
dynamicFields: true
# @todo this is not being used yet.
primaryKey: 'id'
# @todo
#
# List of names you should not use as field names.
destructiveFields: [
... | 39174 | _ = Tower._
# @mixin
Tower.ModelAttributes =
Serialization: {}
ClassMethods:
# @todo there are no tests for this yet.
dynamicFields: true
# @todo this is not being used yet.
primaryKey: 'id'
# @todo
#
# List of names you should not use as field names.
destructiveFields: [
... | true | _ = Tower._
# @mixin
Tower.ModelAttributes =
Serialization: {}
ClassMethods:
# @todo there are no tests for this yet.
dynamicFields: true
# @todo this is not being used yet.
primaryKey: 'id'
# @todo
#
# List of names you should not use as field names.
destructiveFields: [
... |
[
{
"context": "###\nweb.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 42,
"score": 0.9996265172958374,
"start": 34,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\nweb.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n... | src/web/webCtrl.coffee | xuender/mindfulness | 0 | ###
web.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
WebCtrl = ($scope, $log, $http, $modal, lss, $q)->
### 网页制器 ###
lss.bind($scope, "isLogin", false)
$scope.selectBoolean = ->
# 布尔列表
def = $q.defer()
ret = [
{id:true, title:'是'}
... | 4474 | ###
web.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
WebCtrl = ($scope, $log, $http, $modal, lss, $q)->
### 网页制器 ###
lss.bind($scope, "isLogin", false)
$scope.selectBoolean = ->
# 布尔列表
def = $q.defer()
ret = [
{id:true, title:'是'}
{id:false, t... | true | ###
web.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
WebCtrl = ($scope, $log, $http, $modal, lss, $q)->
### 网页制器 ###
lss.bind($scope, "isLogin", false)
$scope.selectBoolean = ->
# 布尔列表
def = $q.defer()
ret = [
{id:true, ... |
[
{
"context": "f result == 'object'\n @password result.password\n else\n @password result\n ",
"end": 791,
"score": 0.5054627060890198,
"start": 783,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "peof result == 'object'\n @password... | src/scripts/models/showPasswordViewModel.coffee | overhaul/Cyclops | 0 | class ShowPasswordViewModel
constructor: (params) ->
if params.getPassword == null || typeof params.getPassword != 'function'
throw 'A parameter \'getPassword\' is required and must be a function'
@loading = ko.observable false
@errored = ko.observable false
@showPassword = ko.observable false
... | 26184 | class ShowPasswordViewModel
constructor: (params) ->
if params.getPassword == null || typeof params.getPassword != 'function'
throw 'A parameter \'getPassword\' is required and must be a function'
@loading = ko.observable false
@errored = ko.observable false
@showPassword = ko.observable false
... | true | class ShowPasswordViewModel
constructor: (params) ->
if params.getPassword == null || typeof params.getPassword != 'function'
throw 'A parameter \'getPassword\' is required and must be a function'
@loading = ko.observable false
@errored = ko.observable false
@showPassword = ko.observable false
... |
[
{
"context": "###################################\n#\n# Created by Markus on 26/10/2016.\n#\n################################",
"end": 77,
"score": 0.998837411403656,
"start": 71,
"tag": "NAME",
"value": "Markus"
}
] | server/3_database/retrieve.coffee | MooqitaSFH/worklearn | 0 | #######################################################
#
# Created by Markus on 26/10/2016.
#
#######################################################
#######################################################
@get_collection_save = (collection_name) ->
check collection_name, String
collection = get_collection collecti... | 51259 | #######################################################
#
# Created by <NAME> on 26/10/2016.
#
#######################################################
#######################################################
@get_collection_save = (collection_name) ->
check collection_name, String
collection = get_collection collecti... | true | #######################################################
#
# Created by PI:NAME:<NAME>END_PI on 26/10/2016.
#
#######################################################
#######################################################
@get_collection_save = (collection_name) ->
check collection_name, String
collection = get_colle... |
[
{
"context": "ctrl.user =\n email : null\n password : null\n\n ctrl.options =\n isSubmiting : no\n",
"end": 523,
"score": 0.9986757636070251,
"start": 519,
"tag": "PASSWORD",
"value": "null"
}
] | src/app/features/login/auth/scripts/controller.coffee | TimeoutZero/basebuild-boilerplate | 0 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'BBB.controllers'
.controller 'LoginAuthController', ($scope, $state, $stateParams, ActiveUser, LoginService, $localStorage, $hIntercom, $window) ->
# ============================... | 164484 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'BBB.controllers'
.controller 'LoginAuthController', ($scope, $state, $stateParams, ActiveUser, LoginService, $localStorage, $hIntercom, $window) ->
# ============================... | true | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'BBB.controllers'
.controller 'LoginAuthController', ($scope, $state, $stateParams, ActiveUser, LoginService, $localStorage, $hIntercom, $window) ->
# ============================... |
[
{
"context": "ent awsTag: 'sfsadf', awsId: 'sfadf', awsSecret: 'fsg'\n\n describe 'when no callback is passed', ->\n ",
"end": 9489,
"score": 0.9146237969398499,
"start": 9486,
"tag": "KEY",
"value": "fsg"
}
] | node_modules/amazon-product-api/test/test.coffee | ihabrbelal/FinalProject | 0 | amazonProductApi = require '../lib/index'
generateQueryString = require('../lib/utils').generateQueryString
formatQueryParams = require('../lib/utils').formatQueryParams
urlRegex = require './regex-weburl'
credentials =
awsTag: process.env.AWS_TAG
awsId: process.env.AWS_ID
awsSecret: process.env.AWS_SECRET
des... | 194795 | amazonProductApi = require '../lib/index'
generateQueryString = require('../lib/utils').generateQueryString
formatQueryParams = require('../lib/utils').formatQueryParams
urlRegex = require './regex-weburl'
credentials =
awsTag: process.env.AWS_TAG
awsId: process.env.AWS_ID
awsSecret: process.env.AWS_SECRET
des... | true | amazonProductApi = require '../lib/index'
generateQueryString = require('../lib/utils').generateQueryString
formatQueryParams = require('../lib/utils').formatQueryParams
urlRegex = require './regex-weburl'
credentials =
awsTag: process.env.AWS_TAG
awsId: process.env.AWS_ID
awsSecret: process.env.AWS_SECRET
des... |
[
{
"context": " user: process.env.EMAIL,\n pass: process.env.PASS\n }\n\n mail =\n from: process.env.EMAIL",
"end": 427,
"score": 0.9855672717094421,
"start": 411,
"tag": "PASSWORD",
"value": "process.env.PASS"
}
] | controller/api/postMail.coffee | Next-Mangas/Mail-Service | 0 | nodemailer = require "nodemailer"
Handler = (req, res) ->
{ content, subject, to, auth } = req.body
if not content or not subject or not to or not auth
return res.sendStatus 400
if not auth == process.env.AUTH_KEY
return res.sendStatus 401
transport = nodemailer.createTransport {
... | 68894 | nodemailer = require "nodemailer"
Handler = (req, res) ->
{ content, subject, to, auth } = req.body
if not content or not subject or not to or not auth
return res.sendStatus 400
if not auth == process.env.AUTH_KEY
return res.sendStatus 401
transport = nodemailer.createTransport {
... | true | nodemailer = require "nodemailer"
Handler = (req, res) ->
{ content, subject, to, auth } = req.body
if not content or not subject or not to or not auth
return res.sendStatus 400
if not auth == process.env.AUTH_KEY
return res.sendStatus 401
transport = nodemailer.createTransport {
... |
[
{
"context": "ect_view = new classes.SelectView({\n# values: [\"rune\",\"steve\",\"zach\"]\n# })\n\nclass classes.SelectView e",
"end": 282,
"score": 0.8968027830123901,
"start": 278,
"tag": "NAME",
"value": "rune"
},
{
"context": "w = new classes.SelectView({\n# values: [\"rune\... | lib/assets/javascripts/views/select.coffee | sambacha/atlas_assets | 4 | # Two ways to createa a Select dropdown
#
# Start with a Backbone Collection and a specified label
#
# select_view = new classes.SelectView({
# collection:some_collection,
# label: "name"
# })
#
# Start with an array
#
# select_view = new classes.SelectView({
# values: ["rune","steve","zach"]
# })
class classes.... | 89805 | # Two ways to createa a Select dropdown
#
# Start with a Backbone Collection and a specified label
#
# select_view = new classes.SelectView({
# collection:some_collection,
# label: "name"
# })
#
# Start with an array
#
# select_view = new classes.SelectView({
# values: ["<NAME>","<NAME>","<NAME>"]
# })
class cla... | true | # Two ways to createa a Select dropdown
#
# Start with a Backbone Collection and a specified label
#
# select_view = new classes.SelectView({
# collection:some_collection,
# label: "name"
# })
#
# Start with an array
#
# select_view = new classes.SelectView({
# values: ["PI:NAME:<NAME>END_PI","PI:NAME:<NAME>END_P... |
[
{
"context": "======\n\ngpg_output = \"\"\"\ntru::1:1392463756:1439900531:3:1:5\npub:u:2048:17:76D78F0500D026C4:1282220531:1",
"end": 206,
"score": 0.6717531681060791,
"start": 203,
"tag": "IP_ADDRESS",
"value": "531"
},
{
"context": "=\n\ngpg_output = \"\"\"\ntru::1:1392463756:14399... | node_modules/gpg-wrapper/test/files/index.iced | AngelKey/Angelkey.nodeinstaller | 151 |
{Parser,parse} = require '../../lib/index'
{TmpKeyRing} = require '../../lib/keyring'
#======================================================================
gpg_output = """
tru::1:1392463756:1439900531:3:1:5
pub:u:2048:17:76D78F0500D026C4:1282220531:1439900531::u:::scESC:
fpr:::::::::85E38F69046B44C1EC9FB07B76D78F... | 191247 |
{Parser,parse} = require '../../lib/index'
{TmpKeyRing} = require '../../lib/keyring'
#======================================================================
gpg_output = """
tru::1:1392463756:1439900531:3:1:5
pub:u:<KEY>:<KEY>:1282<KEY>1:14<KEY>531::u:::scESC:
fpr:::::::::85E38F69046B44C1EC9FB07B76D78F0500D026C4:
u... | true |
{Parser,parse} = require '../../lib/index'
{TmpKeyRing} = require '../../lib/keyring'
#======================================================================
gpg_output = """
tru::1:1392463756:1439900531:3:1:5
pub:u:PI:KEY:<KEY>END_PI:PI:KEY:<KEY>END_PI:1282PI:KEY:<KEY>END_PI1:14PI:KEY:<KEY>END_PI531::u:::scESC:
fpr... |
[
{
"context": "odule.exports =\n SERVICE_ROLES:\n USER: 'user'\n ADMIN: 'admin'\n PLAYER_ROLES:\n ",
"end": 55,
"score": 0.9415233135223389,
"start": 51,
"tag": "USERNAME",
"value": "user"
},
{
"context": "RVICE_ROLES:\n USER: 'user'\n ADMIN: 'a... | src/server/models/constants.coffee | osboo/masonsmafia-db | 0 | module.exports =
SERVICE_ROLES:
USER: 'user'
ADMIN: 'admin'
PLAYER_ROLES:
MAFIA: 'mafia'
CITIZEN: 'citizen'
SHERIFF: 'sheriff'
DON: 'don'
GAME_RESULT:
MAFIA_WIN: 'mafia_win'
CITIZENS_WIN: 'citizens_win'
| 166496 | module.exports =
SERVICE_ROLES:
USER: 'user'
ADMIN: 'admin'
PLAYER_ROLES:
MAFIA: '<NAME>'
CITIZEN: 'citizen'
SHERIFF: 'sheriff'
DON: '<NAME>'
GAME_RESULT:
MAFIA_WIN: 'mafia_win'
CITIZENS_WIN: 'citizens_win'
| true | module.exports =
SERVICE_ROLES:
USER: 'user'
ADMIN: 'admin'
PLAYER_ROLES:
MAFIA: 'PI:NAME:<NAME>END_PI'
CITIZEN: 'citizen'
SHERIFF: 'sheriff'
DON: 'PI:NAME:<NAME>END_PI'
GAME_RESULT:
MAFIA_WIN: 'mafia_win'
CITIZENS_WIN: 'citizens_win'
|
[
{
"context": " @fileoverview Tests for no-caller rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 74,
"score": 0.9998080730438232,
"start": 57,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/no-caller.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-caller rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-caller'
{RuleT... | 156874 | ###*
# @fileoverview Tests for no-caller rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-caller'
{RuleTester} = re... | true | ###*
# @fileoverview Tests for no-caller rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-caller'
{Ru... |
[
{
"context": "accuracy of GPS recording, see https://github.com/gwilson/getAccurateCurrentPosition\n#\nnavigator.geolocatio",
"end": 1377,
"score": 0.9996634125709534,
"start": 1370,
"tag": "USERNAME",
"value": "gwilson"
},
{
"context": "etName]?.find(\".message\").is(\":visible\")\n... | _attachments/app/views/QuestionView.coffee | Coconut-Data/coconut-mobile | 0 | # QuestionViewHelpers is where functions used by question view are kept. Like ResultOfQuestion setValue setValueWithNextIdIfEmptyAndSetResultId
require "./QuestionViewHelpers"
global.classify = require("underscore.string/classify")
global.capitalize = require("underscore.string/capitalize")
global.slugify = require("u... | 75036 | # QuestionViewHelpers is where functions used by question view are kept. Like ResultOfQuestion setValue setValueWithNextIdIfEmptyAndSetResultId
require "./QuestionViewHelpers"
global.classify = require("underscore.string/classify")
global.capitalize = require("underscore.string/capitalize")
global.slugify = require("u... | true | # QuestionViewHelpers is where functions used by question view are kept. Like ResultOfQuestion setValue setValueWithNextIdIfEmptyAndSetResultId
require "./QuestionViewHelpers"
global.classify = require("underscore.string/classify")
global.capitalize = require("underscore.string/capitalize")
global.slugify = require("u... |
[
{
"context": "-image works by artists including boredomresearch, Lorna Mills, and Olivia McGilchrist\"\n\n 'springbreak-2016':\n ",
"end": 1936,
"score": 0.9998892545700073,
"start": 1925,
"tag": "NAME",
"value": "Lorna Mills"
},
{
"context": "rtists including boredomresearch, Lorna... | src/desktop/models/mixins/meta_overrides.coffee | kanaabe/force | 1 | # If this proves to be a successful strategy and grows past $a_reasonable_amount then
# consider moving this data into the actual API response
module.exports =
metaOverrides: (tag) ->
metaOverrides(this)[@id]?[tag]
toPageTitle: ->
if title = @metaOverrides('title')
title
else
@defaultMetaT... | 169784 | # If this proves to be a successful strategy and grows past $a_reasonable_amount then
# consider moving this data into the actual API response
module.exports =
metaOverrides: (tag) ->
metaOverrides(this)[@id]?[tag]
toPageTitle: ->
if title = @metaOverrides('title')
title
else
@defaultMetaT... | true | # If this proves to be a successful strategy and grows past $a_reasonable_amount then
# consider moving this data into the actual API response
module.exports =
metaOverrides: (tag) ->
metaOverrides(this)[@id]?[tag]
toPageTitle: ->
if title = @metaOverrides('title')
title
else
@defaultMetaT... |
[
{
"context": "ode via email.\n#\n# $ puppy account:regsiter 2c0aa17f0d39731b6276d1cd78500d2b\n#\n# ----------------",
"end": 393,
"score": 0.3529394865036011,
"start": 392,
"tag": "PASSWORD",
"value": "0"
},
{
"context": " via email.\n#\n# $ puppy account:regsiter 2c0aa17f0d3... | node_modules/puppy/src/account_activate.coffee | BrecanYT/discord-bot | 0 | # Import necessary Node.js libraries.
path = require "path"
fs = require "fs"
spawn = require("child_process").spawn
# Import necessary Puppy libraries.
Configuration = require("./puppy").Configuration
# ### Command Implementation
# The `account:activate` command is invoked by a new registrant after they've
# recieve... | 171297 | # Import necessary Node.js libraries.
path = require "path"
fs = require "fs"
spawn = require("child_process").spawn
# Import necessary Puppy libraries.
Configuration = require("./puppy").Configuration
# ### Command Implementation
# The `account:activate` command is invoked by a new registrant after they've
# recieve... | true | # Import necessary Node.js libraries.
path = require "path"
fs = require "fs"
spawn = require("child_process").spawn
# Import necessary Puppy libraries.
Configuration = require("./puppy").Configuration
# ### Command Implementation
# The `account:activate` command is invoked by a new registrant after they've
# recieve... |
[
{
"context": "l = (word, type, bufferRow, scopes) =>\n key = @getSymbolKey(word)\n cachedSymbol = symbols[key]\n if ",
"end": 7528,
"score": 0.859163761138916,
"start": 7515,
"tag": "KEY",
"value": "@getSymbolKey"
}
] | lib/symbol-provider.coffee | alexchee/atom-autocomplete-inline-plus | 0 | # This provider is currently experimental.
_ = require 'underscore-plus'
fuzzaldrin = require 'fuzzaldrin'
{TextEditor, CompositeDisposable} = require 'atom'
{Selector} = require 'selector-kit'
module.exports =
class SymbolProvider
wordRegex: /\b\w*[a-zA-Z_-]+\w*\b/g
symbolList: null
editor: null
buffer: nul... | 144780 | # This provider is currently experimental.
_ = require 'underscore-plus'
fuzzaldrin = require 'fuzzaldrin'
{TextEditor, CompositeDisposable} = require 'atom'
{Selector} = require 'selector-kit'
module.exports =
class SymbolProvider
wordRegex: /\b\w*[a-zA-Z_-]+\w*\b/g
symbolList: null
editor: null
buffer: nul... | true | # This provider is currently experimental.
_ = require 'underscore-plus'
fuzzaldrin = require 'fuzzaldrin'
{TextEditor, CompositeDisposable} = require 'atom'
{Selector} = require 'selector-kit'
module.exports =
class SymbolProvider
wordRegex: /\b\w*[a-zA-Z_-]+\w*\b/g
symbolList: null
editor: null
buffer: nul... |
[
{
"context": "\n # 12/24〜12/31\n exports.jobs.push \"SantaClaus\"\n if month==6 && d>=26 || month==7 && d<=",
"end": 1436,
"score": 0.5212114453315735,
"start": 1431,
"tag": "NAME",
"value": "Santa"
},
{
"context": "14\n # 2/13〜2/14\n exports.jobs.push ... | client/code/shared/game.coffee | Yukimir/jinrou | 0 | Shared=
game:exports
# ------ 职业一览
# 基本职业
exports.jobs=["Human","Werewolf","Diviner","Psychic","Madman","Guard","Couple","Fox",
# 特殊职业?
"Poisoner","BigWolf","TinyFox","Cat",
# るる鯖で見つけた职业
"Fanatic","Immoral"
# 特殊职业2
"Devil","ToughGuy","Cupid","Stalker","OccultMania","WhisperingMad","Lover","Dog",
# 桃栗基本特殊职业
"Bat","N... | 109306 | Shared=
game:exports
# ------ 职业一览
# 基本职业
exports.jobs=["Human","Werewolf","Diviner","Psychic","Madman","Guard","Couple","Fox",
# 特殊职业?
"Poisoner","BigWolf","TinyFox","Cat",
# るる鯖で見つけた职业
"Fanatic","Immoral"
# 特殊职业2
"Devil","ToughGuy","Cupid","Stalker","OccultMania","WhisperingMad","Lover","Dog",
# 桃栗基本特殊职业
"Bat","N... | true | Shared=
game:exports
# ------ 职业一览
# 基本职业
exports.jobs=["Human","Werewolf","Diviner","Psychic","Madman","Guard","Couple","Fox",
# 特殊职业?
"Poisoner","BigWolf","TinyFox","Cat",
# るる鯖で見つけた职业
"Fanatic","Immoral"
# 特殊职业2
"Devil","ToughGuy","Cupid","Stalker","OccultMania","WhisperingMad","Lover","Dog",
# 桃栗基本特殊职业
"Bat","N... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999104738235474,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmap-discussions/post.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { MessageLengthCounter } from './message-length-counter'
import { UserCard } from './user-card'
import mapperGroup from 'beatmap-discussio... | 30711 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { MessageLengthCounter } from './message-length-counter'
import { UserCard } from './user-card'
import mapperGroup from 'beatmap-discussions/mapp... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { MessageLengthCounter } from './message-length-counter'
import { UserCard } from './user-card'
import mapperGroup from 'beatmap-d... |
[
{
"context": "f Oz')\n book.meta.author.should.equal('L. Frank Baum')\n book.meta.bookId.should.equal(\"this",
"end": 424,
"score": 0.9384002685546875,
"start": 411,
"tag": "NAME",
"value": "L. Frank Baum"
}
] | scripts/test/loaders.coffee | baldurbjarnason/bookmaker | 1 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Book = index.Book
describe 'BookDir',
() ->
describe '#loadBookDir',
() ->
it 'Loads the book from a bookdir',
() ->
book = Book.loadBookDir('test/files/bookdir/')
book.meta.t... | 166705 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Book = index.Book
describe 'BookDir',
() ->
describe '#loadBookDir',
() ->
it 'Loads the book from a bookdir',
() ->
book = Book.loadBookDir('test/files/bookdir/')
book.meta.t... | true | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Book = index.Book
describe 'BookDir',
() ->
describe '#loadBookDir',
() ->
it 'Loads the book from a bookdir',
() ->
book = Book.loadBookDir('test/files/bookdir/')
book.meta.t... |
[
{
"context": "?\n if key is 'model'\n key = 'model_id'\n value = value.id\n else if key",
"end": 2754,
"score": 0.5991024374961853,
"start": 2754,
"tag": "KEY",
"value": ""
}
] | shared/base/view.coffee | redbadger/rendr | 0 | templateFinder = require('../templateFinder')
modelUtils = require('../modelUtils')
fetcher = require('../fetcher')
noop = ->
module.exports = class BaseView extends Backbone.View
# Whether or not to re-render this view when the model or collection
# emits a 'refresh' event. Used with 'model|collection.checkFres... | 160918 | templateFinder = require('../templateFinder')
modelUtils = require('../modelUtils')
fetcher = require('../fetcher')
noop = ->
module.exports = class BaseView extends Backbone.View
# Whether or not to re-render this view when the model or collection
# emits a 'refresh' event. Used with 'model|collection.checkFres... | true | templateFinder = require('../templateFinder')
modelUtils = require('../modelUtils')
fetcher = require('../fetcher')
noop = ->
module.exports = class BaseView extends Backbone.View
# Whether or not to re-render this view when the model or collection
# emits a 'refresh' event. Used with 'model|collection.checkFres... |
[
{
"context": "rocess.exit()\n\nSTREAM1 =\n key: \"test1\"\n source_password: \"abc123\"\n format: ",
"end": 438,
"score": 0.9697483777999878,
"start": 433,
"tag": "KEY",
"value": "test1"
},
{
"context": ": \"test1\"\n source_password: ... | test/master/source_mount.coffee | firebrandv2/FirebrandNetwork.ga | 342 | MasterMode = $src "modes/master"
Master = $src "master"
MasterStream = $src "master/stream"
Logger = $src "logger"
FileSource = $src "sources/file"
RewindBuffer = $src "rewind_buffer"
HLSSegmenter = $src "rewind/hls_segmenter"
SourceMount = $src "master/source_mount"
mp3 = $fi... | 149119 | MasterMode = $src "modes/master"
Master = $src "master"
MasterStream = $src "master/stream"
Logger = $src "logger"
FileSource = $src "sources/file"
RewindBuffer = $src "rewind_buffer"
HLSSegmenter = $src "rewind/hls_segmenter"
SourceMount = $src "master/source_mount"
mp3 = $fi... | true | MasterMode = $src "modes/master"
Master = $src "master"
MasterStream = $src "master/stream"
Logger = $src "logger"
FileSource = $src "sources/file"
RewindBuffer = $src "rewind_buffer"
HLSSegmenter = $src "rewind/hls_segmenter"
SourceMount = $src "master/source_mount"
mp3 = $fi... |
[
{
"context": "D: '99999999'\n# GOOGLE_ANALYTICS_CLIENT_EMAIL: 'xyz-999@xyz999.iam.gserviceaccount.com'\n# GOOGLE_ANALYTICS_PRIVATE_KEY: '\"-----BEGIN P",
"end": 184,
"score": 0.9999057054519653,
"start": 146,
"tag": "EMAIL",
"value": "xyz-999@xyz999.iam.gserviceaccount.com"
}
] | src/index.coffee | bouzuya/cars-counter-bbn-google-analytics | 1 | Client = require './client'
moment = require 'moment'
# process.env
# GOOGLE_ANALYTICS_VIEW_ID: '99999999'
# GOOGLE_ANALYTICS_CLIENT_EMAIL: 'xyz-999@xyz999.iam.gserviceaccount.com'
# GOOGLE_ANALYTICS_PRIVATE_KEY: '"-----BEGIN PRIVATE KEY-----\n..."'
# result =
# 'blog-weekly-users': 123
# 'blog-weekly-sessio... | 187197 | Client = require './client'
moment = require 'moment'
# process.env
# GOOGLE_ANALYTICS_VIEW_ID: '99999999'
# GOOGLE_ANALYTICS_CLIENT_EMAIL: '<EMAIL>'
# GOOGLE_ANALYTICS_PRIVATE_KEY: '"-----BEGIN PRIVATE KEY-----\n..."'
# result =
# 'blog-weekly-users': 123
# 'blog-weekly-sessions': 456
# 'blog-weekly-pagev... | true | Client = require './client'
moment = require 'moment'
# process.env
# GOOGLE_ANALYTICS_VIEW_ID: '99999999'
# GOOGLE_ANALYTICS_CLIENT_EMAIL: 'PI:EMAIL:<EMAIL>END_PI'
# GOOGLE_ANALYTICS_PRIVATE_KEY: '"-----BEGIN PRIVATE KEY-----\n..."'
# result =
# 'blog-weekly-users': 123
# 'blog-weekly-sessions': 456
# 'bl... |
[
{
"context": "ts =\n getModelsMap: ()->\n Users:\n name: 'Users'\n url: 'users'\n title: 'users'\n sc",
"end": 146,
"score": 0.8910131454467773,
"start": 141,
"tag": "NAME",
"value": "Users"
}
] | models/config.coffee | antirek/viola-configurator | 0 | users = require './users'
ivrs = require './ivrs'
queues = require './queues'
module.exports =
getModelsMap: ()->
Users:
name: 'Users'
url: 'users'
title: 'users'
schema: users.schema
form: users.form
Queues:
name: 'Queues'
url: 'queues'
title: 'queues'
s... | 26001 | users = require './users'
ivrs = require './ivrs'
queues = require './queues'
module.exports =
getModelsMap: ()->
Users:
name: '<NAME>'
url: 'users'
title: 'users'
schema: users.schema
form: users.form
Queues:
name: 'Queues'
url: 'queues'
title: 'queues'
... | true | users = require './users'
ivrs = require './ivrs'
queues = require './queues'
module.exports =
getModelsMap: ()->
Users:
name: 'PI:NAME:<NAME>END_PI'
url: 'users'
title: 'users'
schema: users.schema
form: users.form
Queues:
name: 'Queues'
url: 'queues'
title: '... |
[
{
"context": " images to css (box-shadow)\n\n@version 1.1\n@author Marcin Wieprzkowicz (marcin.wieprzkowicz@gmail.com)\n\n####\n\n\nclass Png",
"end": 99,
"score": 0.9998761415481567,
"start": 80,
"tag": "NAME",
"value": "Marcin Wieprzkowicz"
},
{
"context": "adow)\n\n@version 1.1\... | png-to-css.coffee | marcinwieprzkowicz/png-to-css | 6 | ###
Library that convert png images to css (box-shadow)
@version 1.1
@author Marcin Wieprzkowicz (marcin.wieprzkowicz@gmail.com)
####
class PngToCss
defaults:
onReturn: (result) ->
console.log result
onError: (error, type) ->
console.log error, type
constructor: (options) ->
@option... | 96922 | ###
Library that convert png images to css (box-shadow)
@version 1.1
@author <NAME> (<EMAIL>)
####
class PngToCss
defaults:
onReturn: (result) ->
console.log result
onError: (error, type) ->
console.log error, type
constructor: (options) ->
@options = merge {}, @defaults, options
... | true | ###
Library that convert png images to css (box-shadow)
@version 1.1
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
####
class PngToCss
defaults:
onReturn: (result) ->
console.log result
onError: (error, type) ->
console.log error, type
constructor: (options) ->
@options = me... |
[
{
"context": " user: process.env.MAIL_ADDRESS\n pass: process.env.MAIL_PASSWORD\n\n mail =\n to: process.env.MAIL_ADDRESS\n ",
"end": 709,
"score": 0.9949735999107361,
"start": 684,
"tag": "PASSWORD",
"value": "process.env.MAIL_PASSWORD"
}
] | scripts/heroku_operation.coffee | mapserver2007/mika4-line | 1 | # Description:
# Execute heroku command operation script.
# Commands:
# mika4 (app name)再起動
# mika4 (app name)を起動
# mika4 (app name)が停止
async = require "async"
nodemailer = require "nodemailer"
smtpTransport = require "nodemailer-smtp-transport"
module.exports = (robot) ->
robot.respond /([a-zA-Z0-9_-]+)([の... | 225059 | # Description:
# Execute heroku command operation script.
# Commands:
# mika4 (app name)再起動
# mika4 (app name)を起動
# mika4 (app name)が停止
async = require "async"
nodemailer = require "nodemailer"
smtpTransport = require "nodemailer-smtp-transport"
module.exports = (robot) ->
robot.respond /([a-zA-Z0-9_-]+)([の... | true | # Description:
# Execute heroku command operation script.
# Commands:
# mika4 (app name)再起動
# mika4 (app name)を起動
# mika4 (app name)が停止
async = require "async"
nodemailer = require "nodemailer"
smtpTransport = require "nodemailer-smtp-transport"
module.exports = (robot) ->
robot.respond /([a-zA-Z0-9_-]+)([の... |
[
{
"context": "client_id = 'oJAWvjM0ofFX0KfipC5o'\nclient_secret = '_3cscXutJ5'\n\nmodule.exports = (robot) ->\n robot.respond /(.",
"end": 168,
"score": 0.9993018507957458,
"start": 157,
"tag": "KEY",
"value": "'_3cscXutJ5"
}
] | scripts/simpleMovieRecommender.coffee | qkraudghgh/9xd-bot | 33 | # Description:
# Recommend Movie
cheerio = require 'cheerio'
request = require 'request'
q = require 'q'
client_id = 'oJAWvjM0ofFX0KfipC5o'
client_secret = '_3cscXutJ5'
module.exports = (robot) ->
robot.respond /(.*)(랑 비슷한 영화!|같은거 추천해줘|비슷한 영화!)/i, (msg) ->
movieName = decodeURIComponent(unescape(msg.match[1]))
... | 100961 | # Description:
# Recommend Movie
cheerio = require 'cheerio'
request = require 'request'
q = require 'q'
client_id = 'oJAWvjM0ofFX0KfipC5o'
client_secret = <KEY>'
module.exports = (robot) ->
robot.respond /(.*)(랑 비슷한 영화!|같은거 추천해줘|비슷한 영화!)/i, (msg) ->
movieName = decodeURIComponent(unescape(msg.match[1]))
ge... | true | # Description:
# Recommend Movie
cheerio = require 'cheerio'
request = require 'request'
q = require 'q'
client_id = 'oJAWvjM0ofFX0KfipC5o'
client_secret = PI:KEY:<KEY>END_PI'
module.exports = (robot) ->
robot.respond /(.*)(랑 비슷한 영화!|같은거 추천해줘|비슷한 영화!)/i, (msg) ->
movieName = decodeURIComponent(unescape(msg.matc... |
[
{
"context": " String #1', (done) ->\n\t\tcfg = cs.resolve \"Server=192.168.0.1;Database=testdb;User Id=testuser;Password=testpwd",
"end": 201,
"score": 0.999741792678833,
"start": 190,
"tag": "IP_ADDRESS",
"value": "192.168.0.1"
},
{
"context": "solve \"Server=192.168.0.1;Database=t... | test/unit/unit.coffee | Earny/node-mssql | 0 | sql = require '../../'
assert = require 'assert'
cs = require '../../lib/connectionstring'
describe 'Connection String', ->
it 'Connection String #1', (done) ->
cfg = cs.resolve "Server=192.168.0.1;Database=testdb;User Id=testuser;Password=testpwd"
assert.strictEqual cfg.driver, undefined
assert.strictEqual ... | 127621 | sql = require '../../'
assert = require 'assert'
cs = require '../../lib/connectionstring'
describe 'Connection String', ->
it 'Connection String #1', (done) ->
cfg = cs.resolve "Server=192.168.0.1;Database=testdb;User Id=testuser;Password=<PASSWORD>"
assert.strictEqual cfg.driver, undefined
assert.strictEqu... | true | sql = require '../../'
assert = require 'assert'
cs = require '../../lib/connectionstring'
describe 'Connection String', ->
it 'Connection String #1', (done) ->
cfg = cs.resolve "Server=192.168.0.1;Database=testdb;User Id=testuser;Password=PI:PASSWORD:<PASSWORD>END_PI"
assert.strictEqual cfg.driver, undefined
... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n© Copyright 2006 Goog",
"end": 39,
"score": 0.9998758435249329,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>... | src/Action/Context.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
© Copyright 2006 Google Inc. <http://www.google.com>
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/licen... | 204747 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
© Copyright 2006 Google Inc. <http://www.google.com>
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>
Unles... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
© Copyright 2006 Google Inc. <http://www.google.com>
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... |
[
{
"context": "orequire('./examples/fuzzy', 'Ruby')\n keys: ['BabyThing', 'Kitten', 'Puppy', 'Squidlet']\n\n 'when we requ",
"end": 613,
"score": 0.9721558690071106,
"start": 604,
"tag": "KEY",
"value": "BabyThing"
},
{
"context": "xamples/fuzzy', 'Ruby')\n keys: ['BabyThing'... | cdap-web-app/tools/node_modules/groc/node_modules/autorequire/test/ruby_convention_test.coffee | cybervisiontech/cdap | 0 | test = require './common'
process.env['convention'] = 'Ruby'
subModulesShouldMatch = (opts) ->
topic: opts.topic
'we should be given an object with a CamelCaps key per submodule': (package) ->
test.assert.keysEqual package, opts.keys
'each exported property should match the exports of each submodule': (p... | 164887 | test = require './common'
process.env['convention'] = 'Ruby'
subModulesShouldMatch = (opts) ->
topic: opts.topic
'we should be given an object with a CamelCaps key per submodule': (package) ->
test.assert.keysEqual package, opts.keys
'each exported property should match the exports of each submodule': (p... | true | test = require './common'
process.env['convention'] = 'Ruby'
subModulesShouldMatch = (opts) ->
topic: opts.topic
'we should be given an object with a CamelCaps key per submodule': (package) ->
test.assert.keysEqual package, opts.keys
'each exported property should match the exports of each submodule': (p... |
[
{
"context": "eranie nazwy aktualnie zalogowanego użyszkodnika (lekarza)\n# Cachuje wartość na później\n#\nget_username = ->",
"end": 2590,
"score": 0.9992677569389343,
"start": 2583,
"tag": "USERNAME",
"value": "lekarza"
},
{
"context": "nego, pobranie\n $username = read_data 'supp... | src/main/webapp/resources/media/js/utils.coffee | tomekby/ipmed-webapp | 0 | #
# Pierwsza litera wielka
#
String::capitalize = ->
@replace /^./, (match) ->
match.toUpperCase()
#
# Pokazywanie/ukrywanie overlay'a
#
show_overlay = -> $('#ajaxOverlay').fadeIn 100 if not $('#ajaxOverlay').is ':visible'
#
# Pobieranie danych i statusu z serwera
#
read_with_status = ($url) ->
$response = {}... | 39601 | #
# Pierwsza litera wielka
#
String::capitalize = ->
@replace /^./, (match) ->
match.toUpperCase()
#
# Pokazywanie/ukrywanie overlay'a
#
show_overlay = -> $('#ajaxOverlay').fadeIn 100 if not $('#ajaxOverlay').is ':visible'
#
# Pobieranie danych i statusu z serwera
#
read_with_status = ($url) ->
$response = {}... | true | #
# Pierwsza litera wielka
#
String::capitalize = ->
@replace /^./, (match) ->
match.toUpperCase()
#
# Pokazywanie/ukrywanie overlay'a
#
show_overlay = -> $('#ajaxOverlay').fadeIn 100 if not $('#ajaxOverlay').is ':visible'
#
# Pobieranie danych i statusu z serwera
#
read_with_status = ($url) ->
$response = {}... |
[
{
"context": " name's #{last}. #{first} #{last}.\"\n\nnames = [\n\t['James', 'Bond']\n\t['John', 'Smith']\n\t['George', 'Washing",
"end": 183,
"score": 0.9998788833618164,
"start": 178,
"tag": "NAME",
"value": "James"
},
{
"context": "{last}. #{first} #{last}.\"\n\nnames = [\n\t['Jam... | example/manyTasks.coffee | bchociej/contractor | 0 | Contractor = require '../'
Promise = require 'bluebird'
c = new Contractor
combine = (first, last) ->
Promise.resolve "The name's #{last}. #{first} #{last}."
names = [
['James', 'Bond']
['John', 'Smith']
['George', 'Washington']
['Ringo', 'Starr']
['Hillary', 'Clinton']
['Michael', 'Jackson']
['Barack', '... | 204158 | Contractor = require '../'
Promise = require 'bluebird'
c = new Contractor
combine = (first, last) ->
Promise.resolve "The name's #{last}. #{first} #{last}."
names = [
['<NAME>', '<NAME>']
['<NAME>', '<NAME>']
['<NAME>', '<NAME>']
['<NAME>', '<NAME>']
['<NAME>', '<NAME>']
['<NAME>', '<NAME>']
['<NAME>', '... | true | Contractor = require '../'
Promise = require 'bluebird'
c = new Contractor
combine = (first, last) ->
Promise.resolve "The name's #{last}. #{first} #{last}."
names = [
['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI']
['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI']
['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9861133694648743,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "CA.\n args = [\n \"s_client\"\n \"-connect\"\n \"127.0.0.1:\" + common.PORT\n ]\n ... | test/simple/test-tls-server-verify.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... | 133790 | # 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": "erDetails =\n\t\t\t\tholdingAccount:false,\n\t\t\t\temail: 'test@example.com'\n\t\t\tUserCreator.createNewUser userDetails, (err, ",
"end": 1158,
"score": 0.9999143481254578,
"start": 1142,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": "ngoUpdateHandler.LO... | test/acceptance/coffee/ProjectStructureMongoLockTest.coffee | davidmehren/web-sharelatex | 1 | APP_PATH = "../../../app/js"
LockManager = require "#{APP_PATH}/infrastructure/LockManager"
ProjectCreationHandler = require "#{APP_PATH}/Features/Project/ProjectCreationHandler.js"
ProjectGetter = require "#{APP_PATH}/Features/Project/ProjectGetter.js"
ProjectEntityMongoUpdateHandler = require "#{APP_PATH}/Features/P... | 73920 | APP_PATH = "../../../app/js"
LockManager = require "#{APP_PATH}/infrastructure/LockManager"
ProjectCreationHandler = require "#{APP_PATH}/Features/Project/ProjectCreationHandler.js"
ProjectGetter = require "#{APP_PATH}/Features/Project/ProjectGetter.js"
ProjectEntityMongoUpdateHandler = require "#{APP_PATH}/Features/P... | true | APP_PATH = "../../../app/js"
LockManager = require "#{APP_PATH}/infrastructure/LockManager"
ProjectCreationHandler = require "#{APP_PATH}/Features/Project/ProjectCreationHandler.js"
ProjectGetter = require "#{APP_PATH}/Features/Project/ProjectGetter.js"
ProjectEntityMongoUpdateHandler = require "#{APP_PATH}/Features/P... |
[
{
"context": "dog=\"Benjamin\"\nDog = \"Samba\"\nDOG = \"Bernie\"\nconsole.log \"The th",
"end": 13,
"score": 0.9997842907905579,
"start": 5,
"tag": "NAME",
"value": "Benjamin"
},
{
"context": "dog=\"Benjamin\"\nDog = \"Samba\"\nDOG = \"Bernie\"\nconsole.log \"The three dogs are n",
... | Task/Case-sensitivity-of-identifiers/CoffeeScript/case-sensitivity-of-identifiers-1.coffee | LaudateCorpus1/RosettaCodeData | 1 | dog="Benjamin"
Dog = "Samba"
DOG = "Bernie"
console.log "The three dogs are names #{dog}, #{Dog}, and #{DOG}."
| 113484 | dog="<NAME>"
Dog = "<NAME>"
DOG = "<NAME>"
console.log "The three dogs are names #{dog}, #{Dog}, and #{DOG}."
| true | dog="PI:NAME:<NAME>END_PI"
Dog = "PI:NAME:<NAME>END_PI"
DOG = "PI:NAME:<NAME>END_PI"
console.log "The three dogs are names #{dog}, #{Dog}, and #{DOG}."
|
[
{
"context": "urn an object', ->\n query =\n artist: 'Muse'\n searchIndex: 'Music'\n responseGro",
"end": 367,
"score": 0.6296416521072388,
"start": 363,
"tag": "NAME",
"value": "Muse"
}
] | node_modules/amazon-product-api/test/utilsTest.coffee | pshowell/BoredBuddy | 3 | utils = require '../lib/utils'
validUrl = require 'valid-url'
describe "utils", ->
credentials = null
beforeEach ->
credentials =
awsTag: 'FAKE_AWS_TAG'
awsId: 'FAKE_AWS_ID'
awsSecret: 'FAKE_AWS_SECRET'
describe 'formatQueryParams(query, method, credentials)', ->
it 'should return an ... | 71119 | utils = require '../lib/utils'
validUrl = require 'valid-url'
describe "utils", ->
credentials = null
beforeEach ->
credentials =
awsTag: 'FAKE_AWS_TAG'
awsId: 'FAKE_AWS_ID'
awsSecret: 'FAKE_AWS_SECRET'
describe 'formatQueryParams(query, method, credentials)', ->
it 'should return an ... | true | utils = require '../lib/utils'
validUrl = require 'valid-url'
describe "utils", ->
credentials = null
beforeEach ->
credentials =
awsTag: 'FAKE_AWS_TAG'
awsId: 'FAKE_AWS_ID'
awsSecret: 'FAKE_AWS_SECRET'
describe 'formatQueryParams(query, method, credentials)', ->
it 'should return an ... |
[
{
"context": " beforeEach ->\n self = new klass\n name: 'car1'\n costumes: [\n 'car1.png'\n 'ca",
"end": 132,
"score": 0.5666808485984802,
"start": 128,
"tag": "NAME",
"value": "car1"
}
] | spec/javascripts/models/character_spec.coffee | takaokouji/smalruby-editor | 41 | describe 'Smalruby.Character', ->
klass = Smalruby.Character
self = null
beforeEach ->
self = new klass
name: 'car1'
costumes: [
'car1.png'
'car2.png'
]
describe 'プロパティのデフォルト値', ->
beforeEach ->
self = new klass()
it 'name: null', ->
expect(self.get('... | 89324 | describe 'Smalruby.Character', ->
klass = Smalruby.Character
self = null
beforeEach ->
self = new klass
name: '<NAME>'
costumes: [
'car1.png'
'car2.png'
]
describe 'プロパティのデフォルト値', ->
beforeEach ->
self = new klass()
it 'name: null', ->
expect(self.get... | true | describe 'Smalruby.Character', ->
klass = Smalruby.Character
self = null
beforeEach ->
self = new klass
name: 'PI:NAME:<NAME>END_PI'
costumes: [
'car1.png'
'car2.png'
]
describe 'プロパティのデフォルト値', ->
beforeEach ->
self = new klass()
it 'name: null', ->
e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.