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": "# loosly based on the colorwaves example by Kyle Philips (http://www.haptic-data.com/toxiclibsjs/examples/",
"end": 56,
"score": 0.9998643398284912,
"start": 44,
"tag": "NAME",
"value": "Kyle Philips"
}
] | live-examples/toxi/js/app.coffee | jamesstoneco/canvas-only | 1 | # loosly based on the colorwaves example by Kyle Philips (http://www.haptic-data.com/toxiclibsjs/examples/ColorWaves_raphael.html)
coffee_draw = (p5) ->
# class def
class Particle
constructor: (opts) ->
@loc = new toxi.geom.Vec2D(opts.x, opts.y)
@vel = new toxi.geom.Vec2D(opts.velx, opts.vely)
... | 134366 | # loosly based on the colorwaves example by <NAME> (http://www.haptic-data.com/toxiclibsjs/examples/ColorWaves_raphael.html)
coffee_draw = (p5) ->
# class def
class Particle
constructor: (opts) ->
@loc = new toxi.geom.Vec2D(opts.x, opts.y)
@vel = new toxi.geom.Vec2D(opts.velx, opts.vely)
@hei... | true | # loosly based on the colorwaves example by PI:NAME:<NAME>END_PI (http://www.haptic-data.com/toxiclibsjs/examples/ColorWaves_raphael.html)
coffee_draw = (p5) ->
# class def
class Particle
constructor: (opts) ->
@loc = new toxi.geom.Vec2D(opts.x, opts.y)
@vel = new toxi.geom.Vec2D(opts.velx, opts.ve... |
[
{
"context": "R = if LOCAL then \"http://localhost\" else \"http://50.116.7.184\"\n\nwindow.socket = socket = io.connect SERVER\n\nwin",
"end": 79,
"score": 0.9954923987388611,
"start": 67,
"tag": "IP_ADDRESS",
"value": "50.116.7.184"
}
] | src/handler.coffee | feross/Fling | 13 | LOCAL = off
SERVER = if LOCAL then "http://localhost" else "http://50.116.7.184"
window.socket = socket = io.connect SERVER
window.foundLocation = false
url = window.location.search.substring 1
window.onShake = ->
if !window.foundLocation
return
console.log 'shake'
window.socket.emit 'frisbee', ... | 29962 | LOCAL = off
SERVER = if LOCAL then "http://localhost" else "http://192.168.127.12"
window.socket = socket = io.connect SERVER
window.foundLocation = false
url = window.location.search.substring 1
window.onShake = ->
if !window.foundLocation
return
console.log 'shake'
window.socket.emit 'frisbee'... | true | LOCAL = off
SERVER = if LOCAL then "http://localhost" else "http://PI:IP_ADDRESS:192.168.127.12END_PI"
window.socket = socket = io.connect SERVER
window.foundLocation = false
url = window.location.search.substring 1
window.onShake = ->
if !window.foundLocation
return
console.log 'shake'
window.s... |
[
{
"context": "#\n# Tabs main file\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('core",
"end": 59,
"score": 0.9998831748962402,
"start": 42,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/tabs/main.coffee | lovely-io/lovely.io-stl | 2 | #
# Tabs main file
#
# Copyright (C) 2012 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
$ = require('dom')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# glue in your files
include 'src/tabs'
include 'src/document'
# export your objects in th... | 89404 | #
# Tabs main file
#
# Copyright (C) 2012 <NAME>
#
# hook up dependencies
core = require('core')
$ = require('dom')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# glue in your files
include 'src/tabs'
include 'src/document'
# export your objects in the module
ex... | true | #
# Tabs main file
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
# hook up dependencies
core = require('core')
$ = require('dom')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# glue in your files
include 'src/tabs'
include 'src/document'
# export your objects in... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.8940792083740234,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/collection.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
], ->
"use strict"
list =
insertAt: (index, item) ->
return this if not @__collection_... | 210137 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
], ->
"use strict"
list =
insertAt: (index, item) ->
return this if not @__collection... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
], ->
"use strict"
list =
insertAt: (index, item) ->
return this if not... |
[
{
"context": "Disallows nesting string interpolations.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 84,
"score": 0.9998617768287659,
"start": 72,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/no-nested-interpolation.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows nesting string interpolations.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
... | 223970 | ###*
# @fileoverview Disallows nesting string interpolations.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
des... | true | ###*
# @fileoverview Disallows nesting string interpolations.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
d... |
[
{
"context": "ass('active')\n\n # press left arrow in td\n #@editor.inputManager.addKeystrokeHandler '37', 'td', (e, $",
"end": 90428,
"score": 0.7145712375640869,
"start": 90422,
"tag": "EMAIL",
"value": "editor"
},
{
"context": "eystrokeHandler '37', 'td', (e, $node) =>\n ... | src/simditor.coffee | shakenetwork/simditor | 2 |
class Selection extends Plugin
@className: 'Selection'
constructor: (args...) ->
super args...
@sel = document.getSelection()
@editor = @widget
_init: ->
clear: ->
try
@sel.removeAllRanges()
catch e
getRange: ->
if !@editor.inputManager.focused or !@sel.rangeCount
re... | 17075 |
class Selection extends Plugin
@className: 'Selection'
constructor: (args...) ->
super args...
@sel = document.getSelection()
@editor = @widget
_init: ->
clear: ->
try
@sel.removeAllRanges()
catch e
getRange: ->
if !@editor.inputManager.focused or !@sel.rangeCount
re... | true |
class Selection extends Plugin
@className: 'Selection'
constructor: (args...) ->
super args...
@sel = document.getSelection()
@editor = @widget
_init: ->
clear: ->
try
@sel.removeAllRanges()
catch e
getRange: ->
if !@editor.inputManager.focused or !@sel.rangeCount
re... |
[
{
"context": " if id is '123'\n return {firstName: 'Alice'}\n else\n null\n getSync: getS",
"end": 336,
"score": 0.999804675579071,
"start": 331,
"tag": "NAME",
"value": "Alice"
}
] | test/unit/client/filters/userNameSpec.coffee | valueflowquality/gi-security-update | 0 | describe 'userName filter', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.security'
#Mock (/ override) the User service that will be injected
beforeEach(module(($provide) ->
$provide.factory('User', () ->
getSync = (id) ->
if id is '123'
return {f... | 10219 | describe 'userName filter', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.security'
#Mock (/ override) the User service that will be injected
beforeEach(module(($provide) ->
$provide.factory('User', () ->
getSync = (id) ->
if id is '123'
return {f... | true | describe 'userName filter', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.security'
#Mock (/ override) the User service that will be injected
beforeEach(module(($provide) ->
$provide.factory('User', () ->
getSync = (id) ->
if id is '123'
return {f... |
[
{
"context": "don\"\nphase: \"beta\"\nphase_modifier: \"Public\"\nsro: \"Neil Couling\"\nservice_man: \"Anthony Brigginshaw\"\nphase_history",
"end": 664,
"score": 0.9997898936271667,
"start": 652,
"tag": "NAME",
"value": "Neil Couling"
},
{
"context": "ifier: \"Public\"\nsro: \"Neil... | app/data/projects/universal-credit.cson | tsmorgan/dwp-ux-work | 0 | id: 13
name: "Universal Credit Digital Service"
description: "Universal Credit (UC) Digital provides a simple, personalised digital and non-digital service for claimants and staff. The service encourages individual responsibility, supporting people finding work and finding better paid work. The service fully supports c... | 173807 | id: 13
name: "Universal Credit Digital Service"
description: "Universal Credit (UC) Digital provides a simple, personalised digital and non-digital service for claimants and staff. The service encourages individual responsibility, supporting people finding work and finding better paid work. The service fully supports c... | true | id: 13
name: "Universal Credit Digital Service"
description: "Universal Credit (UC) Digital provides a simple, personalised digital and non-digital service for claimants and staff. The service encourages individual responsibility, supporting people finding work and finding better paid work. The service fully supports c... |
[
{
"context": "ideo\n DefaultOptions:\n playerKey: \"AQ~~,AAAAmtVKbGE~,pW41hkPiaos27C7knwyeOWQgVlG4w7v5\"\n playerId: \"1247178207001\"\n ",
"end": 407,
"score": 0.9997726678848267,
"start": 357,
"tag": "KEY",
"value": "AQ~~,AAAAmtVKbGE~,pW41hkPiaos27C7knwye... | app/assets/javascripts/clients/BrightcoveVideo.js.coffee | arellaTV/AssetHost | 0 | window.BrightcoveVideos ?= {}
window.onTemplateLoaded = (id) ->
@player = brightcove.api.getExperience(id)
@modVP = @player.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER)
window.onTemplateReady = (event) ->
@BrightcoveVideos[@player.id].swap()
class AssetHost.Client.BrightcoveVideo
Defa... | 92326 | window.BrightcoveVideos ?= {}
window.onTemplateLoaded = (id) ->
@player = brightcove.api.getExperience(id)
@modVP = @player.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER)
window.onTemplateReady = (event) ->
@BrightcoveVideos[@player.id].swap()
class AssetHost.Client.BrightcoveVideo
Defa... | true | window.BrightcoveVideos ?= {}
window.onTemplateLoaded = (id) ->
@player = brightcove.api.getExperience(id)
@modVP = @player.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER)
window.onTemplateReady = (event) ->
@BrightcoveVideos[@player.id].swap()
class AssetHost.Client.BrightcoveVideo
Defa... |
[
{
"context": "groupsPerGroupSize', (groupsize) !->\n\t\t\tkeys.push(parseInt(groupsize.key()))\n\t\t\tif groupsize.peek() > maxCou",
"end": 6354,
"score": 0.5168256759643555,
"start": 6346,
"tag": "KEY",
"value": "parseInt"
}
] | client.coffee | LarsStegeman/ConquestDataCollection | 0 | Db = require 'db'
Dom = require 'dom'
Modal = require 'modal'
Obs = require 'obs'
Plugin = require 'plugin'
Server = require 'server'
Ui = require 'ui'
Time = require 'time'
Config = {
startTimestamp: 1434405600.0 # Timestamp which is used as day 0 for the statistics
}
exports.render = ->
log "FULL RENDER"
ren... | 123425 | Db = require 'db'
Dom = require 'dom'
Modal = require 'modal'
Obs = require 'obs'
Plugin = require 'plugin'
Server = require 'server'
Ui = require 'ui'
Time = require 'time'
Config = {
startTimestamp: 1434405600.0 # Timestamp which is used as day 0 for the statistics
}
exports.render = ->
log "FULL RENDER"
ren... | true | Db = require 'db'
Dom = require 'dom'
Modal = require 'modal'
Obs = require 'obs'
Plugin = require 'plugin'
Server = require 'server'
Ui = require 'ui'
Time = require 'time'
Config = {
startTimestamp: 1434405600.0 # Timestamp which is used as day 0 for the statistics
}
exports.render = ->
log "FULL RENDER"
ren... |
[
{
"context": "st \"/homecontroller/timer/create\",\n \"name\": \"Ajastin\"\n\n\n refreshFromServer()\n setInterval refreshFro",
"end": 12754,
"score": 0.9998127818107605,
"start": 12747,
"tag": "NAME",
"value": "Ajastin"
}
] | homedisplay/info_timers/static/js/timer.coffee | ojarva/home-info-display | 1 | obj = @
obj.timers = null
Timer = (parent_elem, options) ->
created_by_backend = false
start_time = null
update_interval = null
backend_interval = null
alarm_interval = null
running = false
id_uniq = uuid()
id = null
timer_elem = null
options = options or {}
options.delay = options.delay or 1000
... | 129406 | obj = @
obj.timers = null
Timer = (parent_elem, options) ->
created_by_backend = false
start_time = null
update_interval = null
backend_interval = null
alarm_interval = null
running = false
id_uniq = uuid()
id = null
timer_elem = null
options = options or {}
options.delay = options.delay or 1000
... | true | obj = @
obj.timers = null
Timer = (parent_elem, options) ->
created_by_backend = false
start_time = null
update_interval = null
backend_interval = null
alarm_interval = null
running = false
id_uniq = uuid()
id = null
timer_elem = null
options = options or {}
options.delay = options.delay or 1000
... |
[
{
"context": "ride) ->\n\t\t\tkey = \"#{(override.beerbodsName || '')}#{beerBrewerySplitter}#{(override.beerbodsBrewery ||",
"end": 1238,
"score": 0.693943977355957,
"start": 1236,
"tag": "KEY",
"value": "#{"
},
{
"context": "override.beerbodsName || '')}#{beerBrewerySplitter}#{(over... | src/beerbods-scraper.coffee | andersonshatch/beerbods-scraper | 0 | humanize = require "humanize"
pluralize = require "pluralize"
request = require "request"
got = require "got"
fs = require "fs"
util = require "util"
beerbodsUrl = 'https://beerbods.co.uk'
untappdClientId = process.env.UNTAPPD_CLIENT_ID || ''
untappdClientSecret = process.env.UNTAPPD_CLIENT_SECRET || ''
untappdAccess... | 143859 | humanize = require "humanize"
pluralize = require "pluralize"
request = require "request"
got = require "got"
fs = require "fs"
util = require "util"
beerbodsUrl = 'https://beerbods.co.uk'
untappdClientId = process.env.UNTAPPD_CLIENT_ID || ''
untappdClientSecret = process.env.UNTAPPD_CLIENT_SECRET || ''
untappdAccess... | true | humanize = require "humanize"
pluralize = require "pluralize"
request = require "request"
got = require "got"
fs = require "fs"
util = require "util"
beerbodsUrl = 'https://beerbods.co.uk'
untappdClientId = process.env.UNTAPPD_CLIENT_ID || ''
untappdClientSecret = process.env.UNTAPPD_CLIENT_SECRET || ''
untappdAccess... |
[
{
"context": "\"username\": secret.netatmo.username,\n \"password\": secret.netatmo.password,\n}\n\nlibrato = require('librato-metrics').createCl",
"end": 675,
"score": 0.9992833733558655,
"start": 652,
"tag": "PASSWORD",
"value": "secret.netatmo.password"
}
] | netatmo_librato.coffee | sdesbure/netatmo_librato | 0 | #!/usr/bin/env coffee
require 'require-yaml'
require 'unorm'
xregexp = require('xregexp').XRegExp
netatmo = require('netatmo')
secret = require './secret.yml'
config = require './config.yml'
console.log config
root = exports ? this
ten_min_sec = 600
one_hour_sec = 3600
argv = require('minimist')(process.argv.slice(... | 143588 | #!/usr/bin/env coffee
require 'require-yaml'
require 'unorm'
xregexp = require('xregexp').XRegExp
netatmo = require('netatmo')
secret = require './secret.yml'
config = require './config.yml'
console.log config
root = exports ? this
ten_min_sec = 600
one_hour_sec = 3600
argv = require('minimist')(process.argv.slice(... | true | #!/usr/bin/env coffee
require 'require-yaml'
require 'unorm'
xregexp = require('xregexp').XRegExp
netatmo = require('netatmo')
secret = require './secret.yml'
config = require './config.yml'
console.log config
root = exports ? this
ten_min_sec = 600
one_hour_sec = 3600
argv = require('minimist')(process.argv.slice(... |
[
{
"context": "s.find().count() == 0\n\t\tProjects.insert\n\t\t\tname: 'Test Project'\n\t\t\tdescription: 'Little description'\n\t\t\t",
"end": 83,
"score": 0.9699172973632812,
"start": 79,
"tag": "NAME",
"value": "Test"
}
] | server/startup.coffee | Coding4KidsAT/coding4kids-ide | 0 | Meteor.startup ->
if Projects.find().count() == 0
Projects.insert
name: 'Test Project'
description: 'Little description'
publicFlag: false
featured: false
files: [
filename: 'index.html'
,
filename: 'style.css'
]
editor: []
versions:[] | 75570 | Meteor.startup ->
if Projects.find().count() == 0
Projects.insert
name: '<NAME> Project'
description: 'Little description'
publicFlag: false
featured: false
files: [
filename: 'index.html'
,
filename: 'style.css'
]
editor: []
versions:[] | true | Meteor.startup ->
if Projects.find().count() == 0
Projects.insert
name: 'PI:NAME:<NAME>END_PI Project'
description: 'Little description'
publicFlag: false
featured: false
files: [
filename: 'index.html'
,
filename: 'style.css'
]
editor: []
versions:[] |
[
{
"context": " flag creation of function inside a loop\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 91,
"score": 0.9997921586036682,
"start": 79,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/rules/no-loop-func.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag creation of function inside a loop
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Gets the containing loop node o... | 186394 | ###*
# @fileoverview Rule to flag creation of function inside a loop
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Gets the containing loop node of a sp... | true | ###*
# @fileoverview Rule to flag creation of function inside a loop
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Gets the containing loo... |
[
{
"context": ": \"secret\",\n \"access_token\": \"token\",\n \"access_token_secret\": \"token_secret\"\n",
"end": 439,
"score": 0.6671573519706726,
"start": 434,
"tag": "KEY",
"value": "token"
},
{
"context": ": \"secret\",\n \"access_token\": ... | test/src/specs/TwitterPublisher.spec.coffee | ingorichter/BracketsExtensionTweetBot | 0 | fs = require 'fs'
path = require 'path'
tp = source 'TwitterPublisher'
describe "TwitterPublisher", ->
beforeEach ->
@testData = JSON.parse(fs.readFileSync(path.join(path.dirname(module.filename), "../../testdata/twitter/feeds-1.json")))
describe "Timeline", ->
@tc
beforeEach ->
@tc = new tp({
... | 83184 | fs = require 'fs'
path = require 'path'
tp = source 'TwitterPublisher'
describe "TwitterPublisher", ->
beforeEach ->
@testData = JSON.parse(fs.readFileSync(path.join(path.dirname(module.filename), "../../testdata/twitter/feeds-1.json")))
describe "Timeline", ->
@tc
beforeEach ->
@tc = new tp({
... | true | fs = require 'fs'
path = require 'path'
tp = source 'TwitterPublisher'
describe "TwitterPublisher", ->
beforeEach ->
@testData = JSON.parse(fs.readFileSync(path.join(path.dirname(module.filename), "../../testdata/twitter/feeds-1.json")))
describe "Timeline", ->
@tc
beforeEach ->
@tc = new tp({
... |
[
{
"context": "x - 1)\n\n# Objects literals\nperson =\n firstName: \"Joe\"\n lastName: \"Schmoe\"\n\n# Object access\nif person[",
"end": 182,
"score": 0.9997735619544983,
"start": 179,
"tag": "NAME",
"value": "Joe"
},
{
"context": "literals\nperson =\n firstName: \"Joe\"\n lastNa... | ideas/gg/figures/rosettaStone.coffee | curran/canvas-vis | 2 | # Functions
square = (x) -> x * x
# Conditions that return values
factorial = (x) ->
if x < 1
1
else
x * (factorial x - 1)
# Objects literals
person =
firstName: "Joe"
lastName: "Schmoe"
# Object access
if person['firstName']
console.log person.firstName # Joe
# Object destructuring, string interp... | 154579 | # Functions
square = (x) -> x * x
# Conditions that return values
factorial = (x) ->
if x < 1
1
else
x * (factorial x - 1)
# Objects literals
person =
firstName: "<NAME>"
lastName: "<NAME>"
# Object access
if person['firstName']
console.log person.firstName # <NAME>
# Object destructuring, string ... | true | # Functions
square = (x) -> x * x
# Conditions that return values
factorial = (x) ->
if x < 1
1
else
x * (factorial x - 1)
# Objects literals
person =
firstName: "PI:NAME:<NAME>END_PI"
lastName: "PI:NAME:<NAME>END_PI"
# Object access
if person['firstName']
console.log person.firstName # PI:NAME:<NA... |
[
{
"context": "p://voxe.org/assets/iOS/114ios.png',\n name: \"Voxe\",\n caption: 'Voxe.org',\n description: '",
"end": 350,
"score": 0.9987030029296875,
"start": 346,
"tag": "NAME",
"value": "Voxe"
}
] | app/assets/javascripts/touch/views/share.js.coffee | JulienGuizot/voxe | 5 | class window.ShareView extends Backbone.View
events:
"click a.close": "closeClick"
"click .facebook": "facebook"
closeClick: ->
app.views.application.dissmissModalView()
facebook: ->
obj = {
method: 'feed',
link: 'http://voxe.org',
picture: 'http://voxe.org/assets/iOS/... | 175119 | class window.ShareView extends Backbone.View
events:
"click a.close": "closeClick"
"click .facebook": "facebook"
closeClick: ->
app.views.application.dissmissModalView()
facebook: ->
obj = {
method: 'feed',
link: 'http://voxe.org',
picture: 'http://voxe.org/assets/iOS/... | true | class window.ShareView extends Backbone.View
events:
"click a.close": "closeClick"
"click .facebook": "facebook"
closeClick: ->
app.views.application.dissmissModalView()
facebook: ->
obj = {
method: 'feed',
link: 'http://voxe.org',
picture: 'http://voxe.org/assets/iOS/... |
[
{
"context": ",\n \"email\": email\n \"password\": \"1234\").success((data, status, headers) =>\n de",
"end": 734,
"score": 0.9993502497673035,
"start": 730,
"tag": "PASSWORD",
"value": "1234"
},
{
"context": "rl,\n \"email\": email\n \"pa... | app/assets/javascripts/console/services.coffee | arakcheev/console | 0 | ###*
Console services.
###
define [
"angular"
], (angular) ->
"use strict"
mod = angular.module('console.factory', []);
mod.factory "ConsoleFactory", ['$http', '$q', ($http, $q)->
obj =
getUser: ->
deferred = $q.defer()
$http.get("/user")
.success((data, status, headers) =>
... | 22633 | ###*
Console services.
###
define [
"angular"
], (angular) ->
"use strict"
mod = angular.module('console.factory', []);
mod.factory "ConsoleFactory", ['$http', '$q', ($http, $q)->
obj =
getUser: ->
deferred = $q.defer()
$http.get("/user")
.success((data, status, headers) =>
... | true | ###*
Console services.
###
define [
"angular"
], (angular) ->
"use strict"
mod = angular.module('console.factory', []);
mod.factory "ConsoleFactory", ['$http', '$q', ($http, $q)->
obj =
getUser: ->
deferred = $q.defer()
$http.get("/user")
.success((data, status, headers) =>
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9976229667663574,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "2\n 3\n 4\n])\nsocket.send buf, 0, 0, common.PORT, \"127.0.0.1\", ok # useful? no\nsocket.se... | test/simple/test-dgram-oob-buffer.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... | 217098 | # 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###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)\n###\n\nfs = requi",
"end": 37,
"score": 0.9998528957366943,
"start": 26,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Lic... | node_modules/csv/test/escape.coffee | dishant-sheth/Baymax | 3 |
###
Test CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'escape', ->
# Note: we only escape quote and escape character
it 'should honor the default double quote es... | 200311 |
###
Test CSV - Copyright <NAME> <<EMAIL>> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'escape', ->
# Note: we only escape quote and escape character
it 'should honor the default double quote escape character... | true |
###
Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'escape', ->
# Note: we only escape quote and escape character
it 'should honor the default ... |
[
{
"context": ": \"206\"\n POS: \"PRP\"\n NER: \"O\"\n Speaker: \"PER0\"\n ,\n \"@\":\n id: \"2\"\n\n word: \"accidenta",
"end": 278,
"score": 0.9939972758293152,
"start": 274,
"tag": "USERNAME",
"value": "PER0"
},
{
"context": "d: \"219\"\n POS: \"RB\"\n NE... | test/parseTokens.test.coffee | xissy/node-opinosis | 2 | should = require 'should'
parseTokens = require '../lib/parseTokens'
describe 'parseTokens(...)', ->
tokens = [
"@":
id: "1"
word: "I"
lemma: "I"
CharacterOffsetBegin: "205"
CharacterOffsetEnd: "206"
POS: "PRP"
NER: "O"
Speaker: "PER0"
,
"@":
id: "2"
word: "a... | 149000 | should = require 'should'
parseTokens = require '../lib/parseTokens'
describe 'parseTokens(...)', ->
tokens = [
"@":
id: "1"
word: "I"
lemma: "I"
CharacterOffsetBegin: "205"
CharacterOffsetEnd: "206"
POS: "PRP"
NER: "O"
Speaker: "PER0"
,
"@":
id: "2"
word: "a... | true | should = require 'should'
parseTokens = require '../lib/parseTokens'
describe 'parseTokens(...)', ->
tokens = [
"@":
id: "1"
word: "I"
lemma: "I"
CharacterOffsetBegin: "205"
CharacterOffsetEnd: "206"
POS: "PRP"
NER: "O"
Speaker: "PER0"
,
"@":
id: "2"
word: "a... |
[
{
"context": "nk.com\", \"open2ch.net\"]\n keys = key.match(/.*\\/test\\/read\\.cgi\\/(\\w+?)\\/(\\d+)\\/l\\d+/)\n unless keys?\n $notice.textContent = ",
"end": 1354,
"score": 0.8285558819770813,
"start": 1316,
"tag": "KEY",
"value": "test\\/read\\.cgi\\/(\\w+?)\\/(\\d+)\\/... | src/write/submit_thread.coffee | readcrx-2/read.crx-2 | 38 | import Write from "./write.coffee"
Write.setFont()
class SubmitThread extends Write
_PONG_MSG: "write_iframe_pong:thread"
constructor: ->
super()
return
_setHeaderModifier: ->
{id} = await browser.tabs.getCurrent()
extraInfoSpec = ["requestHeaders", "blocking"]
if browser.webRequest.OnBefo... | 93411 | import Write from "./write.coffee"
Write.setFont()
class SubmitThread extends Write
_PONG_MSG: "write_iframe_pong:thread"
constructor: ->
super()
return
_setHeaderModifier: ->
{id} = await browser.tabs.getCurrent()
extraInfoSpec = ["requestHeaders", "blocking"]
if browser.webRequest.OnBefo... | true | import Write from "./write.coffee"
Write.setFont()
class SubmitThread extends Write
_PONG_MSG: "write_iframe_pong:thread"
constructor: ->
super()
return
_setHeaderModifier: ->
{id} = await browser.tabs.getCurrent()
extraInfoSpec = ["requestHeaders", "blocking"]
if browser.webRequest.OnBefo... |
[
{
"context": ")\n\n common.addUpgrade('#rebel-builder', 1, 1, 'Luke Skywalker')\n casper.then ->\n test.assertNotVisibl",
"end": 2509,
"score": 0.996313214302063,
"start": 2495,
"tag": "NAME",
"value": "Luke Skywalker"
}
] | tests/test_game_type.coffee | CrazyVulcan/xwing | 100 | common = require './common'
common.setup()
casper.test.begin "Show warning when using Epic ships outside Epic play", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'Rookie Pilot'
upgrades: []
... | 134592 | common = require './common'
common.setup()
casper.test.begin "Show warning when using Epic ships outside Epic play", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'Rookie Pilot'
upgrades: []
... | true | common = require './common'
common.setup()
casper.test.begin "Show warning when using Epic ships outside Epic play", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'Rookie Pilot'
upgrades: []
... |
[
{
"context": " 2011 Koding, Inc.\n\n@class: Subcollection\n@author: Christopher Thorn\n###\nBase = require './base'\nmodule.exports = clas",
"end": 112,
"score": 0.9998718500137329,
"start": 95,
"tag": "NAME",
"value": "Christopher Thorn"
}
] | node_modules_koding/bongo/lib/subcollection.coffee | ezgikaysi/koding | 1 | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: Subcollection
@author: Christopher Thorn
###
Base = require './base'
module.exports = class Subcollection
__proto__: do ->
###
Begin clever hack
###
#vm = require 'vm'
#PoachedArray = vm.runInNewContext 'Array', null, '... | 119793 | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: Subcollection
@author: <NAME>
###
Base = require './base'
module.exports = class Subcollection
__proto__: do ->
###
Begin clever hack
###
#vm = require 'vm'
#PoachedArray = vm.runInNewContext 'Array', null, 'arrayPoache... | true | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: Subcollection
@author: PI:NAME:<NAME>END_PI
###
Base = require './base'
module.exports = class Subcollection
__proto__: do ->
###
Begin clever hack
###
#vm = require 'vm'
#PoachedArray = vm.runInNewContext 'Array', null... |
[
{
"context": "ing object properties on separate lines.\n# @author Vitor Balocco\n###\n\n'use strict'\n\n#-----------------------------",
"end": 105,
"score": 0.999637246131897,
"start": 92,
"tag": "NAME",
"value": "Vitor Balocco"
}
] | src/tests/rules/object-property-newline.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to enforce placing object properties on separate lines.
# @author Vitor Balocco
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../... | 178528 | ###*
# @fileoverview Rule to enforce placing object properties on separate lines.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rule... | true | ###*
# @fileoverview Rule to enforce placing object properties on separate lines.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = requi... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998359680175781,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/misc/gulp/gulp-taskqueue.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
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 cond... | 148606 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "RT}'\n database: '${MONGO_DBNAME}'\n username: '${MONGO_USER}'\n password: '${MONGO_PASS}'\n connectionTimeout",
"end": 187,
"score": 0.9082065224647522,
"start": 177,
"tag": "USERNAME",
"value": "MONGO_USER"
},
{
"context": "NAME}'\n username: '${MONGO_USER}'\n p... | server/datasources.cson | BoLaMN/loopback-boot-di | 0 | db:
name: "db"
connector: "memory"
mongo:
name: "mongo"
connector: "mongo"
host: '${MONGO_HOST}'
port: '${MONGO_PORT}'
database: '${MONGO_DBNAME}'
username: '${MONGO_USER}'
password: '${MONGO_PASS}'
connectionTimeout: 300000
connectTimeoutMS: 300000
socketTimeoutMS: 300000
server:
auto_re... | 53788 | db:
name: "db"
connector: "memory"
mongo:
name: "mongo"
connector: "mongo"
host: '${MONGO_HOST}'
port: '${MONGO_PORT}'
database: '${MONGO_DBNAME}'
username: '${MONGO_USER}'
password: '${<PASSWORD>}'
connectionTimeout: 300000
connectTimeoutMS: 300000
socketTimeoutMS: 300000
server:
auto_re... | true | db:
name: "db"
connector: "memory"
mongo:
name: "mongo"
connector: "mongo"
host: '${MONGO_HOST}'
port: '${MONGO_PORT}'
database: '${MONGO_DBNAME}'
username: '${MONGO_USER}'
password: '${PI:PASSWORD:<PASSWORD>END_PI}'
connectionTimeout: 300000
connectTimeoutMS: 300000
socketTimeoutMS: 300000
s... |
[
{
"context": " \n# Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) \n# ",
"end": 824,
"score": 0.9997959733009338,
"start": 814,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/apps/header/show/HeaderShowView.coffee | wrml/wrml | 47 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | 98681 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | true | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... |
[
{
"context": "dB8ClRMTQFGBqwLpGbM78tJ4etTwC5zU7O3tS6tGpey3ejedNdOJ+1fkIp9F2/LmNVKb5aFlYq+9rk9ZiPph5YlLmWsDcyC5T+Sy9",
"end": 1273,
"score": 0.5212634205818176,
"start": 1272,
"tag": "KEY",
"value": "O"
},
{
"context": "LpGbM78tJ4etTwC5zU7O3tS6tGpey3ejedNdOJ+1fkIp9F2/LmNVKb5aFlYq+9rk9... | src/scoutapp-awssns.coffee | spanishdict/hubot-awssns-slack | 5 | # Description:
# Announce AWS SNS notifications to a slack room.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Notes:
# To use:
# Setup http://hostname/hubot/awssns-slack/%23ROOMNAME as
# your SNS notification endpoint.
#
# http://docs.aws.amazon.com/sns/latest/dg/SendM... | 207514 | # Description:
# Announce AWS SNS notifications to a slack room.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Notes:
# To use:
# Setup http://hostname/hubot/awssns-slack/%23ROOMNAME as
# your SNS notification endpoint.
#
# http://docs.aws.amazon.com/sns/latest/dg/SendM... | true | # Description:
# Announce AWS SNS notifications to a slack room.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Notes:
# To use:
# Setup http://hostname/hubot/awssns-slack/%23ROOMNAME as
# your SNS notification endpoint.
#
# http://docs.aws.amazon.com/sns/latest/dg/SendM... |
[
{
"context": "idRemoveItem(removeHandler)\n\n items = [{name: 'one', text: 'a'}, {name: 'two', text: 'b'}]\n list.",
"end": 344,
"score": 0.7963812351226807,
"start": 341,
"tag": "NAME",
"value": "one"
},
{
"context": ")\n\n items = [{name: 'one', text: 'a'}, {name: 'two', t... | spec/list-spec.coffee | Aerijo/settings-view | 316 | List = require '../lib/list'
describe 'List', ->
list = null
beforeEach ->
list = new List('name')
it 'emits add and remove events when setting items', ->
addHandler = jasmine.createSpy()
removeHandler = jasmine.createSpy()
list.onDidAddItem(addHandler)
list.onDidRemoveItem(removeHandler)
... | 144828 | List = require '../lib/list'
describe 'List', ->
list = null
beforeEach ->
list = new List('name')
it 'emits add and remove events when setting items', ->
addHandler = jasmine.createSpy()
removeHandler = jasmine.createSpy()
list.onDidAddItem(addHandler)
list.onDidRemoveItem(removeHandler)
... | true | List = require '../lib/list'
describe 'List', ->
list = null
beforeEach ->
list = new List('name')
it 'emits add and remove events when setting items', ->
addHandler = jasmine.createSpy()
removeHandler = jasmine.createSpy()
list.onDidAddItem(addHandler)
list.onDidRemoveItem(removeHandler)
... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\n\nmodule.exports = Reac",
"end": 19,
"score": 0.9998769760131836,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
},
{
"context": "= {};\n if (@state.password == @state.confirm_pw)\n update[\"passwords_mat... | src/client/components/login/CreateUserView.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
module.exports = React.createClass
getInitialState: ->
@default_state = {username: "", password: "", confirm_pw: "", \
passwords_match: true, email: "", group: "", user_alert: "", user_success: false};
render: ->
<div className="create-user-view">
... | 166544 | # Author: <NAME>
React = require("react");
module.exports = React.createClass
getInitialState: ->
@default_state = {username: "", password: "", confirm_pw: "", \
passwords_match: true, email: "", group: "", user_alert: "", user_success: false};
render: ->
<div className="create-user-view">
... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
module.exports = React.createClass
getInitialState: ->
@default_state = {username: "", password: "", confirm_pw: "", \
passwords_match: true, email: "", group: "", user_alert: "", user_success: false};
render: ->
<div className="create-user... |
[
{
"context": " welcome your feedbacks and thoughts. Please email sgzhaohang@gmail.com.'\n location: 'san francisco, ca'\n }\n ",
"end": 1783,
"score": 0.9998335242271423,
"start": 1763,
"tag": "EMAIL",
"value": "sgzhaohang@gmail.com"
}
] | src/client/app/journal/journal.controller.coffee | FindBoat/moolo | 0 | journalController = (
$anchorScroll,
$route,
logger,
posts,
postsResource,
utils
) ->
vm = this
init = () ->
vm.post = {}
vm.posts = posts
vm.page = 0
vm.numPerPage = 7
vm.defaultLocation =
if posts[0]? then posts[0].location else 'san francisco, ca'
vm.mems = getMems()
... | 161810 | journalController = (
$anchorScroll,
$route,
logger,
posts,
postsResource,
utils
) ->
vm = this
init = () ->
vm.post = {}
vm.posts = posts
vm.page = 0
vm.numPerPage = 7
vm.defaultLocation =
if posts[0]? then posts[0].location else 'san francisco, ca'
vm.mems = getMems()
... | true | journalController = (
$anchorScroll,
$route,
logger,
posts,
postsResource,
utils
) ->
vm = this
init = () ->
vm.post = {}
vm.posts = posts
vm.page = 0
vm.numPerPage = 7
vm.defaultLocation =
if posts[0]? then posts[0].location else 'san francisco, ca'
vm.mems = getMems()
... |
[
{
"context": "Enforce all aria-* properties are valid.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 107,
"score": 0.9998816251754761,
"start": 96,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/aria-props.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce all aria-* properties are valid.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{aria} = ... | 139945 | ### eslint-env jest ###
###*
# @fileoverview Enforce all aria-* properties are valid.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{aria} = requi... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce all aria-* properties are valid.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9887012243270874,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/newProgNotePage/index.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# UI logic for the progress note creation window
Async = require 'async'
Imm = require 'immutable'
Moment = require 'm... | 94262 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# UI logic for the progress note creation window
Async = require 'async'
Imm = require 'immutable'
Moment = require 'm... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# UI logic for the progress note creation window
Async = require 'async'
Imm = require 'immutable'
Momen... |
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{tags, config, ldap} = require '../test",
"end": 28,
"score": 0.7175208330154419,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": " binddn: ldap.config.binddn\n passwd: ldap.config.passwd\n for da... | packages/ldap/test/tools/databases.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require '../test'
they = require('mocha-they')(config)
return unless tags.ldap
describe 'ldap.databases', ->
they 'create a new index', ({ssh}) ->
nikita
$ssh: ssh
, ->
{databases} = await @ldap.tools.databases
suffix: ldap... | 181897 |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require '../test'
they = require('mocha-they')(config)
return unless tags.ldap
describe 'ldap.databases', ->
they 'create a new index', ({ssh}) ->
nikita
$ssh: ssh
, ->
{databases} = await @ldap.tools.databases
suffix: ldap... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require '../test'
they = require('mocha-they')(config)
return unless tags.ldap
describe 'ldap.databases', ->
they 'create a new index', ({ssh}) ->
nikita
$ssh: ssh
, ->
{databases} = await @ldap.tools.databases
suffix: ldap... |
[
{
"context": " None\n#\n# Configuration:\n# None\n#\n# Author:\n# Sam Lambert\n\nmodule.exports = (robot) ->\n robot.hear /\\b(i h",
"end": 160,
"score": 0.9998105764389038,
"start": 149,
"tag": "NAME",
"value": "Sam Lambert"
}
] | src/hate.coffee | samlambert/hubot-hate | 1 | # Description:
# When Hubot hears the word hate, he *might* post a reply ;)
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Author:
# Sam Lambert
module.exports = (robot) ->
robot.hear /\b(i hate)\b/i, (msg) ->
if Math.random() < 0.01
msg.send 'http://i.imgur.com/A3YuiZ0.jpg'
| 25920 | # Description:
# When Hubot hears the word hate, he *might* post a reply ;)
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.hear /\b(i hate)\b/i, (msg) ->
if Math.random() < 0.01
msg.send 'http://i.imgur.com/A3YuiZ0.jpg'
| true | # Description:
# When Hubot hears the word hate, he *might* post a reply ;)
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.hear /\b(i hate)\b/i, (msg) ->
if Math.random() < 0.01
msg.send 'http://i.imgur.com/A3YuiZ0.jpg'
|
[
{
"context": "indow.initEvents = (hadPartnerY,hadPartnerN,title,firstName,middleName,lastName,otherSurName,\n ",
"end": 60,
"score": 0.9992726445198059,
"start": 51,
"tag": "NAME",
"value": "firstName"
},
{
"context": "Events = (hadPartnerY,hadPartnerN,title,firstName,m... | c3/app/assets/javascripts/s_your_partner/g_yourPartnerPersonalDetails.coffee | dwp/ClaimCapture | 2 | window.initEvents = (hadPartnerY,hadPartnerN,title,firstName,middleName,lastName,otherSurName,
nino,dateOfBirthDay,dateOfBirthMonth,dateOfBirthYear,
nationality,seperatedFromPartnerY,seperatedFromPartnerN,partnerClaimingForY,partnerClaimingForN) ->
if not $("#" + hadPartnerY)... | 87275 | window.initEvents = (hadPartnerY,hadPartnerN,title,<NAME>,<NAME>Name,<NAME>,otherSurName,
nino,dateOfBirthDay,dateOfBirthMonth,dateOfBirthYear,
nationality,seperatedFromPartnerY,seperatedFromPartnerN,partnerClaimingForY,partnerClaimingForN) ->
if not $("#" + hadPartnerY).prop... | true | window.initEvents = (hadPartnerY,hadPartnerN,title,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PIName,PI:NAME:<NAME>END_PI,otherSurName,
nino,dateOfBirthDay,dateOfBirthMonth,dateOfBirthYear,
nationality,seperatedFromPartnerY,seperatedFromPartnerN,partnerClaimingForY,partnerClaimingF... |
[
{
"context": ": 39.28,\n \"lon\": -114.85,\n \"city\": \"Ely\",\n \"st\": \"NV\"\n },\n {\n \"lat\": ",
"end": 14356,
"score": 0.838996171951294,
"start": 14353,
"tag": "NAME",
"value": "Ely"
},
{
"context": "\": 40.28,\n \"lon\": -95.53,\n ... | lib-src/data-location-us.coffee | IBM-Cloud/bluemix-car-rally-charge-coupon | 0 | # Licensed under the Apache License. See footer for details.
# data generated from the US National Weather Service
# http://graphical.weather.gov/xml/rest.php
module.exports = [
{
"lat": 35.4,
"lon": -97.6,
"city": "Oklahoma City",
"st": "OK"
},
{
"lat": 36.2,
... | 207971 | # Licensed under the Apache License. See footer for details.
# data generated from the US National Weather Service
# http://graphical.weather.gov/xml/rest.php
module.exports = [
{
"lat": 35.4,
"lon": -97.6,
"city": "Oklahoma City",
"st": "OK"
},
{
"lat": 36.2,
... | true | # Licensed under the Apache License. See footer for details.
# data generated from the US National Weather Service
# http://graphical.weather.gov/xml/rest.php
module.exports = [
{
"lat": 35.4,
"lon": -97.6,
"city": "Oklahoma City",
"st": "OK"
},
{
"lat": 36.2,
... |
[
{
"context": "# Get Lyft wait times\nlyftTimes = () ->\n\tAPI_key = '_7yKgS-vd7Pr'\n\tproxy = 'https://paulmakesthe.net/ba-simple-pro",
"end": 64,
"score": 0.999582052230835,
"start": 51,
"tag": "KEY",
"value": "'_7yKgS-vd7Pr"
}
] | public/js/lyft.coffee | pschfr/dashboard | 1 | # Get Lyft wait times
lyftTimes = () ->
API_key = '_7yKgS-vd7Pr'
proxy = 'https://paulmakesthe.net/ba-simple-proxy.php'
lyftURL = 'http://truetime.portauthority.org/bustime/api/v1/getpredictions' + '?key=' + API_key
xhr = new XMLHttpRequest()
xhr.open('GET', proxy + '?url=' + encodeURIComponent(lyftURL), true)
x... | 34321 | # Get Lyft wait times
lyftTimes = () ->
API_key = <KEY>'
proxy = 'https://paulmakesthe.net/ba-simple-proxy.php'
lyftURL = 'http://truetime.portauthority.org/bustime/api/v1/getpredictions' + '?key=' + API_key
xhr = new XMLHttpRequest()
xhr.open('GET', proxy + '?url=' + encodeURIComponent(lyftURL), true)
xhr.onrea... | true | # Get Lyft wait times
lyftTimes = () ->
API_key = PI:KEY:<KEY>END_PI'
proxy = 'https://paulmakesthe.net/ba-simple-proxy.php'
lyftURL = 'http://truetime.portauthority.org/bustime/api/v1/getpredictions' + '?key=' + API_key
xhr = new XMLHttpRequest()
xhr.open('GET', proxy + '?url=' + encodeURIComponent(lyftURL), tru... |
[
{
"context": "#Language: Slovenian\n#Translators: alesvaupotic\n\nsl =\n\n add: \"dodaj\"\n and: \"in\"\n back: \"nazaj\"",
"end": 47,
"score": 0.9918554425239563,
"start": 35,
"tag": "USERNAME",
"value": "alesvaupotic"
},
{
"context": "j\"\n and: \"in\"\n back: \"nazaj\"\n cha... | t9n/sl.coffee | coWorkr-InSights/meteor-accounts-t9n | 80 | #Language: Slovenian
#Translators: alesvaupotic
sl =
add: "dodaj"
and: "in"
back: "nazaj"
changePassword: "Spremeni geslo"
choosePassword: "Izberi geslo"
clickAgree: "S klikom na Registracija se strinjaš"
configure: "Nastavi"
createAccount: "Nova registracija"
currentPassword: "Trenutno geslo"
don... | 61187 | #Language: Slovenian
#Translators: alesvaupotic
sl =
add: "dodaj"
and: "in"
back: "nazaj"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "S klikom na Registracija se strinjaš"
configure: "Nastavi"
createAccount: "Nova registracija"
currentPassword: "<PASSWORD>"
dontHaveAnAcc... | true | #Language: Slovenian
#Translators: alesvaupotic
sl =
add: "dodaj"
and: "in"
back: "nazaj"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "S klikom na Registracija se strinjaš"
configure: "Nastavi"
createAccount: "Nova registracija"
currentPa... |
[
{
"context": "class Bird\n constructor: (@name) ->\n\nbird = new Bird(\"Robin\")\nconsole.log \"The bi",
"end": 32,
"score": 0.975281834602356,
"start": 26,
"tag": "USERNAME",
"value": "(@name"
},
{
"context": " Bird\n constructor: (@name) ->\n\nbird = new Bird(\"Robin\")\nconsole.... | hour21/example08/app.coffee | raga2560/shapeshed-nodejsbook.io.examples | 166 | class Bird
constructor: (@name) ->
bird = new Bird("Robin")
console.log "The bird is a #{bird.name}!"
| 58348 | class Bird
constructor: (@name) ->
bird = new Bird("<NAME>")
console.log "The bird is a #{bird.name}!"
| true | class Bird
constructor: (@name) ->
bird = new Bird("PI:NAME:<NAME>END_PI")
console.log "The bird is a #{bird.name}!"
|
[
{
"context": " \"sprites\": [\n {\n \"id\": \"Captain Anya\",\n \"say\": {\n \"text\": \"Wha",
"end": 156,
"score": 0.9990817308425903,
"start": 144,
"tag": "NAME",
"value": "Captain Anya"
},
{
"context": "g\",\n \"id\"\n ... | app/lib/scripts/commonScripts.coffee | cochee/codecombat | 1 | module.exports = [
{
"channel": "surface:sprite-selected",
"noteChain": [
{
"sprites": [
{
"id": "Captain Anya",
"say": {
"text": "What do you need help with, boss?",
"responses": [
{
"text": "What do... | 212085 | module.exports = [
{
"channel": "surface:sprite-selected",
"noteChain": [
{
"sprites": [
{
"id": "<NAME>",
"say": {
"text": "What do you need help with, boss?",
"responses": [
{
"text": "What do I do ... | true | module.exports = [
{
"channel": "surface:sprite-selected",
"noteChain": [
{
"sprites": [
{
"id": "PI:NAME:<NAME>END_PI",
"say": {
"text": "What do you need help with, boss?",
"responses": [
{
"text": ... |
[
{
"context": "dorado.util.cancelDelay = (owner, name) ->\r\n\tkey = \"_timer_\" + name\r\n\ttimerId = owner[key]\r\n\tif timerId\r\n\t\tdel",
"end": 1576,
"score": 0.9774847030639648,
"start": 1567,
"tag": "KEY",
"value": "\"_timer_\""
},
{
"context": "cancelDelay = (owner, name) ->\... | test/src/core/util.coffee | AlexTong/grunt-dorado-build | 0 | #IMPORT_BEGIN
if exports?
dorado = require("./keyed-array")
module?.exports = dorado
else
dorado = @dorado
#IMPORT_END
dorado.util.trim = (text) ->
return if text? then String.prototype.trim.call(text) else ""
dorado.util.capitalize = (text) ->
return text unless text
return text.charAt(0).toUpperC... | 119004 | #IMPORT_BEGIN
if exports?
dorado = require("./keyed-array")
module?.exports = dorado
else
dorado = @dorado
#IMPORT_END
dorado.util.trim = (text) ->
return if text? then String.prototype.trim.call(text) else ""
dorado.util.capitalize = (text) ->
return text unless text
return text.charAt(0).toUpperC... | true | #IMPORT_BEGIN
if exports?
dorado = require("./keyed-array")
module?.exports = dorado
else
dorado = @dorado
#IMPORT_END
dorado.util.trim = (text) ->
return if text? then String.prototype.trim.call(text) else ""
dorado.util.capitalize = (text) ->
return text unless text
return text.charAt(0).toUpperC... |
[
{
"context": "e\n false\n\n# selectData: [{id: '1', name: \"John\"}, {id: '2', name: \"Mary\"}, {id: '3', name: \"Jane",
"end": 812,
"score": 0.9998623728752136,
"start": 808,
"tag": "NAME",
"value": "John"
},
{
"context": "tData: [{id: '1', name: \"John\"}, {id: '2', name: \... | client/app/scripts/components/auth/Role.coffee | softwarerero/protothril | 0 | m = require 'mithril'
Module = require '../abstract/Module'
VM = require './RoleVM'
RightVM = require './RightVM'
Select2Helper = require '../util/Select2Helper'
module.exports = class Role extends Module
constructor: (@app) ->
@controller: () =>
id = m.route.param("id")
VM.current.getForId id
back... | 37884 | m = require 'mithril'
Module = require '../abstract/Module'
VM = require './RoleVM'
RightVM = require './RightVM'
Select2Helper = require '../util/Select2Helper'
module.exports = class Role extends Module
constructor: (@app) ->
@controller: () =>
id = m.route.param("id")
VM.current.getForId id
back... | true | m = require 'mithril'
Module = require '../abstract/Module'
VM = require './RoleVM'
RightVM = require './RightVM'
Select2Helper = require '../util/Select2Helper'
module.exports = class Role extends Module
constructor: (@app) ->
@controller: () =>
id = m.route.param("id")
VM.current.getForId id
back... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999204277992249,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/directives/version-info.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 18996 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "@_top_from_rownr me, rownr ) + 2\n cellkey = \"#{colletters}#{rownr}\"\n yield tex \"\\\\node[sDebugJoints] at (#{x},#{",
"end": 37428,
"score": 0.9677200317382812,
"start": 37405,
"tag": "KEY",
"value": "\"#{colletters}#{rownr}\""
}
] | src/mkts-table.coffee | loveencounterflow/mingkwai-typesetter | 1 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'MKTS/TABLE'
log = CND.get_logger 'plain', badge
info ... | 198833 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'MKTS/TABLE'
log = CND.get_logger 'plain', badge
info ... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'MKTS/TABLE'
log = CND.get_logger 'plain', badge
info ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999096989631653,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/cover-uploader.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { CoverSelection } from './cover-selection'
import * as React from 'react'
import { a, div, label, p, strong } from 'react-dom-factories'
... | 153811 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { CoverSelection } from './cover-selection'
import * as React from 'react'
import { a, div, label, p, strong } from 'react-dom-factories'
import ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { CoverSelection } from './cover-selection'
import * as React from 'react'
import { a, div, label, p, strong } from 'react-dom-fac... |
[
{
"context": "gs.encryptionKey\n AppSettings.encryptionKey = generateUUID()\n\n",
"end": 589,
"score": 0.8760287761688232,
"start": 577,
"tag": "KEY",
"value": "generateUUID"
}
] | assets/js/onInstalled.coffee | josephcc/tab-track | 6 | chrome.runtime.onInstalled.addListener (details) ->
switch details.reason
when "install"
chrome.tabs.create {'url': chrome.extension.getURL('/html/interface.html?reason=installed')}, (tab) ->
Logger.info("Extension installed!")
when "update"
thisVersion = chrome.runtime.getManifest().versi... | 72157 | chrome.runtime.onInstalled.addListener (details) ->
switch details.reason
when "install"
chrome.tabs.create {'url': chrome.extension.getURL('/html/interface.html?reason=installed')}, (tab) ->
Logger.info("Extension installed!")
when "update"
thisVersion = chrome.runtime.getManifest().versi... | true | chrome.runtime.onInstalled.addListener (details) ->
switch details.reason
when "install"
chrome.tabs.create {'url': chrome.extension.getURL('/html/interface.html?reason=installed')}, (tab) ->
Logger.info("Extension installed!")
when "update"
thisVersion = chrome.runtime.getManifest().versi... |
[
{
"context": "e example - Show command examples.\n#\n# Author:\n# matsukaz <matsukaz@gmail.com>\n# ura14h <ishiura@ja2.so-n",
"end": 769,
"score": 0.9993222951889038,
"start": 761,
"tag": "USERNAME",
"value": "matsukaz"
},
{
"context": " Show command examples.\n#\n# Author:\n# ... | scripts/schedule.coffee | ura14h/hubot-rocketchat-reminder | 1 | # Description:
# Schedule a message in both cron-style and datetime-based format pattern
#
# Dependencies:
# "node-schedule" : "~1.0.0",
# "cron-parser" : "~1.0.1"
#
# Commands:
# hubot schedule `<cron pattern>` <message> - Schedule a message that runs recurrently.
# hubot schedule `<datetime pattern>` <mes... | 193753 | # Description:
# Schedule a message in both cron-style and datetime-based format pattern
#
# Dependencies:
# "node-schedule" : "~1.0.0",
# "cron-parser" : "~1.0.1"
#
# Commands:
# hubot schedule `<cron pattern>` <message> - Schedule a message that runs recurrently.
# hubot schedule `<datetime pattern>` <mes... | true | # Description:
# Schedule a message in both cron-style and datetime-based format pattern
#
# Dependencies:
# "node-schedule" : "~1.0.0",
# "cron-parser" : "~1.0.1"
#
# Commands:
# hubot schedule `<cron pattern>` <message> - Schedule a message that runs recurrently.
# hubot schedule `<datetime pattern>` <mes... |
[
{
"context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s",
"end": 31,
"score": 0.9964567422866821,
"start": 24,
"tag": "NAME",
"value": "Groupon"
}
] | src/client/services/cast-away.coffee | Mefiso/greenscreen | 729 | ###
Copyright (c) 2014, Groupon
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla... | 115698 | ###
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclai... | true | ###
Copyright (c) 2014, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7976614236831665,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/ht/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/ht_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"
... | 196110 | bcv_parser = require("../../js/ht_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/ht_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": "onName, environmentName) ->\n \"#{applicationName}-#{environmentName}\"\n\n constructor: ->\n @locks ",
"end": 116,
"score": 0.7049249410629272,
"start": 116,
"tag": "KEY",
"value": ""
},
{
"context": "pplicationName, environmentName}) ->\n key = keyFor(applic... | src/locks/index.coffee | shopkeep/hubot-atc | 3 | Lock = require('./lock.coffee')
class Locks
keyFor = (applicationName, environmentName) ->
"#{applicationName}-#{environmentName}"
constructor: ->
@locks = {}
lockFor: ({applicationName, environmentName}) ->
key = keyFor(applicationName, environmentName)
lock = @locks[key]
lock
add: ({ap... | 209103 | Lock = require('./lock.coffee')
class Locks
keyFor = (applicationName, environmentName) ->
"#{applicationName<KEY>}-#{environmentName}"
constructor: ->
@locks = {}
lockFor: ({applicationName, environmentName}) ->
key = keyFor(applicationName, environmentName)
lock = @locks[key]
lock
add:... | true | Lock = require('./lock.coffee')
class Locks
keyFor = (applicationName, environmentName) ->
"#{applicationNamePI:KEY:<KEY>END_PI}-#{environmentName}"
constructor: ->
@locks = {}
lockFor: ({applicationName, environmentName}) ->
key = keyFor(applicationName, environmentName)
lock = @locks[key]
... |
[
{
"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.8929281234741211,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i... | web/static/har/upload_ctrl.coffee | js882829/qiandao-1 | 9 | # 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:12:48
define (require, exports, module) ->
analysis = require '/static/har/analysis'
utils = require '/static/utils'
remoteload = () ->
for each in [/\/har\/edit\/(\d+)/, /\/push... | 213769 | # 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:12:48
define (require, exports, module) ->
analysis = require '/static/har/analysis'
utils = require '/static/utils'
remoteload = () ->
for each in [/\/har\/edit\/(\d+)/, /\/push\/\... | 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:12:48
define (require, exports, module) ->
analysis = require '/static/har/analysis'
utils = require '/static/utils'
remoteload = () ->
for each in [/\/har\/edit\/(\d... |
[
{
"context": "bluConfig =\n uuid: 'user-uuid'\n token: 'user-token'\n protocol: 'http'\n hostname: 'localhos",
"end": 355,
"score": 0.9558913707733154,
"start": 345,
"tag": "PASSWORD",
"value": "user-token"
}
] | test/destroyer-spec.coffee | octoblu/peter-party-planner | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
Destroyer = require '../src/destroyer'
describe 'Destroyer', ->
beforeEach ->
@meshblu = shmock()
enableDestroy @meshblu
@meshbluConfig =
uuid: '... | 194268 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
Destroyer = require '../src/destroyer'
describe 'Destroyer', ->
beforeEach ->
@meshblu = shmock()
enableDestroy @meshblu
@meshbluConfig =
uuid: '... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
Destroyer = require '../src/destroyer'
describe 'Destroyer', ->
beforeEach ->
@meshblu = shmock()
enableDestroy @meshblu
@meshbluConfig =
uuid: '... |
[
{
"context": "rom the hosting server\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\n\nexports.init = (args)->\n if args.length isnt ",
"end": 99,
"score": 0.9998849034309387,
"start": 82,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/remove.coffee | lovely-io/lovely.io-stl | 2 | #
# Removes a package version from the hosting server
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
exports.init = (args)->
if args.length isnt 2
print_error "You should specify a package name and its version"
else
hosting = require('../hosting')
lovelyrc = require('../lovelyrc')
sout "» Removi... | 213338 | #
# Removes a package version from the hosting server
#
# Copyright (C) 2011-2012 <NAME>
#
exports.init = (args)->
if args.length isnt 2
print_error "You should specify a package name and its version"
else
hosting = require('../hosting')
lovelyrc = require('../lovelyrc')
sout "» Removing #{lovely... | true | #
# Removes a package version from the hosting server
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
exports.init = (args)->
if args.length isnt 2
print_error "You should specify a package name and its version"
else
hosting = require('../hosting')
lovelyrc = require('../lovelyrc')
sout "» Rem... |
[
{
"context": "\n jade:\n pretty: true\n\n locals:\n author: 'Jeffrey Crocker',\n basedir: './',\n pages: [\n {\n ",
"end": 624,
"score": 0.9998883605003357,
"start": 609,
"tag": "NAME",
"value": "Jeffrey Crocker"
}
] | app.coffee | CrockAgile/CrockAgile-Roots | 0 | axis = require 'axis'
rupture = require 'rupture'
autoprefixer = require 'autoprefixer-stylus'
js_pipeline = require 'js-pipeline'
css_pipeline = require 'css-pipeline'
dynamic = require 'dynamic-content'
module.exports =
ignores: ['README.md', 'LICENSE', '**/_*', '.gitignore']
extensions: [
... | 137482 | axis = require 'axis'
rupture = require 'rupture'
autoprefixer = require 'autoprefixer-stylus'
js_pipeline = require 'js-pipeline'
css_pipeline = require 'css-pipeline'
dynamic = require 'dynamic-content'
module.exports =
ignores: ['README.md', 'LICENSE', '**/_*', '.gitignore']
extensions: [
... | true | axis = require 'axis'
rupture = require 'rupture'
autoprefixer = require 'autoprefixer-stylus'
js_pipeline = require 'js-pipeline'
css_pipeline = require 'css-pipeline'
dynamic = require 'dynamic-content'
module.exports =
ignores: ['README.md', 'LICENSE', '**/_*', '.gitignore']
extensions: [
... |
[
{
"context": "###\n Author: ec.huyinghuan@gmail.com\n Date: 2015.07.07 15:30 PM\n Describe:\n 添加已有仓",
"end": 37,
"score": 0.9999145269393921,
"start": 14,
"tag": "EMAIL",
"value": "ec.huyinghuan@gmail.com"
},
{
"context": "p>\n\n <input type='text'\n placeholder='gi... | src/js/gitlab/gitlab-add-directive.coffee | Kiteam/kiteam-angular | 0 | ###
Author: ec.huyinghuan@gmail.com
Date: 2015.07.07 15:30 PM
Describe:
添加已有仓库关联到项目
###
define [
'../ng-module'
], (_module)->
template = "
<div class='gitlab-add-form'>
<header>
<h3><i class='icon small add title'></i>添加已有仓库</h3>
</header>
<p>如果你的gitlab中已经存在与此项目关联的,请在此处添加 ... | 68832 | ###
Author: <EMAIL>
Date: 2015.07.07 15:30 PM
Describe:
添加已有仓库关联到项目
###
define [
'../ng-module'
], (_module)->
template = "
<div class='gitlab-add-form'>
<header>
<h3><i class='icon small add title'></i>添加已有仓库</h3>
</header>
<p>如果你的gitlab中已经存在与此项目关联的,请在此处添加 <a href='' >如何知道... | true | ###
Author: PI:EMAIL:<EMAIL>END_PI
Date: 2015.07.07 15:30 PM
Describe:
添加已有仓库关联到项目
###
define [
'../ng-module'
], (_module)->
template = "
<div class='gitlab-add-form'>
<header>
<h3><i class='icon small add title'></i>添加已有仓库</h3>
</header>
<p>如果你的gitlab中已经存在与此项目关联的,请在此处添加 <... |
[
{
"context": "alien: 'morninglightmountain'\n human: 'dudleybose'\n }).is().containerOf({alien: 'morningli",
"end": 5554,
"score": 0.9538125395774841,
"start": 5544,
"tag": "NAME",
"value": "dudleybose"
},
{
"context": "alien: 'morninglightmountain'\n h... | spec/bacon.matchers.spec.coffee | mkaemmerer/bacon.matchers | 0 | assert = require("assert")
Bacon = require("../bacon.matchers.js") # Test the result of the build
assertConstantly = (expectedValue, stream, done) ->
stream.onValue (val) -> assert.equal expectedValue, val
stream.onEnd done
assertValues = (expectedValues, stream, done) ->
foldedValues = stream.fold [], (values,... | 52008 | assert = require("assert")
Bacon = require("../bacon.matchers.js") # Test the result of the build
assertConstantly = (expectedValue, stream, done) ->
stream.onValue (val) -> assert.equal expectedValue, val
stream.onEnd done
assertValues = (expectedValues, stream, done) ->
foldedValues = stream.fold [], (values,... | true | assert = require("assert")
Bacon = require("../bacon.matchers.js") # Test the result of the build
assertConstantly = (expectedValue, stream, done) ->
stream.onValue (val) -> assert.equal expectedValue, val
stream.onEnd done
assertValues = (expectedValues, stream, done) ->
foldedValues = stream.fold [], (values,... |
[
{
"context": "endency on relative and hard-coded paths.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass Router\r\n\t###\r\n\t",
"end": 311,
"score": 0.999863862991333,
"start": 299,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/Router.coffee | qrefdev/qref | 0 | Route = require('./Route')
fs = require('fs')
###
Provides core request handling functionality and permits the auto-loading of routes at runtime.
@note Internal Usage Only - Not required outside the express bootstrap script.
@todo Remove dependency on relative and hard-coded paths.
@author Nathan Klick
@copyri... | 176170 | Route = require('./Route')
fs = require('fs')
###
Provides core request handling functionality and permits the auto-loading of routes at runtime.
@note Internal Usage Only - Not required outside the express bootstrap script.
@todo Remove dependency on relative and hard-coded paths.
@author <NAME>
@copyright QR... | true | Route = require('./Route')
fs = require('fs')
###
Provides core request handling functionality and permits the auto-loading of routes at runtime.
@note Internal Usage Only - Not required outside the express bootstrap script.
@todo Remove dependency on relative and hard-coded paths.
@author PI:NAME:<NAME>END_PI
... |
[
{
"context": "###\neditCtrl.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 47,
"score": 0.9997026324272156,
"start": 39,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\neditCtrl.coffee\nCopyright (C) 2015 ender xu <xuender@gm... | ma/editCtrl.coffee | xuender/mgoAdmin | 0 | ###
editCtrl.coffee
Copyright (C) 2015 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
EditCtrl= ($scope, $log, $modal, $modalInstance, data)->
$scope.data = data
$scope.$watch('data', (n, o)->
$log.debug 'watch', n
)
$scope.readOnly = (d)->
'_id' not of d
$scope.isObj =... | 101955 | ###
editCtrl.coffee
Copyright (C) 2015 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
EditCtrl= ($scope, $log, $modal, $modalInstance, data)->
$scope.data = data
$scope.$watch('data', (n, o)->
$log.debug 'watch', n
)
$scope.readOnly = (d)->
'_id' not of d
$scope.isObj = (d)->
a... | true | ###
editCtrl.coffee
Copyright (C) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
EditCtrl= ($scope, $log, $modal, $modalInstance, data)->
$scope.data = data
$scope.$watch('data', (n, o)->
$log.debug 'watch', n
)
$scope.readOnly = (d)->
'_id' not of d... |
[
{
"context": "e given function for each key', ->\n keys = ['one', 'two', 'three']\n fnKeys = []\n sys = System.forEach 'n",
"end": 805,
"score": 0.9980344176292419,
"start": 786,
"tag": "KEY",
"value": "one', 'two', 'three"
}
] | test/system-spec.coffee | giladgray/rocket-engine | 1 | chai = require 'chai'
expect = chai.expect
System = require '../src/system.coffee'
describe 'System', ->
it 'should require name', ->
expect(-> new System).to.throw /name/
it 'should require reqs array', ->
expect(-> new System 'bad').to.throw /required/
it 'should require action', ->
expect(-> ne... | 206993 | chai = require 'chai'
expect = chai.expect
System = require '../src/system.coffee'
describe 'System', ->
it 'should require name', ->
expect(-> new System).to.throw /name/
it 'should require reqs array', ->
expect(-> new System 'bad').to.throw /required/
it 'should require action', ->
expect(-> ne... | true | chai = require 'chai'
expect = chai.expect
System = require '../src/system.coffee'
describe 'System', ->
it 'should require name', ->
expect(-> new System).to.throw /name/
it 'should require reqs array', ->
expect(-> new System 'bad').to.throw /required/
it 'should require action', ->
expect(-> ne... |
[
{
"context": "' + config.key + '&token=' + @token,\n\t\t\t\tpassword: newPassword\n\t\t\t\t#oldPassword ?\n\n\t\t#### 0.5.0 => remove this m",
"end": 2779,
"score": 0.9987524747848511,
"start": 2768,
"tag": "PASSWORD",
"value": "newPassword"
},
{
"context": "k=' + config.key,\n\t\t\t... | coffee/lib/user.coffee | qreeves/oauth-js | 403 | "use strict"
module.exports = (OAuthio) ->
$ = OAuthio.getJquery()
config = OAuthio.getConfig()
storage = OAuthio.getStorage()
lastSave = null
class UserObject
constructor: (data) ->
@token = data.token
@data = data.user
@providers = data.providers
lastSave = @getEditableData()
getEditableData:... | 153749 | "use strict"
module.exports = (OAuthio) ->
$ = OAuthio.getJquery()
config = OAuthio.getConfig()
storage = OAuthio.getStorage()
lastSave = null
class UserObject
constructor: (data) ->
@token = data.token
@data = data.user
@providers = data.providers
lastSave = @getEditableData()
getEditableData:... | true | "use strict"
module.exports = (OAuthio) ->
$ = OAuthio.getJquery()
config = OAuthio.getConfig()
storage = OAuthio.getStorage()
lastSave = null
class UserObject
constructor: (data) ->
@token = data.token
@data = data.user
@providers = data.providers
lastSave = @getEditableData()
getEditableData:... |
[
{
"context": " maxComplex:3, maxObjSize:5 } )\n\tauth1: [ \"foo\", \"secure42\" ]\n",
"end": 1224,
"score": 0.9687797427177429,
"start": 1216,
"tag": "PASSWORD",
"value": "secure42"
}
] | _src/test/data.coffee | mpneuried/hyperrequest | 4 | utils = require( "./utils" )
randomobj = ( depth = 0, opt = {} )->
tgrt={}
for i in [0..utils.randRange(1,( if opt.maxObjSize? then opt.maxObjSize else 13 ))]
_key = utils.randomString( utils.randRange(2,32),0 )
if not tgrt[ _key ]?
tgrt[ _key ] = randomdata( depth, opt )
return tgrt
randomdata = ( depth =... | 215506 | utils = require( "./utils" )
randomobj = ( depth = 0, opt = {} )->
tgrt={}
for i in [0..utils.randRange(1,( if opt.maxObjSize? then opt.maxObjSize else 13 ))]
_key = utils.randomString( utils.randRange(2,32),0 )
if not tgrt[ _key ]?
tgrt[ _key ] = randomdata( depth, opt )
return tgrt
randomdata = ( depth =... | true | utils = require( "./utils" )
randomobj = ( depth = 0, opt = {} )->
tgrt={}
for i in [0..utils.randRange(1,( if opt.maxObjSize? then opt.maxObjSize else 13 ))]
_key = utils.randomString( utils.randRange(2,32),0 )
if not tgrt[ _key ]?
tgrt[ _key ] = randomdata( depth, opt )
return tgrt
randomdata = ( depth =... |
[
{
"context": "\tauth:\n\t\t\t\t\tuser: settings.apis.v1.user\n\t\t\t\t\tpass: settings.apis.v1.pass\n\t\t\t\t\tsendImmediately: true\n\t\t\t\tjson: true,\n\t\t\t\tti",
"end": 3087,
"score": 0.9990255832672119,
"start": 3066,
"tag": "PASSWORD",
"value": "settings.apis.v1.pass"
}
] | app/coffee/Features/Subscription/V1SubscriptionManager.coffee | shyoshyo/web-sharelatex | 1 | UserGetter = require "../User/UserGetter"
request = require "request"
settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
{ V1ConnectionError } = require "../Errors/Errors"
module.exports = V1SubscriptionManager =
# Returned planCode = 'v1_pro' | 'v1_pro_plus' | 'v1_student' | 'v1_free' | nu... | 131518 | UserGetter = require "../User/UserGetter"
request = require "request"
settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
{ V1ConnectionError } = require "../Errors/Errors"
module.exports = V1SubscriptionManager =
# Returned planCode = 'v1_pro' | 'v1_pro_plus' | 'v1_student' | 'v1_free' | nu... | true | UserGetter = require "../User/UserGetter"
request = require "request"
settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
{ V1ConnectionError } = require "../Errors/Errors"
module.exports = V1SubscriptionManager =
# Returned planCode = 'v1_pro' | 'v1_pro_plus' | 'v1_student' | 'v1_free' | nu... |
[
{
"context": " _id: 'group.cat'\n username: 'GS'\n name: '故事贴小秘'\n }\n ",
"end": 2733,
"score": 0.9963111281394958,
"start": 2731,
"tag": "USERNAME",
"value": "GS"
},
{
"context": " _id: 'group.cat'\n username: 'GS'... | rocketchat/client/startup/chatrobot.coffee | Ritesh1991/mobile_app_server | 0 |
if Meteor.isClient
TAPi18n.setLanguage 'zh'
@executeAfterClickPostLink = (e)->
#在聊天内容中点击与故事贴帖子相关的内容的超链接后会被触发
#此部分需要等具体方案出来以后再细化完善,目前不会影响其他功能的使用
#因为此部分代码会在链接跳转之前执行,所以耗时操作请使用异步执行,另外请不要return false
if e.currentTarget.nodeName is 'A'
postId = e.currentTarget.pathname.spl... | 44430 |
if Meteor.isClient
TAPi18n.setLanguage 'zh'
@executeAfterClickPostLink = (e)->
#在聊天内容中点击与故事贴帖子相关的内容的超链接后会被触发
#此部分需要等具体方案出来以后再细化完善,目前不会影响其他功能的使用
#因为此部分代码会在链接跳转之前执行,所以耗时操作请使用异步执行,另外请不要return false
if e.currentTarget.nodeName is 'A'
postId = e.currentTarget.pathname.spl... | true |
if Meteor.isClient
TAPi18n.setLanguage 'zh'
@executeAfterClickPostLink = (e)->
#在聊天内容中点击与故事贴帖子相关的内容的超链接后会被触发
#此部分需要等具体方案出来以后再细化完善,目前不会影响其他功能的使用
#因为此部分代码会在链接跳转之前执行,所以耗时操作请使用异步执行,另外请不要return false
if e.currentTarget.nodeName is 'A'
postId = e.currentTarget.pathname.spl... |
[
{
"context": "\n###\n\n *** Warehouse ***\n\n (c) 2015 Brandon Carl, Aventura Labs\n\n The Warehouse class provides ea",
"end": 50,
"score": 0.9998199939727783,
"start": 38,
"tag": "NAME",
"value": "Brandon Carl"
}
] | backbone-warehouse.coffee | brandoncarl/backbone-warehouse | 0 |
###
*** Warehouse ***
(c) 2015 Brandon Carl, Aventura Labs
The Warehouse class provides easier access to Backbone's collections and models.
A "store" refers to either a model or a collection. Stores are referenced by name, and maintain
a state. Although it includes a minimal promise spec, specifying a pr... | 222714 |
###
*** Warehouse ***
(c) 2015 <NAME>, Aventura Labs
The Warehouse class provides easier access to Backbone's collections and models.
A "store" refers to either a model or a collection. Stores are referenced by name, and maintain
a state. Although it includes a minimal promise spec, specifying a promise ... | true |
###
*** Warehouse ***
(c) 2015 PI:NAME:<NAME>END_PI, Aventura Labs
The Warehouse class provides easier access to Backbone's collections and models.
A "store" refers to either a model or a collection. Stores are referenced by name, and maintain
a state. Although it includes a minimal promise spec, specify... |
[
{
"context": "l: \"string\"\n },\n {\n name: \"firstname\",\n label: \"Firstname\",\n cell: \"",
"end": 758,
"score": 0.9916132688522339,
"start": 749,
"tag": "NAME",
"value": "firstname"
},
{
"context": " {\n name: \"firstname\",\n ... | public/src/app/App.coffee | fabriciocscte/skeleton | 107 |
class ADM.App
events: _.extend(ADM.Events, Backbone.Events)
initialize: ->
@events.t 'init:start'
@events.on 'dom:onload', @dom_onload, this
@events.on 'init:dom:end', ->
@events.t 'init:end'
, this
@pageHeader = $('.page-header');
@router = new ADM.Router
@events.t 'init:dom... | 137036 |
class ADM.App
events: _.extend(ADM.Events, Backbone.Events)
initialize: ->
@events.t 'init:start'
@events.on 'dom:onload', @dom_onload, this
@events.on 'init:dom:end', ->
@events.t 'init:end'
, this
@pageHeader = $('.page-header');
@router = new ADM.Router
@events.t 'init:dom... | true |
class ADM.App
events: _.extend(ADM.Events, Backbone.Events)
initialize: ->
@events.t 'init:start'
@events.on 'dom:onload', @dom_onload, this
@events.on 'init:dom:end', ->
@events.t 'init:end'
, this
@pageHeader = $('.page-header');
@router = new ADM.Router
@events.t 'init:dom... |
[
{
"context": "# author: tmwhere.com\n\n_ = require('lodash')\n\nastar = require('generic_",
"end": 21,
"score": 0.9144648909568787,
"start": 10,
"tag": "EMAIL",
"value": "tmwhere.com"
}
] | src/game_modules/build.coffee | t-mw/citygen | 177 | # author: tmwhere.com
_ = require('lodash')
astar = require('generic_modules/astar')
collision = require('generic_modules/collision')
math = require('generic_modules/math')
util = require('generic_modules/utility')
config = require('game_modules/config')
mapgen = require('game_modules/mapgen')
class Building
@Typ... | 165648 | # author: <EMAIL>
_ = require('lodash')
astar = require('generic_modules/astar')
collision = require('generic_modules/collision')
math = require('generic_modules/math')
util = require('generic_modules/utility')
config = require('game_modules/config')
mapgen = require('game_modules/mapgen')
class Building
@Type:
... | true | # author: PI:EMAIL:<EMAIL>END_PI
_ = require('lodash')
astar = require('generic_modules/astar')
collision = require('generic_modules/collision')
math = require('generic_modules/math')
util = require('generic_modules/utility')
config = require('game_modules/config')
mapgen = require('game_modules/mapgen')
class Buil... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999143481254578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/forum/topic-ajax.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
$(document).on 'ajax:success', '.js-edit-post-start', (e, data, status, xhr) ->
# ajax:complete needs to be triggered early because the link (... | 180981 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
$(document).on 'ajax:success', '.js-edit-post-start', (e, data, status, xhr) ->
# ajax:complete needs to be triggered early because the link (target)... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
$(document).on 'ajax:success', '.js-edit-post-start', (e, data, status, xhr) ->
# ajax:complete needs to be triggered early because th... |
[
{
"context": "###################################\n#\n# Created by Markus\n#\n###############################################",
"end": 77,
"score": 0.9991120100021362,
"start": 71,
"tag": "NAME",
"value": "Markus"
}
] | server/1_init/collections.coffee | MooqitaSFH/worklearn | 0 | #######################################################
#
# Created by Markus
#
#######################################################
#######################################################
@Secrets = new Mongo.Collection('secrets')
@Logging = new Mongo.Collection('logging')
@Matches = new Mongo.Collection('matches'... | 132871 | #######################################################
#
# Created by <NAME>
#
#######################################################
#######################################################
@Secrets = new Mongo.Collection('secrets')
@Logging = new Mongo.Collection('logging')
@Matches = new Mongo.Collection('matches'... | true | #######################################################
#
# Created by PI:NAME:<NAME>END_PI
#
#######################################################
#######################################################
@Secrets = new Mongo.Collection('secrets')
@Logging = new Mongo.Collection('logging')
@Matches = new Mongo.Collec... |
[
{
"context": " value) ->\n currentObject = @cache\n keys = [frame,thangID,spellID,variableChain.join()]\n for keyI",
"end": 1864,
"score": 0.5641324520111084,
"start": 1858,
"tag": "KEY",
"value": "frame,"
},
{
"context": "->\n currentObject = @cache\n keys = [frame,th... | app/views/play/level/tome/spell_debug_view.coffee | madawei2699/codecombat | 0 | View = require 'views/kinds/CocoView'
template = require 'templates/play/level/tome/spell_debug'
Range = ace.require("ace/range").Range
TokenIterator = ace.require("ace/token_iterator").TokenIterator
serializedClasses =
Thang: require "lib/world/thang"
Vector: require "lib/world/vector"
Rectangle: require "lib/wo... | 220534 | View = require 'views/kinds/CocoView'
template = require 'templates/play/level/tome/spell_debug'
Range = ace.require("ace/range").Range
TokenIterator = ace.require("ace/token_iterator").TokenIterator
serializedClasses =
Thang: require "lib/world/thang"
Vector: require "lib/world/vector"
Rectangle: require "lib/wo... | true | View = require 'views/kinds/CocoView'
template = require 'templates/play/level/tome/spell_debug'
Range = ace.require("ace/range").Range
TokenIterator = ace.require("ace/token_iterator").TokenIterator
serializedClasses =
Thang: require "lib/world/thang"
Vector: require "lib/world/vector"
Rectangle: require "lib/wo... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999226927757263,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/filters/seconds-display.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 173146 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ",
"end": 18,
"score": 0.8801252245903015,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-postmortem-findjsobjects.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... | 201947 | # 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 data: -> {\n supportEmail: \"<a href='mailto:support@codecombat.com'>support@codecombat.com</a>\"\n saving: true\n ",
"end": 212,
"score": 0.9999257326126099,
"start": 190,
"tag": "EMAIL",
"value": "support@codecombat.com"
},
{
"context": "rtEmail: \"<a hre... | app/views/core/CreateAccountModal/teacher/SetupAccountPanel.coffee | gugumiao/codecombat | 1 | SetupAccountPanel = Vue.extend
name: 'setup-account-panel'
template: require('templates/core/create-account-modal/setup-account-panel')()
data: -> {
supportEmail: "<a href='mailto:support@codecombat.com'>support@codecombat.com</a>"
saving: true
error: ''
}
mounted: ->
@$store.dispatch('modal/c... | 68075 | SetupAccountPanel = Vue.extend
name: 'setup-account-panel'
template: require('templates/core/create-account-modal/setup-account-panel')()
data: -> {
supportEmail: "<a href='mailto:<EMAIL>'><EMAIL></a>"
saving: true
error: ''
}
mounted: ->
@$store.dispatch('modal/createAccount')
.catch (e) ... | true | SetupAccountPanel = Vue.extend
name: 'setup-account-panel'
template: require('templates/core/create-account-modal/setup-account-panel')()
data: -> {
supportEmail: "<a href='mailto:PI:EMAIL:<EMAIL>END_PI'>PI:EMAIL:<EMAIL>END_PI</a>"
saving: true
error: ''
}
mounted: ->
@$store.dispatch('modal/c... |
[
{
"context": "name: \"Scilla\",\nscopeName: \"source.scilla\",\nfileTypes: [\n \"sci",
"end": 13,
"score": 0.8952926397323608,
"start": 7,
"tag": "NAME",
"value": "Scilla"
}
] | grammars/scilla.cson | shinragriever/language-scilla | 1 | name: "Scilla",
scopeName: "source.scilla",
fileTypes: [
"scilla"
]
patterns: [
{
include: '#comments'
}
{
include: '#numbers'
}
{
include: '#storagetypes'
}
{
include: '#constants'
}
{
include: '#keywords'
}
{
include: '#strings'
}
{
include: '#brackets'
}
{
... | 184094 | name: "<NAME>",
scopeName: "source.scilla",
fileTypes: [
"scilla"
]
patterns: [
{
include: '#comments'
}
{
include: '#numbers'
}
{
include: '#storagetypes'
}
{
include: '#constants'
}
{
include: '#keywords'
}
{
include: '#strings'
}
{
include: '#brackets'
}
{
... | true | name: "PI:NAME:<NAME>END_PI",
scopeName: "source.scilla",
fileTypes: [
"scilla"
]
patterns: [
{
include: '#comments'
}
{
include: '#numbers'
}
{
include: '#storagetypes'
}
{
include: '#constants'
}
{
include: '#keywords'
}
{
include: '#strings'
}
{
include: '#brac... |
[
{
"context": " signUp: \"Suscribir\"\n OR: \"O\"\n forgotPassword: \"Contraseña olvidada?\"\n emailAddress: \"Dirección de Email\"\n emailRes",
"end": 113,
"score": 0.9900609254837036,
"start": 94,
"tag": "PASSWORD",
"value": "Contraseña olvidada"
},
{
"context": "unt: \"No tenés... | client/i18n/spanish.coffee | hiddenswitch/accounts-entry | 0 | es =
signIn: "Entrar"
signOut: "Salir"
signUp: "Suscribir"
OR: "O"
forgotPassword: "Contraseña olvidada?"
emailAddress: "Dirección de Email"
emailResetLink: "Reiniciar Email"
dontHaveAnAccount: "No tenés una cuenta?"
resetYourPassword: "Resetear tu contraseña"
updateYourPassword: "Actualizar tu cont... | 61011 | es =
signIn: "Entrar"
signOut: "Salir"
signUp: "Suscribir"
OR: "O"
forgotPassword: "<PASSWORD>?"
emailAddress: "Dirección de Email"
emailResetLink: "Reiniciar Email"
dontHaveAnAccount: "No tenés una cuenta?"
resetYourPassword: "<PASSWORD>"
updateYourPassword: "<PASSWORD>"
password: "<PASSWORD>"
... | true | es =
signIn: "Entrar"
signOut: "Salir"
signUp: "Suscribir"
OR: "O"
forgotPassword: "PI:PASSWORD:<PASSWORD>END_PI?"
emailAddress: "Dirección de Email"
emailResetLink: "Reiniciar Email"
dontHaveAnAccount: "No tenés una cuenta?"
resetYourPassword: "PI:PASSWORD:<PASSWORD>END_PI"
updateYourPassword: "PI:... |
[
{
"context": "point', () ->\n expect(validate.isEmailValid(\"user@teste.com\")).toBe emailValid\n\n it 'should return valid i",
"end": 1272,
"score": 0.998755693435669,
"start": 1258,
"tag": "EMAIL",
"value": "user@teste.com"
},
{
"context": "oints', () ->\n expect(valid... | test/unit/services/validate.coffee | luiz-simples/web-client-angular | 0 | 'use strict'
describe 'Service: Validate', () ->
beforeEach ->
@addMatchers toEqualData: (expected) ->
angular.equals @actual, expected
beforeEach module 'webClientAngularApp'
# instantiate service
validate = {}
stringEmpty = true
stringFilled = false
emailValid = true
emailInvalid = false
... | 165073 | 'use strict'
describe 'Service: Validate', () ->
beforeEach ->
@addMatchers toEqualData: (expected) ->
angular.equals @actual, expected
beforeEach module 'webClientAngularApp'
# instantiate service
validate = {}
stringEmpty = true
stringFilled = false
emailValid = true
emailInvalid = false
... | true | 'use strict'
describe 'Service: Validate', () ->
beforeEach ->
@addMatchers toEqualData: (expected) ->
angular.equals @actual, expected
beforeEach module 'webClientAngularApp'
# instantiate service
validate = {}
stringEmpty = true
stringFilled = false
emailValid = true
emailInvalid = false
... |
[
{
"context": "ngoose'\n{Schema} = mongoose\nmongoDsn = 'mongodb://127.0.0.1/test'\n\nUserSchema = new Schema\n name: String\n e",
"end": 103,
"score": 0.7609894275665283,
"start": 94,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "tatics = findAlice: (callback) -> @find... | examples/local.coffee | teambition/limbo | 16 | limbo = require '../'
mongoose = require 'mongoose'
{Schema} = mongoose
mongoDsn = 'mongodb://127.0.0.1/test'
UserSchema = new Schema
name: String
email: String
createdAt: type: Date, default: Date.now
updatedAt: type: Date, default: Date.now
schemas = User: UserSchema
# Define instance method on each schema... | 68871 | limbo = require '../'
mongoose = require 'mongoose'
{Schema} = mongoose
mongoDsn = 'mongodb://127.0.0.1/test'
UserSchema = new Schema
name: String
email: String
createdAt: type: Date, default: Date.now
updatedAt: type: Date, default: Date.now
schemas = User: UserSchema
# Define instance method on each schema... | true | limbo = require '../'
mongoose = require 'mongoose'
{Schema} = mongoose
mongoDsn = 'mongodb://127.0.0.1/test'
UserSchema = new Schema
name: String
email: String
createdAt: type: Date, default: Date.now
updatedAt: type: Date, default: Date.now
schemas = User: UserSchema
# Define instance method on each schema... |
[
{
"context": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"example1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"la",
"end": 1253,
"score": 0.8860122561454773,
"start": 1252,
"tag": "USERNAME",
"value": "1"
},
{
"context": "\": [{ \"value\": \"1\" }],\n \"n... | Src/coffeescript/cql-execution/src/example/exec-cms146v2_CQM.coffee | esteban-aliverti/clinical_quality_language | 0 | cql = require '../cql'
codes = require '../cql-code-service'
measure = require './cms146v2_CQM'
cservice = new codes.CodeService {
"1.2.3.4.5": {
"1": [
{
"code": "ABC",
"system": "5.4.3.2.1",
"version": "1"
}, {
"code": "DEF",
"system": "5.4.... | 36069 | cql = require '../cql'
codes = require '../cql-code-service'
measure = require './cms146v2_CQM'
cservice = new codes.CodeService {
"1.2.3.4.5": {
"1": [
{
"code": "ABC",
"system": "5.4.3.2.1",
"version": "1"
}, {
"code": "DEF",
"system": "5.4.... | true | cql = require '../cql'
codes = require '../cql-code-service'
measure = require './cms146v2_CQM'
cservice = new codes.CodeService {
"1.2.3.4.5": {
"1": [
{
"code": "ABC",
"system": "5.4.3.2.1",
"version": "1"
}, {
"code": "DEF",
"system": "5.4.... |
[
{
"context": " \"vcs\": {\n \"git\": {\"url\": \"https://github.com/JetBrains/idea-templates.git\"}\n },\n \"project\": \"/spring/S",
"end": 146,
"score": 0.999203085899353,
"start": 137,
"tag": "USERNAME",
"value": "JetBrains"
},
{
"context": "{\n \"vcs\": {\n \"git\": [\n... | platform/built-in-server/src/org/jetbrains/ide/ProjectSetRequestHandler.coffee | Sajaki/intellij-community | 2 | ###
@apiDefine OpenProjectSetRequestExample
@apiExample {json} Request-Example:
{
"vcs": {
"git": {"url": "https://github.com/JetBrains/idea-templates.git"}
},
"project": "/spring/SpringApp"
}
###
###
@apiDefine OpenProjectSetRequestExampleMulti
@apiExample {json} Request-Example (multi-repository)... | 148629 | ###
@apiDefine OpenProjectSetRequestExample
@apiExample {json} Request-Example:
{
"vcs": {
"git": {"url": "https://github.com/JetBrains/idea-templates.git"}
},
"project": "/spring/SpringApp"
}
###
###
@apiDefine OpenProjectSetRequestExampleMulti
@apiExample {json} Request-Example (multi-repository)... | true | ###
@apiDefine OpenProjectSetRequestExample
@apiExample {json} Request-Example:
{
"vcs": {
"git": {"url": "https://github.com/JetBrains/idea-templates.git"}
},
"project": "/spring/SpringApp"
}
###
###
@apiDefine OpenProjectSetRequestExampleMulti
@apiExample {json} Request-Example (multi-repository)... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998540878295898,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Menu/MenuGrid.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.MenuGridScrollLayerState =
Idle: 0
Sliding: 1
cpz.MenuGrid = cc.Node.extend(
_themesGrid: null #themes (=3x gri... | 30407 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.MenuGridScrollLayerState =
Idle: 0
Sliding: 1
cpz.MenuGrid = cc.Node.extend(
_themesGrid: null #themes (=3x gridSize)
... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.MenuGridScrollLayerState =
Idle: 0
Sliding: 1
cpz.MenuGrid = cc.Node.extend(
_themesGrid: null #themes (... |
[
{
"context": "l\n $state = null\n stateParams = {id: 1, token: 'token'}\n url = null\n email = 'test@guc.edu.eg'\n befo",
"end": 182,
"score": 0.8345369696617126,
"start": 177,
"tag": "KEY",
"value": "token"
},
{
"context": "= {id: 1, token: 'token'}\n url = null\n email = 'te... | spec/controllers/verify_spec.coffee | ah450/guclink-auth-www | 0 | describe 'VerifyController', ->
beforeEach module 'guclinkAuth'
$controller = null
$httpBackend = null
$rootScope = null
$state = null
stateParams = {id: 1, token: 'token'}
url = null
email = 'test@guc.edu.eg'
beforeEach inject (_$controller_, _$httpBackend_, _$rootScope_, _$state_) ->
$controller... | 217392 | describe 'VerifyController', ->
beforeEach module 'guclinkAuth'
$controller = null
$httpBackend = null
$rootScope = null
$state = null
stateParams = {id: 1, token: '<KEY>'}
url = null
email = '<EMAIL>'
beforeEach inject (_$controller_, _$httpBackend_, _$rootScope_, _$state_) ->
$controller = _$con... | true | describe 'VerifyController', ->
beforeEach module 'guclinkAuth'
$controller = null
$httpBackend = null
$rootScope = null
$state = null
stateParams = {id: 1, token: 'PI:KEY:<KEY>END_PI'}
url = null
email = 'PI:EMAIL:<EMAIL>END_PI'
beforeEach inject (_$controller_, _$httpBackend_, _$rootScope_, _$state_... |
[
{
"context": "\"\n\n\t_addressToXml: (address) ->\n\t\tallowedKeys = ['address1', 'address2', 'city', 'country', 'state', 'zip', 'postal_code']\n\t\tresultString = \"<b",
"end": 385,
"score": 0.954597532749176,
"start": 342,
"tag": "KEY",
"value": "address1', 'address2', 'city', 'country', '... | app/coffee/Features/Subscription/RecurlyWrapper.coffee | bowlofstew/web-sharelatex | 0 | querystring = require 'querystring'
crypto = require 'crypto'
request = require 'request'
Settings = require "settings-sharelatex"
xml2js = require "xml2js"
logger = require("logger-sharelatex")
Async = require('async')
module.exports = RecurlyWrapper =
apiUrl : "https://api.recurly.com/v2"
_addressToXml: (address)... | 98301 | querystring = require 'querystring'
crypto = require 'crypto'
request = require 'request'
Settings = require "settings-sharelatex"
xml2js = require "xml2js"
logger = require("logger-sharelatex")
Async = require('async')
module.exports = RecurlyWrapper =
apiUrl : "https://api.recurly.com/v2"
_addressToXml: (address)... | true | querystring = require 'querystring'
crypto = require 'crypto'
request = require 'request'
Settings = require "settings-sharelatex"
xml2js = require "xml2js"
logger = require("logger-sharelatex")
Async = require('async')
module.exports = RecurlyWrapper =
apiUrl : "https://api.recurly.com/v2"
_addressToXml: (address)... |
[
{
"context": " \" + name + \" \" + email\n user =\n username: username\n password: password\n name: name\n e",
"end": 678,
"score": 0.9272782802581787,
"start": 670,
"tag": "USERNAME",
"value": "username"
},
{
"context": " user =\n username: username\n ... | src/user.coffee | MegPau/testnode | 0 | level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../db/user"
module.exports =
get: (username, callback) ->
user = {}
rs = db.createReadStream
gte: username
lte: username
rs.on 'data', (data) ->
value = JSON.parse data.value
user = value
... | 70692 | level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../db/user"
module.exports =
get: (username, callback) ->
user = {}
rs = db.createReadStream
gte: username
lte: username
rs.on 'data', (data) ->
value = JSON.parse data.value
user = value
... | true | level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../db/user"
module.exports =
get: (username, callback) ->
user = {}
rs = db.createReadStream
gte: username
lte: username
rs.on 'data', (data) ->
value = JSON.parse data.value
user = value
... |
[
{
"context": "###*\n * # 列表\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{Template, C",
"end": 30,
"score": 0.9996040463447571,
"start": 24,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n * # 列表\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n... | src/coffee/cells.coffee | vfasky/mcore-weui | 0 | ###*
* # 列表
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{Template, Component, util} = require 'mcore'
class Cells extends Component
init: ->
@render require('../tpl/cells.html')
watch: ->
@on 'change:list', (list)=>
return if false == util.isArray list
@set... | 160563 | ###*
* # 列表
* @author vfasky <<EMAIL>>
###
'use strict'
{Template, Component, util} = require 'mcore'
class Cells extends Component
init: ->
@render require('../tpl/cells.html')
watch: ->
@on 'change:list', (list)=>
return if false == util.isArray list
@set 'list', ... | true | ###*
* # 列表
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{Template, Component, util} = require 'mcore'
class Cells extends Component
init: ->
@render require('../tpl/cells.html')
watch: ->
@on 'change:list', (list)=>
return if false == util.isArray list
... |
[
{
"context": "sn't work in Grunt Pelican\n# # https://github.com/chuwy/grunt-pelican/issues/4\n# pelican:\n# \toptions:\n# \t",
"end": 389,
"score": 0.9994613528251648,
"start": 384,
"tag": "USERNAME",
"value": "chuwy"
},
{
"context": "ve on GitHub, so no issue:\n# # https://github.c... | grunt/deprecated.coffee | Kristinita/SashaPelicanTest | 0 | ######################
## Deprecated tasks ##
######################
# All buggy, obsolete and/or unneedable plugins.
# Save, because possibly I can use them again.
# ###################
# ## grunt-pelican ##
# ###################
# # Pelican tasks from Grunt
# # https://www.npmjs.com/package/grunt-pelican
# # [WARNI... | 166462 | ######################
## Deprecated tasks ##
######################
# All buggy, obsolete and/or unneedable plugins.
# Save, because possibly I can use them again.
# ###################
# ## grunt-pelican ##
# ###################
# # Pelican tasks from Grunt
# # https://www.npmjs.com/package/grunt-pelican
# # [WARNI... | true | ######################
## Deprecated tasks ##
######################
# All buggy, obsolete and/or unneedable plugins.
# Save, because possibly I can use them again.
# ###################
# ## grunt-pelican ##
# ###################
# # Pelican tasks from Grunt
# # https://www.npmjs.com/package/grunt-pelican
# # [WARNI... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988951683044434,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/addons/repl-domain-abort/test.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... | 98657 | # 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": "SON to identify this library's objects.\nJSON_KEY = '_nodeNeo4j'\n\n\n#\n# The class corresponding to a Neo4j graph d",
"end": 640,
"score": 0.9993606805801392,
"start": 629,
"tag": "KEY",
"value": "'_nodeNeo4j"
},
{
"context": "roperty {String} The name of the property... | node_modules/neo4j/lib/GraphDatabase._coffee | aranoah/journey-planner | 484 | # TODO many of these functions take a callback but, in some cases, call the
# callback immediately (e.g. if a value is cached). we should probably make
# sure to always call callbacks asynchronously, to prevent race conditions.
# this can be done in Streamline syntax by adding one line before cases where
# we're return... | 129484 | # TODO many of these functions take a callback but, in some cases, call the
# callback immediately (e.g. if a value is cached). we should probably make
# sure to always call callbacks asynchronously, to prevent race conditions.
# this can be done in Streamline syntax by adding one line before cases where
# we're return... | true | # TODO many of these functions take a callback but, in some cases, call the
# callback immediately (e.g. if a value is cached). we should probably make
# sure to always call callbacks asynchronously, to prevent race conditions.
# this can be done in Streamline syntax by adding one line before cases where
# we're return... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.6130276322364807,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/search/Search.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 62864 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": " api to draw hindu astrological charts\n*\n* @author Rajasekar Elango\n*\n/\n###\n\n\n@AstroChart = (elementId) ->\n this.ele",
"end": 124,
"score": 0.9998998641967773,
"start": 108,
"tag": "NAME",
"value": "Rajasekar Elango"
}
] | src/coffee/astrochart.coffee | DPirate/astrochartjs | 21 | ###
/**
* AstroChart is the top level class that provides api to draw hindu astrological charts
*
* @author Rajasekar Elango
*
/
###
@AstroChart = (elementId) ->
this.elementId = elementId
draw : (data, options) =>
svg = Snap(elementId)
addStyleSheet(elementId, options)
Point startPosition = new Po... | 72887 | ###
/**
* AstroChart is the top level class that provides api to draw hindu astrological charts
*
* @author <NAME>
*
/
###
@AstroChart = (elementId) ->
this.elementId = elementId
draw : (data, options) =>
svg = Snap(elementId)
addStyleSheet(elementId, options)
Point startPosition = new Point(0,0);
... | true | ###
/**
* AstroChart is the top level class that provides api to draw hindu astrological charts
*
* @author PI:NAME:<NAME>END_PI
*
/
###
@AstroChart = (elementId) ->
this.elementId = elementId
draw : (data, options) =>
svg = Snap(elementId)
addStyleSheet(elementId, options)
Point startPosition = ne... |
[
{
"context": "ach (done) ->\n auth =\n username: 'ai-turns-hostile'\n password: 'team-token'\n\n option",
"end": 1049,
"score": 0.9989091157913208,
"start": 1033,
"tag": "USERNAME",
"value": "ai-turns-hostile"
},
{
"context": "username: 'ai-turns-hosti... | test/integration/post-trigger-message-by-name-spec.coffee | octoblu/triggers-service | 5 | http = require 'http'
request = require 'request'
shmock = require 'shmock'
Server = require '../../src/server'
fs = require 'fs'
fakeFlow = require './fake-flow.json'
enableDestroy = require 'server-destroy'
describe 'POST /flows/triggers/:triggerName', ->
beforeEach (do... | 170864 | http = require 'http'
request = require 'request'
shmock = require 'shmock'
Server = require '../../src/server'
fs = require 'fs'
fakeFlow = require './fake-flow.json'
enableDestroy = require 'server-destroy'
describe 'POST /flows/triggers/:triggerName', ->
beforeEach (do... | true | http = require 'http'
request = require 'request'
shmock = require 'shmock'
Server = require '../../src/server'
fs = require 'fs'
fakeFlow = require './fake-flow.json'
enableDestroy = require 'server-destroy'
describe 'POST /flows/triggers/:triggerName', ->
beforeEach (do... |
[
{
"context": "cation.protocol) then \"https\" else \"http\")) + \"://189.9.150.35/piwik/\"\n _paq.push [\n \"setTrackerUrl\"\n u +",
"end": 97,
"score": 0.9986622333526611,
"start": 85,
"tag": "IP_ADDRESS",
"value": "189.9.150.35"
}
] | recipes/garrafa/assets/estatisticas.coffee | govbr/barra.govbr | 19 | u = ((if ("https:" is document.location.protocol) then "https" else "http")) + "://189.9.150.35/piwik/"
_paq.push [
"setTrackerUrl"
u + "piwik.php"
]
_paq.push [
"setSiteId"
1
]
d = document
g = d.createElement("script")
s = d.getElementsByTagName("script")[0]
g.type = "text/javascript... | 30743 | u = ((if ("https:" is document.location.protocol) then "https" else "http")) + "://172.16.17.32/piwik/"
_paq.push [
"setTrackerUrl"
u + "piwik.php"
]
_paq.push [
"setSiteId"
1
]
d = document
g = d.createElement("script")
s = d.getElementsByTagName("script")[0]
g.type = "text/javascript... | true | u = ((if ("https:" is document.location.protocol) then "https" else "http")) + "://PI:IP_ADDRESS:172.16.17.32END_PI/piwik/"
_paq.push [
"setTrackerUrl"
u + "piwik.php"
]
_paq.push [
"setSiteId"
1
]
d = document
g = d.createElement("script")
s = d.getElementsByTagName("script")[0]
g.typ... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998819828033447,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/monkey_patches/index.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
{Backbone} = require '../core'
# TODO: remove when regression fixed: https://github.... | 46784 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
{Backbone} = require '../core'
# TODO: remove when regression fixed: https://github.co... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
{Backbone} = require '../core'
# TODO: remove when regression fixed: htt... |
[
{
"context": "module.exports =\n name: \"Madison\"\n url: '/madison/:name/:from'\n fields: [\n { ",
"end": 33,
"score": 0.9993977546691895,
"start": 26,
"tag": "NAME",
"value": "Madison"
}
] | lib/operations/madison.coffee | brettminnie/foaas | 0 | module.exports =
name: "Madison"
url: '/madison/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/madison/:name/:from', (req, res) ->
message = "What you've just said is one of the most insanely idiotic things I have ... | 71779 | module.exports =
name: "<NAME>"
url: '/madison/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/madison/:name/:from', (req, res) ->
message = "What you've just said is one of the most insanely idiotic things I have e... | true | module.exports =
name: "PI:NAME:<NAME>END_PI"
url: '/madison/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/madison/:name/:from', (req, res) ->
message = "What you've just said is one of the most insanely idiotic t... |
[
{
"context": "version 1.6.5\n# @requires jQuery v1.2.3+\n# @author Ryan McGeary\n# @license MIT License - http://www.opensource.or",
"end": 235,
"score": 0.9998993873596191,
"start": 223,
"tag": "NAME",
"value": "Ryan McGeary"
},
{
"context": "p://timeago.yarp.com/\n#\n# Copyright (c... | app/assets/javascripts/timeago.coffee | Ahaupt3-zz/rails-sample | 1 | ###*
# Timeago is a jQuery plugin that makes it easy to support automatically
# updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
#
# @name timeago
# @version 1.6.5
# @requires jQuery v1.2.3+
# @author Ryan McGeary
# @license MIT License - http://www.opensource.org/licenses/mit-license.php
#
# For ... | 121524 | ###*
# Timeago is a jQuery plugin that makes it easy to support automatically
# updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
#
# @name timeago
# @version 1.6.5
# @requires jQuery v1.2.3+
# @author <NAME>
# @license MIT License - http://www.opensource.org/licenses/mit-license.php
#
# For usage ... | true | ###*
# Timeago is a jQuery plugin that makes it easy to support automatically
# updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
#
# @name timeago
# @version 1.6.5
# @requires jQuery v1.2.3+
# @author PI:NAME:<NAME>END_PI
# @license MIT License - http://www.opensource.org/licenses/mit-license.php
... |
[
{
"context": "ts.js\n# =========\n\n# > version: 0.5.13\n# > author: Michael Richards\n# > license: MIT\n# >\n# > http://rivetsjs.com/\n\n# ",
"end": 73,
"score": 0.9997546672821045,
"start": 57,
"tag": "NAME",
"value": "Michael Richards"
}
] | bower_components/rivets/src/rivets.coffee | adityagodbole/formbuilder | 1 | # Rivets.js
# =========
# > version: 0.5.13
# > author: Michael Richards
# > license: MIT
# >
# > http://rivetsjs.com/
# ---
# The Rivets namespace.
Rivets = {}
# jQuery || Zepto
jQuery = window.jQuery or window.Zepto
# Polyfill For `String::trim`.
unless String::trim then String::trim = -> @replace /^\s+|\s+$/g, ... | 190028 | # Rivets.js
# =========
# > version: 0.5.13
# > author: <NAME>
# > license: MIT
# >
# > http://rivetsjs.com/
# ---
# The Rivets namespace.
Rivets = {}
# jQuery || Zepto
jQuery = window.jQuery or window.Zepto
# Polyfill For `String::trim`.
unless String::trim then String::trim = -> @replace /^\s+|\s+$/g, ''
# Rive... | true | # Rivets.js
# =========
# > version: 0.5.13
# > author: PI:NAME:<NAME>END_PI
# > license: MIT
# >
# > http://rivetsjs.com/
# ---
# The Rivets namespace.
Rivets = {}
# jQuery || Zepto
jQuery = window.jQuery or window.Zepto
# Polyfill For `String::trim`.
unless String::trim then String::trim = -> @replace /^\s+|\s+$... |
[
{
"context": "atFormInput(self.serializeArray())\n\n\t\t\t\t\ts = '<h2>Kære Ulla,</h2>'\n\t\t\t\t\ts += '<p>Navn: ' + data['name'] + '</",
"end": 681,
"score": 0.9997099041938782,
"start": 672,
"tag": "NAME",
"value": "Kære Ulla"
},
{
"context": "pi/1.0/messages/send.json\"\n\t\t\t\t... | src/render/scripts/script.js.coffee | Edifice/karstensminde | 0 | # parameter should be the serializeArray()'s resoult on the form
formatFormInput = (serializedArray)->
orig = serializedArray
data = {}
for dat in orig
multivalue = 0
multivalue++ for actual in orig when dat.name is actual.name
if multivalue is 1 or !data[dat.name]?
data[dat.name] = dat.value
else
data... | 70911 | # parameter should be the serializeArray()'s resoult on the form
formatFormInput = (serializedArray)->
orig = serializedArray
data = {}
for dat in orig
multivalue = 0
multivalue++ for actual in orig when dat.name is actual.name
if multivalue is 1 or !data[dat.name]?
data[dat.name] = dat.value
else
data... | true | # parameter should be the serializeArray()'s resoult on the form
formatFormInput = (serializedArray)->
orig = serializedArray
data = {}
for dat in orig
multivalue = 0
multivalue++ for actual in orig when dat.name is actual.name
if multivalue is 1 or !data[dat.name]?
data[dat.name] = dat.value
else
data... |
[
{
"context": "al'\n ,\n label: 'remote'\n ssh:\n host: '127.0.0.1', username: process.env.USER,\n private_key_p",
"end": 265,
"score": 0.9997502565383911,
"start": 256,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "name: process.env.USER,\n private_... | packages/core/env/arch_chroot/test.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
module.exports =
tags:
conditions_if_os: true
system_execute_arc_chroot: true
conditions_if_os:
arch: 'x86_64'
distribution: 'arch'
linux_version: '5.10'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
private_key_path: ... | 34011 |
module.exports =
tags:
conditions_if_os: true
system_execute_arc_chroot: true
conditions_if_os:
arch: 'x86_64'
distribution: 'arch'
linux_version: '5.10'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
private_key_path: ... | true |
module.exports =
tags:
conditions_if_os: true
system_execute_arc_chroot: true
conditions_if_os:
arch: 'x86_64'
distribution: 'arch'
linux_version: '5.10'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
private_key_path: ... |
[
{
"context": "*\n# JSObject - base class of all Object\n# Coded by Hajime Oh-yake 2013.03.25\n#*************************************",
"end": 106,
"score": 0.9998964071273804,
"start": 92,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/00_JSObject.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSObject - base class of all Object
# Coded by Hajime Oh-yake 2013.03.25
#*****************************************
class JSObject
constructor:->
@_self = @
@_objectID = UniqueID()
| 162825 | #*****************************************
# JSObject - base class of all Object
# Coded by <NAME> 2013.03.25
#*****************************************
class JSObject
constructor:->
@_self = @
@_objectID = UniqueID()
| true | #*****************************************
# JSObject - base class of all Object
# Coded by PI:NAME:<NAME>END_PI 2013.03.25
#*****************************************
class JSObject
constructor:->
@_self = @
@_objectID = UniqueID()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.