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": " @model = new Course({\n name: \"Greek Hero\"\n })\n\n it \"should take ",
"end": 193,
"score": 0.6101698279380798,
"start": 183,
"tag": "NAME",
"value": "Greek Hero"
}
] | work-files/install-native/cms/static/coffee/spec/models/course_spec.coffee | lpm0073/netec-edx-theme | 0 | define ["js/models/course"], (Course) ->
describe "Course", ->
describe "basic", ->
beforeEach ->
@model = new Course({
name: "Greek Hero"
})
it "should take a name argument", ->
expect(@model.get("name")).toEqual("Gree... | 221758 | define ["js/models/course"], (Course) ->
describe "Course", ->
describe "basic", ->
beforeEach ->
@model = new Course({
name: "<NAME>"
})
it "should take a name argument", ->
expect(@model.get("name")).toEqual("Greek He... | true | define ["js/models/course"], (Course) ->
describe "Course", ->
describe "basic", ->
beforeEach ->
@model = new Course({
name: "PI:NAME:<NAME>END_PI"
})
it "should take a name argument", ->
expect(@model.get("name")).toE... |
[
{
"context": "rname\n digest = @params.query.digest\n password = @params.query.password\n\n headers =\n 'Content-type': 'application/jso",
"end": 921,
"score": 0.9857516288757324,
"start": 899,
"tag": "PASSWORD",
"value": "@params.query.password"
}
] | src/packages/carpool-api/carpool-api-authorization.coffee | ArnoldasSid/vilnius-carpool | 11 | @apiSecurity = new ApiSecurity
errorWrapper = (fn)->
headers =
'Content-type': 'application/json; charset=utf-8'
try
#da ["carpool-api"], "Wrapping function", arguments
result = fn.apply(this, arguments);
@response.writeHead(200, headers);
@response.end(JSON.stringify(result), "utf-8");
catch... | 186970 | @apiSecurity = new ApiSecurity
errorWrapper = (fn)->
headers =
'Content-type': 'application/json; charset=utf-8'
try
#da ["carpool-api"], "Wrapping function", arguments
result = fn.apply(this, arguments);
@response.writeHead(200, headers);
@response.end(JSON.stringify(result), "utf-8");
catch... | true | @apiSecurity = new ApiSecurity
errorWrapper = (fn)->
headers =
'Content-type': 'application/json; charset=utf-8'
try
#da ["carpool-api"], "Wrapping function", arguments
result = fn.apply(this, arguments);
@response.writeHead(200, headers);
@response.end(JSON.stringify(result), "utf-8");
catch... |
[
{
"context": " return\n \n await sendEmail @gmail, {\n from: \"SorBOT 3 <bot.sorbonne.jussieu@gmail.com>\"\n to: email\n ",
"end": 2069,
"score": 0.8999636769294739,
"start": 2061,
"tag": "USERNAME",
"value": "SorBOT 3"
},
{
"context": "\n await sendEmail @gmail, {\n from... | src/mail/verifyEmail.coffee | Speykious/sorbot | 2 | { GUILDS, FOOTER } = require "../constants"
{ logf, LOG, formatCrisis, formatUser } = require "../logging"
{ readf } = require "../helpers"
{ UniqueConstraintError } = require "sequelize"
sendEmail = require "./sendEmail"
sen... | 91812 | { GUILDS, FOOTER } = require "../constants"
{ logf, LOG, formatCrisis, formatUser } = require "../logging"
{ readf } = require "../helpers"
{ UniqueConstraintError } = require "sequelize"
sendEmail = require "./sendEmail"
sen... | true | { GUILDS, FOOTER } = require "../constants"
{ logf, LOG, formatCrisis, formatUser } = require "../logging"
{ readf } = require "../helpers"
{ UniqueConstraintError } = require "sequelize"
sendEmail = require "./sendEmail"
sen... |
[
{
"context": "\n\t#\"C:\\Users\\Aaron\\Desktop\\learn_0.csv\" \"C:\\Users\\Aaron\\Desktop\\learn_0_pheno.csv\" \n\t#\"C:\\Users\\Aaron",
"end": 2789,
"score": 0.5430577993392944,
"start": 2788,
"tag": "NAME",
"value": "A"
}
] | web/js/main.coffee | SNP-team/SNP-pipeline-node | 0 | socket = io('http://localhost:8080')
socket.on 'log', (data)->
$("#log").append "<li class='list-group-item'>#{data}</li>"
socket.on 'err', (data)->
$("#log").append "<li class='list-group-item list-group-item-danger' >#{data}</li>"
run00= ()->
homedir = $("#homedir").val()
groupname = $("#groupname").val()
fil... | 8958 | socket = io('http://localhost:8080')
socket.on 'log', (data)->
$("#log").append "<li class='list-group-item'>#{data}</li>"
socket.on 'err', (data)->
$("#log").append "<li class='list-group-item list-group-item-danger' >#{data}</li>"
run00= ()->
homedir = $("#homedir").val()
groupname = $("#groupname").val()
fil... | true | socket = io('http://localhost:8080')
socket.on 'log', (data)->
$("#log").append "<li class='list-group-item'>#{data}</li>"
socket.on 'err', (data)->
$("#log").append "<li class='list-group-item list-group-item-danger' >#{data}</li>"
run00= ()->
homedir = $("#homedir").val()
groupname = $("#groupname").val()
fil... |
[
{
"context": " @props, @state,\n itemId: id\n key: \"activity-item-#{id}\"\n unless list.length > 0\n list = DOM.div",
"end": 2718,
"score": 0.987123966217041,
"start": 2700,
"tag": "KEY",
"value": "activity-item-#{id"
}
] | src/components/stream.coffee | brianshaler/kerplunk-stream | 0 | _ = require 'lodash'
React = require 'react'
ReactiveData = require 'reactive-data'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
ids = _.compact _.map (@props.data ? []), '_id'
ids: ids
latestUpdatedAt: null
oldestPost: null
threshold: @props.threshol... | 139597 | _ = require 'lodash'
React = require 'react'
ReactiveData = require 'reactive-data'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
ids = _.compact _.map (@props.data ? []), '_id'
ids: ids
latestUpdatedAt: null
oldestPost: null
threshold: @props.threshol... | true | _ = require 'lodash'
React = require 'react'
ReactiveData = require 'reactive-data'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
ids = _.compact _.map (@props.data ? []), '_id'
ids: ids
latestUpdatedAt: null
oldestPost: null
threshold: @props.threshol... |
[
{
"context": "'name': 'Galen Test'\n'scopeName': 'source.galen-s'\n'fileTypes': ['gsp",
"end": 19,
"score": 0.9985118508338928,
"start": 9,
"tag": "NAME",
"value": "Galen Test"
}
] | grammars/gspec.cson | betorina/language-galen-v2 | 0 | 'name': 'Galen Test'
'scopeName': 'source.galen-s'
'fileTypes': ['gspec']
'patterns': [
{
'include': '#comment'
}
{
'include': '#spec'
}
{
'include': '#spec-param'
}
{
'include': '#object'
}
{
'include': '#object-prop'
}
{
'include': '#group'
}
{
'include': '#test'
... | 200602 | 'name': '<NAME>'
'scopeName': 'source.galen-s'
'fileTypes': ['gspec']
'patterns': [
{
'include': '#comment'
}
{
'include': '#spec'
}
{
'include': '#spec-param'
}
{
'include': '#object'
}
{
'include': '#object-prop'
}
{
'include': '#group'
}
{
'include': '#test'
}
... | true | 'name': 'PI:NAME:<NAME>END_PI'
'scopeName': 'source.galen-s'
'fileTypes': ['gspec']
'patterns': [
{
'include': '#comment'
}
{
'include': '#spec'
}
{
'include': '#spec-param'
}
{
'include': '#object'
}
{
'include': '#object-prop'
}
{
'include': '#group'
}
{
'include'... |
[
{
"context": "ypathForKey(newContextKey)\n if keypath[0] == '$root'\n context = rootContext\n keypath = keyp",
"end": 1597,
"score": 0.7911221981048584,
"start": 1593,
"tag": "KEY",
"value": "root"
}
] | twin-play/bower_components/twine/lib/assets/javascripts/twine.js.coffee | Williammer/lab_experiments | 0 | window.Twine = {}
Twine.shouldDiscardEvent = {}
# Map of node binding ids to objects that describe a node's bindings.
elements = {}
# The number of nodes bound since the last call to Twine.reset().
# Used to determine the next binding id.
nodeCount = 0
# Storage for all bindable data, provided by the caller of Twine... | 178571 | window.Twine = {}
Twine.shouldDiscardEvent = {}
# Map of node binding ids to objects that describe a node's bindings.
elements = {}
# The number of nodes bound since the last call to Twine.reset().
# Used to determine the next binding id.
nodeCount = 0
# Storage for all bindable data, provided by the caller of Twine... | true | window.Twine = {}
Twine.shouldDiscardEvent = {}
# Map of node binding ids to objects that describe a node's bindings.
elements = {}
# The number of nodes bound since the last call to Twine.reset().
# Used to determine the next binding id.
nodeCount = 0
# Storage for all bindable data, provided by the caller of Twine... |
[
{
"context": "on't work reliable in phantomjs\n\n\t\t\ttext = \"Hello Koen Bok\"\n\t\t\tstyle = {font: \"20px/1em Menlo\"}\n\n\t\t\t# it \"sh",
"end": 7919,
"score": 0.998469352722168,
"start": 7911,
"tag": "NAME",
"value": "Koen Bok"
},
{
"context": "uld.equal(true)\n\t\t\tUtils.is... | test/tests/UtilsTest.coffee | ig-la/Framer | 3,817 | require('es6-promise').polyfill()
assert = require "assert"
describe "Utils", ->
describe "valueOrDefault", ->
it "should get a value", ->
Utils.valueOrDefault(10, 0).should.equal 10
it "should get the default value", ->
Utils.valueOrDefault(null, 0).should.equal 0
# it "should get the fallback value"... | 44611 | require('es6-promise').polyfill()
assert = require "assert"
describe "Utils", ->
describe "valueOrDefault", ->
it "should get a value", ->
Utils.valueOrDefault(10, 0).should.equal 10
it "should get the default value", ->
Utils.valueOrDefault(null, 0).should.equal 0
# it "should get the fallback value"... | true | require('es6-promise').polyfill()
assert = require "assert"
describe "Utils", ->
describe "valueOrDefault", ->
it "should get a value", ->
Utils.valueOrDefault(10, 0).should.equal 10
it "should get the default value", ->
Utils.valueOrDefault(null, 0).should.equal 0
# it "should get the fallback value"... |
[
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998840093612671,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
}
] | test/case.test.coffee | martianboy/squel | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.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 to use,
copy, modify, merge, publish... | 140565 | ###
Copyright (c) 2014 <NAME> (hiddentao.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 to use,
copy, modify, merge, publish, dis... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.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 to use,
copy, modify, merge... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998663067817688,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/API/EmojiCache.coffee | DiaxManPl/DEmojiJS | 24 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
FS = require "fs"
Path = require "path"
JSONDB = require "node-json-db"
JSONConfig = require "node-json-db/dist/lib/JsonDBConfig"
module.exports = new class EmojiCache
constructor... | 192079 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
FS = require "fs"
Path = require "path"
JSONDB = require "node-json-db"
JSONConfig = require "node-json-db/dist/lib/JsonDBConfig"
module.exports = new class EmojiCache
constructor: ()... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
FS = require "fs"
Path = require "path"
JSONDB = require "node-json-db"
JSONConfig = require "node-json-db/dist/lib/JsonDBConfig"
module.exports = new class Em... |
[
{
"context": " localStorage.setItem \"password\", query.password\n Index.app.showUrl \"/m",
"end": 688,
"score": 0.9908793568611145,
"start": 674,
"tag": "PASSWORD",
"value": "query.password"
},
{
"context": "userid: query.userId\n ... | client/code/pages/top.coffee | absent132/jinrou | 53 | toppage_view = null
exports.start=->
pi18n = JinrouFront.loadDefaultI18n()
papp = JinrouFront.loadTopPage()
Promise.all([pi18n, papp]).then ([i18n, app])->
toppage_view = app.place {
i18n: i18n
node: $("#top-app").get 0
onLogin: (query)->
new Pro... | 97762 | toppage_view = null
exports.start=->
pi18n = JinrouFront.loadDefaultI18n()
papp = JinrouFront.loadTopPage()
Promise.all([pi18n, papp]).then ([i18n, app])->
toppage_view = app.place {
i18n: i18n
node: $("#top-app").get 0
onLogin: (query)->
new Pro... | true | toppage_view = null
exports.start=->
pi18n = JinrouFront.loadDefaultI18n()
papp = JinrouFront.loadTopPage()
Promise.all([pi18n, papp]).then ([i18n, app])->
toppage_view = app.place {
i18n: i18n
node: $("#top-app").get 0
onLogin: (query)->
new Pro... |
[
{
"context": "name (phone number for DMSOs)?\"\n username = \"user.#{username}\"\n password = prompt \"What is the ne",
"end": 344,
"score": 0.959887683391571,
"start": 340,
"tag": "USERNAME",
"value": "user"
},
{
"context": "hone number for DMSOs)?\"\n username = \"us... | _attachments/app/views/UsersView.coffee | jongoz/coconut-analytice | 3 | crypto = require('crypto')
Tabulator = require 'tabulator-tables'
class UsersView extends Backbone.View
el:'#content'
events:
"click button#addUser": "addUser"
"click button#resetPassword": "resetPassword"
addUser: =>
username = prompt "What is the new username (phone number for DMSOs)?... | 61445 | crypto = require('crypto')
Tabulator = require 'tabulator-tables'
class UsersView extends Backbone.View
el:'#content'
events:
"click button#addUser": "addUser"
"click button#resetPassword": "resetPassword"
addUser: =>
username = prompt "What is the new username (phone number for DMSOs)?... | true | crypto = require('crypto')
Tabulator = require 'tabulator-tables'
class UsersView extends Backbone.View
el:'#content'
events:
"click button#addUser": "addUser"
"click button#resetPassword": "resetPassword"
addUser: =>
username = prompt "What is the new username (phone number for DMSOs)?... |
[
{
"context": "---------------------------------------\nauthor: [Takeharu Oshida](http://about.me/takeharu.oshida)\nversion: 0.1\nli",
"end": 109,
"score": 0.9998905658721924,
"start": 94,
"tag": "NAME",
"value": "Takeharu Oshida"
},
{
"context": "------\nauthor: [Takeharu Oshida](h... | src/coffee/client/slideBaseClient-plugin-gaya.coffee | georgeOsdDev/SlideBase | 0 | ###
slideBaseClient-plugin-gaya.js
------------------------------------------------
author: [Takeharu Oshida](http://about.me/takeharu.oshida)
version: 0.1
licence: [MIT](http://opensource.org/licenses/mit-license.php)
###
gaya = new sbClient.Model.Plugin
name: "gaya"
element: """
<div id='#gaya' class='plugin... | 162134 | ###
slideBaseClient-plugin-gaya.js
------------------------------------------------
author: [<NAME>](http://about.me/takeharu.oshida)
version: 0.1
licence: [MIT](http://opensource.org/licenses/mit-license.php)
###
gaya = new sbClient.Model.Plugin
name: "gaya"
element: """
<div id='#gaya' class='pluginOption'>
... | true | ###
slideBaseClient-plugin-gaya.js
------------------------------------------------
author: [PI:NAME:<NAME>END_PI](http://about.me/takeharu.oshida)
version: 0.1
licence: [MIT](http://opensource.org/licenses/mit-license.php)
###
gaya = new sbClient.Model.Plugin
name: "gaya"
element: """
<div id='#gaya' class='p... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998891949653625,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/user-settings/lightboxes.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 173358 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998526573181152,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/sessions/sessionstep.controller.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# 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 l... | 127873 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "\n answers: ['Balboa', 'DeSoto', 'Magellan', 'Ponce de Leon']\n },\n\n {\n category: ''\n firstLin",
"end": 3620,
"score": 0.9938582181930542,
"start": 3607,
"tag": "NAME",
"value": "Ponce de Leon"
},
{
"context": "c Ocean was:'\n lastLine: ''\... | app/js/common/providers/questions.coffee | learric/CollegiateRivals | 0 | angular.module("ionicstarter")
.provider 'QuestionProvider', ->
questions = [
{
category: ''
firstLine: 'A raised, level piece of land:'
lastLine: ''
answers: ['canyon', 'plain', 'valley', 'plateau']
},
{
category: ''
firstLine: 'A long, low place between hills or mou... | 109524 | angular.module("ionicstarter")
.provider 'QuestionProvider', ->
questions = [
{
category: ''
firstLine: 'A raised, level piece of land:'
lastLine: ''
answers: ['canyon', 'plain', 'valley', 'plateau']
},
{
category: ''
firstLine: 'A long, low place between hills or mou... | true | angular.module("ionicstarter")
.provider 'QuestionProvider', ->
questions = [
{
category: ''
firstLine: 'A raised, level piece of land:'
lastLine: ''
answers: ['canyon', 'plain', 'valley', 'plateau']
},
{
category: ''
firstLine: 'A long, low place between hills or mou... |
[
{
"context": "er = require 'nschedule';\n{filter} = require 'fuzzaldrin'\n{View, TextEditorView} = require 'atom-space-pen",
"end": 118,
"score": 0.8402263522148132,
"start": 112,
"tag": "USERNAME",
"value": "aldrin"
},
{
"context": "n '', {class: 'highlight-info username', outlet: '... | lib/views/container-view.coffee | morassman/atom-commander | 43 | fs = require 'fs-plus'
minimatch = require 'minimatch'
Scheduler = require 'nschedule';
{filter} = require 'fuzzaldrin'
{View, TextEditorView} = require 'atom-space-pen-views'
{CompositeDisposable, Directory} = require 'atom'
FileController = require '../controllers/file-controller'
DirectoryController = require '../co... | 133427 | fs = require 'fs-plus'
minimatch = require 'minimatch'
Scheduler = require 'nschedule';
{filter} = require 'fuzzaldrin'
{View, TextEditorView} = require 'atom-space-pen-views'
{CompositeDisposable, Directory} = require 'atom'
FileController = require '../controllers/file-controller'
DirectoryController = require '../co... | true | fs = require 'fs-plus'
minimatch = require 'minimatch'
Scheduler = require 'nschedule';
{filter} = require 'fuzzaldrin'
{View, TextEditorView} = require 'atom-space-pen-views'
{CompositeDisposable, Directory} = require 'atom'
FileController = require '../controllers/file-controller'
DirectoryController = require '../co... |
[
{
"context": " upyun cdn, compared by md5\n#\n# Copyright (c) 2013 yi\n# Licensed under the MIT license.\n##\n\nfs = requi",
"end": 153,
"score": 0.5085923671722412,
"start": 152,
"tag": "NAME",
"value": "y"
},
{
"context": "pyun cdn, compared by md5\n#\n# Copyright (c) 2013 yi\n# Li... | bin/upsyncer.coffee | yi/upyun-assets-syncer | 1 | #!/usr/bin/env coffee
##
# upyun-assets-syncer
# a configurable node script to synce local assets to upyun cdn, compared by md5
#
# Copyright (c) 2013 yi
# Licensed under the MIT license.
##
fs = require "fs"
p = require "commander"
walk = require "walk"
_ = require "underscore"
async = require "async"
checksum = req... | 88033 | #!/usr/bin/env coffee
##
# upyun-assets-syncer
# a configurable node script to synce local assets to upyun cdn, compared by md5
#
# Copyright (c) 2013 <NAME>i
# Licensed under the MIT license.
##
fs = require "fs"
p = require "commander"
walk = require "walk"
_ = require "underscore"
async = require "async"
checksum ... | true | #!/usr/bin/env coffee
##
# upyun-assets-syncer
# a configurable node script to synce local assets to upyun cdn, compared by md5
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PIi
# Licensed under the MIT license.
##
fs = require "fs"
p = require "commander"
walk = require "walk"
_ = require "underscore"
async = require "as... |
[
{
"context": "gin that you cannot find the answer for? Contact 'thijs17' and we will try to answer you. If you are famili",
"end": 6176,
"score": 0.9995599389076233,
"start": 6169,
"tag": "USERNAME",
"value": "thijs17"
},
{
"context": "r GitHub repository: \"\n\tDom.a \"https://githu... | client.coffee | VincentSmit/Ontwerpproject | 0 | Db = require 'db'
Time = require 'time'
Dom = require 'dom'
Modal = require 'modal'
Obs = require 'obs'
Plugin = require 'plugin'
Page = require 'page'
Server = require 'server'
Ui = require 'ui'
CSS = require 'css'
Geoloc = require 'geoloc'
Form = require 'form'
Icon = require 'icon'
Toast = require 'toast'
Event = re... | 42808 | Db = require 'db'
Time = require 'time'
Dom = require 'dom'
Modal = require 'modal'
Obs = require 'obs'
Plugin = require 'plugin'
Page = require 'page'
Server = require 'server'
Ui = require 'ui'
CSS = require 'css'
Geoloc = require 'geoloc'
Form = require 'form'
Icon = require 'icon'
Toast = require 'toast'
Event = re... | true | Db = require 'db'
Time = require 'time'
Dom = require 'dom'
Modal = require 'modal'
Obs = require 'obs'
Plugin = require 'plugin'
Page = require 'page'
Server = require 'server'
Ui = require 'ui'
CSS = require 'css'
Geoloc = require 'geoloc'
Form = require 'form'
Icon = require 'icon'
Toast = require 'toast'
Event = re... |
[
{
"context": "omething about tridanemer\n\ntridanemers = [\n \"i am tridanemer\",\n \"iam trindamer i am good\",\n \"why band trinda",
"end": 171,
"score": 0.8543432950973511,
"start": 161,
"tag": "NAME",
"value": "tridanemer"
},
{
"context": "er\n\ntridanemers = [\n \"i am trida... | scripts/tridnamer.coffee | RiotGamesMinions/lefay | 7 | # http://www.reddit.com/r/leagueoflegends/comments/n162l/how_to_lose_at_champion_select/
#
# jhunio me - say something about tridanemer
tridanemers = [
"i am tridanemer",
"iam trindamer i am good",
"why band trindamere",
"i say i am tridnamere",
"no band trindamere",
"i say i trindamer",
"i am tridnamer"... | 62926 | # http://www.reddit.com/r/leagueoflegends/comments/n162l/how_to_lose_at_champion_select/
#
# jhunio me - say something about tridanemer
tridanemers = [
"i am <NAME>",
"iam tr<NAME>amer i am good",
"why band trindamere",
"i say i am tridnamere",
"no band trindamere",
"i say i trindamer",
"i am tridnamer"
... | true | # http://www.reddit.com/r/leagueoflegends/comments/n162l/how_to_lose_at_champion_select/
#
# jhunio me - say something about tridanemer
tridanemers = [
"i am PI:NAME:<NAME>END_PI",
"iam trPI:NAME:<NAME>END_PIamer i am good",
"why band trindamere",
"i say i am tridnamere",
"no band trindamere",
"i say i tri... |
[
{
"context": "assert = require 'assert'\n\nboston =\n\t_id: 'boston'\n\tname: 'Boston'\n\tteam: 'Bruins'\n\tabbr: 'BOS'\n\tic",
"end": 49,
"score": 0.740246057510376,
"start": 43,
"tag": "USERNAME",
"value": "boston"
},
{
"context": "require 'assert'\n\nboston =\n\t_id: 'boston'\n\tn... | endpoints/teams.coffee | BS-Harou/hockey-backend | 0 | assert = require 'assert'
boston =
_id: 'boston'
name: 'Boston'
team: 'Bruins'
abbr: 'BOS'
icon: 'boston.svg'
montreal =
_id: 'montreal'
name: 'Montreal'
team: 'Canadiens'
abbr: 'MTL'
icon: 'montreal.svg'
philadelphia =
_id: 'philadelphia'
name: 'Philadelphia'
team: 'Flyers'
abbr: 'PHI'
icon: 'philade... | 196948 | assert = require 'assert'
boston =
_id: 'boston'
name: '<NAME>'
team: 'Bruins'
abbr: 'BOS'
icon: 'boston.svg'
montreal =
_id: 'montreal'
name: '<NAME>'
team: 'Canadiens'
abbr: 'MTL'
icon: 'montreal.svg'
philadelphia =
_id: 'philadelphia'
name: '<NAME>'
team: 'Flyers'
abbr: 'PHI'
icon: 'philadelphia.sv... | true | assert = require 'assert'
boston =
_id: 'boston'
name: 'PI:NAME:<NAME>END_PI'
team: 'Bruins'
abbr: 'BOS'
icon: 'boston.svg'
montreal =
_id: 'montreal'
name: 'PI:NAME:<NAME>END_PI'
team: 'Canadiens'
abbr: 'MTL'
icon: 'montreal.svg'
philadelphia =
_id: 'philadelphia'
name: 'PI:NAME:<NAME>END_PI'
team: 'Fl... |
[
{
"context": "ptions:\n banner: '/* Copyright (c) 2014 Djuri Baars, 2011 Sean Cusack, License: MIT */'\n p",
"end": 97,
"score": 0.9998900294303894,
"start": 86,
"tag": "NAME",
"value": "Djuri Baars"
},
{
"context": " banner: '/* Copyright (c) 2014 Djuri Baars,... | config/uglify.coffee | dsbaars/jq-ui-draggable-collision | 15 | module.exports =
min:
options:
banner: '/* Copyright (c) 2014 Djuri Baars, 2011 Sean Cusack, License: MIT */'
preserveComments: false
compress: true
sourceMap: true
files:
"dist/jquery-ui-draggable-collision.min.js": "js/jquery-ui-draggable... | 145175 | module.exports =
min:
options:
banner: '/* Copyright (c) 2014 <NAME>, 2011 <NAME>, License: MIT */'
preserveComments: false
compress: true
sourceMap: true
files:
"dist/jquery-ui-draggable-collision.min.js": "js/jquery-ui-draggable-collision... | true | module.exports =
min:
options:
banner: '/* Copyright (c) 2014 PI:NAME:<NAME>END_PI, 2011 PI:NAME:<NAME>END_PI, License: MIT */'
preserveComments: false
compress: true
sourceMap: true
files:
"dist/jquery-ui-draggable-collision.min.js": "js/j... |
[
{
"context": "e \"#{@roleDir}/defaults/main.yml\", template({name: @name})\n\t\t\n\t\t# Meta\n\t\t@mkdir \"#{@roleDir}/meta\"\n\t\tt",
"end": 1727,
"score": 0.928386390209198,
"start": 1727,
"tag": "NAME",
"value": ""
},
{
"context": "\"#{@roleDir}/defaults/main.yml\", template({name... | generators/role/index.coffee | dischord01/generator-ansible-dev | 2 | util = require 'util'
path = require 'path'
generators = require 'yeoman-generator'
handlebars = require 'handlebars'
module.exports = class AnsibleGenerator extends generators.NamedBase
constructor: (args, options, config) ->
generators.Base.apply(@, arguments)
@name = @args[0]
askFor: ->
cb = @async()
... | 121569 | util = require 'util'
path = require 'path'
generators = require 'yeoman-generator'
handlebars = require 'handlebars'
module.exports = class AnsibleGenerator extends generators.NamedBase
constructor: (args, options, config) ->
generators.Base.apply(@, arguments)
@name = @args[0]
askFor: ->
cb = @async()
... | true | util = require 'util'
path = require 'path'
generators = require 'yeoman-generator'
handlebars = require 'handlebars'
module.exports = class AnsibleGenerator extends generators.NamedBase
constructor: (args, options, config) ->
generators.Base.apply(@, arguments)
@name = @args[0]
askFor: ->
cb = @async()
... |
[
{
"context": " username: $scope.username\n password: $scope.password\n\n $scope.login_in_progress = true\n\n api",
"end": 635,
"score": 0.977907121181488,
"start": 621,
"tag": "PASSWORD",
"value": "scope.password"
}
] | coffeescript/public/js/directives/login.coffee | purple-circle/chat | 0 | app = angular.module('app')
app.directive 'login', (api, accountData) ->
templateUrl: 'directives/chat/login.html'
restrict: 'E'
link: ($scope, element, attrs) ->
$scope.username = api.getUsername()
api
.socket
.on 'login_error', (error) ->
$scope.login_in_progress = false
$sc... | 144798 | app = angular.module('app')
app.directive 'login', (api, accountData) ->
templateUrl: 'directives/chat/login.html'
restrict: 'E'
link: ($scope, element, attrs) ->
$scope.username = api.getUsername()
api
.socket
.on 'login_error', (error) ->
$scope.login_in_progress = false
$sc... | true | app = angular.module('app')
app.directive 'login', (api, accountData) ->
templateUrl: 'directives/chat/login.html'
restrict: 'E'
link: ($scope, element, attrs) ->
$scope.username = api.getUsername()
api
.socket
.on 'login_error', (error) ->
$scope.login_in_progress = false
$sc... |
[
{
"context": " = enums\n\n storylet 'employerStart',\n 'Mr. Brown\\'s last employer'\n '''\n Getting an appo",
"end": 226,
"score": 0.625590443611145,
"start": 221,
"tag": "NAME",
"value": "Brown"
},
{
"context": "treet slip, when you start\n talking about Mr. ... | src/coffee/game/employer.coffee | arashikou/exper3-2015 | 0 | angular.module 'gameDefinition.employerStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'employerStart',
'Mr. Brown\'s last employer'
'''
Getting an appointment isn't hard. The hard part is getting... | 113780 | angular.module 'gameDefinition.employerStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'employerStart',
'Mr. <NAME>\'s last employer'
'''
Getting an appointment isn't hard. The hard part is gettin... | true | angular.module 'gameDefinition.employerStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'employerStart',
'Mr. PI:NAME:<NAME>END_PI\'s last employer'
'''
Getting an appointment isn't hard. The hard ... |
[
{
"context": " case: 'rendering',\n commit: '34a844f96499cb5f8242038a2d81b6fe88a0752d',\n data: JSON.stringify({\n ",
"end": 1064,
"score": 0.7514144778251648,
"start": 1024,
"tag": "PASSWORD",
"value": "34a844f96499cb5f8242038a2d81b6fe88a0752d"
}
... | csat/visualization/assets/coffeescripts/benchmarks.coffee | GaretJax/csat | 0 | randchoice = (seq) ->
index = Math.floor(Math.random() * seq.length)
return seq[index]
class Console
constructor: (@container) ->
this.log('Log opened.')
log: (text) ->
this.last = $('<li/>').text(text).appendTo(this.container)
return this
llog: (text) ->
this.las... | 211237 | randchoice = (seq) ->
index = Math.floor(Math.random() * seq.length)
return seq[index]
class Console
constructor: (@container) ->
this.log('Log opened.')
log: (text) ->
this.last = $('<li/>').text(text).appendTo(this.container)
return this
llog: (text) ->
this.las... | true | randchoice = (seq) ->
index = Math.floor(Math.random() * seq.length)
return seq[index]
class Console
constructor: (@container) ->
this.log('Log opened.')
log: (text) ->
this.last = $('<li/>').text(text).appendTo(this.container)
return this
llog: (text) ->
this.las... |
[
{
"context": " \"birthday\", \"trials\", \"successes\"],\n [\"Nick\", \"male\", \"blue\", \"1982-11-07\", ",
"end": 112,
"score": 0.9998795986175537,
"start": 108,
"tag": "NAME",
"value": "Nick"
},
{
"context": "\", \"1982-11-07\", 103, 12]... | tests/pivot_spec.coffee | Sakuto/subtotal | 50 | fixtureData = [
["name", "gender", "colour", "birthday", "trials", "successes"],
["Nick", "male", "blue", "1982-11-07", 103, 12],
["Jane", "female", "red", "1982-11-08", 95, 25],
["John", "male", "blue", "1982-12-08", 112,... | 178795 | fixtureData = [
["name", "gender", "colour", "birthday", "trials", "successes"],
["<NAME>", "male", "blue", "1982-11-07", 103, 12],
["<NAME>", "female", "red", "1982-11-08", 95, 25],
["<NAME>", "male", "blue", "1982-12-08", ... | true | fixtureData = [
["name", "gender", "colour", "birthday", "trials", "successes"],
["PI:NAME:<NAME>END_PI", "male", "blue", "1982-11-07", 103, 12],
["PI:NAME:<NAME>END_PI", "female", "red", "1982-11-08", 95, 25],
["PI:NAME:<NAME>END_PI", ... |
[
{
"context": "runcation with html support.\n https://github.com/lbruney/ellipsis-verily\n\n @autor L. Bruney <859763852@qq",
"end": 87,
"score": 0.9950467348098755,
"start": 80,
"tag": "USERNAME",
"value": "lbruney"
},
{
"context": "tps://github.com/lbruney/ellipsis-verily\n\n @au... | src/ellipsis-verily.coffee | lbruney/ellipsis-verily | 1 | ###
A true plugin for text truncation with html support.
https://github.com/lbruney/ellipsis-verily
@autor L. Bruney <859763852@qq.com>
@version 2.0.5
@year 2016
###
class EllipsisVerily
constructor: (element, options) ->
defaults =
min: 300
delimiters:
tag: '♠'
break: ' '... | 177381 | ###
A true plugin for text truncation with html support.
https://github.com/lbruney/ellipsis-verily
@autor <NAME> <<EMAIL>>
@version 2.0.5
@year 2016
###
class EllipsisVerily
constructor: (element, options) ->
defaults =
min: 300
delimiters:
tag: '♠'
break: ' '
non... | true | ###
A true plugin for text truncation with html support.
https://github.com/lbruney/ellipsis-verily
@autor PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@version 2.0.5
@year 2016
###
class EllipsisVerily
constructor: (element, options) ->
defaults =
min: 300
delimiters:
tag: '♠'
... |
[
{
"context": "g to Json', ->\n data = 'ids[]=1&ids[]=2&name=siren'\n json =\n 'ids': [1,2]\n 'name'",
"end": 955,
"score": 0.9957473874092102,
"start": 950,
"tag": "NAME",
"value": "siren"
},
{
"context": " json =\n 'ids': [1,2]\n 'name': 'si... | src/modules/siren-browser/services/actionsUtilsSpec.coffee | applicaster/siren-browser | 4 | describe "SirenBrowser.actionsUtils", ->
require "../siren-browser.coffee"
require "./actionsUtils.coffee"
actionsUtils = undefined
beforeEach(window.angular.mock.module("SirenBrowser"))
beforeEach inject(($injector) ->
actionsUtils = $injector.get("actionsUtils")
)
describe "resolveFormContentType", ... | 119586 | describe "SirenBrowser.actionsUtils", ->
require "../siren-browser.coffee"
require "./actionsUtils.coffee"
actionsUtils = undefined
beforeEach(window.angular.mock.module("SirenBrowser"))
beforeEach inject(($injector) ->
actionsUtils = $injector.get("actionsUtils")
)
describe "resolveFormContentType", ... | true | describe "SirenBrowser.actionsUtils", ->
require "../siren-browser.coffee"
require "./actionsUtils.coffee"
actionsUtils = undefined
beforeEach(window.angular.mock.module("SirenBrowser"))
beforeEach inject(($injector) ->
actionsUtils = $injector.get("actionsUtils")
)
describe "resolveFormContentType", ... |
[
{
"context": "# Connect CORS\n# Copyright (c) 2010 Antono Vasiljev\n# MIT Licensed\n\"use strict\"\n\nurl = require(\"url\")",
"end": 51,
"score": 0.9998764395713806,
"start": 36,
"tag": "NAME",
"value": "Antono Vasiljev"
}
] | lib/connect-cors.coffee | mcolyer/connect-cors | 1 | # Connect CORS
# Copyright (c) 2010 Antono Vasiljev
# MIT Licensed
"use strict"
url = require("url")
# Setups access for CORS requests.
# http://www.w3.org/TR/cors/
#
# @param {Object} options
# @return {Function}
# @api public
#
# The resource sharing policy described by w3c specification is bound to a particular re... | 60466 | # Connect CORS
# Copyright (c) 2010 <NAME>
# MIT Licensed
"use strict"
url = require("url")
# Setups access for CORS requests.
# http://www.w3.org/TR/cors/
#
# @param {Object} options
# @return {Function}
# @api public
#
# The resource sharing policy described by w3c specification is bound to a particular resource.
#... | true | # Connect CORS
# Copyright (c) 2010 PI:NAME:<NAME>END_PI
# MIT Licensed
"use strict"
url = require("url")
# Setups access for CORS requests.
# http://www.w3.org/TR/cors/
#
# @param {Object} options
# @return {Function}
# @api public
#
# The resource sharing policy described by w3c specification is bound to a particul... |
[
{
"context": ")\n )\n expect(el.toXML({ persons: [ { name: 'Joe' }] })).toEqual(\"<foo><bar key=\\\"Person[1].Name\\\"",
"end": 8565,
"score": 0.9997632503509521,
"start": 8562,
"tag": "NAME",
"value": "Joe"
},
{
"context": "] })).toEqual(\"<foo><bar key=\\\"Person[1].Name\\\">... | test/model/model-test.coffee | admariner/cruftless | 19 | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'element', ->
it 'should allow you to construct the meta data for an element', ->
el = element('foo')
expect(el).not.toBeNull()
expect(el).toHaveProperty('ns')
expect(el.ns('foo')).toBe(el)
expect(... | 116913 | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'element', ->
it 'should allow you to construct the meta data for an element', ->
el = element('foo')
expect(el).not.toBeNull()
expect(el).toHaveProperty('ns')
expect(el.ns('foo')).toBe(el)
expect(... | true | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'element', ->
it 'should allow you to construct the meta data for an element', ->
el = element('foo')
expect(el).not.toBeNull()
expect(el).toHaveProperty('ns')
expect(el.ns('foo')).toBe(el)
expect(... |
[
{
"context": "w end\n return Point.isValid p\n\n # freeze(name: Name, time: number): void\n freeze: (name, time) ->\n\n ",
"end": 1663,
"score": 0.5437288880348206,
"start": 1659,
"tag": "NAME",
"value": "Name"
}
] | source/scene.coffee | Tedd157/genshin-impact-script | 1 | ### interface
type Color = number
type Name = 'event'
| 'fishing'
| 'half-menu'
| 'menu'
| 'normal'
| 'unknown'
using-q
###
# function
class Scene extends EmitterShellX
isFrozen: false
name: 'unknown'
tsChange: 0
# ---
constructor: ->
super()
@on 'change', =>
console.log "scene: ... | 180130 | ### interface
type Color = number
type Name = 'event'
| 'fishing'
| 'half-menu'
| 'menu'
| 'normal'
| 'unknown'
using-q
###
# function
class Scene extends EmitterShellX
isFrozen: false
name: 'unknown'
tsChange: 0
# ---
constructor: ->
super()
@on 'change', =>
console.log "scene: ... | true | ### interface
type Color = number
type Name = 'event'
| 'fishing'
| 'half-menu'
| 'menu'
| 'normal'
| 'unknown'
using-q
###
# function
class Scene extends EmitterShellX
isFrozen: false
name: 'unknown'
tsChange: 0
# ---
constructor: ->
super()
@on 'change', =>
console.log "scene: ... |
[
{
"context": "elocity: 10\n id: 123456\n name: 'Test'\n membership_summary:\n project_co",
"end": 1160,
"score": 0.9997171759605408,
"start": 1156,
"tag": "NAME",
"value": "Test"
}
] | spec/views/status-bar-view-spec.coffee | textbook/atom-tracker | 0 | StatusBarView = require '../../lib/views/status-bar-view'
describe 'StatusBarView', ->
describe 'createdCallback method', ->
view = null
beforeEach ->
Object.values = (obj) -> Object.keys(obj).map((key) -> obj[key])
@view = new StatusBarView
it 'should create the required elements', ->
... | 71401 | StatusBarView = require '../../lib/views/status-bar-view'
describe 'StatusBarView', ->
describe 'createdCallback method', ->
view = null
beforeEach ->
Object.values = (obj) -> Object.keys(obj).map((key) -> obj[key])
@view = new StatusBarView
it 'should create the required elements', ->
... | true | StatusBarView = require '../../lib/views/status-bar-view'
describe 'StatusBarView', ->
describe 'createdCallback method', ->
view = null
beforeEach ->
Object.values = (obj) -> Object.keys(obj).map((key) -> obj[key])
@view = new StatusBarView
it 'should create the required elements', ->
... |
[
{
"context": "y\n (name) ->\n key = if name.length > 32 then '##' + hash(name).toString(16) else name\n\n # Push n",
"end": 285,
"score": 0.7683669328689575,
"start": 282,
"tag": "KEY",
"value": "##'"
}
] | scripts/vendor/shadergraph-master/src/factory/cache.coffee | keeffEoghan/superkaleider | 1 | ###
Cache decorator
Fetches snippets once, clones for reuse
Inline code is hashed to avoid bloat
###
queue = require './queue'
hash = require './hash'
cache = (fetch) ->
cache = {}
push = queue 100
# Snippet factory
(name) ->
key = if name.length > 32 then '##' + hash(name).toString(16) else nam... | 137834 | ###
Cache decorator
Fetches snippets once, clones for reuse
Inline code is hashed to avoid bloat
###
queue = require './queue'
hash = require './hash'
cache = (fetch) ->
cache = {}
push = queue 100
# Snippet factory
(name) ->
key = if name.length > 32 then '<KEY> + hash(name).toString(16) else n... | true | ###
Cache decorator
Fetches snippets once, clones for reuse
Inline code is hashed to avoid bloat
###
queue = require './queue'
hash = require './hash'
cache = (fetch) ->
cache = {}
push = queue 100
# Snippet factory
(name) ->
key = if name.length > 32 then 'PI:KEY:<KEY>END_PI + hash(name).toStri... |
[
{
"context": " name = model.name\n @render 'div', { name: \"Jonas\" }, controller\n expect(nodeName).to.eql(\"DIV\")",
"end": 986,
"score": 0.9993712306022644,
"start": 981,
"tag": "NAME",
"value": "Jonas"
},
{
"context": "(nodeName).to.eql(\"DIV\")\n expect(name).to.eql(... | test/integration/events.spec.coffee | varvet/serenade.js | 5 | require './../spec_helper'
describe 'Events', ->
beforeEach ->
@setupDom()
it 'attaches an event which calls the controller action when triggered', ->
controller = { iWasClicked: -> @clicked = true }
@render 'div[event:click=iWasClicked]', {}, controller
@fireEvent @body.querySelector('div'), 'cli... | 4791 | require './../spec_helper'
describe 'Events', ->
beforeEach ->
@setupDom()
it 'attaches an event which calls the controller action when triggered', ->
controller = { iWasClicked: -> @clicked = true }
@render 'div[event:click=iWasClicked]', {}, controller
@fireEvent @body.querySelector('div'), 'cli... | true | require './../spec_helper'
describe 'Events', ->
beforeEach ->
@setupDom()
it 'attaches an event which calls the controller action when triggered', ->
controller = { iWasClicked: -> @clicked = true }
@render 'div[event:click=iWasClicked]', {}, controller
@fireEvent @body.querySelector('div'), 'cli... |
[
{
"context": "et et sw=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@binux.me>\n# http://binux.me\n# Created o",
"end": 64,
"score": 0.8933548927307129,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i... | web/static/coffee/har/entry_editor.coffee | glqf/qiandao | 0 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-06 21:16:15
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/editablelist'
utils = require '/static/components/utils'
# local_protocol = wi... | 92648 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<<EMAIL>>
# http://binux.me
# Created on 2014-08-06 21:16:15
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/editablelist'
utils = require '/static/components/utils'
# local_protocol = windo... | true | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<PI:EMAIL:<EMAIL>END_PI>
# http://binux.me
# Created on 2014-08-06 21:16:15
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/editablelist'
utils = require '/static/components/utils'
# local_p... |
[
{
"context": "n\n $('.link-edit .link-tags')\n .suggest key: 'AIzaSyATgp60c0YT8qc8MdMmxulPrI5e4C6z_dg'\n .bind 'fb-select', (event, data) ->\n co",
"end": 1598,
"score": 0.9997567534446716,
"start": 1559,
"tag": "KEY",
"value": "AIzaSyATgp60c0YT8qc8MdMmxulPrI5e4C6z_dg"
}
] | breakfast/links.coffee | shakefu/bacon | 0 |
#############
# Collections
#############
Links = new Mongo.Collection 'links'
########
# Routes
########
Router.map ->
@route 'links', path: '/links'
########
# Server
########
if Meteor.isServer
# This is just temporary
Links.allow
insert: -> true
update: -> true
remove: -> true
Meteor.pub... | 8090 |
#############
# Collections
#############
Links = new Mongo.Collection 'links'
########
# Routes
########
Router.map ->
@route 'links', path: '/links'
########
# Server
########
if Meteor.isServer
# This is just temporary
Links.allow
insert: -> true
update: -> true
remove: -> true
Meteor.pub... | true |
#############
# Collections
#############
Links = new Mongo.Collection 'links'
########
# Routes
########
Router.map ->
@route 'links', path: '/links'
########
# Server
########
if Meteor.isServer
# This is just temporary
Links.allow
insert: -> true
update: -> true
remove: -> true
Meteor.pub... |
[
{
"context": "l\" id=\"${2:exampleInputEmail2}\" placeholder=\"${10:jane.doe@example.com}\">\n </div>\n <button type=\"submit\" c",
"end": 4123,
"score": 0.9998867511749268,
"start": 4103,
"tag": "EMAIL",
"value": "jane.doe@example.com"
},
{
"context": "m-10\">\n ... | snippets/components-forms.cson | MdeGOO/atom-bootstrap4 | 53 | '.text.html': # Work only with HTML
# Forms
'Form Controls - Bootstrap 4':
'prefix': 'form'
'body': """
<form>
<fieldset class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="... | 27250 | '.text.html': # Work only with HTML
# Forms
'Form Controls - Bootstrap 4':
'prefix': 'form'
'body': """
<form>
<fieldset class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="... | true | '.text.html': # Work only with HTML
# Forms
'Form Controls - Bootstrap 4':
'prefix': 'form'
'body': """
<form>
<fieldset class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="... |
[
{
"context": "g: 'thing'\n.use (ndx) ->\n ndx.user =\n email: 'boop@boop.com'\n roles:\n ADM: true\n \"a1\": ['yes', '",
"end": 252,
"score": 0.9999160766601562,
"start": 239,
"tag": "EMAIL",
"value": "boop@boop.com"
}
] | src/test/test.coffee | ndxbxrme/ndx-permissions | 0 | 'use strict'
require 'ndx-server'
.config
database: 'db'
tables: ['tb1']
.use require '../index'
.use (ndx) ->
ndx.database.on 'ready', ->
ndx.database.insert 'tb1',
mything: 'thing'
.use (ndx) ->
ndx.user =
email: 'boop@boop.com'
roles:
ADM: true
"a1": ['yes', 'view']
"a2":... | 99527 | 'use strict'
require 'ndx-server'
.config
database: 'db'
tables: ['tb1']
.use require '../index'
.use (ndx) ->
ndx.database.on 'ready', ->
ndx.database.insert 'tb1',
mything: 'thing'
.use (ndx) ->
ndx.user =
email: '<EMAIL>'
roles:
ADM: true
"a1": ['yes', 'view']
"a2": ['no'... | true | 'use strict'
require 'ndx-server'
.config
database: 'db'
tables: ['tb1']
.use require '../index'
.use (ndx) ->
ndx.database.on 'ready', ->
ndx.database.insert 'tb1',
mything: 'thing'
.use (ndx) ->
ndx.user =
email: 'PI:EMAIL:<EMAIL>END_PI'
roles:
ADM: true
"a1": ['yes', 'view']
... |
[
{
"context": " Vue\n el: '#login_form'\n data:\n userId: initUser\n password: \"\"\n errorMsg: \"\"\n methods",
"end": 151,
"score": 0.6290017366409302,
"start": 143,
"tag": "USERNAME",
"value": "initUser"
},
{
"context": " else\n data = {userId: @use... | server/app/assets/javascript/login.coffee | gitter-badger/MyFleetGirls | 0 | $(document).ready ->
initUser = $('#initUser').val()
back = $('#back').val()
vue = new Vue
el: '#login_form'
data:
userId: initUser
password: ""
errorMsg: ""
methods:
submit: () ->
if isNaN(parseInt(@userId))
console.error('UserID is non number.')
@e... | 44320 | $(document).ready ->
initUser = $('#initUser').val()
back = $('#back').val()
vue = new Vue
el: '#login_form'
data:
userId: initUser
password: ""
errorMsg: ""
methods:
submit: () ->
if isNaN(parseInt(@userId))
console.error('UserID is non number.')
@e... | true | $(document).ready ->
initUser = $('#initUser').val()
back = $('#back').val()
vue = new Vue
el: '#login_form'
data:
userId: initUser
password: ""
errorMsg: ""
methods:
submit: () ->
if isNaN(parseInt(@userId))
console.error('UserID is non number.')
@e... |
[
{
"context": " created on 25/12/2016 All rights reserved by @NeZha\n# Today is chrismas :) but Dan Shen Gou st",
"end": 439,
"score": 0.9996616840362549,
"start": 433,
"tag": "USERNAME",
"value": "@NeZha"
},
{
"context": "served by @NeZha\n# Today is chrismas :) bu... | src/templates/meshlab.coffee | CallmeNezha/Crystal | 0 | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... | 181489 | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... | true | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... |
[
{
"context": "s != S_INITIALIZING\n # if _componentProps[@_uniqueId]?\n # debugger;\n # for k, v of _",
"end": 8675,
"score": 0.7526495456695557,
"start": 8667,
"tag": "USERNAME",
"value": "uniqueId"
},
{
"context": "bugger;\n # for k, v of _componen... | app/webcomponent.coffee | kornalius/termos | 0 | { create, diff, patch, VNode, VText } = require('virtual-dom')
PropertyAccessors = require 'property-accessors'
EventEmitter = require 'eventemitter3'
fromHTML = require('html-to-vdom')(VNode: VNode, VText: VText)
toHTML = require('vdom-to-html')
isVNode = require('virtual-dom/vnode/is-vnode')
isVText = require('virt... | 104120 | { create, diff, patch, VNode, VText } = require('virtual-dom')
PropertyAccessors = require 'property-accessors'
EventEmitter = require 'eventemitter3'
fromHTML = require('html-to-vdom')(VNode: VNode, VText: VText)
toHTML = require('vdom-to-html')
isVNode = require('virtual-dom/vnode/is-vnode')
isVText = require('virt... | true | { create, diff, patch, VNode, VText } = require('virtual-dom')
PropertyAccessors = require 'property-accessors'
EventEmitter = require 'eventemitter3'
fromHTML = require('html-to-vdom')(VNode: VNode, VText: VText)
toHTML = require('vdom-to-html')
isVNode = require('virtual-dom/vnode/is-vnode')
isVText = require('virt... |
[
{
"context": "# Mixed Collections\n# by Isaac Weinhausen\n# http://isaacw.com\n\n\n\n\n# Import classes\n# ------",
"end": 41,
"score": 0.9998883605003357,
"start": 25,
"tag": "NAME",
"value": "Isaac Weinhausen"
}
] | examples/mixed-collections.framer/app.coffee | ekfuhrmann/framer-animation-collections | 0 | # Mixed Collections
# by Isaac Weinhausen
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#... | 22056 | # Mixed Collections
# by <NAME>
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#877DD7"
"... | true | # Mixed Collections
# by PI:NAME:<NAME>END_PI
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" ... |
[
{
"context": "@css('height').replace('px', '')\n\n obj = {name: @name, title: @windowTitle, width: @w, height: @h, ",
"end": 6594,
"score": 0.5508905649185181,
"start": 6594,
"tag": "NAME",
"value": ""
}
] | lib/runtime/apex-form-view.coffee | gstack/apex-form-builder | 2 | {Emitter} = require 'emissary'
{CompositeDisposable} = require 'atom'
$ = require 'jquery'
{View} = require 'atom-space-pen-views'
path = require 'path'
jq = require('../deps/jquery-ui')($)
window.jqUi = jq;
window.Apex ?= {}
Apex.Form ?= {}
###
Form / Window Widget
=====================
Designed primarily ... | 120598 | {Emitter} = require 'emissary'
{CompositeDisposable} = require 'atom'
$ = require 'jquery'
{View} = require 'atom-space-pen-views'
path = require 'path'
jq = require('../deps/jquery-ui')($)
window.jqUi = jq;
window.Apex ?= {}
Apex.Form ?= {}
###
Form / Window Widget
=====================
Designed primarily ... | true | {Emitter} = require 'emissary'
{CompositeDisposable} = require 'atom'
$ = require 'jquery'
{View} = require 'atom-space-pen-views'
path = require 'path'
jq = require('../deps/jquery-ui')($)
window.jqUi = jq;
window.Apex ?= {}
Apex.Form ?= {}
###
Form / Window Widget
=====================
Designed primarily ... |
[
{
"context": "g 'valid'\n if $scope.repeatPassword is $scope.newUser.local.password\n console.log 'passwords match'\n $ht",
"end": 751,
"score": 0.9275431036949158,
"start": 729,
"tag": "PASSWORD",
"value": "newUser.local.password"
},
{
"context": "got-update/#{$sc... | generators/forgot/templates/forgot.ctrl.coffee | ndxbxrme/generator-ndx | 0 | 'use strict'
angular.module '<%= settings.appName %>'
.controller 'ForgotCtrl', ($scope, $http, $state, $stateParams) ->
$scope.token = $stateParams.token
$scope.newUser = {}
$scope.forgotUser = {}
$scope.myForm = {}
$scope.repeatPassword = ''
$scope.submitEmail = ->
$scope.submitted = true
if $sco... | 61265 | 'use strict'
angular.module '<%= settings.appName %>'
.controller 'ForgotCtrl', ($scope, $http, $state, $stateParams) ->
$scope.token = $stateParams.token
$scope.newUser = {}
$scope.forgotUser = {}
$scope.myForm = {}
$scope.repeatPassword = ''
$scope.submitEmail = ->
$scope.submitted = true
if $sco... | true | 'use strict'
angular.module '<%= settings.appName %>'
.controller 'ForgotCtrl', ($scope, $http, $state, $stateParams) ->
$scope.token = $stateParams.token
$scope.newUser = {}
$scope.forgotUser = {}
$scope.myForm = {}
$scope.repeatPassword = ''
$scope.submitEmail = ->
$scope.submitted = true
if $sco... |
[
{
"context": " done()\n\n hubot.send_Message 'please locate ip 216.239.38.120'\n",
"end": 405,
"score": 0.9995631575584412,
"start": 391,
"tag": "IP_ADDRESS",
"value": "216.239.38.120"
}
] | test/Hubot-Geo.test.coffee | DinisCruz/Hubot-GeoIP | 2 | Hubot_Mocha = require './Hubot-Mocha'
Hubot_Geo = require '../src/Hubot-Geo'
describe '| Hubot-Geo |', ->
hubot = Hubot_Mocha.new beforeEach, afterEach, Hubot_Geo
it 'locate ip {ip}',(done)->
hubot.first_Reply = (text) =>
text.assert_Contains "http://maps.googleapis.com/maps/api/staticmap?center=3... | 171855 | Hubot_Mocha = require './Hubot-Mocha'
Hubot_Geo = require '../src/Hubot-Geo'
describe '| Hubot-Geo |', ->
hubot = Hubot_Mocha.new beforeEach, afterEach, Hubot_Geo
it 'locate ip {ip}',(done)->
hubot.first_Reply = (text) =>
text.assert_Contains "http://maps.googleapis.com/maps/api/staticmap?center=3... | true | Hubot_Mocha = require './Hubot-Mocha'
Hubot_Geo = require '../src/Hubot-Geo'
describe '| Hubot-Geo |', ->
hubot = Hubot_Mocha.new beforeEach, afterEach, Hubot_Geo
it 'locate ip {ip}',(done)->
hubot.first_Reply = (text) =>
text.assert_Contains "http://maps.googleapis.com/maps/api/staticmap?center=3... |
[
{
"context": " {\n id: _.uniqueId()\n key: 'homepage:featured'\n item_type: 'FeaturedLink'\n di",
"end": 2623,
"score": 0.9638903737068176,
"start": 2606,
"tag": "KEY",
"value": "homepage:featured"
},
{
"context": " {\n id: _.uniqu... | test/fetch.coffee | joeyAghion/artsy-backbone-mixins | 0 | sinon = require 'sinon'
_ = require 'underscore'
Backbone = require 'backbone'
Fetch = require '../lib/fetch.coffee'
class Collection extends Backbone.Collection
_.extend @prototype, Fetch('foobar')
url: 'foo/bar'
describe 'fetch until end mixin', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@collect... | 129550 | sinon = require 'sinon'
_ = require 'underscore'
Backbone = require 'backbone'
Fetch = require '../lib/fetch.coffee'
class Collection extends Backbone.Collection
_.extend @prototype, Fetch('foobar')
url: 'foo/bar'
describe 'fetch until end mixin', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@collect... | true | sinon = require 'sinon'
_ = require 'underscore'
Backbone = require 'backbone'
Fetch = require '../lib/fetch.coffee'
class Collection extends Backbone.Collection
_.extend @prototype, Fetch('foobar')
url: 'foo/bar'
describe 'fetch until end mixin', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@collect... |
[
{
"context": "e:\n auth:\n access_token: 't0k3n'\n })\n req =\n claims:\n s",
"end": 2302,
"score": 0.9984618425369263,
"start": 2297,
"tag": "PASSWORD",
"value": "t0k3n"
},
{
"context": "e:\n auth:\n access_to... | test/unit/oidc/revoke.coffee | LorianeE/connect | 331 | nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
User = require '../../../models/User'
{revoke} = require '../../../oidc'
describe 'Revoke third party access token', ->
{req,res,... | 3520 | nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
User = require '../../../models/User'
{revoke} = require '../../../oidc'
describe 'Revoke third party access token', ->
{req,res,... | true | nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
User = require '../../../models/User'
{revoke} = require '../../../oidc'
describe 'Revoke third party access token', ->
{req,res,... |
[
{
"context": "return next err if err\n user.password = hash\n next()\n else\n next()\n\n\n\n ",
"end": 1075,
"score": 0.5208995342254639,
"start": 1071,
"tag": "PASSWORD",
"value": "hash"
},
{
"context": "dule is \"user\"\n models.user.findOne use... | components/backend/utilities/models.coffee | dni/oophaga | 0 | config = require "./config"
mongoose = require 'mongoose'
bcrypt = require 'bcrypt'
models = {}
Schema = mongoose.Schema
metaAttributes = require "#{process.cwd()}/configuration/metaAttributes.json"
Object.keys(config).forEach (module)->
schemaObj = {}
Object.keys(metaAttributes).forEach (key)->
schemaObj[... | 144266 | config = require "./config"
mongoose = require 'mongoose'
bcrypt = require 'bcrypt'
models = {}
Schema = mongoose.Schema
metaAttributes = require "#{process.cwd()}/configuration/metaAttributes.json"
Object.keys(config).forEach (module)->
schemaObj = {}
Object.keys(metaAttributes).forEach (key)->
schemaObj[... | true | config = require "./config"
mongoose = require 'mongoose'
bcrypt = require 'bcrypt'
models = {}
Schema = mongoose.Schema
metaAttributes = require "#{process.cwd()}/configuration/metaAttributes.json"
Object.keys(config).forEach (module)->
schemaObj = {}
Object.keys(metaAttributes).forEach (key)->
schemaObj[... |
[
{
"context": "\n \"seis\", \"siete\", \"ocho\", \"nueve\", \"diez\", \"once\", \"doce\"]\n\nif typeof define is \"function\"",
"end": 195,
"score": 0.9758638143539429,
"start": 191,
"tag": "NAME",
"value": "diez"
}
] | lang/written.es.coffee | stephenhutchings/underscore.strings | 11 | # Spanish language support for Written
code = "ES"
dico =
cardinals:
written: [{m: "uno", f: "una"}, "dos", "tres", "cuatro", "cinco",
"seis", "siete", "ocho", "nueve", "diez", "once", "doce"]
if typeof define is "function" and define.amd
define [], dico
else if typeof exports is "object"
modu... | 179038 | # Spanish language support for Written
code = "ES"
dico =
cardinals:
written: [{m: "uno", f: "una"}, "dos", "tres", "cuatro", "cinco",
"seis", "siete", "ocho", "nueve", "<NAME>", "once", "doce"]
if typeof define is "function" and define.amd
define [], dico
else if typeof exports is "object"
mo... | true | # Spanish language support for Written
code = "ES"
dico =
cardinals:
written: [{m: "uno", f: "una"}, "dos", "tres", "cuatro", "cinco",
"seis", "siete", "ocho", "nueve", "PI:NAME:<NAME>END_PI", "once", "doce"]
if typeof define is "function" and define.amd
define [], dico
else if typeof exports is... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7975856065750122,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/mr/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/mr_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 187649 | bcv_parser = require("../../js/mr_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/mr_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": " user.room = roomId if roomId\n user.name = displayName\n if displayName.length < 1\n user",
"end": 732,
"score": 0.8675103783607483,
"start": 721,
"tag": "NAME",
"value": "displayName"
},
{
"context": " if displayName.length < 1\n us... | src/skype.coffee | sanxlop/hubot-skype-bot | 0 | {Robot, Adapter, TextMessage} = require "hubot"
skype = require "skype-sdk";
class Skype extends Adapter
constructor: (@robot) ->
super @robot
@botService = null
@appID = process.env.MICROSOFT_APP_ID
@appSecret = process.env.MICROSOFT_APP_SECRET
@botID = process.env.SKYPE_BO... | 197221 | {Robot, Adapter, TextMessage} = require "hubot"
skype = require "skype-sdk";
class Skype extends Adapter
constructor: (@robot) ->
super @robot
@botService = null
@appID = process.env.MICROSOFT_APP_ID
@appSecret = process.env.MICROSOFT_APP_SECRET
@botID = process.env.SKYPE_BO... | true | {Robot, Adapter, TextMessage} = require "hubot"
skype = require "skype-sdk";
class Skype extends Adapter
constructor: (@robot) ->
super @robot
@botService = null
@appID = process.env.MICROSOFT_APP_ID
@appSecret = process.env.MICROSOFT_APP_SECRET
@botID = process.env.SKYPE_BO... |
[
{
"context": "lient:\n getUserByID: (id) ->\n {name: 'name', email_address: 'email@example.com'}\n getCh",
"end": 662,
"score": 0.9522873759269714,
"start": 658,
"tag": "USERNAME",
"value": "name"
},
{
"context": "D: (id) ->\n {name: 'name', email_address: 'em... | test/slack.coffee | kballard/hubot-slack | 1 | ###################################################################
# Setup the tests
###################################################################
should = require 'should'
# Import our hero. Noop logging so that we don't clutter the test output
{SlackBot} = require '../src/slack'
# Stub a few interfaces to gr... | 56242 | ###################################################################
# Setup the tests
###################################################################
should = require 'should'
# Import our hero. Noop logging so that we don't clutter the test output
{SlackBot} = require '../src/slack'
# Stub a few interfaces to gr... | true | ###################################################################
# Setup the tests
###################################################################
should = require 'should'
# Import our hero. Noop logging so that we don't clutter the test output
{SlackBot} = require '../src/slack'
# Stub a few interfaces to gr... |
[
{
"context": "Spline} classes.\n#\n# <script>window.exampleKey = 'cubic_spline'</script>\n# <script>drawGeometry('cubic_spline', ",
"end": 422,
"score": 0.6792680621147156,
"start": 410,
"tag": "KEY",
"value": "cubic_spline"
},
{
"context": "coffee.html)\n #\n # <script>window.exam... | src/geom/mixins/spline.coffee | abe33/agt | 1 | Memoizable = require '../../mixins/memoizable'
Point = require '../point'
{COLORS} = require '../../config'
# Public: A spline is a curve made of [vertices]{Point} that
# controls the resulting geometry.
#
# The `Spline` mixin set the ground for all other curves classes such as
# the [CubicBezier]{agt.geom.CubicBezier}... | 195893 | Memoizable = require '../../mixins/memoizable'
Point = require '../point'
{COLORS} = require '../../config'
# Public: A spline is a curve made of [vertices]{Point} that
# controls the resulting geometry.
#
# The `Spline` mixin set the ground for all other curves classes such as
# the [CubicBezier]{agt.geom.CubicBezier}... | true | Memoizable = require '../../mixins/memoizable'
Point = require '../point'
{COLORS} = require '../../config'
# Public: A spline is a curve made of [vertices]{Point} that
# controls the resulting geometry.
#
# The `Spline` mixin set the ground for all other curves classes such as
# the [CubicBezier]{agt.geom.CubicBezier}... |
[
{
"context": "ts/javascript/password-evaluator\n Copyright 2012, Christoph Chilian <dev@cc-web.eu>\n\n Licensed under the MIT.\n http",
"end": 124,
"score": 0.9998661875724792,
"start": 107,
"tag": "NAME",
"value": "Christoph Chilian"
},
{
"context": "rd-evaluator\n Copyright 201... | src/password_evaluator.js.coffee | chilian/password-evaluator | 1 | ###
password-evaluator v 0.2
http://cc-web.eu/projects/javascript/password-evaluator
Copyright 2012, Christoph Chilian <dev@cc-web.eu>
Licensed under the MIT.
http://cc-web.eu/projects/javascript/password-evaluator/license
Date: 2012-01-14 14:51:24 +0100
###
class @PasswordEvaluator
constructor: (@debug... | 14040 | ###
password-evaluator v 0.2
http://cc-web.eu/projects/javascript/password-evaluator
Copyright 2012, <NAME> <<EMAIL>>
Licensed under the MIT.
http://cc-web.eu/projects/javascript/password-evaluator/license
Date: 2012-01-14 14:51:24 +0100
###
class @PasswordEvaluator
constructor: (@debug_mode = false)->
... | true | ###
password-evaluator v 0.2
http://cc-web.eu/projects/javascript/password-evaluator
Copyright 2012, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the MIT.
http://cc-web.eu/projects/javascript/password-evaluator/license
Date: 2012-01-14 14:51:24 +0100
###
class @PasswordEvaluator
construc... |
[
{
"context": "pi.behance.net/v2/projects?page={PAGENUM}&api_key=IRZkzuavyQ8XBNihD290wtgt4AlwYo6X\"\n\n dataPath: \"projects\"\n flex: true\n infiniteS",
"end": 273,
"score": 0.9990527033805847,
"start": 241,
"tag": "KEY",
"value": "IRZkzuavyQ8XBNihD290wtgt4AlwYo6X"
}
] | src/columns/behance/Behance.coffee | jariz/hackertab | 548 | class Columns.Behance extends Columns.FeedColumn
name: "Behance"
width: 2
thumb: "img/column-behance.png"
link: "https://www.behance.net/"
element: "behance-item"
url: "https://api.behance.net/v2/projects?page={PAGENUM}&api_key=IRZkzuavyQ8XBNihD290wtgt4AlwYo6X"
dataPath: "projects"
flex: true
infini... | 214086 | class Columns.Behance extends Columns.FeedColumn
name: "Behance"
width: 2
thumb: "img/column-behance.png"
link: "https://www.behance.net/"
element: "behance-item"
url: "https://api.behance.net/v2/projects?page={PAGENUM}&api_key=<KEY>"
dataPath: "projects"
flex: true
infiniteScroll: true
tabbie.regi... | true | class Columns.Behance extends Columns.FeedColumn
name: "Behance"
width: 2
thumb: "img/column-behance.png"
link: "https://www.behance.net/"
element: "behance-item"
url: "https://api.behance.net/v2/projects?page={PAGENUM}&api_key=PI:KEY:<KEY>END_PI"
dataPath: "projects"
flex: true
infiniteScroll: true... |
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\nroot = exports ? ",
"end": 36,
"score": 0.9998858571052551,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.c... | m26-js/src/m26_elapsed_time.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
root = exports ? this
class ElapsedTime
constructor: (val='00:00:00') ->
[@hh, @mm, @ss, @secs] = [0, 0, 0, 0]
if typeof val is 'number'
@initialize_from_number(val)
else
@initialize_from_string(val)
initialize_from_numb... | 136417 | # Copyright 2015, <NAME> <<EMAIL>>
root = exports ? this
class ElapsedTime
constructor: (val='00:00:00') ->
[@hh, @mm, @ss, @secs] = [0, 0, 0, 0]
if typeof val is 'number'
@initialize_from_number(val)
else
@initialize_from_string(val)
initialize_from_number: (n) ->
try
@secs = ... | true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
root = exports ? this
class ElapsedTime
constructor: (val='00:00:00') ->
[@hh, @mm, @ss, @secs] = [0, 0, 0, 0]
if typeof val is 'number'
@initialize_from_number(val)
else
@initialize_from_string(val)
initialize_from_number: ... |
[
{
"context": "#\n * @file Defines the API for MD Label\n * @author Derek Gransaull <derek@dgtlife.com>\n * @copyright DGTLife, LLC 20",
"end": 68,
"score": 0.9998719096183777,
"start": 53,
"tag": "NAME",
"value": "Derek Gransaull"
},
{
"context": " the API for MD Label\n * @author De... | client/imports/api/md-label-api.coffee | dgtlife/material-for-meteor | 12 | ###
* @file Defines the API for MD Label
* @author Derek Gransaull <derek@dgtlife.com>
* @copyright DGTLife, LLC 2016
###
eqS = require('./md-utils.js').eqS
###*
# Set the style of a floatable label when the associated input has focus.
# @param {Element} field - the text field (.md-field) element that contains
# ... | 183165 | ###
* @file Defines the API for MD Label
* @author <NAME> <<EMAIL>>
* @copyright DGTLife, LLC 2016
###
eqS = require('./md-utils.js').eqS
###*
# Set the style of a floatable label when the associated input has focus.
# @param {Element} field - the text field (.md-field) element that contains
# ... | true | ###
* @file Defines the API for MD Label
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright DGTLife, LLC 2016
###
eqS = require('./md-utils.js').eqS
###*
# Set the style of a floatable label when the associated input has focus.
# @param {Element} field - the text field (.md-field) element that con... |
[
{
"context": "ext.js\n# *********************************\n# ** By Etienne Pinchon\n# ** ©2016\n\nclass Text extends View\n\tconstructor:",
"end": 141,
"score": 0.9998446106910706,
"start": 126,
"tag": "NAME",
"value": "Etienne Pinchon"
}
] | sources/coffee/Text.coffee | heschel6/Magic_Experiment | 201 | # *********************************
# *********************************
# Text.js
# *********************************
# ** By Etienne Pinchon
# ** ©2016
class Text extends View
constructor: (options={}) ->
if options.header
@_kind = 'TextHeader'
@_elementType = 'h1'
else if options.paragraph
_kind = 'Tex... | 50321 | # *********************************
# *********************************
# Text.js
# *********************************
# ** By <NAME>
# ** ©2016
class Text extends View
constructor: (options={}) ->
if options.header
@_kind = 'TextHeader'
@_elementType = 'h1'
else if options.paragraph
_kind = 'TextParagrap... | true | # *********************************
# *********************************
# Text.js
# *********************************
# ** By PI:NAME:<NAME>END_PI
# ** ©2016
class Text extends View
constructor: (options={}) ->
if options.header
@_kind = 'TextHeader'
@_elementType = 'h1'
else if options.paragraph
_kind =... |
[
{
"context": "Q format email', (done) ->\n\n emails = [\n '12345@qq.com', 'abcde@qq.cn'\n '12345@foxmail.com', 'abcde",
"end": 196,
"score": 0.9999081492424011,
"start": 184,
"tag": "EMAIL",
"value": "12345@qq.com"
},
{
"context": " (done) ->\n\n emails = [\n '12... | talk-account/test/client/util/detect.coffee | ikingye/talk-os | 3,084 | should = require 'should'
detect = require '../../../client/util/detect'
describe 'client/util/detect', ->
it 'should recognize QQ format email', (done) ->
emails = [
'12345@qq.com', 'abcde@qq.cn'
'12345@foxmail.com', 'abcde@foxmail.com'
'12345@QQ.com', 'abcde@QQ.com'
'12345@qqe.com', ... | 63928 | should = require 'should'
detect = require '../../../client/util/detect'
describe 'client/util/detect', ->
it 'should recognize QQ format email', (done) ->
emails = [
'<EMAIL>', '<EMAIL>'
'<EMAIL>', '<EMAIL>'
'<EMAIL>', '<EMAIL>'
'<EMAIL>', '<EMAIL>'
'<EMAIL>', '<EMAIL>'
]
... | true | should = require 'should'
detect = require '../../../client/util/detect'
describe 'client/util/detect', ->
it 'should recognize QQ format email', (done) ->
emails = [
'PI:EMAIL:<EMAIL>END_PI', 'PI:EMAIL:<EMAIL>END_PI'
'PI:EMAIL:<EMAIL>END_PI', 'PI:EMAIL:<EMAIL>END_PI'
'PI:EMAIL:<EMAIL>END_PI... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998511672019958,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/remote.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 223997 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "# @author Gianluigi Mango\n# Query Posts Collection\nPost = require './../../",
"end": 25,
"score": 0.9998564720153809,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/api/model/postModel.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Query Posts Collection
Post = require './../../models/postModel'
Reaction = require './../../models/reactionModel'
Comment = require './../../models/commentModel'
module.exports = class PostModel
# Find all posts in collection with relative reactions and comments
# @params id[String], cb... | 179037 | # @author <NAME>
# Query Posts Collection
Post = require './../../models/postModel'
Reaction = require './../../models/reactionModel'
Comment = require './../../models/commentModel'
module.exports = class PostModel
# Find all posts in collection with relative reactions and comments
# @params id[String], cb[Function... | true | # @author PI:NAME:<NAME>END_PI
# Query Posts Collection
Post = require './../../models/postModel'
Reaction = require './../../models/reactionModel'
Comment = require './../../models/commentModel'
module.exports = class PostModel
# Find all posts in collection with relative reactions and comments
# @params id[String... |
[
{
"context": "rser( uploadDir: expressConf.tmpFolder ) )\n\t\t\n\t\t#@express.use( express.directory( path.resolve( \"./static/\"",
"end": 907,
"score": 0.7526269555091858,
"start": 900,
"tag": "EMAIL",
"value": "express"
}
] | _src/server.coffee | mpneuried/rsmq-monitor | 2 | redis = require("redis")
express = require('express')
http = require( "http" )
path = require( "path" )
Config = require( "./" ).Config
_ = require('lodash')._
module.exports = class Server extends require( "./" ).Basic
defaults: =>
@extend super,
port: 8400,
host: "localhost"
listenHost: null
basepa... | 180184 | redis = require("redis")
express = require('express')
http = require( "http" )
path = require( "path" )
Config = require( "./" ).Config
_ = require('lodash')._
module.exports = class Server extends require( "./" ).Basic
defaults: =>
@extend super,
port: 8400,
host: "localhost"
listenHost: null
basepa... | true | redis = require("redis")
express = require('express')
http = require( "http" )
path = require( "path" )
Config = require( "./" ).Config
_ = require('lodash')._
module.exports = class Server extends require( "./" ).Basic
defaults: =>
@extend super,
port: 8400,
host: "localhost"
listenHost: null
basepa... |
[
{
"context": " j.done val\n cb()\n\n authToken = process.env[\"LITTLEBIT_AUTH_TOKEN\"]\n deviceId = j.da",
"end": 2604,
"score": 0.5332115888595581,
"start": 2597,
"tag": "PASSWORD",
"value": "process"
},
{
"context": " val\n cb()\n\n authToken = p... | main.coffee | vsivsi/testLB | 0 | lbJobs = new JobCollection 'lbJobs'
if Meteor.isClient
Meteor.subscribe 'sortedJobs'
date = new ReactiveVar new Date()
updateDate = () ->
date.set new Date
Meteor.setInterval updateDate, 5000
Template.dataTable.helpers
dataEntries: () ->
return lbJobs.find {}, { sort: { "result.timestamp"... | 79384 | lbJobs = new JobCollection 'lbJobs'
if Meteor.isClient
Meteor.subscribe 'sortedJobs'
date = new ReactiveVar new Date()
updateDate = () ->
date.set new Date
Meteor.setInterval updateDate, 5000
Template.dataTable.helpers
dataEntries: () ->
return lbJobs.find {}, { sort: { "result.timestamp"... | true | lbJobs = new JobCollection 'lbJobs'
if Meteor.isClient
Meteor.subscribe 'sortedJobs'
date = new ReactiveVar new Date()
updateDate = () ->
date.set new Date
Meteor.setInterval updateDate, 5000
Template.dataTable.helpers
dataEntries: () ->
return lbJobs.find {}, { sort: { "result.timestamp"... |
[
{
"context": " per in pers\n author = \n Name: per\n prop.push author \n else\n au",
"end": 1280,
"score": 0.9648677110671997,
"start": 1277,
"tag": "NAME",
"value": "per"
}
] | src/design/views/input-csv.coffee | usgin/metadata-server | 0 | module.exports =
map: (csv, debug=false) ->
doc = {}
# List of service type identifiers
serviceTypes = ["OGC:WMS", "OGC:WFS", "OGC:WCS", "esri", "opendap"]
capServiceTypes = (type.toUpperCase() for type in serviceTypes)
# Guess if a URL is one or another type of service
guessServiceType... | 25414 | module.exports =
map: (csv, debug=false) ->
doc = {}
# List of service type identifiers
serviceTypes = ["OGC:WMS", "OGC:WFS", "OGC:WCS", "esri", "opendap"]
capServiceTypes = (type.toUpperCase() for type in serviceTypes)
# Guess if a URL is one or another type of service
guessServiceType... | true | module.exports =
map: (csv, debug=false) ->
doc = {}
# List of service type identifiers
serviceTypes = ["OGC:WMS", "OGC:WFS", "OGC:WCS", "esri", "opendap"]
capServiceTypes = (type.toUpperCase() for type in serviceTypes)
# Guess if a URL is one or another type of service
guessServiceType... |
[
{
"context": "Meteor.call 'registerUserWithUserName', {username: uuid, password: '123456', name: 'Anonymous'}, (error, ",
"end": 1950,
"score": 0.6630837321281433,
"start": 1946,
"tag": "USERNAME",
"value": "uuid"
},
{
"context": "terUserWithUserName', {username: uuid, password: '123... | rocketchat/client/startup/anonymousLogin.coffee | Ritesh1991/mobile_app_server | 0 | Meteor.startup ->
Tracker.autorun ()->
unless Meteor.userId()
hotShareUserId=amplify.store('hotshareUserID')
console.log('hotShareUserId: '+hotShareUserId)
if hotShareUserId
Meteor.loginWithGushitie hotShareUserId, (err)->
if err
amplify.store('hotshareUserID',null... | 53955 | Meteor.startup ->
Tracker.autorun ()->
unless Meteor.userId()
hotShareUserId=amplify.store('hotshareUserID')
console.log('hotShareUserId: '+hotShareUserId)
if hotShareUserId
Meteor.loginWithGushitie hotShareUserId, (err)->
if err
amplify.store('hotshareUserID',null... | true | Meteor.startup ->
Tracker.autorun ()->
unless Meteor.userId()
hotShareUserId=amplify.store('hotshareUserID')
console.log('hotShareUserId: '+hotShareUserId)
if hotShareUserId
Meteor.loginWithGushitie hotShareUserId, (err)->
if err
amplify.store('hotshareUserID',null... |
[
{
"context": "h.random() * (9000 - 1000 + 1)) + 1000\n name: 'Charis'\n username: 'charis.elliott.7'\n token: Math",
"end": 121,
"score": 0.9995406270027161,
"start": 115,
"tag": "NAME",
"value": "Charis"
},
{
"context": "00 + 1)) + 1000\n name: 'Charis'\n username: 'c... | app/scaffold/templates/^language/@coffee/^backend/@yes/server/seed/User.coffee | gentryjs/gentry-boiler | 0 | module.exports = (seed, {FB_USER}) ->
[
id: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
name: 'Charis'
username: 'charis.elliott.7'
token: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
tokenSecret: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
location: "Tempe, Arizona"... | 133376 | module.exports = (seed, {FB_USER}) ->
[
id: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
name: '<NAME>'
username: 'charis.elliott.7'
token: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
tokenSecret: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
location: "Tempe, Arizona"... | true | module.exports = (seed, {FB_USER}) ->
[
id: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
name: 'PI:NAME:<NAME>END_PI'
username: 'charis.elliott.7'
token: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
tokenSecret: Math.floor(Math.random() * (9000 - 1000 + 1)) + 1000
location: "T... |
[
{
"context": " field_type: 'text',\n label: 'Name'\n },\n {\n id: 3",
"end": 3882,
"score": 0.8364449143409729,
"start": 3878,
"tag": "NAME",
"value": "Name"
},
{
"context": " field_type: 'text',\n label: 'Age... | test/conditionals_test.coffee | dobtco/formrenderer-base | 79 | describe 'Conditionals', ->
beforeEach ->
$('body').html('<div data-formrenderer />')
@fr = new FormRenderer Fixtures.FormRendererOptions.CONDITIONAL()
@visiblePageNumbers = ->
$('.fr_pagination li').map ->
parseInt($(@).text())
.get()
@activePage = ->
@fr.state.get('active... | 199262 | describe 'Conditionals', ->
beforeEach ->
$('body').html('<div data-formrenderer />')
@fr = new FormRenderer Fixtures.FormRendererOptions.CONDITIONAL()
@visiblePageNumbers = ->
$('.fr_pagination li').map ->
parseInt($(@).text())
.get()
@activePage = ->
@fr.state.get('active... | true | describe 'Conditionals', ->
beforeEach ->
$('body').html('<div data-formrenderer />')
@fr = new FormRenderer Fixtures.FormRendererOptions.CONDITIONAL()
@visiblePageNumbers = ->
$('.fr_pagination li').map ->
parseInt($(@).text())
.get()
@activePage = ->
@fr.state.get('active... |
[
{
"context": "announcing and alerting\n#\n# Author:\n# Created by Tinkurlab www.tinkurlab.com\n# based on examples at hubot-",
"end": 185,
"score": 0.9975828528404236,
"start": 176,
"tag": "NAME",
"value": "Tinkurlab"
}
] | scripts/outageradiator.coffee | TinkurLab/TinkurRadiator_Hubot | 1 | # Description:
# Hubot script to have a conversation
#
# Commands:
# hubot there is an outage - starts conversation about announcing and alerting
#
# Author:
# Created by Tinkurlab www.tinkurlab.com
# based on examples at hubot-conversation
#
Conversation = require('hubot-conversation')
module.exports = (robot... | 36208 | # Description:
# Hubot script to have a conversation
#
# Commands:
# hubot there is an outage - starts conversation about announcing and alerting
#
# Author:
# Created by <NAME> www.tinkurlab.com
# based on examples at hubot-conversation
#
Conversation = require('hubot-conversation')
module.exports = (robot) -... | true | # Description:
# Hubot script to have a conversation
#
# Commands:
# hubot there is an outage - starts conversation about announcing and alerting
#
# Author:
# Created by PI:NAME:<NAME>END_PI www.tinkurlab.com
# based on examples at hubot-conversation
#
Conversation = require('hubot-conversation')
module.expor... |
[
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# Permission to use, copy, modify",
"end": 39,
"score": 0.9998478889465332,
"start": 21,
"tag": "NAME",
"value": "Alexandre Pielucha"
},
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# P... | src/server.coffee | Riemannn/AST_Final_Project | 0 | # Copyright (C) 2017 Alexandre Pielucha & Marie Perin
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 24827 | # Copyright (C) 2017 <NAME> & <NAME>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL... | true | # Copyright (C) 2017 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991402626037598,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-fsync.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... | 76786 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n# Image slideshow\n# By Rafael Corral\n###\ndo (\n $=jQuery\n) ->\n $.fn.slideshow = (",
"end": 40,
"score": 0.9998773336410522,
"start": 27,
"tag": "NAME",
"value": "Rafael Corral"
}
] | apps/portfolio/client/slideshow.jquery.coffee | rcorral/rafael | 0 | ###
# Image slideshow
# By Rafael Corral
###
do (
$=jQuery
) ->
$.fn.slideshow = (options) ->
options = $.extend
scrollTo: true,
scrollToOffset: 0,
btnmobile: 'btn-mobile',
imgHeightOffset: 31
, options
is_mobile = /Android|webOS|iPhone|iPa... | 130901 | ###
# Image slideshow
# By <NAME>
###
do (
$=jQuery
) ->
$.fn.slideshow = (options) ->
options = $.extend
scrollTo: true,
scrollToOffset: 0,
btnmobile: 'btn-mobile',
imgHeightOffset: 31
, options
is_mobile = /Android|webOS|iPhone|iPad|iPod|... | true | ###
# Image slideshow
# By PI:NAME:<NAME>END_PI
###
do (
$=jQuery
) ->
$.fn.slideshow = (options) ->
options = $.extend
scrollTo: true,
scrollToOffset: 0,
btnmobile: 'btn-mobile',
imgHeightOffset: 31
, options
is_mobile = /Android|webOS|iPh... |
[
{
"context": "ase.select ndx.settings.USER_TABLE,\n email: 'superadmin@admin.com'\n , (users) ->\n if not users.length\n ",
"end": 153,
"score": 0.9999058842658997,
"start": 133,
"tag": "EMAIL",
"value": "superadmin@admin.com"
},
{
"context": "insert ndx.settings.USE... | src/app.coffee | ndxbxrme/ndx-superadmin | 0 | 'use strict'
module.exports = (ndx) ->
ndx.database.on 'ready', ->
ndx.database.select ndx.settings.USER_TABLE,
email: 'superadmin@admin.com'
, (users) ->
if not users.length
ndx.database.insert ndx.settings.USER_TABLE,
email: 'superadmin@admin.com'
local:
... | 134176 | 'use strict'
module.exports = (ndx) ->
ndx.database.on 'ready', ->
ndx.database.select ndx.settings.USER_TABLE,
email: '<EMAIL>'
, (users) ->
if not users.length
ndx.database.insert ndx.settings.USER_TABLE,
email: '<EMAIL>'
local:
email: '<EMAIL>'
... | true | 'use strict'
module.exports = (ndx) ->
ndx.database.on 'ready', ->
ndx.database.select ndx.settings.USER_TABLE,
email: 'PI:EMAIL:<EMAIL>END_PI'
, (users) ->
if not users.length
ndx.database.insert ndx.settings.USER_TABLE,
email: 'PI:EMAIL:<EMAIL>END_PI'
local:
... |
[
{
"context": "alKey.derive basePath\n\n\t\t\treturn {\n\t\t\t\tpassphrase: words.join ' '\n\t\t\t\tpublic: derivedKey.publicKey.toAddre",
"end": 441,
"score": 0.7410159707069397,
"start": 436,
"tag": "PASSWORD",
"value": "words"
},
{
"context": "ey.derive(basePath)\n\n\t\t\t\treturn ... | js/services/wallet.coffee | SwarmCorp/razzledazzle | 0 | window.app.service 'Wallet', ($q, $http, $filter, Counterparty, RestChain, chainAPIKey, RestBlockscan)->
bitcore = require 'bitcore'
return {
# Create a new wallet
new: ->
basePath = 'm/0\'/0/0'
mnemonic = new Mnemonic 128
words = mnemonic.toWords()
seed = new Mnemonic(words).toHex()
hierarchicalKe... | 127950 | window.app.service 'Wallet', ($q, $http, $filter, Counterparty, RestChain, chainAPIKey, RestBlockscan)->
bitcore = require 'bitcore'
return {
# Create a new wallet
new: ->
basePath = 'm/0\'/0/0'
mnemonic = new Mnemonic 128
words = mnemonic.toWords()
seed = new Mnemonic(words).toHex()
hierarchicalKe... | true | window.app.service 'Wallet', ($q, $http, $filter, Counterparty, RestChain, chainAPIKey, RestBlockscan)->
bitcore = require 'bitcore'
return {
# Create a new wallet
new: ->
basePath = 'm/0\'/0/0'
mnemonic = new Mnemonic 128
words = mnemonic.toWords()
seed = new Mnemonic(words).toHex()
hierarchicalKe... |
[
{
"context": " = require '../models/User'\nuserTest = username: 'test', password: 'testpwd', email: 'test@test'\nuserTes",
"end": 302,
"score": 0.7175648212432861,
"start": 298,
"tag": "USERNAME",
"value": "test"
},
{
"context": "els/User'\nuserTest = username: 'test', password: 'tes... | test/api.coffee | maxaille/PartyFinance | 1 | should = require 'should'
request = require 'supertest'
jwt = require 'jwt-simple'
if !process.env.MONGO_DATABASE then process.env.MONGO_DATABASE = 'PartyFinance-test'
app = require '../app'
config = require '../config'
# USER configuration
User = require '../models/User'
userTest = username: 'test', password: 'test... | 54092 | should = require 'should'
request = require 'supertest'
jwt = require 'jwt-simple'
if !process.env.MONGO_DATABASE then process.env.MONGO_DATABASE = 'PartyFinance-test'
app = require '../app'
config = require '../config'
# USER configuration
User = require '../models/User'
userTest = username: 'test', password: '<PAS... | true | should = require 'should'
request = require 'supertest'
jwt = require 'jwt-simple'
if !process.env.MONGO_DATABASE then process.env.MONGO_DATABASE = 'PartyFinance-test'
app = require '../app'
config = require '../config'
# USER configuration
User = require '../models/User'
userTest = username: 'test', password: 'PI:P... |
[
{
"context": " hasPreffed: [\n 'bvzqd0FpEI', '5piSheXFE0', 'VN6Vp4GUJL', 'OBm7DXGc9V', '2CLncj0I2N', '",
"end": 2771,
"score": 0.5189543962478638,
"start": 2766,
"tag": "KEY",
"value": "piShe"
},
{
"context": " hasPegged: [\n 'bvzqd0FpEI', '5piShe... | test/peggParseFixture.coffee | Gratzi/pegg-scripts | 0 | module.exports =
deleteCard:
find:
Pref: [
{ objectId: 'bFowpZCxBt' }
{ objectId: 'AzyP6t2uzl' }
]
Pegg: [
{ objectId: 'TcRJtKiiT8' }
{ objectId: 'vmPKPvIQCX' }
]
PeggCounts: [
{ objectId: 'Gq8zXIUOVT' }
{ objectId: 'qabbGBDwWZ' }
... | 27961 | module.exports =
deleteCard:
find:
Pref: [
{ objectId: 'bFowpZCxBt' }
{ objectId: 'AzyP6t2uzl' }
]
Pegg: [
{ objectId: 'TcRJtKiiT8' }
{ objectId: 'vmPKPvIQCX' }
]
PeggCounts: [
{ objectId: 'Gq8zXIUOVT' }
{ objectId: 'qabbGBDwWZ' }
... | true | module.exports =
deleteCard:
find:
Pref: [
{ objectId: 'bFowpZCxBt' }
{ objectId: 'AzyP6t2uzl' }
]
Pegg: [
{ objectId: 'TcRJtKiiT8' }
{ objectId: 'vmPKPvIQCX' }
]
PeggCounts: [
{ objectId: 'Gq8zXIUOVT' }
{ objectId: 'qabbGBDwWZ' }
... |
[
{
"context": "nfig =\n iceServers: [\n url: 'stun:23.21.150.121'\n ]\n else\n pcConfig =\n iceS",
"end": 340,
"score": 0.9889116287231445,
"start": 327,
"tag": "IP_ADDRESS",
"value": "23.21.150.121"
},
{
"context": "ope.$broadcast 'RTC:removestre... | public/routes/room/controllers/RTC.coffee | phuoctien/chatbox | 8 | app.service 'RTC', [
'$rootScope', 'noLogger', 'noNotify', 'noSocket'
($rootScope, Logger, Notify, Socket) ->
connections = []
streamCamera = null
streamScreen = null
useOpus = true
socket = null
if navigator.mozGetUserMedia # if firefox
pcConfig =
iceServers: [
url:... | 107444 | app.service 'RTC', [
'$rootScope', 'noLogger', 'noNotify', 'noSocket'
($rootScope, Logger, Notify, Socket) ->
connections = []
streamCamera = null
streamScreen = null
useOpus = true
socket = null
if navigator.mozGetUserMedia # if firefox
pcConfig =
iceServers: [
url:... | true | app.service 'RTC', [
'$rootScope', 'noLogger', 'noNotify', 'noSocket'
($rootScope, Logger, Notify, Socket) ->
connections = []
streamCamera = null
streamScreen = null
useOpus = true
socket = null
if navigator.mozGetUserMedia # if firefox
pcConfig =
iceServers: [
url:... |
[
{
"context": "xt, (text, f) ->\n f(text)\n \n # Based on Jeff Atwood's \"Cleaning Word's Nasty HTML\"\n # http://www.cod",
"end": 4788,
"score": 0.9996938705444336,
"start": 4777,
"tag": "NAME",
"value": "Jeff Atwood"
}
] | src/unstyler.coffee | uq-eresearch/unstyler | 6 | ###!
# Copyright (c) 2013 The University of Queensland
# (UQ ITEE e-Research Group)
#
# MIT Licensed
###
"use strict"
((exportFunc) ->
# Implementing foldLeft so we can apply lists of operations
foldLeft = (iterable, zero, f) ->
foldLeftArray = (iterable, zero, f) ->
memo = zero
for n in iterable... | 207625 | ###!
# Copyright (c) 2013 The University of Queensland
# (UQ ITEE e-Research Group)
#
# MIT Licensed
###
"use strict"
((exportFunc) ->
# Implementing foldLeft so we can apply lists of operations
foldLeft = (iterable, zero, f) ->
foldLeftArray = (iterable, zero, f) ->
memo = zero
for n in iterable... | true | ###!
# Copyright (c) 2013 The University of Queensland
# (UQ ITEE e-Research Group)
#
# MIT Licensed
###
"use strict"
((exportFunc) ->
# Implementing foldLeft so we can apply lists of operations
foldLeft = (iterable, zero, f) ->
foldLeftArray = (iterable, zero, f) ->
memo = zero
for n in iterable... |
[
{
"context": "isting phrases\", () ->\n pastPhrases = name: \"Luna\"\n lastPhrases = name: \"Luccas\"\n intl",
"end": 580,
"score": 0.5607969760894775,
"start": 579,
"tag": "NAME",
"value": "L"
},
{
"context": "Phrases = name: \"Luna\"\n lastPhrases = name: \"Lucc... | spec/javascripts/core/helpers/i18n.spec.coffee | houzelio/houzel | 2 | import defaultLocale from "../../../../config/locales/javascript/en.yml"
import { t } from 'javascripts/core/helpers/i18n'
describe("i18n", () ->
beforeAll ->
@defaultPhrases = defaultLocale.json['en'].javascripts
@phrases = {
message: "Hi"
interpolation: "%{message}"
namespace:
mes... | 72160 | import defaultLocale from "../../../../config/locales/javascript/en.yml"
import { t } from 'javascripts/core/helpers/i18n'
describe("i18n", () ->
beforeAll ->
@defaultPhrases = defaultLocale.json['en'].javascripts
@phrases = {
message: "Hi"
interpolation: "%{message}"
namespace:
mes... | true | import defaultLocale from "../../../../config/locales/javascript/en.yml"
import { t } from 'javascripts/core/helpers/i18n'
describe("i18n", () ->
beforeAll ->
@defaultPhrases = defaultLocale.json['en'].javascripts
@phrases = {
message: "Hi"
interpolation: "%{message}"
namespace:
mes... |
[
{
"context": "# parser.coffee - Julian Rosenblum\n# Parses Markato files into Markato object\n\n_ = r",
"end": 34,
"score": 0.9998936653137207,
"start": 18,
"tag": "NAME",
"value": "Julian Rosenblum"
}
] | public/scripts/parser.coffee | markato/markato.github.io | 21 | # parser.coffee - Julian Rosenblum
# Parses Markato files into Markato object
_ = require 'underscore'
S = require 'string'
isChordLine = (line) -> S(line).startsWith ':'
parseFooterStartLine = (state, line) ->
state.current.footer = true
state
parseMetaLine = (state, line) ->
metaLine = S(line).chompLeft('##... | 202742 | # parser.coffee - <NAME>
# Parses Markato files into Markato object
_ = require 'underscore'
S = require 'string'
isChordLine = (line) -> S(line).startsWith ':'
parseFooterStartLine = (state, line) ->
state.current.footer = true
state
parseMetaLine = (state, line) ->
metaLine = S(line).chompLeft('##').s
if... | true | # parser.coffee - PI:NAME:<NAME>END_PI
# Parses Markato files into Markato object
_ = require 'underscore'
S = require 'string'
isChordLine = (line) -> S(line).startsWith ':'
parseFooterStartLine = (state, line) ->
state.current.footer = true
state
parseMetaLine = (state, line) ->
metaLine = S(line).chompLeft... |
[
{
"context": "\n ip: '1.1.1.1'\n user: 'root'\n ssh_key: 'overcast.key'\n ",
"end": 410,
"score": 0.8386975526809692,
"start": 406,
"tag": "USERNAME",
"value": "root"
},
{
"context": " user: 'root'\n ssh_key: 'o... | test/unit/tunnel.spec.coffee | skmezanul/overcast | 238 | _ = require('lodash')
cli = require('../../modules/cli')
utils = require('../../modules/utils')
tunnel = require('../../modules/commands/tunnel')
specUtils = require('./utils')
describe 'tunnel', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
dummy: {
instances: {
'dummy.0... | 67791 | _ = require('lodash')
cli = require('../../modules/cli')
utils = require('../../modules/utils')
tunnel = require('../../modules/commands/tunnel')
specUtils = require('./utils')
describe 'tunnel', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
dummy: {
instances: {
'dummy.0... | true | _ = require('lodash')
cli = require('../../modules/cli')
utils = require('../../modules/utils')
tunnel = require('../../modules/commands/tunnel')
specUtils = require('./utils')
describe 'tunnel', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
dummy: {
instances: {
'dummy.0... |
[
{
"context": "PUBSUB_BRIDGE = \"pubsub-bridge@broadcaster.buddycloud.com\"\nBOSH_SERVICE = 'http://buddycloud.com/http-bind/",
"end": 57,
"score": 0.999868631362915,
"start": 17,
"tag": "EMAIL",
"value": "pubsub-bridge@broadcaster.buddycloud.com"
},
{
"context": ".metajack.im:5280/xm... | app/controllers/application.coffee | bnolan/diaspora-x2 | 7 | PUBSUB_BRIDGE = "pubsub-bridge@broadcaster.buddycloud.com"
BOSH_SERVICE = 'http://buddycloud.com/http-bind/'
BOSH_SERVICE = 'http://bosh.metajack.im:5280/xmpp-httpbind'
CHANNEL = "/user/simon@buddycloud.com/channel"
`String.prototype.capitalize = function(){
return this.replace( /(^|\s)([a-z])/g , function(m,p1,p2)... | 147386 | PUBSUB_BRIDGE = "<EMAIL>"
BOSH_SERVICE = 'http://buddycloud.com/http-bind/'
BOSH_SERVICE = 'http://bosh.metajack.im:5280/xmpp-httpbind'
CHANNEL = "/user/<EMAIL>/channel"
`String.prototype.capitalize = function(){
return this.replace( /(^|\s)([a-z])/g , function(m,p1,p2){ return p1+p2.toUpperCase(); } );
};`
class ... | true | PUBSUB_BRIDGE = "PI:EMAIL:<EMAIL>END_PI"
BOSH_SERVICE = 'http://buddycloud.com/http-bind/'
BOSH_SERVICE = 'http://bosh.metajack.im:5280/xmpp-httpbind'
CHANNEL = "/user/PI:EMAIL:<EMAIL>END_PI/channel"
`String.prototype.capitalize = function(){
return this.replace( /(^|\s)([a-z])/g , function(m,p1,p2){ return p1+p2.t... |
[
{
"context": " user: {\n username: 'xx',\n name: 'oo',\n ",
"end": 1649,
"score": 0.9860753417015076,
"start": 1647,
"tag": "USERNAME",
"value": "xx"
},
{
"context": " user: {\n username: 'xx',... | app/modules/user-timeline/user-timeline-item/user-timeline-item-title.service.spec.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 152484 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "\n\n\n </div>\n\n \"\n\n Email.send({\n from: \"admin@dapperink.com\"\n to: \"info@dapperink.com\"\n subject: \"Inqui",
"end": 1926,
"score": 0.9999262690544128,
"start": 1907,
"tag": "EMAIL",
"value": "admin@dapperink.com"
},
{
"context": "l.send({\n ... | _source/server/email/inquries.coffee | jbaxleyiii/dapperink | 0 |
sendEmail = (document) ->
options = ""
for option in document.options
string = "
<p>
<strong>#{option.label}:</strong> #{option.value}
</p>
"
options += string
monthNames = [
'January'
'February'
'March'
'April'
'May'
'June'
'July'
'August'
'Sept... | 122490 |
sendEmail = (document) ->
options = ""
for option in document.options
string = "
<p>
<strong>#{option.label}:</strong> #{option.value}
</p>
"
options += string
monthNames = [
'January'
'February'
'March'
'April'
'May'
'June'
'July'
'August'
'Sept... | true |
sendEmail = (document) ->
options = ""
for option in document.options
string = "
<p>
<strong>#{option.label}:</strong> #{option.value}
</p>
"
options += string
monthNames = [
'January'
'February'
'March'
'April'
'May'
'June'
'July'
'August'
'Sept... |
[
{
"context": "# mmap_js_test.coffee\n# Rémi Attab, 19 April 2012\n# Copyright (c) 2012 Datacratic. ",
"end": 34,
"score": 0.999858021736145,
"start": 24,
"tag": "NAME",
"value": "Rémi Attab"
}
] | mmap/testing/mmap_js_test.coffee | datacratic/DasDB | 3 | # mmap_js_test.coffee
# Rémi Attab, 19 April 2012
# Copyright (c) 2012 Datacratic. All rights reserved.
#
# Constants forwarded from the mmap_const.h headers
#
vows = require "vows"
assert = require "assert"
fs = require "fs"
util = require "util"
mmap = require "mmap_js"
filePrefix = "mmap_js_test_" + pr... | 113820 | # mmap_js_test.coffee
# <NAME>, 19 April 2012
# Copyright (c) 2012 Datacratic. All rights reserved.
#
# Constants forwarded from the mmap_const.h headers
#
vows = require "vows"
assert = require "assert"
fs = require "fs"
util = require "util"
mmap = require "mmap_js"
filePrefix = "mmap_js_test_" + proces... | true | # mmap_js_test.coffee
# PI:NAME:<NAME>END_PI, 19 April 2012
# Copyright (c) 2012 Datacratic. All rights reserved.
#
# Constants forwarded from the mmap_const.h headers
#
vows = require "vows"
assert = require "assert"
fs = require "fs"
util = require "util"
mmap = require "mmap_js"
filePrefix = "mmap_js_t... |
[
{
"context": "pEqual(url.parseAuth(), {user: 'user', password: 'password'})\n\n assert.equal(url.hostname, 'host')\n ",
"end": 535,
"score": 0.9996540546417236,
"start": 527,
"tag": "PASSWORD",
"value": "password"
},
{
"context": ")\n assert.deepEqual(url.parseAuth(), {u... | test/unit/url.coffee | michaelBenin/backbone-orm | 1 | assert = require 'assert'
DatabaseURL = require '../../lib/database_url'
_ = require 'underscore'
module.exports = (options, callback) ->
describe 'DatabaseURL', ->
after (done) -> callback(); done()
it 'parses url (unparsed query)', (done) ->
url = new DatabaseURL('protocol://user:password@host:80/... | 49144 | assert = require 'assert'
DatabaseURL = require '../../lib/database_url'
_ = require 'underscore'
module.exports = (options, callback) ->
describe 'DatabaseURL', ->
after (done) -> callback(); done()
it 'parses url (unparsed query)', (done) ->
url = new DatabaseURL('protocol://user:password@host:80/... | true | assert = require 'assert'
DatabaseURL = require '../../lib/database_url'
_ = require 'underscore'
module.exports = (options, callback) ->
describe 'DatabaseURL', ->
after (done) -> callback(); done()
it 'parses url (unparsed query)', (done) ->
url = new DatabaseURL('protocol://user:password@host:80/... |
[
{
"context": "==============\n# requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel.\n# http://",
"end": 440,
"score": 0.9998872876167297,
"start": 429,
"tag": "NAME",
"value": "Erik Möller"
},
{
"context": "AnimationFrame polyfill by Erik Möller. fix... | src/coffee/module/helper/rAF.coffee | angstrom-science/Angstrom | 2 | # requestAnimationFrame CoffeeScript #
# The Window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint. The method takes as an argument a callback to be invoked before the repaint. ... | 188969 | # requestAnimationFrame CoffeeScript #
# The Window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint. The method takes as an argument a callback to be invoked before the repaint. ... | true | # requestAnimationFrame CoffeeScript #
# The Window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint. The method takes as an argument a callback to be invoked before the repaint. ... |
[
{
"context": "\n\t\tif app.mode is <%= app.DEV %>\n\t\t\terrorKey = 'd' + err.code\n\t\t\tdefErrKey = 'd500'\n\t\telse\n\t\t\terror",
"end": 483,
"score": 0.9257448315620422,
"start": 482,
"tag": "KEY",
"value": "d"
},
{
"context": ".mode is <%= app.DEV %>\n\t\t\terrorKey = 'd' +... | assets/core/index/_uncaught-request-error.coffee | coredigix/gridfw | 0 | ###
# Uncaugth Request Errors
###
_uncaughtRequestErrorHandler = (err, ctx, app)->
settings = app.s
if err
if typeof err.code is 'number'
else
err = new GError 500, err.message, err
else
err = new GError 520, 'Unknown Error!'
# everything unless 404 is a fatal error
if err.code is 404
ctx.debug 'PAGE... | 218086 | ###
# Uncaugth Request Errors
###
_uncaughtRequestErrorHandler = (err, ctx, app)->
settings = app.s
if err
if typeof err.code is 'number'
else
err = new GError 500, err.message, err
else
err = new GError 520, 'Unknown Error!'
# everything unless 404 is a fatal error
if err.code is 404
ctx.debug 'PAGE... | true | ###
# Uncaugth Request Errors
###
_uncaughtRequestErrorHandler = (err, ctx, app)->
settings = app.s
if err
if typeof err.code is 'number'
else
err = new GError 500, err.message, err
else
err = new GError 520, 'Unknown Error!'
# everything unless 404 is a fatal error
if err.code is 404
ctx.debug 'PAGE... |
[
{
"context": " p :: Point = {x:3, y:3}\n p.x = \"hoge\"\n \"\"\"\n\n test 'void', ->\n nf :: () ",
"end": 3251,
"score": 0.8377470374107361,
"start": 3247,
"tag": "NAME",
"value": "hoge"
}
] | test/type_checker.coffee | pasberth/TypedCoffeeScript | 5 | suite 'TypeChecker', ->
suite 'Assignment', ->
test 'basic assign', ->
x :: Number = 3
eq x, 3
test 'basic assign', ->
x :: Number = 3
x = 5
eq x, 5
test 'assign function', ->
f :: Number -> Number = (n) -> n
g :: Number -> Number = f
test 'throw type misma... | 167551 | suite 'TypeChecker', ->
suite 'Assignment', ->
test 'basic assign', ->
x :: Number = 3
eq x, 3
test 'basic assign', ->
x :: Number = 3
x = 5
eq x, 5
test 'assign function', ->
f :: Number -> Number = (n) -> n
g :: Number -> Number = f
test 'throw type misma... | true | suite 'TypeChecker', ->
suite 'Assignment', ->
test 'basic assign', ->
x :: Number = 3
eq x, 3
test 'basic assign', ->
x :: Number = 3
x = 5
eq x, 5
test 'assign function', ->
f :: Number -> Number = (n) -> n
g :: Number -> Number = f
test 'throw type misma... |
[
{
"context": "t is past a postresponse is given.\n#\n# Author:\n# Andy March <mail@andymarch.co.uk>\n\nmodule.exports = (robot) ",
"end": 589,
"score": 0.9998774528503418,
"start": 579,
"tag": "NAME",
"value": "Andy March"
},
{
"context": "ostresponse is given.\n#\n# Author:\n# A... | src/scripts/event.coffee | andymarch/Hubot-Scripts | 1 | # Description:
# Script to count down to an event on a single given date.
#
# Dependencies:
# none
#
# Configuration:
# Set the event and eventDate in the script below, these determine the string to respond to and when the event will happen.
# Configure the responses for before and after the event has occurred.... | 84534 | # Description:
# Script to count down to an event on a single given date.
#
# Dependencies:
# none
#
# Configuration:
# Set the event and eventDate in the script below, these determine the string to respond to and when the event will happen.
# Configure the responses for before and after the event has occurred.... | true | # Description:
# Script to count down to an event on a single given date.
#
# Dependencies:
# none
#
# Configuration:
# Set the event and eventDate in the script below, these determine the string to respond to and when the event will happen.
# Configure the responses for before and after the event has occurred.... |
[
{
"context": "ag\n tag = new Tag\n name: name\n color: ColorHash.getColor(name, '",
"end": 923,
"score": 0.5682740211486816,
"start": 919,
"tag": "NAME",
"value": "name"
}
] | client/app/collections/tags.coffee | Noctisae/cozy-series | 2 | Tag = require '../models/tag'
module.exports = class TagCollection extends Backbone.Collection
model: Tag
url: 'tags'
# Uniqueness against Tag.name field.
add: (models, options) ->
# handle singular or arrays
if _.isArray models
models = _.clone models
else
... | 215415 | Tag = require '../models/tag'
module.exports = class TagCollection extends Backbone.Collection
model: Tag
url: 'tags'
# Uniqueness against Tag.name field.
add: (models, options) ->
# handle singular or arrays
if _.isArray models
models = _.clone models
else
... | true | Tag = require '../models/tag'
module.exports = class TagCollection extends Backbone.Collection
model: Tag
url: 'tags'
# Uniqueness against Tag.name field.
add: (models, options) ->
# handle singular or arrays
if _.isArray models
models = _.clone models
else
... |
[
{
"context": "RLINE}#{@color 'blue'}#{link}#{@RESET}\"\n\n name: 'Dress'\n description: 'Nice dresses '\n version: '0.1'\n",
"end": 980,
"score": 0.5989195108413696,
"start": 975,
"tag": "NAME",
"value": "Dress"
},
{
"context": "on: 'Nice dresses '\n version: '0.1'\n authors: ['... | plugins/dress.coffee | Arrogance/nerdobot | 1 | request = require 'request'
URL = 'http://www.reddit.com/r/littleblackdress+tightdresses.json?'
module.exports = ->
@addCommand 'dress',
description: 'Return random sexy dress picture from Reddit',
help: 'Search is done in littleblackdress and tightdresses'
(from, message, channel) =>
if not chann... | 16082 | request = require 'request'
URL = 'http://www.reddit.com/r/littleblackdress+tightdresses.json?'
module.exports = ->
@addCommand 'dress',
description: 'Return random sexy dress picture from Reddit',
help: 'Search is done in littleblackdress and tightdresses'
(from, message, channel) =>
if not chann... | true | request = require 'request'
URL = 'http://www.reddit.com/r/littleblackdress+tightdresses.json?'
module.exports = ->
@addCommand 'dress',
description: 'Return random sexy dress picture from Reddit',
help: 'Search is done in littleblackdress and tightdresses'
(from, message, channel) =>
if not chann... |
[
{
"context": "ion) ->\n\n basicOb =\n phone : ''\n password : ''\n repassword : ''\n $scope.item = _.clone basic",
"end": 508,
"score": 0.9883648157119751,
"start": 508,
"tag": "PASSWORD",
"value": ""
},
{
"context": "TICATED\"\n paramReset =\n password : $... | app/core/controllers/forget-pass.coffee | xitrumuit1991/ls-yuptv | 0 | "use strict"
route = ($stateProvider, GlobalConfig)->
$stateProvider
.state "base.forget-pass",
url : "quen-mat-khau"
views :
"main@" :
templateUrl : "/templates/forget-pass/view.html"
controller : "ForgetPassCtrl"
route.$inject = ['$stateProvider', 'GlobalConfig']
ctrl = ($rootScope... | 11380 | "use strict"
route = ($stateProvider, GlobalConfig)->
$stateProvider
.state "base.forget-pass",
url : "quen-mat-khau"
views :
"main@" :
templateUrl : "/templates/forget-pass/view.html"
controller : "ForgetPassCtrl"
route.$inject = ['$stateProvider', 'GlobalConfig']
ctrl = ($rootScope... | true | "use strict"
route = ($stateProvider, GlobalConfig)->
$stateProvider
.state "base.forget-pass",
url : "quen-mat-khau"
views :
"main@" :
templateUrl : "/templates/forget-pass/view.html"
controller : "ForgetPassCtrl"
route.$inject = ['$stateProvider', 'GlobalConfig']
ctrl = ($rootScope... |
[
{
"context": "# Aaron's Snippets!\n\n# This file uses CoffeeScript Object",
"end": 7,
"score": 0.9277735352516174,
"start": 2,
"tag": "NAME",
"value": "Aaron"
},
{
"context": "can read more about it here:\n# https://github.com/bevry/cson#what-is-cson\n\n'.source.js':\n 'mocha/descri... | atom/snippets.cson | aatrostle/dotfiles | 1 | # Aaron's Snippets!
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
'.source.js':
'mocha/describe':
'prefix': 'desc'
'body': """
describe('${1:feature}', () => {$2});$3
"""
'moc... | 180295 | # <NAME>'s Snippets!
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
'.source.js':
'mocha/describe':
'prefix': 'desc'
'body': """
describe('${1:feature}', () => {$2});$3
"""
'mo... | true | # PI:NAME:<NAME>END_PI's Snippets!
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
'.source.js':
'mocha/describe':
'prefix': 'desc'
'body': """
describe('${1:feature}', () => {$2});$3... |
[
{
"context": "username': user.username()\n 'password': user.password()\n }\n datatype: 'json'\n type: ",
"end": 692,
"score": 0.9922863841056824,
"start": 679,
"tag": "PASSWORD",
"value": "user.password"
}
] | app/SuperPhy/static/CoffeeScript/Models/User.coffee | superphy/semantic | 16 | # coffeelint: disable=max_line_length
User = (data) ->
data = data or {}
@username = m.prop(data.username or "")
@password = m.prop(data.password or "")
@password2 = m.prop(data.password2 or "")
@first_name = m.prop(data.first_name or "")
@last_name = m.prop(data.last_name or "")
@email = m... | 104710 | # coffeelint: disable=max_line_length
User = (data) ->
data = data or {}
@username = m.prop(data.username or "")
@password = m.prop(data.password or "")
@password2 = m.prop(data.password2 or "")
@first_name = m.prop(data.first_name or "")
@last_name = m.prop(data.last_name or "")
@email = m... | true | # coffeelint: disable=max_line_length
User = (data) ->
data = data or {}
@username = m.prop(data.username or "")
@password = m.prop(data.password or "")
@password2 = m.prop(data.password2 or "")
@first_name = m.prop(data.first_name or "")
@last_name = m.prop(data.last_name or "")
@email = m... |
[
{
"context": "userId = S.users.create(name: 'admin', password: 'admin123')\npostId = S.blog.posts.publish(authorId: userId,",
"end": 355,
"score": 0.9992793798446655,
"start": 347,
"tag": "PASSWORD",
"value": "admin123"
},
{
"context": "\nS.blog.comments.publish(postId: postId, autho... | example/example.coffee | andreyvit/apitree.js | 2 |
global.DB =
put: (collection, object) ->
@[collection].push object
console.log "Added to #{collection}: #{JSON.stringify(object)}"
path = require 'path'
global.S = require('../lib/apitree').createApiTree(path.join(__dirname, 'server'))
console.log('value = %j', S.bare)
S.app.init()
userId = S.users.create... | 41143 |
global.DB =
put: (collection, object) ->
@[collection].push object
console.log "Added to #{collection}: #{JSON.stringify(object)}"
path = require 'path'
global.S = require('../lib/apitree').createApiTree(path.join(__dirname, 'server'))
console.log('value = %j', S.bare)
S.app.init()
userId = S.users.create... | true |
global.DB =
put: (collection, object) ->
@[collection].push object
console.log "Added to #{collection}: #{JSON.stringify(object)}"
path = require 'path'
global.S = require('../lib/apitree').createApiTree(path.join(__dirname, 'server'))
console.log('value = %j', S.bare)
S.app.init()
userId = S.users.create... |
[
{
"context": " time zone offsets are not conformant\n# with ES5 15.9.1.15 but are nonetheless supported in V8\nassertEquals ",
"end": 2062,
"score": 0.801103949546814,
"start": 2054,
"tag": "IP_ADDRESS",
"value": "5.9.1.15"
}
] | deps/v8/test/mjsunit/regress/regress-857.coffee | lxe/io.coffee | 0 | # Copyright 2010 the V8 project authors. 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 conditi... | 165760 | # Copyright 2010 the V8 project authors. 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 conditi... | true | # Copyright 2010 the V8 project authors. 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 conditi... |
[
{
"context": "# Basic Set\n# by Isaac Weinhausen\n# http://isaacw.com\n\n\n\n\n# Import classes\n# ------",
"end": 33,
"score": 0.9998902082443237,
"start": 17,
"tag": "NAME",
"value": "Isaac Weinhausen"
}
] | examples/basic-set.framer/app.coffee | ekfuhrmann/framer-animation-collections | 0 | # Basic Set
# by Isaac Weinhausen
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#877DD7"
... | 40556 | # Basic Set
# by <NAME>
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#877DD7"
"blue" : ... | true | # Basic Set
# by PI:NAME:<NAME>END_PI
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#877D... |
[
{
"context": " imgAlt: \"\"\n }\n ],\n\n [\n {\n header: \"Christophe Boesch\",\n subHeader: \"Scientist\",\n content: \"C",
"end": 2983,
"score": 0.9999022483825684,
"start": 2966,
"tag": "NAME",
"value": "Christophe Boesch"
},
{
"context": "h\",\n subHe... | app/lib/aboutContent.coffee | zooniverse/chimpandsee | 2 | aboutContent = [
[
{
header: "Can chimpanzee behavior tell us more about the origins of humanity?",
content: "Studies of human evolution often focus on the fossils and artifacts
left by our early ancestors. However, we can also make inferences about human
origins by studying our closest li... | 17582 | aboutContent = [
[
{
header: "Can chimpanzee behavior tell us more about the origins of humanity?",
content: "Studies of human evolution often focus on the fossils and artifacts
left by our early ancestors. However, we can also make inferences about human
origins by studying our closest li... | true | aboutContent = [
[
{
header: "Can chimpanzee behavior tell us more about the origins of humanity?",
content: "Studies of human evolution often focus on the fossils and artifacts
left by our early ancestors. However, we can also make inferences about human
origins by studying our closest li... |
[
{
"context": "# Tâmia © 2013 Artem Sapegin http://sapegin.me\n# https://github.com/sapegin/ta",
"end": 28,
"score": 0.9998993873596191,
"start": 15,
"tag": "NAME",
"value": "Artem Sapegin"
},
{
"context": "em Sapegin http://sapegin.me\n# https://github.com/sapegin/tamia\n# JS compone... | gh-pages/tamia/tamia/component.coffee | b0n3v/XRB-facebook | 0 | # Tâmia © 2013 Artem Sapegin http://sapegin.me
# https://github.com/sapegin/tamia
# JS component base class
'use strict'
$ = jQuery
###
JS component base class.
Elements: any HTML element with class name that follow a pattern `.js-name` where `name` is an element name.
States: any class on component root HTML node... | 67377 | # Tâmia © 2013 <NAME> http://sapegin.me
# https://github.com/sapegin/tamia
# JS component base class
'use strict'
$ = jQuery
###
JS component base class.
Elements: any HTML element with class name that follow a pattern `.js-name` where `name` is an element name.
States: any class on component root HTML node that f... | true | # Tâmia © 2013 PI:NAME:<NAME>END_PI http://sapegin.me
# https://github.com/sapegin/tamia
# JS component base class
'use strict'
$ = jQuery
###
JS component base class.
Elements: any HTML element with class name that follow a pattern `.js-name` where `name` is an element name.
States: any class on component root HT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.