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": "key: 'comment'\n\npatterns: [\n\n # Matches block comments\n #\n #",
"end": 13,
"score": 0.9832372069358826,
"start": 6,
"tag": "KEY",
"value": "comment"
}
] | grammars/repositories/partials/comment-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'comment'
patterns: [
# Matches block comments
#
# Examples
#
# ////
# A multi-line comment.
#
# Notice it's a delimited block.
# ////
#
name: 'comment.block.asciidoc'
begin: '^(/{4,})$'
patterns: [
include: '#inlines'
]
end: '^\\1$'
,
# Matches single line comments
... | 195680 | key: '<KEY>'
patterns: [
# Matches block comments
#
# Examples
#
# ////
# A multi-line comment.
#
# Notice it's a delimited block.
# ////
#
name: 'comment.block.asciidoc'
begin: '^(/{4,})$'
patterns: [
include: '#inlines'
]
end: '^\\1$'
,
# Matches single line comments
#
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches block comments
#
# Examples
#
# ////
# A multi-line comment.
#
# Notice it's a delimited block.
# ////
#
name: 'comment.block.asciidoc'
begin: '^(/{4,})$'
patterns: [
include: '#inlines'
]
end: '^\\1$'
,
# Matches single line ... |
[
{
"context": "- List people who are off tomorrow\n#\n# Author:\n# Jeff Sault (jeff.sault@smartpipesolutions.com)\n#\nmodule.expo",
"end": 693,
"score": 0.9996628761291504,
"start": 683,
"tag": "NAME",
"value": "Jeff Sault"
},
{
"context": " who are off tomorrow\n#\n# Author:\n# J... | src/officecalendar.coffee | potchin/hubot-holidaycalendar | 0 | # Description:
# Bot which can load your office holiday/vacation days from an iCal calendar URL.
# Easily find out who is on vacation. Accepts human-readable relative days (like tomorrow, next monday etc)
#
# Configuration:
# HUBOT_HOLIDAYCALENDAR_ICAL_URL - url of ical file containing your holidays
#
# Commands... | 31482 | # Description:
# Bot which can load your office holiday/vacation days from an iCal calendar URL.
# Easily find out who is on vacation. Accepts human-readable relative days (like tomorrow, next monday etc)
#
# Configuration:
# HUBOT_HOLIDAYCALENDAR_ICAL_URL - url of ical file containing your holidays
#
# Commands... | true | # Description:
# Bot which can load your office holiday/vacation days from an iCal calendar URL.
# Easily find out who is on vacation. Accepts human-readable relative days (like tomorrow, next monday etc)
#
# Configuration:
# HUBOT_HOLIDAYCALENDAR_ICAL_URL - url of ical file containing your holidays
#
# Commands... |
[
{
"context": "e of query\n field = schema[key]\n key = \"_id\" if key == \"id\"\n if _.isRegExp(value)\n ",
"end": 1917,
"score": 0.5522149205207825,
"start": 1915,
"tag": "KEY",
"value": "\"_"
}
] | src/tower/server/store/mongodb/serialization.coffee | vjsingh/tower | 1 | # @module
Tower.Store.MongoDB.Serialization =
serializeModel: (attributes) ->
return attributes if attributes instanceof Tower.Model
klass = Tower.constant(@className)
attributes.id ||= attributes._id
delete attributes._id
model = new klass(attributes)
model
generateId: ->
new @constr... | 154163 | # @module
Tower.Store.MongoDB.Serialization =
serializeModel: (attributes) ->
return attributes if attributes instanceof Tower.Model
klass = Tower.constant(@className)
attributes.id ||= attributes._id
delete attributes._id
model = new klass(attributes)
model
generateId: ->
new @constr... | true | # @module
Tower.Store.MongoDB.Serialization =
serializeModel: (attributes) ->
return attributes if attributes instanceof Tower.Model
klass = Tower.constant(@className)
attributes.id ||= attributes._id
delete attributes._id
model = new klass(attributes)
model
generateId: ->
new @constr... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.6974778771400452,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/property.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./utils'
'./compose'
'./event'
], (utils, compose, event) ->
"use strict"
set = (key, val)->
... | 168072 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./utils'
'./compose'
'./event'
], (utils, compose, event) ->
"use strict"
set = (key, val... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./utils'
'./compose'
'./event'
], (utils, compose, event) ->
"use strict"
s... |
[
{
"context": "####################################\n\nVaultKey = \"hubot-deploy-github-secret\"\n\nclass ApiTokenVerifier\n constructor: (token) -",
"end": 282,
"score": 0.9978340268135071,
"start": 256,
"tag": "KEY",
"value": "hubot-deploy-github-secret"
},
{
"context": "constructo... | src/models/verifiers.coffee | travis-ci/hubot-deploy | 2 | Path = require "path"
Octonode = require "octonode"
Address4 = require("ip-address").Address4
ApiConfig = require(Path.join(__dirname, "api_config")).ApiConfig
###########################################################################
VaultKey = "hubot-deploy-github-secret"
class ApiTokenVerifier
constructo... | 177600 | Path = require "path"
Octonode = require "octonode"
Address4 = require("ip-address").Address4
ApiConfig = require(Path.join(__dirname, "api_config")).ApiConfig
###########################################################################
VaultKey = "<KEY>"
class ApiTokenVerifier
constructor: (token) ->
@to... | true | Path = require "path"
Octonode = require "octonode"
Address4 = require("ip-address").Address4
ApiConfig = require(Path.join(__dirname, "api_config")).ApiConfig
###########################################################################
VaultKey = "PI:KEY:<KEY>END_PI"
class ApiTokenVerifier
constructor: (toke... |
[
{
"context": " $.get \"./session\", {username: username, password: password}, (data)=>\n console.log data\n if data =",
"end": 525,
"score": 0.9617757201194763,
"start": 517,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "(@ids[name]).fadeIn 'slow'\n\n @ids =\n ... | source/client/login/login.coffee | muit/duros | 0 | class Dollars.Login
@load: ->
self = this
$("#username").focus()
$("#username").keydown (e)=>
if e.keyCode == 13
self.next()
$("#login_next").click ()=>
self.next()
$("#username_container").submit ()=>
self.next()
@next: ->
@username = window.username.value
if ... | 13394 | class Dollars.Login
@load: ->
self = this
$("#username").focus()
$("#username").keydown (e)=>
if e.keyCode == 13
self.next()
$("#login_next").click ()=>
self.next()
$("#username_container").submit ()=>
self.next()
@next: ->
@username = window.username.value
if ... | true | class Dollars.Login
@load: ->
self = this
$("#username").focus()
$("#username").keydown (e)=>
if e.keyCode == 13
self.next()
$("#login_next").click ()=>
self.next()
$("#username_container").submit ()=>
self.next()
@next: ->
@username = window.username.value
if ... |
[
{
"context": "\"*** 開始 ***\"\n\nconfig = {\n\tuser: 'sa',\n\tpassword: 'scott_tiger',\n\tserver: 'host_mssql',\n\tdatabase: 'city',\n}\n\ndi",
"end": 1415,
"score": 0.9984744191169739,
"start": 1404,
"tag": "PASSWORD",
"value": "scott_tiger"
}
] | mssql/coffee/create/mssql_create.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mssql_create.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mssql = require('mssql')
text_manipulate= require('/var/www/data_base/common/node_common/text_manipulate')
sql_manipulate= re... | 186451 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mssql_create.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mssql = require('mssql')
text_manipulate= require('/var/www/data_base/common/node_common/text_manipulate')
sql_manipulate= re... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mssql_create.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mssql = require('mssql')
text_manipulate= require('/var/www/data_base/common/node_common/text_manipulate')
sql_manipulate= re... |
[
{
"context": "ctor: (@game, @game_state, @player) ->\n key = 'atlas'\n frame = 'ammo'\n x = if @player.is_player_",
"end": 97,
"score": 0.9783406257629395,
"start": 92,
"tag": "KEY",
"value": "atlas"
}
] | src/coffeescripts/game/sprites/Ammo.coffee | rongierlach/gunfight-game | 0 | class Ammo extends Phaser.Sprite
constructor: (@game, @game_state, @player) ->
key = 'atlas'
frame = 'ammo'
x = if @player.is_player_one then 94 else 816
y = @game.height - 45
super @game, x, y, key, frame
# clean up
@game.add.existing @
@hide()
# add crop rect
@cropRect = @g... | 14593 | class Ammo extends Phaser.Sprite
constructor: (@game, @game_state, @player) ->
key = '<KEY>'
frame = 'ammo'
x = if @player.is_player_one then 94 else 816
y = @game.height - 45
super @game, x, y, key, frame
# clean up
@game.add.existing @
@hide()
# add crop rect
@cropRect = @g... | true | class Ammo extends Phaser.Sprite
constructor: (@game, @game_state, @player) ->
key = 'PI:KEY:<KEY>END_PI'
frame = 'ammo'
x = if @player.is_player_one then 94 else 816
y = @game.height - 45
super @game, x, y, key, frame
# clean up
@game.add.existing @
@hide()
# add crop rect
@... |
[
{
"context": " OK: 0\n KERBEROS_V5: 2\n CLEARTEXT_PASSWORD: 3\n CRYPT_PASSWORD: 4\n MD5_PASSWORD: 5\n SCM",
"end": 82,
"score": 0.9628182649612427,
"start": 81,
"tag": "PASSWORD",
"value": "3"
},
{
"context": ": 2\n CLEARTEXT_PASSWORD: 3\n CRYPT_PASSWORD: 4\n ... | src/authentication.coffee | simplereach/node-vertica | 25 | Authentication =
methods:
OK: 0
KERBEROS_V5: 2
CLEARTEXT_PASSWORD: 3
CRYPT_PASSWORD: 4
MD5_PASSWORD: 5
SCM_CREDENTIAL: 6
GSS: 7
GSS_CONTINUE: 8
SSPI: 9
# Exports
module.exports = Authentication
| 213762 | Authentication =
methods:
OK: 0
KERBEROS_V5: 2
CLEARTEXT_PASSWORD: <PASSWORD>
CRYPT_PASSWORD: <PASSWORD>
MD5_PASSWORD: <PASSWORD>
SCM_CREDENTIAL: 6
GSS: 7
GSS_CONTINUE: 8
SSPI: 9
# Exports
module.exports = Authentication
| true | Authentication =
methods:
OK: 0
KERBEROS_V5: 2
CLEARTEXT_PASSWORD: PI:PASSWORD:<PASSWORD>END_PI
CRYPT_PASSWORD: PI:PASSWORD:<PASSWORD>END_PI
MD5_PASSWORD: PI:PASSWORD:<PASSWORD>END_PI
SCM_CREDENTIAL: 6
GSS: 7
GSS_CONTINUE: 8
SSPI: 9
# Exports
module.exports = Authentication
|
[
{
"context": "\n\n\t\t\tlayerA = new Layer frame:Screen.frame, name:\"Koen\", image:\"../static/test.png\"\n\t\t\tlayerB = new Laye",
"end": 1505,
"score": 0.9338879585266113,
"start": 1501,
"tag": "NAME",
"value": "Koen"
},
{
"context": "ponent.wrap(layerA)\n\n\t\t\tscroll.name.shou... | test/tests/ScrollComponentTest.coffee | HydAu/FramerJS | 0 |
describe "ScrollComponent", ->
it "should have the right size", ->
scroll = new ScrollComponent
size: 300
scroll.frame.should.eql {x:0, y:0, width:300, height:300}
scroll.content.frame.should.eql {x:0, y:0, width:300, height:300}
it "should have the right content frame with align", ->
scroll = new Sc... | 68448 |
describe "ScrollComponent", ->
it "should have the right size", ->
scroll = new ScrollComponent
size: 300
scroll.frame.should.eql {x:0, y:0, width:300, height:300}
scroll.content.frame.should.eql {x:0, y:0, width:300, height:300}
it "should have the right content frame with align", ->
scroll = new Sc... | true |
describe "ScrollComponent", ->
it "should have the right size", ->
scroll = new ScrollComponent
size: 300
scroll.frame.should.eql {x:0, y:0, width:300, height:300}
scroll.content.frame.should.eql {x:0, y:0, width:300, height:300}
it "should have the right content frame with align", ->
scroll = new Sc... |
[
{
"context": "###\n @author (at)taikiken / http://inazumatv.com\n Copyright (c) 2",
"end": 17,
"score": 0.7751848697662354,
"start": 15,
"tag": "USERNAME",
"value": "at"
},
{
"context": "###\n @author (at)taikiken / http://inazumatv.com\n Copyright (c) 2011-2015 ",
"end": 26,... | _deprecated/setting.coffee | taikiken/moku.js | 1 | ###
@author (at)taikiken / http://inazumatv.com
Copyright (c) 2011-2015 inazumatv.com
Licensed under the Apache License, Version 2.0 (the "License");
https://www.apache.org/licenses/LICENSE-2.0
###
# ------------------------------------------------------
# package
# -------------------------------------------... | 77366 | ###
@author (at)<NAME> / http://inazumatv.com
Copyright (c) 2011-2015 inazumatv.com
Licensed under the Apache License, Version 2.0 (the "License");
https://www.apache.org/licenses/LICENSE-2.0
###
# ------------------------------------------------------
# package
# ---------------------------------------------... | true | ###
@author (at)PI:NAME:<NAME>END_PI / http://inazumatv.com
Copyright (c) 2011-2015 inazumatv.com
Licensed under the Apache License, Version 2.0 (the "License");
https://www.apache.org/licenses/LICENSE-2.0
###
# ------------------------------------------------------
# package
# -------------------------------... |
[
{
"context": "rap (done) ->\n user = new User({passwordHash: '1234', anonymous: true})\n user = yield user.save()\n",
"end": 1269,
"score": 0.9993522763252258,
"start": 1265,
"tag": "PASSWORD",
"value": "1234"
},
{
"context": "er({emailSubscriptions: ['announcement'], email: 't... | spec/server/unit/user.spec.coffee | kbespalyi/codecombat | 0 | GLOBAL._ = require 'lodash'
User = require '../../../server/models/User'
utils = require '../utils'
mongoose = require 'mongoose'
describe 'User', ->
it 'uses the schema defaults to fill in email preferences', (done) ->
user = new User()
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
... | 97800 | GLOBAL._ = require 'lodash'
User = require '../../../server/models/User'
utils = require '../utils'
mongoose = require 'mongoose'
describe 'User', ->
it 'uses the schema defaults to fill in email preferences', (done) ->
user = new User()
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
... | true | GLOBAL._ = require 'lodash'
User = require '../../../server/models/User'
utils = require '../utils'
mongoose = require 'mongoose'
describe 'User', ->
it 'uses the schema defaults to fill in email preferences', (done) ->
user = new User()
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
... |
[
{
"context": "# Automatically creates project files\n#\n# Author: Anshul Kharbanda\n# Created: 10 - 20 - 2017\nTemplateSelector = requ",
"end": 89,
"score": 0.9998758435249329,
"start": 73,
"tag": "NAME",
"value": "Anshul Kharbanda"
}
] | lib/auto-create-files.coffee | UziTech/auto-create-files | 0 | # Auto Create Files
#
# Automatically creates project files
#
# Author: Anshul Kharbanda
# Created: 10 - 20 - 2017
TemplateSelector = require './template-selector'
{CompositeDisposable} = require 'atom'
# Export class file
module.exports = AutoCreateFiles =
# Configuration
config:
fullname:
... | 152122 | # Auto Create Files
#
# Automatically creates project files
#
# Author: <NAME>
# Created: 10 - 20 - 2017
TemplateSelector = require './template-selector'
{CompositeDisposable} = require 'atom'
# Export class file
module.exports = AutoCreateFiles =
# Configuration
config:
fullname:
type: 's... | true | # Auto Create Files
#
# Automatically creates project files
#
# Author: PI:NAME:<NAME>END_PI
# Created: 10 - 20 - 2017
TemplateSelector = require './template-selector'
{CompositeDisposable} = require 'atom'
# Export class file
module.exports = AutoCreateFiles =
# Configuration
config:
fullname:
... |
[
{
"context": " change the url', ->\n historyManager.setToken 'hello-world'\n\n {href} = document.location\n expect(href.",
"end": 1140,
"score": 0.9738472104072571,
"start": 1129,
"tag": "PASSWORD",
"value": "hello-world"
},
{
"context": " = getGoogHistory()\n hashedHis... | src/tests/core/test_historyManager.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.history or= {}
goog.history.Html5History or= isSupported: ->
goog.require 'spark.core.HistoryManager'
describe 'spark.core.HistoryManager', ->
historyManager = null
useHtml5History = -> goog.history.Html5History.isSupported = -> return yes
useGoogHistory = -> goog.his... | 128643 | goog = goog or goog = require: ->
goog.history or= {}
goog.history.Html5History or= isSupported: ->
goog.require 'spark.core.HistoryManager'
describe 'spark.core.HistoryManager', ->
historyManager = null
useHtml5History = -> goog.history.Html5History.isSupported = -> return yes
useGoogHistory = -> goog.his... | true | goog = goog or goog = require: ->
goog.history or= {}
goog.history.Html5History or= isSupported: ->
goog.require 'spark.core.HistoryManager'
describe 'spark.core.HistoryManager', ->
historyManager = null
useHtml5History = -> goog.history.Html5History.isSupported = -> return yes
useGoogHistory = -> goog.his... |
[
{
"context": "r GUI tool to run Grunt tasks\n Copyright (c) 2013 Mark Parolisi, contributors\n Licensed under the MIT license.\n#",
"end": 111,
"score": 0.9998319745063782,
"start": 98,
"tag": "NAME",
"value": "Mark Parolisi"
}
] | Gruntfile.coffee | gruntjs-updater/grunt-peon-gui | 0 | ###
grunt-peon-gui
Creates a local webserver GUI tool to run Grunt tasks
Copyright (c) 2013 Mark Parolisi, contributors
Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig(
compass:
app:
options:
sassDir: "app/sass"
cssDir: "app/assets/css"
... | 44396 | ###
grunt-peon-gui
Creates a local webserver GUI tool to run Grunt tasks
Copyright (c) 2013 <NAME>, contributors
Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig(
compass:
app:
options:
sassDir: "app/sass"
cssDir: "app/assets/css"
coffe... | true | ###
grunt-peon-gui
Creates a local webserver GUI tool to run Grunt tasks
Copyright (c) 2013 PI:NAME:<NAME>END_PI, contributors
Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig(
compass:
app:
options:
sassDir: "app/sass"
cssDir: "app/assets/... |
[
{
"context": "18n.t 'UserModel::username'\n password: -> i18n.t 'UserModel::password'\n rePassword: -> i18n",
"end": 3026,
"score": 0.5121631026268005,
"start": 3025,
"tag": "PASSWORD",
"value": "8"
},
{
"context": "'UserModel::username'\n password: -> i18n.t 'UserMod... | src/app/modules/user/entities/User.coffee | josepramon/tfm-adminApp | 0 | # Dependencies
# -------------------------
# Libs/generic stuff:
$ = require 'jquery'
_ = require 'underscore'
Backbone = require 'backbone'
i18n = require 'i18next-client'
# Base class (extends Backbone.Model)
Model = require 'msq-appbase/lib/appBaseComponents/entities/Model'
# Related models
... | 177589 | # Dependencies
# -------------------------
# Libs/generic stuff:
$ = require 'jquery'
_ = require 'underscore'
Backbone = require 'backbone'
i18n = require 'i18next-client'
# Base class (extends Backbone.Model)
Model = require 'msq-appbase/lib/appBaseComponents/entities/Model'
# Related models
... | true | # Dependencies
# -------------------------
# Libs/generic stuff:
$ = require 'jquery'
_ = require 'underscore'
Backbone = require 'backbone'
i18n = require 'i18next-client'
# Base class (extends Backbone.Model)
Model = require 'msq-appbase/lib/appBaseComponents/entities/Model'
# Related models
... |
[
{
"context": "or displaying things in correct units.\n#\n# @author Torstein Thune\n# @copyright 2016 Microbrew.it\nangular.module('Mi",
"end": 80,
"score": 0.9998663663864136,
"start": 66,
"tag": "NAME",
"value": "Torstein Thune"
}
] | app/common/UnitDirective.coffee | Microbrewit/microbrewit-recipe-calculator | 0 | #
# Directive for displaying things in correct units.
#
# @author Torstein Thune
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').directive('mbUnit', [
() ->
link = (scope, element, attrs, controller, transcludeFn) ->
updateLocalValue = ->
scope.localvalue = mbFormulas.convert.convert(scope.value... | 121328 | #
# Directive for displaying things in correct units.
#
# @author <NAME>
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').directive('mbUnit', [
() ->
link = (scope, element, attrs, controller, transcludeFn) ->
updateLocalValue = ->
scope.localvalue = mbFormulas.convert.convert(scope.value, attrs.... | true | #
# Directive for displaying things in correct units.
#
# @author PI:NAME:<NAME>END_PI
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').directive('mbUnit', [
() ->
link = (scope, element, attrs, controller, transcludeFn) ->
updateLocalValue = ->
scope.localvalue = mbFormulas.convert.convert(scope... |
[
{
"context": "he latest English versions:\n## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascri",
"end": 185,
"score": 0.9491005539894104,
"start": 175,
"tag": "USERNAME",
"value": "uploadcare"
},
{
"context": "eľký'\n upload: 'Nedá sa nahrať'\n ... | app/assets/javascripts/uploadcare/locale/sk.js.coffee | nd0ut/uploadcare-widget | 1 | ##
## Please, do not use this locale as a reference for new translations.
## It could be outdated or incomplete. Always use the latest English versions:
## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js.coffee
##
## Any fixes are welcome.
##
uploadcare.namesp... | 124193 | ##
## Please, do not use this locale as a reference for new translations.
## It could be outdated or incomplete. Always use the latest English versions:
## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js.coffee
##
## Any fixes are welcome.
##
uploadcare.namesp... | true | ##
## Please, do not use this locale as a reference for new translations.
## It could be outdated or incomplete. Always use the latest English versions:
## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js.coffee
##
## Any fixes are welcome.
##
uploadcare.namesp... |
[
{
"context": "licationCtrl', {$scope: $scope});\n\t#------write by foreve_---------\n\t#$scope.able_to_comment = true\n\n\t#-----",
"end": 304,
"score": 0.9991785883903503,
"start": 297,
"tag": "USERNAME",
"value": "foreve_"
},
{
"context": "\t\t\t\tname: \"现代嵌入式系统\"\n\t\t\t\t}\n\t\t... | public/front/content/js/coffee/scheme.coffee | yintengzhao/CCCourse | 0 | @ng_app.controller("SchemeCtrl", ['$controller', '$scope', '$interval', '$timeout', '$window', '$location', '$http', '$sce', 'NetManager',
($controller, $scope, $interval, $timeout, $window, $location, $http, $sce, NetManager)->
$controller('ApplicationCtrl', {$scope: $scope});
#------write by foreve_---------
#$sco... | 174466 | @ng_app.controller("SchemeCtrl", ['$controller', '$scope', '$interval', '$timeout', '$window', '$location', '$http', '$sce', 'NetManager',
($controller, $scope, $interval, $timeout, $window, $location, $http, $sce, NetManager)->
$controller('ApplicationCtrl', {$scope: $scope});
#------write by foreve_---------
#$sco... | true | @ng_app.controller("SchemeCtrl", ['$controller', '$scope', '$interval', '$timeout', '$window', '$location', '$http', '$sce', 'NetManager',
($controller, $scope, $interval, $timeout, $window, $location, $http, $sce, NetManager)->
$controller('ApplicationCtrl', {$scope: $scope});
#------write by foreve_---------
#$sco... |
[
{
"context": "t Version #2\n# @return {Integer|Boolean}\n# @author Alexey Bass (albass)\n# @since 2011-07-14\npudu.versionCompare ",
"end": 1296,
"score": 0.999900221824646,
"start": 1285,
"tag": "NAME",
"value": "Alexey Bass"
},
{
"context": " @return {Integer|Boolean}\n# @author Al... | js/utils.coffee | chokchai/Pudumee | 0 | pudu = {}
pudu.defaultSetting =
version: '1.0'
#========== STORAGE ==========#
pudu.setLocalStorage = (data, func = ->)->
chrome.storage.local.set data, func
pudu.getLocalStorage = (func)->
chrome.storage.local.get func
pudu.clearLocalStorage = (func = ->)->
chrome.storage.local.clear(func)
pudu.removeLoc... | 107043 | pudu = {}
pudu.defaultSetting =
version: '1.0'
#========== STORAGE ==========#
pudu.setLocalStorage = (data, func = ->)->
chrome.storage.local.set data, func
pudu.getLocalStorage = (func)->
chrome.storage.local.get func
pudu.clearLocalStorage = (func = ->)->
chrome.storage.local.clear(func)
pudu.removeLoc... | true | pudu = {}
pudu.defaultSetting =
version: '1.0'
#========== STORAGE ==========#
pudu.setLocalStorage = (data, func = ->)->
chrome.storage.local.set data, func
pudu.getLocalStorage = (func)->
chrome.storage.local.get func
pudu.clearLocalStorage = (func = ->)->
chrome.storage.local.clear(func)
pudu.removeLoc... |
[
{
"context": "###\n# @author Argi Karunia <arugikaru@yahoo.co.jp>\n# @author Rendy Halim <",
"end": 28,
"score": 0.9998807907104492,
"start": 16,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <arugikaru@yahoo.co.jp>\n# @author Rendy Halim... | src/request.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <arugikaru@yahoo.co.jp>
# @author Rendy Halim <https://github.com/RendyHalim>
# @link https://gihtub.com/tokopedia/Nodame
# @license http://opensource.org/licenses/maintenance
#
# @version 1.2.2
###
measure = require('measure')
querystring = require('query-string')
`GET = 'GET'... | 200824 | ###
# @author <NAME> <<EMAIL>>
# @author <NAME> <https://github.com/RendyHalim>
# @link https://gihtub.com/tokopedia/Nodame
# @license http://opensource.org/licenses/maintenance
#
# @version 1.2.2
###
measure = require('measure')
querystring = require('query-string')
`GET = 'GET'`
`POST = 'POST'`
`PUT ... | true | ###
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @author PI:NAME:<NAME>END_PI <https://github.com/RendyHalim>
# @link https://gihtub.com/tokopedia/Nodame
# @license http://opensource.org/licenses/maintenance
#
# @version 1.2.2
###
measure = require('measure')
querystring = require('query-string'... |
[
{
"context": "ver\n\t\t\t\tMeteor.defer ->\n\t\t\t\t\tEmail.send\n\t\t\t\t\t\tto:\"you@email.com\"\n\t\t\t\t\t\tfrom:\"me@email.com\"\n\t\t\t\t\t\tsubject:\"New Cus",
"end": 507,
"score": 0.9999191164970398,
"start": 494,
"tag": "EMAIL",
"value": "you@email.com"
},
{
"context": "\t\t... | _/Module 3/orders/cart/cart_methods.coffee | paullewallencom/meteor-978-1-7872-8775-4 | 9 | # /orders/cart/cart_methods.coffee
Meteor.methods
"cart.add-to-cart": (ops={}) ->
# Validate data
check ops,
order:Match.Optional(Match.OneOf(String,null))
product:String
quantity:Number
order = Orders.findOne ops.order
product = Products.findOne ops.product
# Insert Order if it doesn't exist
u... | 116089 | # /orders/cart/cart_methods.coffee
Meteor.methods
"cart.add-to-cart": (ops={}) ->
# Validate data
check ops,
order:Match.Optional(Match.OneOf(String,null))
product:String
quantity:Number
order = Orders.findOne ops.order
product = Products.findOne ops.product
# Insert Order if it doesn't exist
u... | true | # /orders/cart/cart_methods.coffee
Meteor.methods
"cart.add-to-cart": (ops={}) ->
# Validate data
check ops,
order:Match.Optional(Match.OneOf(String,null))
product:String
quantity:Number
order = Orders.findOne ops.order
product = Products.findOne ops.product
# Insert Order if it doesn't exist
u... |
[
{
"context": "beforeEach ->\n myBook = new Book(id: 1, name: \"test book\", features: null)\n\n describe \"IdentityMap\", ->\n ",
"end": 529,
"score": 0.7634492516517639,
"start": 520,
"tag": "NAME",
"value": "test book"
},
{
"context": "okList(id: 1, parent_book: {id: myBook.id,... | spec/IdentityMap_spec.coffee | pluff/angular-identity-map | 4 | Book = (plainValue) ->
@class_name = "Book"
@id = plainValue.id
@name = plainValue.name
@features = plainValue.features
return
BookList = (plainValue) ->
@class_name = "BookList"
@id = plainValue.id
@items = []
@parent_book = new Book(plainValue.parent_book) if plainValue.parent_book?
angular.forEa... | 132608 | Book = (plainValue) ->
@class_name = "Book"
@id = plainValue.id
@name = plainValue.name
@features = plainValue.features
return
BookList = (plainValue) ->
@class_name = "BookList"
@id = plainValue.id
@items = []
@parent_book = new Book(plainValue.parent_book) if plainValue.parent_book?
angular.forEa... | true | Book = (plainValue) ->
@class_name = "Book"
@id = plainValue.id
@name = plainValue.name
@features = plainValue.features
return
BookList = (plainValue) ->
@class_name = "BookList"
@id = plainValue.id
@items = []
@parent_book = new Book(plainValue.parent_book) if plainValue.parent_book?
angular.forEa... |
[
{
"context": "---------------------------------------------\n# @: The Anh\n# d: 150329\n# f: survey controller\n# ------------",
"end": 86,
"score": 0.9996222853660583,
"start": 79,
"tag": "NAME",
"value": "The Anh"
}
] | app/assets/javascripts/controllers/survey.coffee | theanh/96b0e903c0b3889b355a821204fb7dcf | 31 | 'use strict'
# ----------------------------------------------------------
# @: The Anh
# d: 150329
# f: survey controller
# ----------------------------------------------------------
angular.module('AppSurvey')
.controller 'SurveyCtrl', [
'$scope',
'$rails',
'Survey',
($scope, $rails, Survey) ->
... | 93845 | 'use strict'
# ----------------------------------------------------------
# @: <NAME>
# d: 150329
# f: survey controller
# ----------------------------------------------------------
angular.module('AppSurvey')
.controller 'SurveyCtrl', [
'$scope',
'$rails',
'Survey',
($scope, $rails, Survey) ->
... | true | 'use strict'
# ----------------------------------------------------------
# @: PI:NAME:<NAME>END_PI
# d: 150329
# f: survey controller
# ----------------------------------------------------------
angular.module('AppSurvey')
.controller 'SurveyCtrl', [
'$scope',
'$rails',
'Survey',
($scope, $rails, Surve... |
[
{
"context": "# 'constrainToCircle' module v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn\n",
"end": 49,
"score": 0.9999063611030579,
"start": 39,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "oCircle' module v1.0\n# by Marc Krenn, Sept. 2015 | marc.kr... | module/constrainToCircle.coffee | marckrenn/framer-constrainToCircle | 15 | # 'constrainToCircle' module v1.0
# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn
# probs to Tisho Georgiev and Brian M. Scott
#
# Add the following line to your project in Framer Studio.
# constrainToCircle = require "constrainToCircle"
d = 0.0
vX = 0.0
vY = 0.0
magV = 0.0
aX = 0.0
layerAnimates = f... | 190730 | # 'constrainToCircle' module v1.0
# by <NAME>, Sept. 2015 | <EMAIL> | @marc_krenn
# probs to <NAME> and <NAME>
#
# Add the following line to your project in Framer Studio.
# constrainToCircle = require "constrainToCircle"
d = 0.0
vX = 0.0
vY = 0.0
magV = 0.0
aX = 0.0
layerAnimates = false
# Enables dragging and cons... | true | # 'constrainToCircle' module v1.0
# by PI:NAME:<NAME>END_PI, Sept. 2015 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# probs to PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI
#
# Add the following line to your project in Framer Studio.
# constrainToCircle = require "constrainToCircle"
d = 0.0
vX = 0.0
vY = 0.0
magV = 0.0
aX... |
[
{
"context": "ew Rule to flag non-matching identifiers\n# @author Matthieu Larcher\n###\n\n'use strict'\n\n{isDeclarationAssignment} = re",
"end": 85,
"score": 0.9998502731323242,
"start": 69,
"tag": "NAME",
"value": "Matthieu Larcher"
}
] | src/rules/id-match.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag non-matching identifiers
# @author Matthieu Larcher
###
'use strict'
{isDeclarationAssignment} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------------------... | 203478 | ###*
# @fileoverview Rule to flag non-matching identifiers
# @author <NAME>
###
'use strict'
{isDeclarationAssignment} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#---------------------------------------------------------------------... | true | ###*
# @fileoverview Rule to flag non-matching identifiers
# @author PI:NAME:<NAME>END_PI
###
'use strict'
{isDeclarationAssignment} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-------------------------------------------------------... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998520016670227,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/widgets/dropdownbutton.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallodropdownbutton',
button: null
options:
uuid: ''
label: null
icon: null
editable: null
... | 146387 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallodropdownbutton',
button: null
options:
uuid: ''
label: null
icon: null
editable: null
command... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallodropdownbutton',
button: null
options:
uuid: ''
label: null
icon: null
editable: null... |
[
{
"context": "() * notebooks.length)]\nuser = {id: 1, username: \"Livoras\", email: \"me@livoras.com\"}\n\nmodule.exports = {not",
"end": 440,
"score": 0.9994909763336182,
"start": 433,
"tag": "USERNAME",
"value": "Livoras"
},
{
"context": "gth)]\nuser = {id: 1, username: \"Livoras\"... | src/components/feifanote/mocks.coffee | livoras/feifanote | 1 | makeNote = (name)->
{
name: name
activePageIndex: Math.floor(Math.random() * 30)
pages: (makePage() for i in [1..30])
}
makePage = ->
{content: "#{Math.random()}"}
names = ['Math', 'English', 'Database', 'Python', 'Jerry', 'JavaScript', 'NodeJS', 'PHP', 'Livoras']
notebooks = (makeNote(name) for n... | 148136 | makeNote = (name)->
{
name: name
activePageIndex: Math.floor(Math.random() * 30)
pages: (makePage() for i in [1..30])
}
makePage = ->
{content: "#{Math.random()}"}
names = ['Math', 'English', 'Database', 'Python', 'Jerry', 'JavaScript', 'NodeJS', 'PHP', 'Livoras']
notebooks = (makeNote(name) for n... | true | makeNote = (name)->
{
name: name
activePageIndex: Math.floor(Math.random() * 30)
pages: (makePage() for i in [1..30])
}
makePage = ->
{content: "#{Math.random()}"}
names = ['Math', 'English', 'Database', 'Python', 'Jerry', 'JavaScript', 'NodeJS', 'PHP', 'Livoras']
notebooks = (makeNote(name) for n... |
[
{
"context": "ersion 1.1.0\n@file I18n.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 137,
"score": 0.9998999834060669,
"start": 120,
"tag": "NAME",
"value": "Welington Sampaio"
}
] | vendor/assets/javascripts/joker/I18n.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.1.0
@file I18n.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free softw... | 166574 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.1.0
@file I18n.js
@author <NAME> (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under ... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.1.0
@file I18n.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free so... |
[
{
"context": "d clone array of objects\", ->\n test = [{name: 'Anzahl', anzahl: '1734'}]\n result = clone test\n ",
"end": 1489,
"score": 0.7110142707824707,
"start": 1487,
"tag": "NAME",
"value": "An"
}
] | test/mocha/clone.coffee | alinex/node-util | 0 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
{clone} = require '../../src/index'
describe "Clone", ->
it "should copy null", ->
test = null
result = clone test
expect(result, "deep check").to.deep.equal test
expect(result, "reference").to.equal test
it "should clone ... | 209911 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
{clone} = require '../../src/index'
describe "Clone", ->
it "should copy null", ->
test = null
result = clone test
expect(result, "deep check").to.deep.equal test
expect(result, "reference").to.equal test
it "should clone ... | true | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
{clone} = require '../../src/index'
describe "Clone", ->
it "should copy null", ->
test = null
result = clone test
expect(result, "deep check").to.deep.equal test
expect(result, "reference").to.equal test
it "should clone ... |
[
{
"context": " data:\n email: email\n password: password\n success: (data) ->\n # Set cookie.\n ",
"end": 322,
"score": 0.9989063143730164,
"start": 314,
"tag": "PASSWORD",
"value": "password"
}
] | app/assets/javascripts/lib/session.js.coffee | domenicosolazzo/hummingbird | 0 | Hummingbird.Session =
getAuthToken: ->
parts = document.cookie.split("auth_token=")
if parts.length == 2
parts.pop().split(';').shift()
signInWithOptionalRedirect: (email, password, redirect) ->
$.ajax "/api/v2/sign-in",
type: "POST"
data:
email: email
password: passwo... | 23306 | Hummingbird.Session =
getAuthToken: ->
parts = document.cookie.split("auth_token=")
if parts.length == 2
parts.pop().split(';').shift()
signInWithOptionalRedirect: (email, password, redirect) ->
$.ajax "/api/v2/sign-in",
type: "POST"
data:
email: email
password: <PASSW... | true | Hummingbird.Session =
getAuthToken: ->
parts = document.cookie.split("auth_token=")
if parts.length == 2
parts.pop().split(';').shift()
signInWithOptionalRedirect: (email, password, redirect) ->
$.ajax "/api/v2/sign-in",
type: "POST"
data:
email: email
password: PI:PAS... |
[
{
"context": "###\njQuery Open Carousel\n\nCopyright (c) 2013 Justin McCandless (justinmccandless.com)\n\nPermission is hereby gran",
"end": 62,
"score": 0.9998595118522644,
"start": 45,
"tag": "NAME",
"value": "Justin McCandless"
},
{
"context": "n Carousel\n\nCopyright (c) 2013 Jus... | src/jquery.openCarousel.coffee | Captive-Studio/jQuery-Open-Carousel | 0 | ###
jQuery Open Carousel
Copyright (c) 2013 Justin McCandless (justinmccandless.com)
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 t... | 31924 | ###
jQuery Open Carousel
Copyright (c) 2013 <NAME> (<EMAIL>)
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, mer... | true | ###
jQuery Open Carousel
Copyright (c) 2013 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rig... |
[
{
"context": " name: \"人のいちらん\"\n path: \"top\"\n ,\n name: \"ひとことめっせーじ\"\n path: \"message\"\n ]\n\n $scope.toggleList = -",
"end": 193,
"score": 0.9530409574508667,
"start": 184,
"tag": "NAME",
"value": "ひとことめっせーじ"
}
] | assets/js/controller/RootController.coffee | ky0615/atc_tram | 0 | angular.module "application"
.controller "RootController", ($rootScope, $scope, $mdSidenav, $timeout, $state)->
$scope.pageList = [
name: "人のいちらん"
path: "top"
,
name: "ひとことめっせーじ"
path: "message"
]
$scope.toggleList = ->
$mdSidenav("left").toggle()
$scope.clickItem = (item)->
$state... | 678 | angular.module "application"
.controller "RootController", ($rootScope, $scope, $mdSidenav, $timeout, $state)->
$scope.pageList = [
name: "人のいちらん"
path: "top"
,
name: "<NAME>"
path: "message"
]
$scope.toggleList = ->
$mdSidenav("left").toggle()
$scope.clickItem = (item)->
$state.go... | true | angular.module "application"
.controller "RootController", ($rootScope, $scope, $mdSidenav, $timeout, $state)->
$scope.pageList = [
name: "人のいちらん"
path: "top"
,
name: "PI:NAME:<NAME>END_PI"
path: "message"
]
$scope.toggleList = ->
$mdSidenav("left").toggle()
$scope.clickItem = (item)->... |
[
{
"context": "preventDefault()\n params =\n username: $(\"#username\").val()\n password: $(\"#password\").val()\n ",
"end": 710,
"score": 0.710910975933075,
"start": 702,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username: $(\"#username\").val()\n ... | app/assets/javascripts/views/settings/modal.coffee | okapusta/skirace | 0 | class Skirace.Views.Settings.Modal extends Backbone.View
template: JST['settings/modal']
el: $ '.application-container'
userForm: '#user-form'
events:
'click .modal-close' : 'settingsClose'
'click #user-add' : 'addUser'
'click #save-settings' : 'saveSettings'
initialize: ->
@collection ... | 151015 | class Skirace.Views.Settings.Modal extends Backbone.View
template: JST['settings/modal']
el: $ '.application-container'
userForm: '#user-form'
events:
'click .modal-close' : 'settingsClose'
'click #user-add' : 'addUser'
'click #save-settings' : 'saveSettings'
initialize: ->
@collection ... | true | class Skirace.Views.Settings.Modal extends Backbone.View
template: JST['settings/modal']
el: $ '.application-container'
userForm: '#user-form'
events:
'click .modal-close' : 'settingsClose'
'click #user-add' : 'addUser'
'click #save-settings' : 'saveSettings'
initialize: ->
@collection ... |
[
{
"context": " 'checkin'\n focus: 'username'\n refill: true\n clear_f",
"end": 143,
"score": 0.9995492100715637,
"start": 135,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ll: true\n clear_field... | static/script/pages/registration.coffee | happz/settlers | 1 | $(window).bind 'page_startup', () ->
new window.hlib.Form
fid: 'checkin'
focus: 'username'
refill: true
clear_fields: ['username', 'password1', 'password2', 'email']
handlers:
h200: (response, form) ->
form.info.suc... | 129475 | $(window).bind 'page_startup', () ->
new window.hlib.Form
fid: 'checkin'
focus: 'username'
refill: true
clear_fields: ['username', '<PASSWORD>', '<PASSWORD>', 'email']
handlers:
h200: (response, form) ->
form.info.s... | true | $(window).bind 'page_startup', () ->
new window.hlib.Form
fid: 'checkin'
focus: 'username'
refill: true
clear_fields: ['username', 'PI:PASSWORD:<PASSWORD>END_PI', 'PI:PASSWORD:<PASSWORD>END_PI', 'email']
handlers:
h200: (re... |
[
{
"context": "t.use new localPassport {\n usernameField: 'inputEmail'\n passwordField: 'inputPassword'\n }, (e",
"end": 1577,
"score": 0.989698588848114,
"start": 1567,
"tag": "USERNAME",
"value": "inputEmail"
},
{
"context": "ernameField: 'inputEmail'\n passw... | src/private/server.coffee | rpalmaotero/inventorium | 0 | express = require 'express'
path = require 'path'
morgan = require 'morgan'
cookieParser = require 'cookie-parser'
session = require 'express-session'
bodyParser = require 'body-parser'
multer = require 'multer'
connectFlash = require 'connect-flash'
passport = require 'pass... | 142475 | express = require 'express'
path = require 'path'
morgan = require 'morgan'
cookieParser = require 'cookie-parser'
session = require 'express-session'
bodyParser = require 'body-parser'
multer = require 'multer'
connectFlash = require 'connect-flash'
passport = require 'pass... | true | express = require 'express'
path = require 'path'
morgan = require 'morgan'
cookieParser = require 'cookie-parser'
session = require 'express-session'
bodyParser = require 'body-parser'
multer = require 'multer'
connectFlash = require 'connect-flash'
passport = require 'pass... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.999845027923584,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/pxl.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 203324 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "nd details are available at:\n# https://github.com/rcbops/opencenter or upon written request.\n#\n# You may o",
"end": 656,
"score": 0.7827126979827881,
"start": 650,
"tag": "USERNAME",
"value": "rcbops"
},
{
"context": "user, pass) ->\n dashboard.authUser user\n toke... | source/coffee/dashboard.coffee | rcbops/opencenter-dashboard | 0 | # OpenCenter™ is Copyright 2013 by Rackspace US, Inc.
# ###############################################################################
#
# OpenCenter is licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. This version
# of Op... | 2376 | # OpenCenter™ is Copyright 2013 by Rackspace US, Inc.
# ###############################################################################
#
# OpenCenter is licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. This version
# of Op... | true | # OpenCenter™ is Copyright 2013 by Rackspace US, Inc.
# ###############################################################################
#
# OpenCenter is licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. This version
# of Op... |
[
{
"context": " \"identity_url\": null,\n \"lastname\": \"Amanuma\",\n \"firstname\": \"Takehito\",\n ",
"end": 865,
"score": 0.9992544054985046,
"start": 858,
"tag": "NAME",
"value": "Amanuma"
},
{
"context": " \"lastname\": \"Amanuma\",\n ... | src/test/hubot-redmine-notifier_test.coffee | BrutalBirdie/redbot-redmine-notifier | 0 | 'use strict'
process.env.PORT = 0 # pick a random port for this test
Hubot = require('hubot')
Path = require('path')
request = require('supertest')
sinon = require('sinon')
adapterPath = Path.join Path.dirname(require.resolve 'hubot'), "src", "adapters"
robot = Hubot.loadBot adapterPath, "shell", true, "MochaHubot"
h... | 28298 | 'use strict'
process.env.PORT = 0 # pick a random port for this test
Hubot = require('hubot')
Path = require('path')
request = require('supertest')
sinon = require('sinon')
adapterPath = Path.join Path.dirname(require.resolve 'hubot'), "src", "adapters"
robot = Hubot.loadBot adapterPath, "shell", true, "MochaHubot"
h... | true | 'use strict'
process.env.PORT = 0 # pick a random port for this test
Hubot = require('hubot')
Path = require('path')
request = require('supertest')
sinon = require('sinon')
adapterPath = Path.join Path.dirname(require.resolve 'hubot'), "src", "adapters"
robot = Hubot.loadBot adapterPath, "shell", true, "MochaHubot"
h... |
[
{
"context": "###\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\n\nmongoose ",
"end": 58,
"score": 0.9998548626899719,
"start": 49,
"tag": "NAME",
"value": "Ryan Gaus"
}
] | src/models/list_model.coffee | 1egoman/bag-node | 0 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
list = mongoose.Schema
name: String
desc: String
tags: Array
checked: Boolean
user: String
contents: Array
contentsLists: Array
list.set 'versionKey', false
module.exports =... | 33257 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
list = mongoose.Schema
name: String
desc: String
tags: Array
checked: Boolean
user: String
contents: Array
contentsLists: Array
list.set 'versionKey', false
module.exports = mo... | true | ###
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
list = mongoose.Schema
name: String
desc: String
tags: Array
checked: Boolean
user: String
contents: Array
contentsLists: Array
list.set 'versionKey', false
modul... |
[
{
"context": "URRENCY\n exchange = process.env.EXCHANGE\n pair = \"#{token}-#{currency}\"\n\n console.log \"Looking up #{pair} on #{exchang",
"end": 546,
"score": 0.9490038752555847,
"start": 526,
"tag": "KEY",
"value": "\"#{token}-#{currency"
}
] | lambdas/feed-handler/src/index.coffee | DEWMRAX/rbot | 3 | liqui = require './liqui'
binance = require './binance'
bittrex = require './bittrex'
poloniex = require './poloniex'
kraken = require './kraken'
gdax = require './gdax'
itbit = require './itbit'
bitflyer = require './bitflyer'
bitstamp = require './bitstamp'
AWS = require 'aws-sdk'
AWS.config.update
region: "us-eas... | 15482 | liqui = require './liqui'
binance = require './binance'
bittrex = require './bittrex'
poloniex = require './poloniex'
kraken = require './kraken'
gdax = require './gdax'
itbit = require './itbit'
bitflyer = require './bitflyer'
bitstamp = require './bitstamp'
AWS = require 'aws-sdk'
AWS.config.update
region: "us-eas... | true | liqui = require './liqui'
binance = require './binance'
bittrex = require './bittrex'
poloniex = require './poloniex'
kraken = require './kraken'
gdax = require './gdax'
itbit = require './itbit'
bitflyer = require './bitflyer'
bitstamp = require './bitstamp'
AWS = require 'aws-sdk'
AWS.config.update
region: "us-eas... |
[
{
"context": "................\n when 'osntag'\n $key = '<tag'\n if tree.ukids.i_close? then typ",
"end": 9551,
"score": 0.8600507974624634,
"start": 9548,
"tag": "KEY",
"value": "tag"
}
] | src/htmlish.grammar.coffee | loveencounterflow/paragate | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
badge = 'PARAGATE/GRAMMARS/HTMLISH'
rpr = CND.rpr
log = CND.get_logger 'plain', badge
... | 145459 |
'use strict'
############################################################################################################
CND = require 'cnd'
badge = 'PARAGATE/GRAMMARS/HTMLISH'
rpr = CND.rpr
log = CND.get_logger 'plain', badge
... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
badge = 'PARAGATE/GRAMMARS/HTMLISH'
rpr = CND.rpr
log = CND.get_logger 'plain', badge
... |
[
{
"context": "hat the devil are you trying? You need to convince Ivan that what you are doing is okay.\"\n \n ",
"end": 671,
"score": 0.9267361760139465,
"start": 667,
"tag": "NAME",
"value": "Ivan"
}
] | source/flow-arrows/arrow.coffee | cdig/svga | 4 | Take ["FlowArrows:Config", "SVG", "TRS"], (Config, SVG, TRS)->
Make "FlowArrows:Arrow", (parentElm, segmentData, segmentPosition, vectorPosition, vectorIndex)->
vector = segmentData.vectors[vectorIndex]
element = TRS SVG.create "g", parentElm
triangle = SVG.create "polyline", element, points: "0,-16 ... | 34080 | Take ["FlowArrows:Config", "SVG", "TRS"], (Config, SVG, TRS)->
Make "FlowArrows:Arrow", (parentElm, segmentData, segmentPosition, vectorPosition, vectorIndex)->
vector = segmentData.vectors[vectorIndex]
element = TRS SVG.create "g", parentElm
triangle = SVG.create "polyline", element, points: "0,-16 ... | true | Take ["FlowArrows:Config", "SVG", "TRS"], (Config, SVG, TRS)->
Make "FlowArrows:Arrow", (parentElm, segmentData, segmentPosition, vectorPosition, vectorIndex)->
vector = segmentData.vectors[vectorIndex]
element = TRS SVG.create "g", parentElm
triangle = SVG.create "polyline", element, points: "0,-16 ... |
[
{
"context": "common/logger.coffee'\n\n# Firebase secure token for duelyst-dev.firebaseio.com\nfirebaseToken = config.get",
"end": 574,
"score": 0.611825168132782,
"start": 571,
"tag": "EMAIL",
"value": "due"
}
] | scripts/wipe/wipe_log_data.coffee | willroberts/duelyst | 5 |
###
wipe_log_data - Wipes all users inventories and gives them gold based on current gold + 100g per booster pack
Examples: (no parameters required)
# Does nothing
wipe_log_data
# Actually wipe the data
wipe_log_data commit_wipe
###
# region Requires
# Configuration object
config = require("../../confi... | 139849 |
###
wipe_log_data - Wipes all users inventories and gives them gold based on current gold + 100g per booster pack
Examples: (no parameters required)
# Does nothing
wipe_log_data
# Actually wipe the data
wipe_log_data commit_wipe
###
# region Requires
# Configuration object
config = require("../../confi... | true |
###
wipe_log_data - Wipes all users inventories and gives them gold based on current gold + 100g per booster pack
Examples: (no parameters required)
# Does nothing
wipe_log_data
# Actually wipe the data
wipe_log_data commit_wipe
###
# region Requires
# Configuration object
config = require("../../confi... |
[
{
"context": "yDataCounter\",\n start_key: startDate.format(\"GGGG-WW\").split(/-/)\n end_key: endDate.format(\"GGGG-",
"end": 1417,
"score": 0.8734613656997681,
"start": 1410,
"tag": "KEY",
"value": "GGGG-WW"
},
{
"context": "-WW\").split(/-/)\n end_key: endDate.forma... | _attachments/app/models/Graphs.coffee | jongoz/coconut-analytice | 3 | _ = require 'underscore'
moment = require 'moment'
$ = require 'jquery'
distinctColors = (require 'distinct-colors').default
Chart = require 'chart.js'
ChartDataLabels = require 'chartjs-plugin-datalabels'
Chart.plugins.unregister(ChartDataLabels)
camelize = require "underscore.string/camelize"
class Graphs
Graph... | 69555 | _ = require 'underscore'
moment = require 'moment'
$ = require 'jquery'
distinctColors = (require 'distinct-colors').default
Chart = require 'chart.js'
ChartDataLabels = require 'chartjs-plugin-datalabels'
Chart.plugins.unregister(ChartDataLabels)
camelize = require "underscore.string/camelize"
class Graphs
Graph... | true | _ = require 'underscore'
moment = require 'moment'
$ = require 'jquery'
distinctColors = (require 'distinct-colors').default
Chart = require 'chart.js'
ChartDataLabels = require 'chartjs-plugin-datalabels'
Chart.plugins.unregister(ChartDataLabels)
camelize = require "underscore.string/camelize"
class Graphs
Graph... |
[
{
"context": " # - `search` {String} A search phrase, such as `ben@n` or `Ben G`\n # - `options` (optional) {Object} I",
"end": 1197,
"score": 0.7414624094963074,
"start": 1192,
"tag": "USERNAME",
"value": "ben@n"
},
{
"context": "ch` {String} A search phrase, such as `ben@n` or `B... | packages/client-app/src/flux/stores/contact-store.coffee | matt-d-brown/nylas-mail | 595 | fs = require 'fs'
path = require 'path'
Reflux = require 'reflux'
Rx = require 'rx-lite'
Actions = require('../actions').default
Contact = require('../models/contact').default
Utils = require '../models/utils'
NylasStore = require 'nylas-store'
RegExpUtils = require '../../regexp-utils'
DatabaseStore = require('./datab... | 98511 | fs = require 'fs'
path = require 'path'
Reflux = require 'reflux'
Rx = require 'rx-lite'
Actions = require('../actions').default
Contact = require('../models/contact').default
Utils = require '../models/utils'
NylasStore = require 'nylas-store'
RegExpUtils = require '../../regexp-utils'
DatabaseStore = require('./datab... | true | fs = require 'fs'
path = require 'path'
Reflux = require 'reflux'
Rx = require 'rx-lite'
Actions = require('../actions').default
Contact = require('../models/contact').default
Utils = require '../models/utils'
NylasStore = require 'nylas-store'
RegExpUtils = require '../../regexp-utils'
DatabaseStore = require('./datab... |
[
{
"context": "omises = []\n\npromises.push Users.create\n email: 'cseibert113@gmail.com'\n password: '123456'\n\npromises.push Snippits.cre",
"end": 229,
"score": 0.9999265074729919,
"start": 208,
"tag": "EMAIL",
"value": "cseibert113@gmail.com"
},
{
"context": "ate\n email: 'csei... | server/src/scripts/build_db.coffee | codyseibert/typr.io | 1 | require '../db'
models = require '../models/models'
Promise = require 'bluebird'
Users = models.Users
Snippits = models.Snippits
Reports = models.Reports
promises = []
promises.push Users.create
email: 'cseibert113@gmail.com'
password: '123456'
promises.push Snippits.create
name: 'Random Snippit 1'
code: ""... | 121973 | require '../db'
models = require '../models/models'
Promise = require 'bluebird'
Users = models.Users
Snippits = models.Snippits
Reports = models.Reports
promises = []
promises.push Users.create
email: '<EMAIL>'
password: '<PASSWORD>'
promises.push Snippits.create
name: 'Random Snippit 1'
code: """
User... | true | require '../db'
models = require '../models/models'
Promise = require 'bluebird'
Users = models.Users
Snippits = models.Snippits
Reports = models.Reports
promises = []
promises.push Users.create
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
promises.push Snippits.create
name: 'Rando... |
[
{
"context": "in the same output', ->\n user = \n first: 'Huevo'\n last: 'Bueno'\n\n nameHelper = (user) ->\n",
"end": 201,
"score": 0.9997286200523376,
"start": 196,
"tag": "NAME",
"value": "Huevo"
},
{
"context": " ->\n user = \n first: 'Huevo'\n last: ... | test-teacup/nesting.coffee | jahbini/chalice | 0 | expect = require 'expect.js'
{render, div, p} = require '../src/halvalla-mithril'
describe 'nesting templates', ->
it 'renders nested template in the same output', ->
user =
first: 'Huevo'
last: 'Bueno'
nameHelper = (user) ->
p "#{user.first} #{user.last}"
template = (user) ->
... | 206252 | expect = require 'expect.js'
{render, div, p} = require '../src/halvalla-mithril'
describe 'nesting templates', ->
it 'renders nested template in the same output', ->
user =
first: '<NAME>'
last: '<NAME>'
nameHelper = (user) ->
p "#{user.first} #{user.last}"
template = (user) ->
... | true | expect = require 'expect.js'
{render, div, p} = require '../src/halvalla-mithril'
describe 'nesting templates', ->
it 'renders nested template in the same output', ->
user =
first: 'PI:NAME:<NAME>END_PI'
last: 'PI:NAME:<NAME>END_PI'
nameHelper = (user) ->
p "#{user.first} #{user.last}"
... |
[
{
"context": "ds.parse = ->\n id : @_id\n name : @name\n description : @description\n address : ",
"end": 2094,
"score": 0.6423300504684448,
"start": 2094,
"tag": "NAME",
"value": ""
},
{
"context": ".parse = ->\n id : @_id\n name : @name\n ... | common/models/place.coffee | QuteBits/boilerplate_events | 0 | "use strict"
Hope = require("zenserver").Hope
Schema = require("zenserver").Mongoose.Schema
db = require("zenserver").Mongo.connections.primary
C = require "../constants"
Place = new Schema
name : type: String
description : type: String
address : type: String
site : type: Stri... | 168511 | "use strict"
Hope = require("zenserver").Hope
Schema = require("zenserver").Mongoose.Schema
db = require("zenserver").Mongo.connections.primary
C = require "../constants"
Place = new Schema
name : type: String
description : type: String
address : type: String
site : type: Stri... | true | "use strict"
Hope = require("zenserver").Hope
Schema = require("zenserver").Mongoose.Schema
db = require("zenserver").Mongo.connections.primary
C = require "../constants"
Place = new Schema
name : type: String
description : type: String
address : type: String
site : type: Stri... |
[
{
"context": "= process.env.SURESPOT_REDIS_SENTINEL_HOSTNAME ? \"127.0.0.1\"\ndontUseSSL = process.env.SURESPOT_DONT_USE_SSL i",
"end": 509,
"score": 0.9997345805168152,
"start": 500,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " \"true\"\n\npool = new helenus.Connectio... | test/test/auth2tests.coffee | SchoolOfFreelancing/SureSpot | 1 | assert = require("assert")
should = require("should")
http = require("request")
redis = require("redis")
util = require("util")
crypto = require 'crypto'
dcrypt = require 'dcrypt'
async = require 'async'
fs = require("fs")
redisSentinel = require 'redis-sentinel-client'
helenus = require 'helenus'
socketPort = proce... | 74694 | assert = require("assert")
should = require("should")
http = require("request")
redis = require("redis")
util = require("util")
crypto = require 'crypto'
dcrypt = require 'dcrypt'
async = require 'async'
fs = require("fs")
redisSentinel = require 'redis-sentinel-client'
helenus = require 'helenus'
socketPort = proce... | true | assert = require("assert")
should = require("should")
http = require("request")
redis = require("redis")
util = require("util")
crypto = require 'crypto'
dcrypt = require 'dcrypt'
async = require 'async'
fs = require("fs")
redisSentinel = require 'redis-sentinel-client'
helenus = require 'helenus'
socketPort = proce... |
[
{
"context": ".inputs\n\n options =\n password : password.getValue()\n disable : yes\n\n @handleProcessOf2",
"end": 2707,
"score": 0.8594573140144348,
"start": 2690,
"tag": "PASSWORD",
"value": "password.getValue"
},
{
"context": " key : @_a... | client/home/lib/account/homeaccountsecurityview.coffee | lionheart1022/koding | 0 | kd = require 'kd'
whoami = require 'app/util/whoami'
CustomLinkView = require 'app/customlinkview'
module.exports = class HomeAccountSecurityView extends kd.CustomHTMLView
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry \
'AppModal--account tfauth', options.css... | 54335 | kd = require 'kd'
whoami = require 'app/util/whoami'
CustomLinkView = require 'app/customlinkview'
module.exports = class HomeAccountSecurityView extends kd.CustomHTMLView
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry \
'AppModal--account tfauth', options.css... | true | kd = require 'kd'
whoami = require 'app/util/whoami'
CustomLinkView = require 'app/customlinkview'
module.exports = class HomeAccountSecurityView extends kd.CustomHTMLView
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry \
'AppModal--account tfauth', options.css... |
[
{
"context": "name = \"World\"\nconsole.log \"Hello\"+name+\" Welcome to CoffeeScri",
"end": 13,
"score": 0.9987039566040039,
"start": 8,
"tag": "NAME",
"value": "World"
}
] | src/HelloCoffee.coffee | RayMiles94/CoffeeScriptests | 0 | name = "World"
console.log "Hello"+name+" Welcome to CoffeeScript" | 102502 | name = "<NAME>"
console.log "Hello"+name+" Welcome to CoffeeScript" | true | name = "PI:NAME:<NAME>END_PI"
console.log "Hello"+name+" Welcome to CoffeeScript" |
[
{
"context": "us: 422, error: '这个电话号码已经被注册了'}\n password = bbCrypto.encodePassword password\n\n docs = {phone_nu",
"end": 1024,
"score": 0.7098840475082397,
"start": 1016,
"tag": "PASSWORD",
"value": "bbCrypto"
},
{
"context": "经被注册了'}\n password = bbCrypto.encod... | controller/sign.coffee | icarusysuper/imageDistribution | 0 | proxy = require '../proxy'
User = proxy.User
Album = proxy.Album
validator = require 'validator'
Eventproxy = require 'eventproxy'
bbCrypto = require '../helper/bbCrypto'
userMiddleware = require './user'
exports.signup = (req, res, next)->
phone_number = validator.trim(req.body.phone_number) |... | 139265 | proxy = require '../proxy'
User = proxy.User
Album = proxy.Album
validator = require 'validator'
Eventproxy = require 'eventproxy'
bbCrypto = require '../helper/bbCrypto'
userMiddleware = require './user'
exports.signup = (req, res, next)->
phone_number = validator.trim(req.body.phone_number) |... | true | proxy = require '../proxy'
User = proxy.User
Album = proxy.Album
validator = require 'validator'
Eventproxy = require 'eventproxy'
bbCrypto = require '../helper/bbCrypto'
userMiddleware = require './user'
exports.signup = (req, res, next)->
phone_number = validator.trim(req.body.phone_number) |... |
[
{
"context": "d = 0\n\npeople = [\n\t{\"id\": \"#{nextId++}\", \"name\": \"Saasha\", \"age\": \"5\"}\n\t{\"id\": \"#{nextId++}\", \"name\": \"Pla",
"end": 215,
"score": 0.9997945427894592,
"start": 209,
"tag": "NAME",
"value": "Saasha"
},
{
"context": "sha\", \"age\": \"5\"}\n\t{\"id... | routes.coffee | gmp26/Apps1 | 6 | module.exports = (app, dir) ->
app.get '/', (req, res) ->
res.render "#{dir}/index.html"
###
#
# Original AngularFun app server - useful reference
#
nextId = 0
people = [
{"id": "#{nextId++}", "name": "Saasha", "age": "5"}
{"id": "#{nextId++}", "name": "Planet", "age": "7"}
]
isUniqueName = (name) ->
(name fo... | 46358 | module.exports = (app, dir) ->
app.get '/', (req, res) ->
res.render "#{dir}/index.html"
###
#
# Original AngularFun app server - useful reference
#
nextId = 0
people = [
{"id": "#{nextId++}", "name": "<NAME>", "age": "5"}
{"id": "#{nextId++}", "name": "<NAME>", "age": "7"}
]
isUniqueName = (name) ->
(name fo... | true | module.exports = (app, dir) ->
app.get '/', (req, res) ->
res.render "#{dir}/index.html"
###
#
# Original AngularFun app server - useful reference
#
nextId = 0
people = [
{"id": "#{nextId++}", "name": "PI:NAME:<NAME>END_PI", "age": "5"}
{"id": "#{nextId++}", "name": "PI:NAME:<NAME>END_PI", "age": "7"}
]
isUniq... |
[
{
"context": " ->\n\n beforeEach ->\n @h = R.h({\n plato: 'greek',\n witgenstein: ['austrian', 'british'],\n ",
"end": 79,
"score": 0.9526156783103943,
"start": 74,
"tag": "NAME",
"value": "greek"
},
{
"context": "Each ->\n @h = R.h({\n plato: 'greek',\n ... | spec/lib/corelib/hash/flatten_spec.coffee | hasclass/core-lib | 1 | describe "Hash#flatten", ->
beforeEach ->
@h = R.h({
plato: 'greek',
witgenstein: ['austrian', 'british'],
russell: 'welsh'
})
it "returns an Array", ->
expect( R.h({}).flatten() ).toBeInstanceOf(R.Array)
it "returns an empty Array for an empty Hash", ->
expect( R.h({}).flatte... | 187395 | describe "Hash#flatten", ->
beforeEach ->
@h = R.h({
plato: '<NAME>',
<NAME>stein: ['<NAME>rian', 'british'],
<NAME>: '<NAME>'
})
it "returns an Array", ->
expect( R.h({}).flatten() ).toBeInstanceOf(R.Array)
it "returns an empty Array for an empty Hash", ->
expect( R.h({}).fla... | true | describe "Hash#flatten", ->
beforeEach ->
@h = R.h({
plato: 'PI:NAME:<NAME>END_PI',
PI:NAME:<NAME>END_PIstein: ['PI:NAME:<NAME>END_PIrian', 'british'],
PI:NAME:<NAME>END_PI: 'PI:NAME:<NAME>END_PI'
})
it "returns an Array", ->
expect( R.h({}).flatten() ).toBeInstanceOf(R.Array)
it ... |
[
{
"context": "ail: (data, callback) ->\n\n { profile : { email, firstName, lastName } } = data\n invitations = [ { email,",
"end": 1203,
"score": 0.9993669986724854,
"start": 1194,
"tag": "NAME",
"value": "firstName"
},
{
"context": " callback) ->\n\n { profile : { email, fi... | client/admin/lib/views/members/blockedmemberitemview.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
JView = require 'app/jview'
remote = require('app/remote').getInstance()
AvatarView = require 'app/commonviews/avatarviews/avatarview'
getFullnameFromAccount = require 'app/util/getFullnameFromAccount'
module.exports = class BlockedMem... | 146527 | kd = require 'kd'
JView = require 'app/jview'
remote = require('app/remote').getInstance()
AvatarView = require 'app/commonviews/avatarviews/avatarview'
getFullnameFromAccount = require 'app/util/getFullnameFromAccount'
module.exports = class BlockedMem... | true | kd = require 'kd'
JView = require 'app/jview'
remote = require('app/remote').getInstance()
AvatarView = require 'app/commonviews/avatarviews/avatarview'
getFullnameFromAccount = require 'app/util/getFullnameFromAccount'
module.exports = class BlockedMem... |
[
{
"context": " callback: callback\n json:\n name: name\n email: email\n requester_id: reques",
"end": 3027,
"score": 0.7161269187927246,
"start": 3023,
"tag": "NAME",
"value": "name"
}
] | src/PagerDuty.coffee | atlassian/node-pagerduty | 0 | request = require 'request'
_object = (kvpairs) ->
res = {}
for kv in kvpairs
res[kv[0]] = kv[1]
res
_stripUndefined = (obj) ->
_object([k, v] for k, v of obj when v isnt undefined)
_expect = (expectedStatusCode, callback) ->
(err, response, body) ->
try
body = JSON.parse body
if err or... | 158372 | request = require 'request'
_object = (kvpairs) ->
res = {}
for kv in kvpairs
res[kv[0]] = kv[1]
res
_stripUndefined = (obj) ->
_object([k, v] for k, v of obj when v isnt undefined)
_expect = (expectedStatusCode, callback) ->
(err, response, body) ->
try
body = JSON.parse body
if err or... | true | request = require 'request'
_object = (kvpairs) ->
res = {}
for kv in kvpairs
res[kv[0]] = kv[1]
res
_stripUndefined = (obj) ->
_object([k, v] for k, v of obj when v isnt undefined)
_expect = (expectedStatusCode, callback) ->
(err, response, body) ->
try
body = JSON.parse body
if err or... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998324513435364,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/gl/shader.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 17446 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": " binary encoding with a custom https://github.com/deanlandolt/bytewise layer; the current\n Jizura DB version",
"end": 3606,
"score": 0.9996566772460938,
"start": 3595,
"tag": "USERNAME",
"value": "deanlandolt"
},
{
"context": ", ok, rank, sk, glyph, ] = key\n ... | src/demo.coffee | loveencounterflow/hollerith-legacy | 0 |
############################################################################################################
njs_path = require 'path'
# njs_fs = require 'fs'
join = njs_path.join
#.................................................................................. | 184156 |
############################################################################################################
njs_path = require 'path'
# njs_fs = require 'fs'
join = njs_path.join
#.................................................................................. | true |
############################################################################################################
njs_path = require 'path'
# njs_fs = require 'fs'
join = njs_path.join
#.................................................................................. |
[
{
"context": "[[table.column('id'), 1], [table.column('name'), 'carl']]\n assert.equal manager.toSql(), 'INSERT IN",
"end": 1829,
"score": 0.999201774597168,
"start": 1825,
"tag": "NAME",
"value": "carl"
},
{
"context": " 'INSERT INTO \"users\" (\"id\", \"name\") VALUES (1, \\'c... | test/insert-manager-test.coffee | arthurschreiber/rel | 1 | assert = require('chai').assert
SelectManager = require '../src/select-manager'
InsertManager = require '../src/insert-manager'
Table = require '../src/table'
SqlLiteral = require('../src/nodes/sql-literal')
Rel = require('../src/rel')
Nodes = require '../src/nodes/nodes'
describe 'Inserting stuff', ->
describe 'An... | 71585 | assert = require('chai').assert
SelectManager = require '../src/select-manager'
InsertManager = require '../src/insert-manager'
Table = require '../src/table'
SqlLiteral = require('../src/nodes/sql-literal')
Rel = require('../src/rel')
Nodes = require '../src/nodes/nodes'
describe 'Inserting stuff', ->
describe 'An... | true | assert = require('chai').assert
SelectManager = require '../src/select-manager'
InsertManager = require '../src/insert-manager'
Table = require '../src/table'
SqlLiteral = require('../src/nodes/sql-literal')
Rel = require('../src/rel')
Nodes = require '../src/nodes/nodes'
describe 'Inserting stuff', ->
describe 'An... |
[
{
"context": " #\n # Tag.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 40,
"score": 0.976398229598999,
"start": 30,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Tag.\n #\n # Created by hector spc <hector@aerstudio.com>... | src/collections/tags_collection.coffee | aerstudio/Phallanxpress | 1 | #
# Tag.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/tags_collection.js.coffee
#
class Phallanxpress.Tags extends Phallanxpress.Collection
model: Phallanxpress.Tag
parseTag: 'tags'
tagList: (options)->
@_wpAP... | 82551 | #
# Tag.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/tags_collection.js.coffee
#
class Phallanxpress.Tags extends Phallanxpress.Collection
model: Phallanxpress.Tag
parseTag: 'tags'
tagList: (options)->
@_wpAPI('get_tag_index'... | true | #
# Tag.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/tags_collection.js.coffee
#
class Phallanxpress.Tags extends Phallanxpress.Collection
model: Phallanxpress.Tag
parseTag: 'tags'
tagList: (options)-... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.998772144317627,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/vi... | src/node/utils.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
fs = require 'fs'
path = require 'path'
_ = require 'underscore'
Backbone = require 'b... | 104 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
fs = require 'fs'
path = require 'path'
_ = require 'underscore'
Backbone = require 'bac... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
fs = require 'fs'
path = require 'path'
_ = require 'underscore'
Backbone ... |
[
{
"context": "plication/xml;q=0.9,*/*;q=0.8'\n 'Cookie': 'visid_nxg=CMS4MlQAAAAABQdallWJwB5iSDr0b8sm1J+UV2m8qms6Dib2+",
"end": 1334,
"score": 0.6833659410476685,
"start": 1325,
"tag": "KEY",
"value": "visid_nxg"
},
{
"context": "xml;q=0.9,*/*;q=0.8'\n 'Cookie': 'visid_n... | api/oversea_rate.coffee | indiejoseph/hkpost-api-server | 0 | 'use strict'
router = (require 'express').Router()
LRU = require 'lru-cache'
config = require '../config'
request = require 'request'
cheerio = require 'cheerio'
cache = LRU { maxAge: config.cache.maxAge }
#routes
router.route('/oversea_rate')
.get (req, res, next) ->
# mail = ['letter_postcard', 'print... | 109675 | 'use strict'
router = (require 'express').Router()
LRU = require 'lru-cache'
config = require '../config'
request = require 'request'
cheerio = require 'cheerio'
cache = LRU { maxAge: config.cache.maxAge }
#routes
router.route('/oversea_rate')
.get (req, res, next) ->
# mail = ['letter_postcard', 'print... | true | 'use strict'
router = (require 'express').Router()
LRU = require 'lru-cache'
config = require '../config'
request = require 'request'
cheerio = require 'cheerio'
cache = LRU { maxAge: config.cache.maxAge }
#routes
router.route('/oversea_rate')
.get (req, res, next) ->
# mail = ['letter_postcard', 'print... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991912841796875,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-client-agent.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... | 44288 | # 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": " options = {} if not options\n processKey = command.join(\"_\")\n\n for directory in atom.project.getDirec",
"end": 779,
"score": 0.9916990995407104,
"start": 764,
"tag": "KEY",
"value": "command.join(\"_"
}
] | lib/services/php-proxy.coffee | ll-xzx/ll-php-support | 0 | exec = require "child_process"
process = require "process"
config = require "../config.coffee"
md5 = require 'md5'
fs = require 'fs'
module.exports =
data:
methods: [],
autocomplete: [],
composer: null
currentProcesses: []
###*
* Executes a command to PHP proxy
* @param ... | 133432 | exec = require "child_process"
process = require "process"
config = require "../config.coffee"
md5 = require 'md5'
fs = require 'fs'
module.exports =
data:
methods: [],
autocomplete: [],
composer: null
currentProcesses: []
###*
* Executes a command to PHP proxy
* @param ... | true | exec = require "child_process"
process = require "process"
config = require "../config.coffee"
md5 = require 'md5'
fs = require 'fs'
module.exports =
data:
methods: [],
autocomplete: [],
composer: null
currentProcesses: []
###*
* Executes a command to PHP proxy
* @param ... |
[
{
"context": "google.com/feeds/download/spreadsheets/Export?key=0AvVyfy1LBTe3dEVHWk9GbTdWSWkyZFBJRldaMDJQVmc&exportFormat=csv\" #HACK\n hasChanged = true\n\n ",
"end": 6363,
"score": 0.9997476935386658,
"start": 6319,
"tag": "KEY",
"value": "0AvVyfy1LBTe3dEVHWk9GbTdWSWkyZFBJRldaMDJQVmc"
... | app-src/console_app.coffee | hyperbotic/crowdgame-trivially | 0 | # ==================================================================================================================
#
# IT IS REALLY IMPORTANT THAT App-level event handlers return null.
# Ti.App.addEventListener("eventName", (event)=>null)
#
#
class ConsoleApp extends Hy.UI.Application
gInstance = null
# ----... | 61027 | # ==================================================================================================================
#
# IT IS REALLY IMPORTANT THAT App-level event handlers return null.
# Ti.App.addEventListener("eventName", (event)=>null)
#
#
class ConsoleApp extends Hy.UI.Application
gInstance = null
# ----... | true | # ==================================================================================================================
#
# IT IS REALLY IMPORTANT THAT App-level event handlers return null.
# Ti.App.addEventListener("eventName", (event)=>null)
#
#
class ConsoleApp extends Hy.UI.Application
gInstance = null
# ----... |
[
{
"context": " identity:\n user: 'root'\n effective: 0\n }\n ",
"end": 318,
"score": 0.5382782816886902,
"start": 314,
"tag": "USERNAME",
"value": "root"
},
{
"context": ".parse(data)\n if data.username == 'r... | tests-karma/tests/core/identity.service.coffee | ajenti/ajen | 3,777 | describe 'identity service', () ->
beforeEach () ->
inject ($httpBackend) ->
$httpBackend.when('GET', '/api/core/identity').respond {
machine:
hostname: "test-box"
name: 'test box'
identity:
user: 'root'
... | 43518 | describe 'identity service', () ->
beforeEach () ->
inject ($httpBackend) ->
$httpBackend.when('GET', '/api/core/identity').respond {
machine:
hostname: "test-box"
name: 'test box'
identity:
user: 'root'
... | true | describe 'identity service', () ->
beforeEach () ->
inject ($httpBackend) ->
$httpBackend.when('GET', '/api/core/identity').respond {
machine:
hostname: "test-box"
name: 'test box'
identity:
user: 'root'
... |
[
{
"context": "n\n login: ->\n payload = \n username: @username\n password: @password\n @$dialog.show '",
"end": 504,
"score": 0.9987956285476685,
"start": 495,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "d = \n username: @username\n ... | src/script/main.coffee | carrasquel/tulipan-example | 0 | `import html from "../views/main.html";`
`var backend_url = process.env.BACKEND_URL || "http://localhost:5000/"`
app = new Tulipan(
template:
html: html
async: false
route: '/'
data:
username: ''
password: ''
methods:
after: ->
apiKey = @$store.get('apiKey')
if apiKey
@... | 128113 | `import html from "../views/main.html";`
`var backend_url = process.env.BACKEND_URL || "http://localhost:5000/"`
app = new Tulipan(
template:
html: html
async: false
route: '/'
data:
username: ''
password: ''
methods:
after: ->
apiKey = @$store.get('apiKey')
if apiKey
@... | true | `import html from "../views/main.html";`
`var backend_url = process.env.BACKEND_URL || "http://localhost:5000/"`
app = new Tulipan(
template:
html: html
async: false
route: '/'
data:
username: ''
password: ''
methods:
after: ->
apiKey = @$store.get('apiKey')
if apiKey
@... |
[
{
"context": "son.version}\n license: #{pjson.license}\n author: Roman Pushkin\n #{pjson.homepage}\n*/\n\n\"\"\"\n\ndest = 'dist/'\nsourc",
"end": 349,
"score": 0.99971604347229,
"start": 336,
"tag": "NAME",
"value": "Roman Pushkin"
}
] | assets/jquery.ns-autogrow-1.1.6/gulpfile.coffee | velioo/animesite | 6 | gulp = require 'gulp'
del = require 'del'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
header = require 'gulp-header'
uglify = require 'gulp-uglify'
rename = require 'gulp-rename'
pjson = require './package.json'
copyright = """
/*!
Non-Sucking Autogrow #{pjson.version}
license: #{pjson.lic... | 11487 | gulp = require 'gulp'
del = require 'del'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
header = require 'gulp-header'
uglify = require 'gulp-uglify'
rename = require 'gulp-rename'
pjson = require './package.json'
copyright = """
/*!
Non-Sucking Autogrow #{pjson.version}
license: #{pjson.lic... | true | gulp = require 'gulp'
del = require 'del'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
header = require 'gulp-header'
uglify = require 'gulp-uglify'
rename = require 'gulp-rename'
pjson = require './package.json'
copyright = """
/*!
Non-Sucking Autogrow #{pjson.version}
license: #{pjson.lic... |
[
{
"context": "'\nSpecHelper = require './helper'\n\nCHANNEL_KEY = 'OrderXmlFileExport'\nCHANNEL_ROLE = 'OrderExport'\nCONTAINER_PAYMENT =",
"end": 200,
"score": 0.988409161567688,
"start": 182,
"tag": "KEY",
"value": "OrderXmlFileExport"
}
] | src/spec/helper-import.coffee | celeste-horgan/sphere-order-export | 3 | _ = require 'underscore'
_.mixin require('underscore-mixins')
{SphereClient} = require 'sphere-node-sdk'
Config = require '../config'
SpecHelper = require './helper'
CHANNEL_KEY = 'OrderXmlFileExport'
CHANNEL_ROLE = 'OrderExport'
CONTAINER_PAYMENT = 'checkoutInfo'
client = new SphereClient Config
client.channels.ens... | 108301 | _ = require 'underscore'
_.mixin require('underscore-mixins')
{SphereClient} = require 'sphere-node-sdk'
Config = require '../config'
SpecHelper = require './helper'
CHANNEL_KEY = '<KEY>'
CHANNEL_ROLE = 'OrderExport'
CONTAINER_PAYMENT = 'checkoutInfo'
client = new SphereClient Config
client.channels.ensure(CHANNEL_K... | true | _ = require 'underscore'
_.mixin require('underscore-mixins')
{SphereClient} = require 'sphere-node-sdk'
Config = require '../config'
SpecHelper = require './helper'
CHANNEL_KEY = 'PI:KEY:<KEY>END_PI'
CHANNEL_ROLE = 'OrderExport'
CONTAINER_PAYMENT = 'checkoutInfo'
client = new SphereClient Config
client.channels.ens... |
[
{
"context": "rocess.env =\n HUBOT_BACKLOG_ASSIGN_API_KEY: 'xxx'\n HUBOT_BACKLOG_ASSIGN_SPACE_ID: 'space'\n ",
"end": 249,
"score": 0.9817888736724854,
"start": 246,
"tag": "KEY",
"value": "xxx"
},
{
"context": "'space'\n HUBOT_BACKLOG_ASSIGN_USER_NAMES: '{\"bouzuya\... | test/scripts/backlog-assign.coffee | bouzuya/hubot-backlog-assign | 0 | {Robot, User, TextMessage} = require 'hubot'
assert = require 'power-assert'
path = require 'path'
sinon = require 'sinon'
describe 'hello', ->
beforeEach (done) ->
@env = process.env
process.env =
HUBOT_BACKLOG_ASSIGN_API_KEY: 'xxx'
HUBOT_BACKLOG_ASSIGN_SPACE_ID: 'space'
HUBOT_BACKLOG_ASSI... | 190213 | {Robot, User, TextMessage} = require 'hubot'
assert = require 'power-assert'
path = require 'path'
sinon = require 'sinon'
describe 'hello', ->
beforeEach (done) ->
@env = process.env
process.env =
HUBOT_BACKLOG_ASSIGN_API_KEY: '<KEY>'
HUBOT_BACKLOG_ASSIGN_SPACE_ID: 'space'
HUBOT_BACKLOG_AS... | true | {Robot, User, TextMessage} = require 'hubot'
assert = require 'power-assert'
path = require 'path'
sinon = require 'sinon'
describe 'hello', ->
beforeEach (done) ->
@env = process.env
process.env =
HUBOT_BACKLOG_ASSIGN_API_KEY: 'PI:KEY:<KEY>END_PI'
HUBOT_BACKLOG_ASSIGN_SPACE_ID: 'space'
HUB... |
[
{
"context": "\n\nfixtureTrackId = 41948537\nfixtureAccessToken = \"1-4928-9174539-e8ed8a9e7bed36a43\"\nfixturePrivateTrackId = 41948548\nfixturePrivateT",
"end": 139,
"score": 0.9403107762336731,
"start": 107,
"tag": "PASSWORD",
"value": "1-4928-9174539-e8ed8a9e7bed36a43"
},
{
"cont... | components/soundcloud/test/integration.coffee | mizukai/sample | 91 | module "Full Integration Test against api.soundcloud.com"
fixtureTrackId = 41948537
fixtureAccessToken = "1-4928-9174539-e8ed8a9e7bed36a43"
fixturePrivateTrackId = 41948548
fixturePrivateTrackToken = "s-2gxGq"
# Can be used to update accessToken
#asyncTest "Retrieve token using OAuth2", 1, ->
# SC.accessToken null
#... | 188609 | module "Full Integration Test against api.soundcloud.com"
fixtureTrackId = 41948537
fixtureAccessToken = "<PASSWORD>"
fixturePrivateTrackId = 41948548
fixturePrivateTrackToken = "<PASSWORD>"
# Can be used to update accessToken
#asyncTest "Retrieve token using OAuth2", 1, ->
# SC.accessToken null
# SC.post "/oauth2/... | true | module "Full Integration Test against api.soundcloud.com"
fixtureTrackId = 41948537
fixtureAccessToken = "PI:PASSWORD:<PASSWORD>END_PI"
fixturePrivateTrackId = 41948548
fixturePrivateTrackToken = "PI:PASSWORD:<PASSWORD>END_PI"
# Can be used to update accessToken
#asyncTest "Retrieve token using OAuth2", 1, ->
# SC.a... |
[
{
"context": " \"ustar\\u0000\"\n ustarver: \"00\"\n uname: \"isaacs\"\n gname: \"staff\"\n devmaj: 0\n devmi",
"end": 441,
"score": 0.5304310321807861,
"start": 435,
"tag": "USERNAME",
"value": "isaacs"
},
{
"context": "starver: \"00\"\n uname: \"isaacs... | deps/npm/node_modules/tar/test/parse.coffee | lxe/io.coffee | 0 | tap = require("tap")
tar = require("../tar.js")
fs = require("fs")
path = require("path")
file = path.resolve(__dirname, "fixtures/c.tar")
index = 0
expect = [
[
"entry"
{
path: "c.txt"
mode: 420
uid: 24561
gid: 20
size: 513
mtime: new Date("Wed, 26 Oct 2011 01:10:58 GMT")
... | 72787 | tap = require("tap")
tar = require("../tar.js")
fs = require("fs")
path = require("path")
file = path.resolve(__dirname, "fixtures/c.tar")
index = 0
expect = [
[
"entry"
{
path: "c.txt"
mode: 420
uid: 24561
gid: 20
size: 513
mtime: new Date("Wed, 26 Oct 2011 01:10:58 GMT")
... | true | tap = require("tap")
tar = require("../tar.js")
fs = require("fs")
path = require("path")
file = path.resolve(__dirname, "fixtures/c.tar")
index = 0
expect = [
[
"entry"
{
path: "c.txt"
mode: 420
uid: 24561
gid: 20
size: 513
mtime: new Date("Wed, 26 Oct 2011 01:10:58 GMT")
... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9909250140190125,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "st text. Very very short. 1\").DO... | demo/src/demos/TabsDemo.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.TabsDemo extends Demo
display: ->
_tabs = []
for i, idx in ["Atlanta", "New York", ... | 20756 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.TabsDemo extends Demo
display: ->
_tabs = []
for i, idx in ["Atlanta", "New York", ... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.TabsDemo extends Demo
display: ->
_tabs = []
for i, idx in ["Atlanta", "New York", ... |
[
{
"context": "assword: ->\n else\n throw error\n\ntokenName = 'Soldat.tv API Token'\n\nmodule.exports =\n # Get the Soldat.t",
"end": 262,
"score": 0.6360637545585632,
"start": 254,
"tag": "PASSWORD",
"value": "oldat.tv"
},
{
"context": "en: (token) ->\n keytar.setPassword(to... | src/auth.coffee | getsoldat/recrue | 0 | try
keytar = require 'keytar'
catch error
# Gracefully handle keytar failing to load due to missing library on Linux
if process.platform is 'linux'
keytar =
findPassword: ->
replacePassword: ->
else
throw error
tokenName = 'Soldat.tv API Token'
module.exports =
# Get the Soldat.tv API to... | 65227 | try
keytar = require 'keytar'
catch error
# Gracefully handle keytar failing to load due to missing library on Linux
if process.platform is 'linux'
keytar =
findPassword: ->
replacePassword: ->
else
throw error
tokenName = 'S<PASSWORD> API Token'
module.exports =
# Get the Soldat.tv API ... | true | try
keytar = require 'keytar'
catch error
# Gracefully handle keytar failing to load due to missing library on Linux
if process.platform is 'linux'
keytar =
findPassword: ->
replacePassword: ->
else
throw error
tokenName = 'SPI:PASSWORD:<PASSWORD>END_PI API Token'
module.exports =
# Get ... |
[
{
"context": "umbvalue = ''\noptions = {\nurl: '',\nauth: {\n'user': jenkins_user,\n'pass': jenkins_api\n},\nmethod: 'post',\nheaders:{",
"end": 2126,
"score": 0.9813955426216125,
"start": 2114,
"tag": "USERNAME",
"value": "jenkins_user"
},
{
"context": "= {\nurl: '',\nauth: {\n'user... | scripts/jenkins/scripts-msteams/buildwithparam.coffee | CognizantOneDevOps/OnBot | 4 | #-------------------------------------------------------------------------------
# copyright 2018 cognizant technology solutions
#
# 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
# ... | 166226 | #-------------------------------------------------------------------------------
# copyright 2018 cognizant technology solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# copyright 2018 cognizant technology solutions
#
# 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
# ... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# Richard Hunt <>\n\nmodule.exports = (robot) ->\n robot.router.po",
"end": 324,
"score": 0.9998793601989746,
"start": 312,
"tag": "NAME",
"value": "Richard Hunt"
}
] | src/gretchen.coffee | arogozin/hubot-frank | 0 | # Description
# Creates a HTTP endpoint to tell hubot secrets. Like Gretchen Weiners.
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# Richard ... | 80970 | # Description
# Creates a HTTP endpoint to tell hubot secrets. Like Gretchen Weiners.
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME> <... | true | # Description
# Creates a HTTP endpoint to tell hubot secrets. Like Gretchen Weiners.
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:... |
[
{
"context": "le {\n title\n href\n author {\n name\n }\n image: thumbnail_image {\n th",
"end": 133,
"score": 0.9715570211410522,
"start": 129,
"tag": "NAME",
"value": "name"
}
] | src/mobile/apps/artwork/components/highlights/query.coffee | kanaabe/force | 1 | module.exports = """
highlights {
__typename
... on HighlightedArticle {
title
href
author {
name
}
image: thumbnail_image {
thumb: cropped(width: 200, height: 200) {
url
width
height
}
}
}
... on HighlightedShow... | 161598 | module.exports = """
highlights {
__typename
... on HighlightedArticle {
title
href
author {
<NAME>
}
image: thumbnail_image {
thumb: cropped(width: 200, height: 200) {
url
width
height
}
}
}
... on HighlightedSh... | true | module.exports = """
highlights {
__typename
... on HighlightedArticle {
title
href
author {
PI:NAME:<NAME>END_PI
}
image: thumbnail_image {
thumb: cropped(width: 200, height: 200) {
url
width
height
}
}
}
... on... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998871684074402,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Console/ConsoleApplication.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
wait = use('wait.for')
ArgvInput = use('@Konsserto/Component/Con... | 181546 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
wait = use('wait.for')
ArgvInput = use('@Konsserto/Component/Console/Input/ArgvInput... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
wait = use('wait.for')
ArgvInput = use('@Konsserto/Comp... |
[
{
"context": "Minimum: 10\t\t# Minimum beacon value\n\t\tonHTTPKey: '0acc7d0fd7ac9ef4133950d3949b81a7' # Hash of http secret key\n\t\tinRangeCheckinTime: ",
"end": 465,
"score": 0.9997662901878357,
"start": 433,
"tag": "KEY",
"value": "0acc7d0fd7ac9ef4133950d3949b81a7"
}
] | config.common.coffee | VincentSmit/Ontwerpproject | 0 | # General config values (used by client and server)
exports.getConfig = ->
return {
beaconPointsTime: 3600000 # Milliseconds between scoring points for a beacon
beaconHoldScore: 1 # Number of points scored per <pointsTime> by holding a beacon
beaconValueInitial: 50 # Initial capture value of a beacon
beaco... | 35446 | # General config values (used by client and server)
exports.getConfig = ->
return {
beaconPointsTime: 3600000 # Milliseconds between scoring points for a beacon
beaconHoldScore: 1 # Number of points scored per <pointsTime> by holding a beacon
beaconValueInitial: 50 # Initial capture value of a beacon
beaco... | true | # General config values (used by client and server)
exports.getConfig = ->
return {
beaconPointsTime: 3600000 # Milliseconds between scoring points for a beacon
beaconHoldScore: 1 # Number of points scored per <pointsTime> by holding a beacon
beaconValueInitial: 50 # Initial capture value of a beacon
beaco... |
[
{
"context": "\tplease check the README here: https://github.com/resin-io/resin-cli .\n\n\t\tUse this command to preload an app",
"end": 3478,
"score": 0.9834510087966919,
"start": 3470,
"tag": "USERNAME",
"value": "resin-io"
},
{
"context": "\n\t\t $ resin preload resin.img --app 1... | lib/actions/preload.coffee | vtmf/resion | 0 | ###
Copyright 2016-2017 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | 135876 | ###
Copyright 2016-2017 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | true | ###
Copyright 2016-2017 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... |
[
{
"context": "On Rails UJS support module\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\n\n$ = require('dom')\ncore = require('core')\nA",
"end": 77,
"score": 0.9998863935470581,
"start": 60,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/rails/src/ujs.coffee | lovely-io/lovely.io-stl | 2 | #
# Ruby On Rails UJS support module
#
# Copyright (C) 2011 Nikolay Nemshilov
#
$ = require('dom')
core = require('core')
Ajax = require('ajax')
# tries to cancel the event via confirmation
user_cancels = (event, element)->
message = element.attr('data-confirm')
if message && !confirm(message)
event.stop(... | 115932 | #
# Ruby On Rails UJS support module
#
# Copyright (C) 2011 <NAME>
#
$ = require('dom')
core = require('core')
Ajax = require('ajax')
# tries to cancel the event via confirmation
user_cancels = (event, element)->
message = element.attr('data-confirm')
if message && !confirm(message)
event.stop()
retur... | true | #
# Ruby On Rails UJS support module
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
$ = require('dom')
core = require('core')
Ajax = require('ajax')
# tries to cancel the event via confirmation
user_cancels = (event, element)->
message = element.attr('data-confirm')
if message && !confirm(message)
event.st... |
[
{
"context": "('input').focus()\n\t$.get 'https://ipinfo.io?token=83129ddfd413c4', ((response) ->\n\n\t\tif response.country = 'GB'\n\t\t",
"end": 105,
"score": 0.9938249588012695,
"start": 91,
"tag": "PASSWORD",
"value": "83129ddfd413c4"
}
] | js/main.coffee | dieppon/google | 2 | ---
---
jQuery(document).ready ($) ->
$('input').focus()
$.get 'https://ipinfo.io?token=83129ddfd413c4', ((response) ->
if response.country = 'GB'
$('.country').html ' UK'
$('form').attr 'action', 'https://www.google.co.uk/search'
else if response.country = 'FR'
$('.country').html ' France'
$('fo... | 16712 | ---
---
jQuery(document).ready ($) ->
$('input').focus()
$.get 'https://ipinfo.io?token=<PASSWORD>', ((response) ->
if response.country = 'GB'
$('.country').html ' UK'
$('form').attr 'action', 'https://www.google.co.uk/search'
else if response.country = 'FR'
$('.country').html ' France'
$('form')... | true | ---
---
jQuery(document).ready ($) ->
$('input').focus()
$.get 'https://ipinfo.io?token=PI:PASSWORD:<PASSWORD>END_PI', ((response) ->
if response.country = 'GB'
$('.country').html ' UK'
$('form').attr 'action', 'https://www.google.co.uk/search'
else if response.country = 'FR'
$('.country').html ' Fr... |
[
{
"context": "l = cc.login(\n login:'l'\n password:'p'\n host:'h'\n port:10\n vhost:'",
"end": 418,
"score": 0.9995197057723999,
"start": 417,
"tag": "PASSWORD",
"value": "p"
},
{
"context": "login, 'l'\n assert.equal amqpdsl._password, 'p'\n ... | test/AmqpDsl-test.coffee | FGRibreau/node-amqp-dsl | 2 | #!/usr/bin/env node
vows = require("vows")
assert = require("assert")
AmqpDsl = require("../")
suite = vows.describe("AmqpDsl test")
suite.options.error = true
suite.addBatch
".login":
topic: -> AmqpDsl
"runs without issue": (cc) ->
assert.isObject cc.login()
assert.instanceOf cc.login(), Am... | 134761 | #!/usr/bin/env node
vows = require("vows")
assert = require("assert")
AmqpDsl = require("../")
suite = vows.describe("AmqpDsl test")
suite.options.error = true
suite.addBatch
".login":
topic: -> AmqpDsl
"runs without issue": (cc) ->
assert.isObject cc.login()
assert.instanceOf cc.login(), Am... | true | #!/usr/bin/env node
vows = require("vows")
assert = require("assert")
AmqpDsl = require("../")
suite = vows.describe("AmqpDsl test")
suite.options.error = true
suite.addBatch
".login":
topic: -> AmqpDsl
"runs without issue": (cc) ->
assert.isObject cc.login()
assert.instanceOf cc.login(), Am... |
[
{
"context": "# Copyright (c) 2012, Chi-En Wu\n# All rights reserved.\n#\n# Redistribution and use",
"end": 31,
"score": 0.9996604919433594,
"start": 22,
"tag": "NAME",
"value": "Chi-En Wu"
}
] | static/coffee/graph.coffee | israkir/Visualize-ConceptNet | 3 | # Copyright (c) 2012, Chi-En Wu
# All rights reserved.
#
# 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... | 107264 | # Copyright (c) 2012, <NAME>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and th... | true | # Copyright (c) 2012, PI:NAME:<NAME>END_PI
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of con... |
[
{
"context": "./lib/intercom')\n if level.get('slug') is 'wakka-maul'\n yield teacher.update({ $set: { \"studentMiles",
"end": 6403,
"score": 0.5684596300125122,
"start": 6399,
"tag": "NAME",
"value": "maul"
}
] | server/middleware/levels.coffee | Danielv123/codecombat | 0 | mongoose = require 'mongoose'
wrap = require 'co-express'
co = require 'co'
errors = require '../commons/errors'
Level = require '../models/Level'
LevelSession = require '../models/LevelSession'
Prepaid = require '../models/Prepaid'
CourseInstance = require '../models/CourseInstance'
Classroom = require '../models/Clas... | 170844 | mongoose = require 'mongoose'
wrap = require 'co-express'
co = require 'co'
errors = require '../commons/errors'
Level = require '../models/Level'
LevelSession = require '../models/LevelSession'
Prepaid = require '../models/Prepaid'
CourseInstance = require '../models/CourseInstance'
Classroom = require '../models/Clas... | true | mongoose = require 'mongoose'
wrap = require 'co-express'
co = require 'co'
errors = require '../commons/errors'
Level = require '../models/Level'
LevelSession = require '../models/LevelSession'
Prepaid = require '../models/Prepaid'
CourseInstance = require '../models/CourseInstance'
Classroom = require '../models/Clas... |
[
{
"context": " value\n return\n\nCTypeParser::lstypes = ->\n key = undefined\n ret = {}\n for key of @types\n continue if k",
"end": 18235,
"score": 0.9323746562004089,
"start": 18226,
"tag": "KEY",
"value": "undefined"
}
] | deps/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.coffee | lxe/io.coffee | 0 | #
# * rm - Feb 2011
# * ctype.js
# *
# * This module provides a simple abstraction towards reading and writing
# * different types of binary data. It is designed to use ctio.js and provide a
# * richer and more expressive API on top of it.
# *
# * By default we support the following as built in basic types:
# * int8_t
... | 161008 | #
# * rm - Feb 2011
# * ctype.js
# *
# * This module provides a simple abstraction towards reading and writing
# * different types of binary data. It is designed to use ctio.js and provide a
# * richer and more expressive API on top of it.
# *
# * By default we support the following as built in basic types:
# * int8_t
... | true | #
# * rm - Feb 2011
# * ctype.js
# *
# * This module provides a simple abstraction towards reading and writing
# * different types of binary data. It is designed to use ctio.js and provide a
# * richer and more expressive API on top of it.
# *
# * By default we support the following as built in basic types:
# * int8_t
... |
[
{
"context": "cated identity\n#\n# Notes:\n# None\n#\n# Author:\n# Paul Robison <paul@nosybore.net>\n\nmodule.exports = (robot) ->\n",
"end": 241,
"score": 0.9998676180839539,
"start": 229,
"tag": "NAME",
"value": "Paul Robison"
},
{
"context": "#\n# Notes:\n# None\n#\n# Author... | src/ingress-codebars.coffee | nosybore/hubot-ingress-codebars | 0 | # Description
# Encode player names that exploit sans-serif to obfuscate their identities.
#
# Configuration:
# None
#
# Commands:
# hubot cb <ABC> - translate ABC to obfuscated identity
#
# Notes:
# None
#
# Author:
# Paul Robison <paul@nosybore.net>
module.exports = (robot) ->
robot.respond /(codebar|cb)... | 49241 | # Description
# Encode player names that exploit sans-serif to obfuscate their identities.
#
# Configuration:
# None
#
# Commands:
# hubot cb <ABC> - translate ABC to obfuscated identity
#
# Notes:
# None
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.respond /(codebar|cb) (.+)/i, (res) -... | true | # Description
# Encode player names that exploit sans-serif to obfuscate their identities.
#
# Configuration:
# None
#
# Commands:
# hubot cb <ABC> - translate ABC to obfuscated identity
#
# Notes:
# None
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.respond ... |
[
{
"context": " Version: 0.1.1\n# * License: MIT / BSD\n# * By: Simon Waldherr\n# *\n# \n\n#jslint browser: true, indent: 2 \n\n#\n# R",
"end": 97,
"score": 0.9998847842216492,
"start": 83,
"tag": "NAME",
"value": "Simon Waldherr"
}
] | colorconverter.coffee | SimonWaldherr/ColorConverter.js | 21 | #
# *
# * ColorConverter .js
# * Version: 0.1.1
# * License: MIT / BSD
# * By: Simon Waldherr
# *
#
#jslint browser: true, indent: 2
#
# RGB2HSL
# HSL2RGB
# RGB2CMYK
# CMYK2RGB
# HEX2RGB
# RGB2HEX
# RGB2YUV
# YUV2RGB
# RGB2HSV
# HSV2RGB
# HSL2Hex
# Hex2HSL
# complexity2int
# mixRGB
# parse
#
colo... | 30418 | #
# *
# * ColorConverter .js
# * Version: 0.1.1
# * License: MIT / BSD
# * By: <NAME>
# *
#
#jslint browser: true, indent: 2
#
# RGB2HSL
# HSL2RGB
# RGB2CMYK
# CMYK2RGB
# HEX2RGB
# RGB2HEX
# RGB2YUV
# YUV2RGB
# RGB2HSV
# HSV2RGB
# HSL2Hex
# Hex2HSL
# complexity2int
# mixRGB
# parse
#
colorconv =
... | true | #
# *
# * ColorConverter .js
# * Version: 0.1.1
# * License: MIT / BSD
# * By: PI:NAME:<NAME>END_PI
# *
#
#jslint browser: true, indent: 2
#
# RGB2HSL
# HSL2RGB
# RGB2CMYK
# CMYK2RGB
# HEX2RGB
# RGB2HEX
# RGB2YUV
# YUV2RGB
# RGB2HSV
# HSV2RGB
# HSL2Hex
# Hex2HSL
# complexity2int
# mixRGB
# parse
... |
[
{
"context": " Backbone\n) ->\n\n ###*\n # @author David Bouman\n # @module App\n # @submodule ",
"end": 339,
"score": 0.9997648596763611,
"start": 327,
"tag": "NAME",
"value": "David Bouman"
}
] | generators/app/templates/src/models/api-service.coffee | marviq/generator-bat | 3 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
)
else if typeof define is 'function' and define.amd
define( [
'backbone'
], factory )
return
)((
Backbone
) ->
###*
# @author ... | 188399 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
)
else if typeof define is 'function' and define.amd
define( [
'backbone'
], factory )
return
)((
Backbone
) ->
###*
# @author ... | true | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
)
else if typeof define is 'function' and define.amd
define( [
'backbone'
], factory )
return
)((
Backbone
) ->
###*
# @author ... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998868107795715,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Filesystem/Filesystem.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
filesystem = use('fs');
path_helper = use('path');
Tools = use('@Konsserto/Component/St... | 131220 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
filesystem = use('fs');
path_helper = use('path');
Tools = use('@Konsserto/Component/Static/Tools');
# Fil... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
filesystem = use('fs');
path_helper = use('path');
Tools = use('@Konsserto/Com... |
[
{
"context": "ould process values\", ->\n val = @schema.val(\" Test@g.com \").val()\n equal val, \"test@g.com\"\n ok n",
"end": 447,
"score": 0.999921441078186,
"start": 437,
"tag": "EMAIL",
"value": "Test@g.com"
},
{
"context": "chema.val(\" Test@g.com \").val()\n ... | test/and.test.coffee | zzdhidden/EVE | 4 | {assert, ok, fail, equal, notEqual, deepEqual, notDeepEqual, strictEqual, notStrictEqual, eve} = require "./helper"
type = eve.type
describe "type", ->
describe "and", ->
beforeEach ->
@schema = type.and([ type.string().lowercase().notEmpty().len(3, 12), type.string().trim().notEmpty().email() ]) ... | 91493 | {assert, ok, fail, equal, notEqual, deepEqual, notDeepEqual, strictEqual, notStrictEqual, eve} = require "./helper"
type = eve.type
describe "type", ->
describe "and", ->
beforeEach ->
@schema = type.and([ type.string().lowercase().notEmpty().len(3, 12), type.string().trim().notEmpty().email() ]) ... | true | {assert, ok, fail, equal, notEqual, deepEqual, notDeepEqual, strictEqual, notStrictEqual, eve} = require "./helper"
type = eve.type
describe "type", ->
describe "and", ->
beforeEach ->
@schema = type.and([ type.string().lowercase().notEmpty().len(3, 12), type.string().trim().notEmpty().email() ]) ... |
[
{
"context": " Under MIT license, see LICENSE file for details\n Andrey Popp (c) 2013\n\n###\n\nBackbone = re",
"end": 105,
"score": 0.999833345413208,
"start": 94,
"tag": "NAME",
"value": "Andrey Popp"
}
] | ui/index.coffee | andreypopp/wall | 2 | ###*
UI entry point
@jsx React.DOM
Under MIT license, see LICENSE file for details
Andrey Popp (c) 2013
###
Backbone = require 'backbone'
BackboneQueryParameters = require 'backbone-query-parameters'
Backbone.$ = require 'jqueryify'
React ... | 218736 | ###*
UI entry point
@jsx React.DOM
Under MIT license, see LICENSE file for details
<NAME> (c) 2013
###
Backbone = require 'backbone'
BackboneQueryParameters = require 'backbone-query-parameters'
Backbone.$ = require 'jqueryify'
React = r... | true | ###*
UI entry point
@jsx React.DOM
Under MIT license, see LICENSE file for details
PI:NAME:<NAME>END_PI (c) 2013
###
Backbone = require 'backbone'
BackboneQueryParameters = require 'backbone-query-parameters'
Backbone.$ = require 'jqueryify'
React ... |
[
{
"context": "{@serverPort}\"\n auth:\n username: 'some-uuid'\n password: 'some-token'\n json:\n ",
"end": 1488,
"score": 0.9890213012695312,
"start": 1479,
"tag": "USERNAME",
"value": "some-uuid"
},
{
"context": " username: 'some-uuid'\n ... | test/integration/meshblu-otp-generate-spec.coffee | octoblu/meshblu-otp-service | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
shmock = require 'shmock'
mongojs = require 'mongojs'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
Encryption = require '../../src/services/encryption'
{priva... | 156124 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
shmock = require 'shmock'
mongojs = require 'mongojs'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
Encryption = require '../../src/services/encryption'
{priva... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
shmock = require 'shmock'
mongojs = require 'mongojs'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
Encryption = require '../../src/services/encryption'
{priva... |
[
{
"context": " name: 'item1'\n hkeys: [\n 'sample1'\n 'sample2'\n ]\n sele",
"end": 6100,
"score": 0.9068337082862854,
"start": 6093,
"tag": "KEY",
"value": "sample1"
},
{
"context": " hkeys: [\n 'sample1'\n ... | coffee_src/components/config_card.coffee | pluripotency/react-parcel-coffee | 0 | h = require 'react-hyperscript'
React = require 'react'
_ = require 'lodash'
class HostTable extends React.Component
constructor: (props) ->
super arguments...
@state =
search: ''
editing_row: ''
reorder: false
temp_rows: []
rows: props.hosts
input_search: (value)=>
@se... | 144972 | h = require 'react-hyperscript'
React = require 'react'
_ = require 'lodash'
class HostTable extends React.Component
constructor: (props) ->
super arguments...
@state =
search: ''
editing_row: ''
reorder: false
temp_rows: []
rows: props.hosts
input_search: (value)=>
@se... | true | h = require 'react-hyperscript'
React = require 'react'
_ = require 'lodash'
class HostTable extends React.Component
constructor: (props) ->
super arguments...
@state =
search: ''
editing_row: ''
reorder: false
temp_rows: []
rows: props.hosts
input_search: (value)=>
@se... |
[
{
"context": "\n rm \"-rf\", \"guanlecoja-ui\"\n exec \"git clone git@github.com:buildbot/guanlecoja-ui.git\"\n bower_json =\n ",
"end": 444,
"score": 0.8591899871826172,
"start": 430,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": "guanlecoja-ui\"\n exec \"... | guanlecoja/config.coffee | uglycoyote/guanlecoja-ui | 1 | ### ###############################################################################################
#
# This module contains all configuration for the build process
#
### ###############################################################################################
ANGULAR_TAG = "~1.5.3"
gulp = require("gulp")
requ... | 25696 | ### ###############################################################################################
#
# This module contains all configuration for the build process
#
### ###############################################################################################
ANGULAR_TAG = "~1.5.3"
gulp = require("gulp")
requ... | true | ### ###############################################################################################
#
# This module contains all configuration for the build process
#
### ###############################################################################################
ANGULAR_TAG = "~1.5.3"
gulp = require("gulp")
requ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999111294746399,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/achievement-badge.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 * as React from 'react'
import { Img2x } from 'img2x'
import { div, img } from 'react-dom-factories'
el = React.createElement
export clas... | 135114 | # 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 * as React from 'react'
import { Img2x } from 'img2x'
import { div, img } from 'react-dom-factories'
el = React.createElement
export class Achie... | 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 * as React from 'react'
import { Img2x } from 'img2x'
import { div, img } from 'react-dom-factories'
el = React.createElement
exp... |
[
{
"context": "Each ->\n process.env.HUBOT_ESA_ACCESS_TOKEN = 'dummy'\n process.env.HUBOT_ESA_TEAM = 'ginger'\n pr",
"end": 464,
"score": 0.6873047947883606,
"start": 459,
"tag": "KEY",
"value": "dummy"
},
{
"context": " process.env.HUBOT_ESA_WEBHOOK_SECRET_TOKEN = 'purrs'... | test/esa-test.coffee | hmsk/hubot-esa | 9 | Helper = require('hubot-test-helper')
chai = require 'chai'
http = require 'http'
nock = require 'nock'
fs = require 'fs'
crypto = require 'crypto'
expect = chai.expect
helper = new Helper('../src/esa.coffee')
process.env.EXPRESS_PORT = 8039
describe 'esa', ->
room = null
esaDeliveryKeyOfBrain = 'esaWebhookDeliv... | 154091 | Helper = require('hubot-test-helper')
chai = require 'chai'
http = require 'http'
nock = require 'nock'
fs = require 'fs'
crypto = require 'crypto'
expect = chai.expect
helper = new Helper('../src/esa.coffee')
process.env.EXPRESS_PORT = 8039
describe 'esa', ->
room = null
esaDeliveryKeyOfBrain = 'esaWebhookDeliv... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
http = require 'http'
nock = require 'nock'
fs = require 'fs'
crypto = require 'crypto'
expect = chai.expect
helper = new Helper('../src/esa.coffee')
process.env.EXPRESS_PORT = 8039
describe 'esa', ->
room = null
esaDeliveryKeyOfBrain = 'esaWebhookDeliv... |
[
{
"context": "iew Tests for no-negated-condition rule.\n# @author Alberto Rodríguez\n###\n'use strict'\n\n#------------------------------",
"end": 85,
"score": 0.9998549818992615,
"start": 68,
"tag": "NAME",
"value": "Alberto Rodríguez"
}
] | src/tests/rules/no-negated-condition.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-negated-condition rule.
# @author Alberto Rodríguez
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-negated-c... | 47919 | ###*
# @fileoverview Tests for no-negated-condition rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-negated-condition'
{... | true | ###*
# @fileoverview Tests for no-negated-condition rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-negate... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989864230155945,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-zlib-write-after-flush.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... | 147233 | # 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.