commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
68b5a9560f58343886c025c62c2fe1728d5c7780 | app/modules/tool_loader.coffee | app/modules/tool_loader.coffee | Manager = require 'modules/manager'
tools = require 'config/toolset_config'
ToolLoader = (dashboard, cb) ->
project = dashboard.get('project')
unless project and tools.projects.hasOwnProperty project
project = 'default'
Manager.set 'project', project
# Set valid tools for later retrieval.
# If projec... | Manager = require 'modules/manager'
tools = require 'config/toolset_config'
ToolLoader = (dashboard, cb) ->
project = dashboard.get('project')
unless project and tools.projects.hasOwnProperty project
project = 'default'
Manager.set 'project', project
# Set valid tools for later retrieval.
# If projec... | Set dashboard to use toolsets | Set dashboard to use toolsets
| CoffeeScript | apache-2.0 | zooniverse/Ubret-Dashboard |
8acb37338dca370be9f714af825699f7c5204fbb | spec/extensions/outline-view-spec.coffee | spec/extensions/outline-view-spec.coffee | RootView = require 'root-view'
OutlineView = require 'outline-view'
describe "OutlineView", ->
[rootView, outlineView] = []
beforeEach ->
rootView = new RootView(require.resolve('fixtures/coffee.coffee'))
rootView.activateExtension(OutlineView)
outlineView = OutlineView.instance
rootView.attachToD... | Add initial outline view specs | Add initial outline view specs
| CoffeeScript | mit | darwin/atom,jtrose2/atom,gontadu/atom,Austen-G/BlockBuilder,001szymon/atom,ali/atom,kc8wxm/atom,florianb/atom,vjeux/atom,hakatashi/atom,dkfiresky/atom,johnhaley81/atom,kittens/atom,phord/atom,synaptek/atom,Jandersoft/atom,g2p/atom,rxkit/atom,AlbertoBarrago/atom,fang-yufeng/atom,gisenberg/atom,batjko/atom,constanzaurzua... | |
7d57181c73c4e104ee9b91daad451017660a54a8 | test/javascripts/integration/dashboard_paper_collaboration_test.js.coffee | test/javascripts/integration/dashboard_paper_collaboration_test.js.coffee | setupEventStream = ->
store = ETahi.__container__.lookup "store:main"
es = ETahi.EventStream.create
store: store
init: ->
[es, store]
createDashboardDataWithLitePaper = (paperCount, litePaper) ->
ef = ETahi.Factory
litePapers = []
for i in [1..paperCount] by 1
lp = ef.createLitePape... | Add unit test for adding collaborator | Add unit test for adding collaborator | CoffeeScript | mit | johan--/tahi,johan--/tahi,johan--/tahi,johan--/tahi | |
1fbd71ebf688b0b818f7aa9d9507ef356dc869fd | source/javascripts/tests/preflight_cors.coffee | source/javascripts/tests/preflight_cors.coffee | class PreflightCorsTest extends Test
constructor: ->
super
@display_name = "Preflight CORS"
run: ->
[a, b] = super
@$http(
method: "POST"
url: "http://corstest-api.coshx.com:4000/tests/preflight_cors"
headers: {"x-a": a, "x-b": b}
).success((data, status, headers, config) =>
... | Add test for preflighted cors | Add test for preflighted cors
| CoffeeScript | mit | gkop/corstest-client,gkop/corstest-client | |
7354e614d306ab3bf192a13e2fd6c8297dcb0329 | test/unit/aws_request.spec.coffee | test/unit/aws_request.spec.coffee | AWS = require('../../lib/core')
describe 'AWS.AWSRequest', ->
request = null
response = null
beforeEach ->
response = new AWS.AWSResponse(service: null, method: 'POST', params: {})
request = new AWS.AWSRequest(response)
sharedBehaviour = (cbMethod, notifyMethod) ->
it 'can register callback', ->
... | Add tests for AWSRequest deferred object | Add tests for AWSRequest deferred object
| CoffeeScript | apache-2.0 | guymguym/aws-sdk-js,aws/aws-sdk-js,ugie/aws-sdk-js,prestomation/aws-sdk-js,ugie/aws-sdk-js,jippeholwerda/aws-sdk-js,GlideMe/aws-sdk-js,mohamed-kamal/aws-sdk-js,chrisradek/aws-sdk-js,Blufe/aws-sdk-js,mapbox/aws-sdk-js,GlideMe/aws-sdk-js,prestomation/aws-sdk-js,michael-donat/aws-sdk-js,jeskew/aws-sdk-js,mohamed-kamal/aws... | |
1c2246729a9c68b64df87af059c621758c8c098c | lib/Strategy/DBStrategy/Save/CollisionCheckTemporaryTable.coffee | lib/Strategy/DBStrategy/Save/CollisionCheckTemporaryTable.coffee | _ = require "underscore"
Promise = require "bluebird"
TemporaryTable = require "./TemporaryTable"
class CollisionCheckTemporaryTable extends TemporaryTable
insert: (externalObject) ->
@checkIfExists externalObject
.then (exists) ->
if not exists
super
else
console.warn "Primary k... | Implement Collision Check Temporary Table. | Implement Collision Check Temporary Table.
| CoffeeScript | agpl-3.0 | spirehq/backend-core,fixin-platform/backend-core,fixin-platform/backend-core,spirehq/backend-core | |
40b706bf47dc8540662345f2e0b3e233afe81c43 | app/pwchange.coffee | app/pwchange.coffee | chalk = require 'chalk'
users = require './users'
bcrypt = require 'bcrypt-nodejs'
if process.argv.length <= 2
console.log chalk.blue 'Use this script to change the admin password:'
console.log chalk.red ' node pwchange.js [new password]'
return
newpw = process.argv.slice(2).join(" ")
for user in users.getUsers(... | Add script to change the admin account password | Add script to change the admin account password
| CoffeeScript | mit | Rezonation/sisetv,Rezonation/sisetv | |
453d35f24b77fc92c7aaf61f625878ea9848e9c6 | tests/dom_tests/chrome.coffee | tests/dom_tests/chrome.coffee | #
# Mock the Chrome extension API.
#
root = exports ? window
root.chrome = {
extension: {
connect: -> {
onMessage: {
addListener: ->
}
postMessage: ->
}
onMessage: {
addListener: ->
}
sendMessage: ->
}
}
| #
# Mock the Chrome extension API.
#
root = exports ? window
root.chrome = {
extension: {
connect: -> {
onMessage: {
addListener: ->
}
postMessage: ->
}
onMessage: {
addListener: ->
}
sendMessage: ->
}
runtime: {
getManifest: ->
}
}
| Add runtime.getManifest() stub to Chrome mock | Add runtime.getManifest() stub to Chrome mock
| CoffeeScript | mit | poacher2k/vimium,cyrixhero/vimium,bkudria/vimium,smblott-github/vimium,PrestanceDesign/vimium,poacher2k/vimium,zhangmin510/vimium,elegantwww/vimium,hhsue/vimium,douglas-larocca/vimium,PickRelated/vimium,borgified/vimium,decaffeinate-examples/vimium,cyrixhero/vimium,crazypenguincode/vimium,VPashkov/vimium,Robinson10240/... |
a995194bceabaa79eb5d2b2a283f1723282b54a2 | spec/helpers-spec.coffee | spec/helpers-spec.coffee | {normalizeKeystrokes} = require '../src/helpers'
describe ".normalizeKeystrokes(keystrokes)", ->
it "parses and normalizes the keystrokes", ->
expect(normalizeKeystrokes('ctrl--')).toBe 'ctrl--'
expect(normalizeKeystrokes('ctrl-x')).toBe 'ctrl-x'
expect(normalizeKeystrokes('a')).toBe 'a'
expect(norma... | Add specs for normalizeKeystrokes helper | Add specs for normalizeKeystrokes helper
| CoffeeScript | mit | atom/atom-keymap | |
4ba8c717c754ad44d3583d38adc0a2647ae6e164 | review_front/app/components/auto-select-input.coffee | review_front/app/components/auto-select-input.coffee | `import Ember from 'ember'`
AutoSelectInput = Ember.TextField.extend
attributeBindings: ['readonly']
readonly: true
mouseUp: ->
@$().select()
`export default AutoSelectInput`
| Add auto select input component | Add auto select input component
[#96883346]
| CoffeeScript | mit | Naturaily/review,Naturaily/review,Naturaily/review | |
a23e3c02a42b2556fd163e0b8494d2592c340168 | assets/javascripts/views/layout/resizer.coffee | assets/javascripts/views/layout/resizer.coffee | class app.views.Resizer extends app.View
@className: '_resizer'
@events:
dragstart: 'onDragStart'
dragend: 'onDragEnd'
drag: 'onDrag'
@isSupported: ->
'ondragstart' of document.createElement('div') and !app.isMobile()
init: ->
@el.setAttribute('draggable', 'true')
@appendTo $('._app')... | class app.views.Resizer extends app.View
@className: '_resizer'
@events:
dragstart: 'onDragStart'
dragend: 'onDragEnd'
drag: 'onDrag'
@isSupported: ->
'ondragstart' of document.createElement('div') and !app.isMobile()
init: ->
@el.setAttribute('draggable', 'true')
@appendTo $('._app')... | Use pageX instead of clientX | Use pageX instead of clientX
| CoffeeScript | mpl-2.0 | rlugojr/devdocs,yosiat/devdocs,rlugojr/devdocs,yosiat/devdocs,abougouffa/devdocs,2947721120/devdocs,hyjk2000/devdocs,yosiat/devdocs,mnquintana/devdocs,UIUXEngineering-Forks/devdocs,webcoding/devdocs,mnquintana/devdocs,UIUXEngineering-Forks/devdocs,hyjk2000/devdocs,2947721120/devdocs,webcoding/devdocs,webcoding/devdocs,... |
98c902cd9bf29c306654545bfce9ce7a70f25a1c | test/test_client.coffee | test/test_client.coffee | client = require 'nack/client'
process = require 'nack/process'
config = __dirname + "/fixtures/echo.ru"
exports.testClientRequest = (test) ->
test.expect 5
p = process.createProcess config
p.on 'ready', () ->
c = client.createConnection p.sock
test.ok c
request = c.request 'GET', '/foo', {}
... | Add test for client request | Add test for client request | CoffeeScript | mit | josh/nack,josh/nack | |
0d0c09457db9fac888fc3617a78a7094be2fbeb7 | apps/legacy_routes/index.coffee | apps/legacy_routes/index.coffee | express = require 'express'
app = module.exports = express()
to = require './to'
app.get '/filter/artworks', to '/browse'
app.get '/genes', to '/categories'
app.get '/partner-application', to '/apply'
app.get '/fair-application', to '/apply/fair'
app.get '/fairs', to 'art-fairs'
app.get '/settings', to '/user/edit'
# ... | express = require 'express'
app = module.exports = express()
to = require './to'
app.get '/filter/artworks', to '/browse'
app.get '/filter/artworks/*', to '/browse'
app.get '/genes', to '/categories'
app.get '/partner-application', to '/apply'
app.get '/fair-application', to '/apply/fair'
app.get '/fairs', to 'art-fai... | Add trailing wildcard route for filter | Add trailing wildcard route for filter
| CoffeeScript | mit | izakp/force,erikdstock/force,mzikherman/force,izakp/force,TribeMedia/force-public,xtina-starr/force,joeyAghion/force,yuki24/force,damassi/force,artsy/force,kanaabe/force,xtina-starr/force,dblock/force,oxaudo/force,kanaabe/force,cavvia/force-1,artsy/force,eessex/force,yuki24/force,artsy/force-public,artsy/force,xtina-st... |
497732fb6f191fab881330b6b5617f3c19754da7 | spec/modules-spec.coffee | spec/modules-spec.coffee | assert = require 'assert'
fs = require 'fs'
path = require 'path'
temp = require 'temp'
describe 'third-party module', ->
fixtures = path.join __dirname, 'fixtures'
temp.track()
# If the test is executed with the debug build on Windows, we will skip it
# because native modules don't work with the debu... | assert = require 'assert'
fs = require 'fs'
path = require 'path'
temp = require 'temp'
describe 'third-party module', ->
fixtures = path.join __dirname, 'fixtures'
temp.track()
# If the test is executed with the debug build on Windows, we will skip it
# because native modules don't work with the debu... | Revert "spec: ffi is crashing on OS X" | Revert "spec: ffi is crashing on OS X"
This reverts commit 706deae1b0dc924fc8cb11f992f36c7cf56530ab.
| CoffeeScript | mit | noikiy/electron,leethomas/electron,jcblw/electron,posix4e/electron,seanchas116/electron,kcrt/electron,Evercoder/electron,gerhardberger/electron,BionicClick/electron,rajatsingla28/electron,thomsonreuters/electron,nekuz0r/electron,the-ress/electron,lzpfmh/electron,astoilkov/electron,aaron-goshine/electron,electron/electr... |
270445214a289296b4d0e1e3b3fadc63eca4d154 | tests/test_wave_8.coffee | tests/test_wave_8.coffee | common = require './common'
common.setup()
casper.test.begin "Mist Hunter equips Tractor Beam", (test) ->
common.waitForStartup('#rebel-builder')
common.openScumBuilder()
common.addShip('#scum-builder', 'G-1A Starfighter', 'Zuckuss')
.then ->
test.assertDoesntExist "#scum-builder #{common.se... | Add test for Mist Hunter title. | Add test for Mist Hunter title.
| CoffeeScript | mit | strikegun/xwing,wilsonodk/xwing,wilsonodk/xwing,wilsonodk/xwing,strikegun/xwing,elistevens/xwing,elistevens/xwing,geordanr/xwing,elistevens/xwing,geordanr/xwing,strikegun/xwing,geordanr/xwing | |
8554df234671c92a0f32614a3932090e6e633e6f | src/extensions/wrap-guide/src/wrap-guide.coffee | src/extensions/wrap-guide/src/wrap-guide.coffee | {View} = require 'space-pen'
module.exports =
class WrapGuide extends View
@activate: (rootView, state, config) ->
requireStylesheet 'wrap-guide.css'
for editor in rootView.getEditors()
if rootView.parents('html').length
@appendToEditorPane(rootView, editor, config)
rootView.on 'editor-op... | {View} = require 'space-pen'
module.exports =
class WrapGuide extends View
@activate: (rootView, state, config) ->
requireStylesheet 'wrap-guide.css'
for editor in rootView.getEditors()
if rootView.parents('html').length
@appendToEditorPane(rootView, editor, config)
rootView.on 'editor-op... | Use .subscribe and .observeConfig in WrapGuide | Use .subscribe and .observeConfig in WrapGuide | CoffeeScript | mit | gisenberg/atom,Locke23rus/atom,KENJU/atom,tisu2tisu/atom,devmario/atom,ilovezy/atom,abe33/atom,ralphtheninja/atom,Shekharrajak/atom,Galactix/atom,liuxiong332/atom,Neron-X5/atom,kevinrenaers/atom,john-kelly/atom,nvoron23/atom,charleswhchan/atom,harshdattani/atom,Galactix/atom,Shekharrajak/atom,alexandergmann/atom,liuxio... |
040dcdab183494f27055c7e609db6ae6d6f0d780 | components/SCDDetect.coffee | components/SCDDetect.coffee | noflo = require 'noflo'
temporary = require 'temporary'
fs = require 'fs'
path = require 'path'
exec = require('child_process').exec
# @runtime noflo-nodejs
# @name SCDDetect
compute = (canvas, cascade, callback) ->
# Get canvas
ctx = canvas.getContext '2d'
imageData = ctx.getImageData 0, 0, canvas.width, canva... | Add NoFlo component to SCD detector | Add NoFlo component to SCD detector
| CoffeeScript | mit | noflo/noflo-ccv,noflo/noflo-ccv,noflo/noflo-ccv,noflo/noflo-ccv | |
4187fe9bb5c85b9c3ccf273717727eddd8538678 | desktop/components/partner_buttons/show_buttons.coffee | desktop/components/partner_buttons/show_buttons.coffee | _ = require 'underscore'
Backbone = require 'backbone'
Profile = require '../../models/profile.coffee'
{ Following, FollowButton } = require '../../components/follow_button/index.coffee'
CurrentUser = require '../../models/current_user.coffee'
ShowInquiryModal = require '../contact/show_inquiry_modal.coffee'
module.ex... | _ = require 'underscore'
Backbone = require 'backbone'
Profile = require '../../models/profile.coffee'
{ Following, FollowButton } = require '../../components/follow_button/index.coffee'
CurrentUser = require '../../models/current_user.coffee'
ShowInquiryModal = require '../contact/show_inquiry_modal.coffee'
module.ex... | Fix following profile on fair and shows feed for logged out users | Fix following profile on fair and shows feed for logged out users
| CoffeeScript | mit | artsy/force,damassi/force,kanaabe/force,erikdstock/force,kanaabe/force,damassi/force,izakp/force,yuki24/force,yuki24/force,cavvia/force-1,anandaroop/force,joeyAghion/force,mzikherman/force,xtina-starr/force,oxaudo/force,damassi/force,anandaroop/force,joeyAghion/force,erikdstock/force,kanaabe/force,xtina-starr/force,joe... |
b717add81b7a81340d678de5081d99eb55138f14 | spec/modules-spec.coffee | spec/modules-spec.coffee | assert = require 'assert'
fs = require 'fs'
path = require 'path'
temp = require 'temp'
describe 'third-party module', ->
fixtures = path.join __dirname, 'fixtures'
temp.track()
describe 'runas', ->
it 'can be required in renderer', ->
require 'runas'
it 'can be required in node binary', ... | assert = require 'assert'
fs = require 'fs'
path = require 'path'
temp = require 'temp'
describe 'third-party module', ->
fixtures = path.join __dirname, 'fixtures'
temp.track()
describe 'runas', ->
it 'can be required in renderer', ->
require 'runas'
it 'can be required in node binary', ... | Print error when mkdir failed | Print error when mkdir failed
| CoffeeScript | mit | shockone/electron,aliib/electron,preco21/electron,d-salas/electron,jlhbaseball15/electron,xiruibing/electron,jcblw/electron,destan/electron,noikiy/electron,jannishuebl/electron,joaomoreno/atom-shell,jaanus/electron,trankmichael/electron,MaxGraey/electron,trigrass2/electron,voidbridge/electron,mhkeller/electron,jlhbaseb... |
b63a33c7bb0046ab05b2ef3cf97323ef65b9052a | src/menu-manager.coffee | src/menu-manager.coffee | ipc = require 'ipc'
# Public: Provides a registry for menu items that you'd like to appear in the
# application menu.
#
# Should be accessed via `atom.menu`.
module.exports =
class MenuManager
# Private:
constructor: () ->
@template = {}
# Public: Refreshes the currently visible menu.
update: ->
@send... | ipc = require 'ipc'
# Public: Provides a registry for menu items that you'd like to appear in the
# application menu.
#
# Should be accessed via `atom.menu`.
module.exports =
class MenuManager
# Private:
constructor: ->
@template = {}
# Public: Refreshes the currently visible menu.
update: ->
@sendToB... | Fix lint errors in MenuManager | Fix lint errors in MenuManager
| CoffeeScript | mit | dannyflax/atom,Hasimir/atom,qiujuer/atom,me6iaton/atom,lpommers/atom,Jonekee/atom,fscherwi/atom,devoncarew/atom,jtrose2/atom,yamhon/atom,ironbox360/atom,svanharmelen/atom,Neron-X5/atom,FIT-CSE2410-A-Bombs/atom,stinsonga/atom,yomybaby/atom,fscherwi/atom,dkfiresky/atom,liuderchi/atom,NunoEdgarGub1/atom,einarmagnus/atom,m... |
23af7b4072a06cfa42b2b6b713fcfdc6423e1b76 | dot-atom/init.coffee | dot-atom/init.coffee | # Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files have larger text:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorVi... | # Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files have larger text:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorVi... | Make font-size larger than the default | Make font-size larger than the default
| CoffeeScript | mit | jacekkopecky/atom,ezeoleaf/atom,hharchani/atom,deepfox/atom,batjko/atom,liuxiong332/atom,prembasumatary/atom,stinsonga/atom,tjkr/atom,sekcheong/atom,kdheepak89/atom,mnquintana/atom,abcP9110/atom,seedtigo/atom,kevinrenaers/atom,gzzhanghao/atom,Sangaroonaom/atom,kjav/atom,ppamorim/atom,bcoe/atom,kjav/atom,jjz/atom,splodi... |
c0110f8fa8b214037afb798edb85cc3a6f5c3827 | src/desktop/components/split_test/running_tests.coffee | src/desktop/components/split_test/running_tests.coffee | # Centralizes configuration for currently running split tests
#
# eg.
# header_design:
# key: 'header_design'
# outcomes:
# old: 8
# new: 2
#
# Or, `outcomes` can be an array, when you specify `weighting: 'equal'.
# weighting: 'equal'
# outcomes: [
# 'old'
# 'new'
# ]
# edge: 'new'
# dimen... | # Centralizes configuration for currently running split tests
#
# eg.
# header_design:
# key: 'header_design'
# outcomes:
# old: 8
# new: 2
#
# Or, `outcomes` can be an array, when you specify `weighting: 'equal'.
# weighting: 'equal'
# outcomes: [
# 'old'
# 'new'
# ]
# edge: 'new'
# dimen... | Set up split test for nav bar | Set up split test for nav bar
Co-authored-by: Christina Thompson <b198d96868676c881b6e8056776420d72dff081b@gmail.com>
| CoffeeScript | mit | yuki24/force,izakp/force,anandaroop/force,artsy/force,erikdstock/force,artsy/force,artsy/force-public,eessex/force,anandaroop/force,eessex/force,oxaudo/force,damassi/force,artsy/force-public,izakp/force,joeyAghion/force,oxaudo/force,anandaroop/force,anandaroop/force,yuki24/force,eessex/force,oxaudo/force,yuki24/force,i... |
c391b7777ccf7b2445193fbb39656d9c28be3f75 | tests/unit_tests/commands_test.coffee | tests/unit_tests/commands_test.coffee | require "./test_helper.js"
{Commands} = require "../../background_scripts/commands.js"
context "Key mappings",
should "lowercase keys correctly", ->
assert.equal (Commands.normalizeKey '<c-a>'), '<c-a>'
assert.equal (Commands.normalizeKey '<C-a>'), '<c-a>'
assert.equal (Commands.normalizeKey '<C-A>'), '<... | require "./test_helper.js"
{Commands} = require "../../background_scripts/commands.js"
context "Key mappings",
should "lowercase keys correctly", ->
assert.equal (Commands.normalizeKey '<c-a>'), '<c-a>'
assert.equal (Commands.normalizeKey '<C-a>'), '<c-a>'
assert.equal (Commands.normalizeKey '<C-A>'), '<... | Add tests to validate command structures. | Add tests to validate command structures.
| CoffeeScript | mit | justalittlenoob/vimium,hhsue/vimium,Robinson10240/vimium,Aleroniponi/vimium,poacher2k/vimium,PickRelated/vimium,hhsue/vimium,zhangmin510/vimium,Robinson10240/vimium,VPashkov/vimium,mrmr1993/vimium,Aleroniponi/vimium,dimatter/vimium,wildeyes/vimium,justalittlenoob/vimium,douglas-larocca/vimium,willsALMANJ/vimium,elegant... |
86ebd820455239432170fa2431b390636ab52b13 | test/languages.coffee | test/languages.coffee | { getLanguage } = require '../src/languages'
exports["CSS comment types"] = (test) ->
lang = getLanguage('foo.css')
test.equal lang.checkType(' /* ** FOO bar -- **'), 'multistart'
test.equal lang.checkType(' ** FOO bar -- **/ '), 'multiend'
test.equal lang.checkType('/** FOO bar -- **/ '), 'single', "Multi li... | Add some basic test of Languages methods | Add some basic test of Languages methods
| CoffeeScript | mit | paulwellnerbou/styledocco,trungnghia112/styledocco,jacobrask/styledocco,trungnghia112/styledocco,ooooooo-q/styledocco,paulwellnerbou/styledocco,ooooooo-q/styledocco | |
ef35d1cf288640689ee8664d757130e93644b1ac | app/merge.coffee | app/merge.coffee | # Merge Array Order with Timestamps
ArrayDiff = (a, b) ->
a.filter (i) ->
not (b.indexOf(i) > -1)
merge = (client, server) ->
# client and server are objects with time and order
# Find diff
serverDiff = ArrayDiff server.order, client.order
clientDiff = ArrayDiff client.order, server.order
# Check if... | Add array merging code (to be used with offline sync and task sorting conflicts) | Add array merging code (to be used with offline sync and task sorting conflicts)
| CoffeeScript | unknown | nitrotasks/nitro-server,CaffeinatedCode/nitro-server,nitrotasks/nitro-server | |
d604f5a55facab64e774660ac1126562032815fe | components/commercial_filter/filters/paginator/paginator_view.coffee | components/commercial_filter/filters/paginator/paginator_view.coffee | Backbone = require 'backbone'
template = -> require('./index.jade') arguments...
module.exports = class PaginatorView extends Backbone.View
maxPage: 100
pagesInterval: 2
events:
'click li a' : 'setPage'
initialize: ({ @params, @filter }) ->
throw new Error 'Requires a params model' unless @params?
... | Backbone = require 'backbone'
template = -> require('./index.jade') arguments...
module.exports = class PaginatorView extends Backbone.View
maxPage: 100
pagesInterval: 2
events:
'click li a' : 'setPage'
initialize: ({ @params, @filter }) ->
throw new Error 'Requires a params model' unless @params?
... | Fix off by one issue in pagination | Fix off by one issue in pagination
| CoffeeScript | mit | oxaudo/force,joeyAghion/force,izakp/force,yuki24/force,damassi/force,cavvia/force-1,mzikherman/force,mzikherman/force,xtina-starr/force,artsy/force-public,kanaabe/force,artsy/force,oxaudo/force,xtina-starr/force,cavvia/force-1,xtina-starr/force,joeyAghion/force,anandaroop/force,artsy/force,kanaabe/force,mzikherman/forc... |
56f9fb3258e119f829dd536ebef7b8cec68a8003 | app/assets/javascripts/neighborly/projects/backers/create.js.coffee | app/assets/javascripts/neighborly/projects/backers/create.js.coffee | Neighborly.Projects = {} if Neighborly.Projects is undefined
Neighborly.Projects.Backers = {} if Neighborly.Projects.Backers is undefined
Neighborly.Projects.Backers.Create =
init: Backbone.View.extend
el: '.create-backer-page'
initialize: ->
@payment_view = new this.Payment()
Payment: Backbone.V... | Create script to load the payments views from payment engines | Create script to load the payments views from payment engines
| CoffeeScript | mit | gustavoguichard/neighborly,MicroPasts/micropasts-crowdfunding,MicroPasts/micropasts-crowdfunding,jinutm/silverme,raksonibs/raimcrowd,MicroPasts/micropasts-crowdfunding,rockkhuya/taydantay,rockkhuya/taydantay,jinutm/silverme,rockkhuya/taydantay,jinutm/silverclass,jinutm/silvfinal,jinutm/silverme,raksonibs/raimcrowd,jinu... | |
b5aaf36bd24b31e3c96f84967b85ed69baa78845 | app/assets/javascripts/admin/line_items/directives/scale_by_as_currency.js.coffee | app/assets/javascripts/admin/line_items/directives/scale_by_as_currency.js.coffee | angular.module("admin.lineItems").directive "scaleAsCurrency", ($filter) ->
restrict: "A"
require: 'ngModel'
scope:
factor: "&scaleAsCurrency"
link: (scope, element, attrs, ngModel) ->
ngModel.$formatters.push (value) ->
$filter("currency")(value * scope.factor())
| Create directive for scaling by a factor and then formatting as currency | Create directive for scaling by a factor and then formatting as currency
| CoffeeScript | agpl-3.0 | Matt-Yorkley/openfoodnetwork,oeoeaio/openfoodnetwork,Em-AK/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,ltrls/openfoodnetwork,mkllnk/openfoodnetwork,ltrls/openfoodnetwork,KateDavis/openfoodnetwork,lin-d-hop/openfoodnetwork,MikeiLL/openfoodnetwork,openfoodfoundation/openfoodnetwork,Kat... | |
3550dc034b0aea87e5df2c6956dd9ee9cadf90d5 | server/startup/migrations/v7.coffee | server/startup/migrations/v7.coffee | Meteor.startup ->
Migrations.add
version: 7
up: ->
console.log 'Populate urls in messages'
query = ChatMessage.find({ 'urls.0': { $exists: true }, urls: { $type: 2 } })
count = query.count()
query.forEach (message, index) ->
console.log "#{index + 1} / #{count}"
message.urls = message.urls.ma... | Create migration to update message urls | Create migration to update message urls
| CoffeeScript | mit | mhurwi/Rocket.Chat,osxi/Rocket.Chat,pitamar/Rocket.Chat,galrotem1993/Rocket.Chat,wicked539/Rocket.Chat,jessedhillon/Rocket.Chat,nrhubbar/Rocket.Chat,jyx140521/Rocket.Chat,AimenJoe/Rocket.Chat,PavelVanecek/Rocket.Chat,florinnichifiriuc/Rocket.Chat,trt15-ssci-organization/Rocket.Chat,cnash/Rocket.Chat,j-ew-s/Rocket.Chat,... | |
cc7ae6d327cfb7c28db0b2236c09e02ca7a28fb9 | packages/rocketchat-oauth2-server-config/oauth/server/default-services.coffee | packages/rocketchat-oauth2-server-config/oauth/server/default-services.coffee | if not RocketChat.models.OAuthApps.findOne('zapier')
RocketChat.models.OAuthApps.insert
_id: 'zapier'
name: 'Zapier'
active: true
clientId: 'zapier'
clientSecret: 'RTK6TlndaCIolhQhZ7_KHIGOKj41RnlaOq_o-7JKwLr'
redirectUri: 'https://zapier.com/dashboard/auth/oauth/return/AppAPI/'
_createdAt: new Date
_cr... | if not RocketChat.models.OAuthApps.findOne('zapier')
RocketChat.models.OAuthApps.insert
_id: 'zapier'
name: 'Zapier'
active: true
clientId: 'zapier'
clientSecret: 'RTK6TlndaCIolhQhZ7_KHIGOKj41RnlaOq_o-7JKwLr'
redirectUri: 'https://zapier.com/dashboard/auth/oauth/return/App32270API/'
_createdAt: new Date
... | Fix the incorrect default url for new instances. | Fix the incorrect default url for new instances.
| CoffeeScript | mit | pitamar/Rocket.Chat,Movile/Rocket.Chat,VoiSmart/Rocket.Chat,wtsarchive/Rocket.Chat,galrotem1993/Rocket.Chat,snaiperskaya96/Rocket.Chat,wtsarchive/Rocket.Chat,k0nsl/Rocket.Chat,xasx/Rocket.Chat,subesokun/Rocket.Chat,Gyubin/Rocket.Chat,mwharrison/Rocket.Chat,intelradoux/Rocket.Chat,4thParty/Rocket.Chat,pkgodara/Rocket.Ch... |
26c0eebcc459ff1db571f8b1328233275a99ad97 | src/user/status-mixin.coffee | src/user/status-mixin.coffee | User = require './model'
UserStatusMixin = {
componentDidMount: ->
User.channel.on("change", @onUserChange)
componentWillUnmount: ->
User.channel.off("change", @onUserChange)
onUserChange: ->
@forceUpdate()
getUser: ->
User
}
module.exports = UserStatusMixin
| Add status mixin for listening to user changes | Add status mixin for listening to user changes
| CoffeeScript | agpl-3.0 | openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js | |
d37ac9e161f27ece620aca5c45f5432dabe25d89 | src/sinks/moz-sink.coffee | src/sinks/moz-sink.coffee | class MozillaSink
constructor: (@name) ->
@buffers = []
@inputs = {
audio: null
}
@audio = null
@samplingFrequency = 48000
@channels = 2
@currentWritePosition = 0
@prebufferSize = null
@t... | Add mozilla sink, in addition to sink.js | Add mozilla sink, in addition to sink.js
We're having minor problems with sink.js, adding moz-sink for experimentation.
| CoffeeScript | bsd-2-clause | jensnockert/aurora.js,jensnockert/aurora.js,jensnockert/aurora.js | |
1c5852cad964a3e63f01fd7eeece7a085485aed5 | src/coffee/orderservice.coffee | src/coffee/orderservice.coffee | SphereClient = require 'sphere-node-client'
Q = require 'q'
class OrderService
constructor: (options = {}) ->
unless options.sphere_client
options.sphere_client = new SphereClient options
@orders = options.sphere_client.orders
addSyncInfo: (orderId, orderVersion, channelId, externalId) ->
data ... | Add helper to set sync info at order. | Add helper to set sync info at order.
| CoffeeScript | mit | sphereio/sphere-order-export,sphereio/sphere-order-export,sphereio/sphere-order-export | |
c149d4f7c184bc411e05ac8ace5d613a8273044c | spec/javascripts/support/ember-auth-patch.coffee | spec/javascripts/support/ember-auth-patch.coffee | Em.onLoad 'Ember.Application', (application) ->
application.initializer
name: "adapter-auth-injection"
before: "ember-auth-load"
initialize: (container, app) ->
app.inject 'adapter', 'auth', 'auth:main'
Em.Auth.EmberDataAuthModule.reopen
patch: ->
DS.RESTAdapter.reopen
ajax: (url, type... | Add ember auth patch for testing | Add ember auth patch for testing
| CoffeeScript | mit | FromUte/dune-dashboard,FromUte/dune-dashboard,FromUte/dune-dashboard | |
0362c45ac8dbe9ff53e753912f3a9bac07a17334 | scripts/arnie-quotes.coffee | scripts/arnie-quotes.coffee | # Description:
# Listens for words and sometimes replies with an Arnie quote
#
# Dependencies:
# None
#
# Commands:
# None
#
# Author:
# Casey Lawrence <cjlaw@users.noreply.github.com>
#
odds = [1...100]
arnie_quotes = [
'GET TO THE CHOPPA!',
'Your clothes, give them to me, now!',
'Hasta La Vista... | Add a new custom script for Arnie quotes | Add a new custom script for Arnie quotes
| CoffeeScript | mit | traviskroberts/superbestbot | |
ed65296e2f71342c4bb044cd15fb69ff7e27f099 | tests/test_expansions.coffee | tests/test_expansions.coffee | common = require './common'
common.setup()
casper.test.begin "Validate Expansions", (test) ->
valid_expansions = [
"A-Wing Expansion Pack"
"B-Wing Expansion Pack"
"Core"
"E-Wing Expansion Pack"
"HWK-290 Expansion Pack"
"Imperial Aces Expansion Pack"
"Lambda-... | Test to validate expansion list. | Test to validate expansion list.
| CoffeeScript | mit | wilsonodk/xwing,bmds/xwing,Necrogoat/xwing,nopr/xwing,nux/xwing,bmds/xwing,nopr/xwing,elistevens/xwing,bmds/xwing,strikegun/xwing,Necrogoat/xwing,nopr/xwing,strikegun/xwing,wilsonodk/xwing,geordanr/xwing,geordanr/xwing,wilsonodk/xwing,Necrogoat/xwing,geordanr/xwing,elistevens/xwing,nux/xwing,elistevens/xwing,nux/xwing,... | |
ac1dcf9e2b83b351a9d232e826a92d7b8f2d6d9b | client/ide/lib/views/collaboration/limitedvideocollaborationfree.coffee | client/ide/lib/views/collaboration/limitedvideocollaborationfree.coffee | kd = require 'kd'
KDView = kd.View
CustomLinkView = require 'app/customlinkview'
ComputePlansModalFree = require 'app/providers/computeplansmodalfree'
module.exports = class LimitedVideoCollaborationFree extends ComputePlansModalFree
viewAppended: ->
@addSubView new K... | Extend new modal from ComputePlansModalFree | Extend new modal from ComputePlansModalFree
| CoffeeScript | agpl-3.0 | jack89129/koding,cihangir/koding,szkl/koding,acbodine/koding,andrewjcasal/koding,szkl/koding,alex-ionochkin/koding,cihangir/koding,cihangir/koding,alex-ionochkin/koding,jack89129/koding,alex-ionochkin/koding,sinan/koding,andrewjcasal/koding,sinan/koding,sinan/koding,usirin/koding,jack89129/koding,drewsetski/koding,acbo... | |
ff9027fa9535a77d5f80823d543cfe53f452a0a7 | renderer/lib/override.coffee | renderer/lib/override.coffee | # Redirect window.onerror to uncaughtException.
window.onerror = (error) ->
if global.process.listeners('uncaughtException').length > 0
global.process.emit 'uncaughtException', error
true
else
false
# Override default window.close, see:
# https://github.com/atom/atom-shell/issues/70
window.close = ->
... | # Redirect window.onerror to uncaughtException.
window.onerror = (error) ->
if global.process.listeners('uncaughtException').length > 0
global.process.emit 'uncaughtException', error
true
else
false
# Override default window.close, see:
# https://github.com/atom/atom-shell/issues/70
window.close = ->
... | Use the dialog API to implement alert(). | Use the dialog API to implement alert().
| CoffeeScript | mit | hokein/atom-shell,Gerhut/electron,rajatsingla28/electron,tinydew4/electron,d-salas/electron,subblue/electron,ianscrivener/electron,shaundunne/electron,synaptek/electron,maxogden/atom-shell,bruce/electron,subblue/electron,digideskio/electron,minggo/electron,simonfork/electron,destan/electron,yalexx/electron,bpasero/elec... |
0a6116a78507ba6d2048595c73f23013adf5c087 | src/overlay-manager.coffee | src/overlay-manager.coffee | module.exports =
class OverlayManager
constructor: (@container) ->
@overlayNodesById = {}
render: (props) ->
{presenter} = props
for decorationId, {pixelPosition, item} of presenter.state.content.overlays
@renderOverlay(presenter, decorationId, item, pixelPosition)
for id, overlayNode of @o... | module.exports =
class OverlayManager
constructor: (@container) ->
@overlayNodesById = {}
render: (props) ->
{presenter} = props
for decorationId, {pixelPosition, item} of presenter.state.content.overlays
@renderOverlay(presenter, decorationId, item, pixelPosition)
for id, overlayNode of @o... | Fix undefined method errors in overlay manager | Fix undefined method errors in overlay manager
Access properties directly now
| CoffeeScript | mit | Huaraz2/atom,lovesnow/atom,brumm/atom,nrodriguez13/atom,john-kelly/atom,abcP9110/atom,johnhaley81/atom,mdumrauf/atom,atom/atom,codex8/atom,qiujuer/atom,NunoEdgarGub1/atom,xream/atom,deepfox/atom,tanin47/atom,russlescai/atom,sekcheong/atom,sillvan/atom,bencolon/atom,Jandersoft/atom,batjko/atom,einarmagnus/atom,Hasimir/a... |
89e34a3e24e649cb3fb1e0fb6bcee5efb0233590 | test/util/data-gen.coffee | test/util/data-gen.coffee | "use strict"
ObjectID = require('mongodb').ObjectID
Moniker = require('moniker')
rand = (min, max) -> Math.floor (Math.random() * (max - min + 1) + min)
lisence = [
"CC BY-NC-ND 3.0 NO"
"CC BY-NC 3.0 NO"
"CC BY-ND 3.0 NO"
"CC BY 3.0 NO"
]
provider = [
"DNT"
"NRK"
"TURAPP"
]
module.exports = (num) ->
... | Add dummy data creation script | Add dummy data creation script
| CoffeeScript | mit | Turistforeningen/Turbasen,Turbasen/Turbasen | |
d9fb606d3ba93930ea1c1dcf775d040b3f95d3aa | lib/utilities/multiTabSessions.coffee | lib/utilities/multiTabSessions.coffee | ###
Multiple tabs session storage sync
@see http://blog.guya.net/2015/06/12/sharing-sessionstorage-between-tabs-for-secure-multi-tab-authentication/
###
module.exports = (Module, App, Backbone, Marionette, $, _) ->
# transfers sessionStorage from one tab to another
sessionStorage_transfer = (event) ->
if !ev... | Add multi tab/window support for sessionStorage | Add multi tab/window support for sessionStorage
| CoffeeScript | mit | mosaiqo/frontendAppLib | |
20e242446b5f34c12a3e73c0c16b9695443bbc0b | settings/language-xquery.cson | settings/language-xquery.cson | '.source.xq':
'editor':
'commentStart': '(: '
'commentEnd': ' :)'
'increaseIndentPattern': '[\\({]\\s*$|<[^>]+>\\s*$|(then|return)\\s*$|let.*:=\\s*$'
'decreaseIndentPattern': '^\\s*</[^>]+>' | Add language settings to insert proper XQuery comments and default indents. | Add language settings to insert proper XQuery comments and default indents.
| CoffeeScript | mit | wolfgangmm/atom-existdb | |
511f602fd82ccc476163154aea35f0a36bdca3a7 | prod/src/coffee-script/node/camparser.coffee | prod/src/coffee-script/node/camparser.coffee | sys = require 'sys'
fs = require 'fs'
xml2js = require 'xml2js'
_ = require 'underscore'
parser = new xml2js.Parser()
parser.addListener 'end', (result) ->
cams = []
_(result.Document.Folder.Placemark).each (placemark) ->
coords = placemark.Point.coordinates.split ','
url = placemark.descripti... | Add cam parser node work. | Add cam parser node work.
| CoffeeScript | mit | krismolendyke/traphicam,krismolendyke/traphicam | |
400338bfb82c46f1752e2223df9dc3435dea4b72 | spec-runner/utils/spec-matchers.coffee | spec-runner/utils/spec-matchers.coffee | define
toBeOneOf: ->
if arguments.indexOf
return arguments.indexOf @actual
for arg in arguments when @actual is arguments[i]
return true
return false
toHaveBeenCalledOnce: ->
if arguments.length > 0
throw new Error 'toHaveBeenCalledOnce does not take arguments, use toHaveBeenCa... | Add back accidentally removed spec-matcher | specs: Add back accidentally removed spec-matcher
| CoffeeScript | mit | peterwmwong/cell,peterwmwong/cell | |
8c9a6d04aa2f254ea4a0126c5d49deb09fd20eab | src/coffee/mixins/q.coffee | src/coffee/mixins/q.coffee | Q = require 'q'
_ = require 'underscore'
###*
* Collection of Q utils
###
module.exports =
###*
* Process each element in the given list using the function fn (called on each iteration).
* The function fn has to return a promise that should be resolved when all elements of the page are processed.
* @param... | Add generic process function in Q utils | Add generic process function in Q utils
| CoffeeScript | mit | sphereio/sphere-node-utils | |
1754260a9f540f2bdc4205cfa94bc8881d8cfcd2 | guides/download_archive.coffee | guides/download_archive.coffee | # 2014/12/15
# Created by @hanachin_ (@hanachin on GitHub)
# Copyright (C) MIT License 2014
# disable web security to download files
casper = require('casper').create
pageSettings:
webSecurityEnabled: false
# Google Translator Toolkit endpoints
GOOGLE_TRANSLATOR_TOOLKIT_URL = 'http://translate.google.com/toolki... | Add GTT download script template (Thx! @hanachin) | Add GTT download script template (Thx! @hanachin)
| CoffeeScript | mit | yasslab/railsguides.jp,yasslab/railsguides.jp,yasslab/railsguides.jp,yasslab/railsguides.jp | |
1c8b52061ebf258a55b8efec6fb946825e946b7d | src/alphabet.coffee | src/alphabet.coffee | define ->
FINNISH_ALPHABET = 'abcdefghijklmnopqrstuvwxyzåäö'
# Thank you
# http://stackoverflow.com/questions/3630645/how-to-compare-utf-8-strings-in-javascript/3633725#3633725
alpha = (direction, caseSensitive, alphabetOrder = FINNISH_ALPHABET) ->
compareLetters = (a, b) ->
[ia, i... | Add forgotten file: util for sorting by name. | Add forgotten file: util for sorting by name.
| CoffeeScript | agpl-3.0 | City-of-Helsinki/servicemap,vaaralav/servicemap,vaaralav/servicemap,Zeukkari/servicemap,City-of-Helsinki/servicemap,vaaralav/servicemap,Zeukkari/servicemap,City-of-Helsinki/servicemap | |
b6b02028c914334a9253493e6a755b6305ecd6a4 | expire_docops.coffee | expire_docops.coffee | Settings = require "settings-sharelatex"
rclient = require("redis-sharelatex").createClient(Settings.redis.documentupdater)
keys = Settings.redis.documentupdater.key_schema
async = require "async"
RedisManager = require "./app/js/RedisManager"
getKeysFromNode = (node, pattern, callback) ->
cursor = 0 # redis iterato... | Add script to expire existing DocOps lists | Add script to expire existing DocOps lists
| CoffeeScript | agpl-3.0 | sharelatex/document-updater-sharelatex,sharelatex/document-updater-sharelatex,sharelatex/document-updater-sharelatex | |
afc8b9e519bb453ca324f6affec9903bfa9c3ddd | default-config.cson | default-config.cson | poi:
theme: "paperdark"
layout: "horizonal"
window:
x: 60
y: 60
width: 1274
height: 616
webview:
width: 800
proxy:
use: "none"
socks5:
host: "127.0.0.1"
port: 1080
http:
host: "127.0.0.1"
port: 8099
shadowsocks:
server:
host: "106.185.25.115"
port: 270... | poi:
theme: "paperdark"
layout: "horizonal"
window:
x: 60
y: 60
width: 1274
height: 616
webview:
width: 800
shortcut:
bosskey: 'CmdOrCtrl+h'
proxy:
use: "none"
socks5:
host: "127.0.0.1"
port: 1080
http:
host: "127.0.0.1"
port: 8099
shadowsocks:
server:
... | Add hide key to config | Add hide key to config | CoffeeScript | mit | pnlybubbles/poi,Chibaheit/poi,poooi/poi,dushi792/poi,bllue78/poi,dkwingsmt/poi,gnattu/poi,dushi792/poi,yudachi/poi,zyc434343/poi,pnlybubbles/poi,xuqing1989/poi,yyydao/poi,xuqing1989/poi,dushi792/poi,poooi/poi,NatLee/poi,Chibaheit/poi,yukixz/poi,Dibel/poi,poooi/poi,KagamiChan/poi,PHELiOX/poi,yyydao/poi,yudachi/poi,nagat... |
7856a8ce62769f1382a137d9b58a39491303c0fd | src/scan-handler.coffee | src/scan-handler.coffee | {PathSearcher, PathScanner, search} = require 'scandal'
module.exports = (rootPath, regexSource, options) ->
callback = @async()
searcher = new PathSearcher()
scanner = new PathScanner(rootPath, rootPath)
searcher.on 'results-found', (result) ->
emit('scan:result-found', result)
flags = "g"
flags +=... | {PathSearcher, PathScanner, search} = require 'scandal'
module.exports = (rootPath, regexSource, options) ->
callback = @async()
searcher = new PathSearcher()
scanner = new PathScanner(rootPath, options)
searcher.on 'results-found', (result) ->
emit('scan:result-found', result)
flags = "g"
flags += ... | Make the scan task actually work | Make the scan task actually work
| CoffeeScript | mit | GHackAnonymous/atom,gzzhanghao/atom,SlimeQ/atom,Jdesk/atom,ralphtheninja/atom,vjeux/atom,abe33/atom,woss/atom,FoldingText/atom,vcarrera/atom,yomybaby/atom,yomybaby/atom,sotayamashita/atom,champagnez/atom,vhutheesing/atom,PKRoma/atom,lovesnow/atom,ppamorim/atom,stinsonga/atom,Abdillah/atom,chengky/atom,nrodriguez13/atom... |
b124546d13562c0a015cf62a44b540dbccbbbe2b | src/spec/integration.spec.coffee | src/spec/integration.spec.coffee | debug = require('debug')('spec:it:sphere-product-sync-import')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
{ProductImport} = require '../coffee'
Config = require '../../config'
Promise = require 'bluebird'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../../package.json'
slugif... | Add basic integration test to create new products. | Add basic integration test to create new products.
| CoffeeScript | mit | sphereio/sphere-product-import | |
6b0da8935b537f0fafe0c4c3cc0bda394e3694bc | app/assets/javascripts/backbone/plugins/youtube_embed.js.coffee | app/assets/javascripts/backbone/plugins/youtube_embed.js.coffee | class Kandan.Plugins.YouTubeEmbed
@youtube_regex: /^http(s)?:\/\/www.youtube.com\/watch/i
@youtube_id_regex: /\Wv=([\w|\-]*)/
@youtube_embed_template: _.template '''
<div class="youtube-preview">
<a target="_blank" class="youtube-preview-link" href="<%= video_url %>">
<img class="youtube-previ... | class Kandan.Plugins.YouTubeEmbed
@youtube_regex: /^http(s)?.+www.youtube.com.+watch/i
@youtube_id_regex: /\Wv=([\w|\-]*)/
@youtube_embed_template: _.template '''
<div class="youtube-preview">
<a target="_blank" class="youtube-preview-link" href="<%= video_url %>">
<img class="youtube-preview-... | Fix the youtube regex to be more flexible | Fix the youtube regex to be more flexible
| CoffeeScript | agpl-3.0 | dz0ny/kandan,ych06/kandan,dz0ny/kandan,codefellows/kandan,ych06/kandan,ipmobiletech/kandan,arferreira/chatifollow,miurahr/kandan,yfix/kandan,miurahr/kandan,kandanapp/kandan,codefellows/kandan,moss-zc/kandan,cloudfuji/kandan,codefellows/kandan,naughtystyle/jobster-room,ivanoats/kandan,ivanoats/uw-ruby-chat,sai43/kandan,... |
d4ffe705ebebba49ebaf0652b4430bb459e83eb4 | app/assets/javascripts/logo.js.coffee | app/assets/javascripts/logo.js.coffee | NProgress.configure(showSpinner: false)
defaultClass = 'tanuki-shape'
pieces = [
'path#tanuki-right-cheek',
'path#tanuki-right-eye, path#tanuki-right-ear',
'path#tanuki-nose',
'path#tanuki-left-eye, path#tanuki-left-ear',
'path#tanuki-left-cheek',
]
pieceIndex = 0
firstPiece = pieces[0]
currentTimer = null
... | NProgress.configure(showSpinner: false)
defaultClass = 'tanuki-shape'
pieces = [
'path#tanuki-right-cheek',
'path#tanuki-right-eye, path#tanuki-right-ear',
'path#tanuki-nose',
'path#tanuki-left-eye, path#tanuki-left-ear',
'path#tanuki-left-cheek',
]
pieceIndex = 0
firstPiece = pieces[0]
currentTimer = null
... | Call clearInterval for the currentTimer if one exists | Call clearInterval for the currentTimer if one exists
Prevents a double-click from causing the logo to sweep forever after a
load completes.
| CoffeeScript | mit | shinexiao/gitlabhq,iiet/iiet-git,darkrasid/gitlabhq,mr-dxdy/gitlabhq,martijnvermaat/gitlabhq,duduribeiro/gitlabhq,daiyu/gitlab-zh,mr-dxdy/gitlabhq,darkrasid/gitlabhq,t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,Soullivaneuh/gitlabhq,LUMC/gitlabhq,dreampet/gitlab,yatish27/gitlabhq,dwrensha/gitlabhq,duduribeiro/gitlabhq,dwren... |
070a72e76c8a32e4941f8e189eed467b6a9ec279 | keymaps/apple.cson | keymaps/apple.cson | 'body':
'meta-up': 'core:move-to-top'
'meta-down': 'core:move-to-bottom'
'meta-shift-up': 'core:select-to-top'
'meta-shift-down': 'core:select-to-bottom'
'.editor':
'meta-right': 'editor:move-to-end-of-line'
'meta-left': 'editor:move-to-beginning-of-line'
'alt-left': 'editor:move-to-beginning-of-word'
... | 'body':
'meta-up': 'core:move-to-top'
'meta-down': 'core:move-to-bottom'
'meta-shift-up': 'core:select-to-top'
'meta-shift-down': 'core:select-to-bottom'
'.editor':
'meta-right': 'editor:move-to-end-of-line'
'meta-left': 'editor:move-to-beginning-of-line'
'alt-left': 'editor:move-to-beginning-of-word'
... | Add ctrl-A/E keybinding to select to beginning/end of line | Add ctrl-A/E keybinding to select to beginning/end of line
Closes #711
| CoffeeScript | mit | codex8/atom,efatsi/atom,batjko/atom,daxlab/atom,sekcheong/atom,woss/atom,NunoEdgarGub1/atom,Andrey-Pavlov/atom,scv119/atom,vhutheesing/atom,ashneo76/atom,dsandstrom/atom,Rodjana/atom,CraZySacX/atom,prembasumatary/atom,jacekkopecky/atom,ilovezy/atom,helber/atom,pombredanne/atom,brettle/atom,kittens/atom,tjkr/atom,darwin... |
0809bfb5e9667f3292b3050cfa630825b53652e4 | test/string-interpolation.coffee | test/string-interpolation.coffee | suite 'String Interpolation', ->
# ----------
test 'interpolate one string variable', ->
b = 'b'
eq 'abc', "a#{b}c"
test 'interpolate two string variables', ->
b = 'b'
c = 'c'
eq 'abcd', "a#{b}#{c}d"
test 'interpolate one numeric variable in the middle of the string', ->
b = 0
eq 'a... | Add tests for string interpolation. | Add tests for string interpolation.
| CoffeeScript | bsd-3-clause | btown-side-projects/friendscript,rmachielse/ember-script,ghempton/ember-script,pasberth/TypedCoffeeScript,modernmsg/ember-script,michaelficarra/CoffeeScriptRedux,pasberth/TypedCoffeeScript,modernmsg/ember-script,ef4/CoffeeScriptRedux,eventualbuddha/CoffeeScriptRedux,gkz/coffee2ls,gkz/coffee2ls,ghempton/ember-script,sla... | |
6734eebaefdda97695b11ac1477977a6aeb07438 | components/inquiry_questionnaire/views/basic_info.coffee | components/inquiry_questionnaire/views/basic_info.coffee | StepView = require './step.coffee'
Form = require '../../form/index.coffee'
LocationSearch = require '../../location_search/index.coffee'
template = -> require('../templates/basic_info.jade') arguments...
module.exports = class BasicInfo extends StepView
template: -> template arguments...
__events__:
'click b... | StepView = require './step.coffee'
Form = require '../../form/index.coffee'
LocationSearch = require '../../location_search/index.coffee'
template = -> require('../templates/basic_info.jade') arguments...
module.exports = class BasicInfo extends StepView
template: -> template arguments...
__events__:
'click b... | Save CollectorProfile (including hack around API bug) | Save CollectorProfile (including hack around API bug)
| CoffeeScript | mit | joeyAghion/force,dblock/force,erikdstock/force,damassi/force,anandaroop/force,joeyAghion/force,izakp/force,eessex/force,kanaabe/force,damassi/force,artsy/force-public,cavvia/force-1,artsy/force,xtina-starr/force,eessex/force,kanaabe/force,cavvia/force-1,oxaudo/force,damassi/force,izakp/force,artsy/force,oxaudo/force,ar... |
4a44deeb8eab3bc10588b46248418d5a9b59e51e | test/javascripts/test_helper.coffee | test/javascripts/test_helper.coffee | # Teaspoon includes some support files, but you can use anything from your own support path too.
# require support/jasmine-jquery-1.7.0
# require support/jasmine-jquery-2.0.0
# require support/jasmine-jquery-2.1.0
# require support/sinon
# require support/your-support-file
#
# PhantomJS (Teaspoons default driver) doesn... | Add tool to generate a square polygon | Add tool to generate a square polygon
| CoffeeScript | agpl-3.0 | ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre | |
ceeb9ffcb202371eb717db5302e108e90af6b948 | src/request_animation_frame.coffee | src/request_animation_frame.coffee | window.requestAnimationFrame ||=
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
(callback, element) ->
window.setTimeout( ->
callback(+new Date())
, 1000 / 60)
| Revert "Moved requestAnimationFrame to browserlib" | Revert "Moved requestAnimationFrame to browserlib"
This reverts commit 4151b78a76dde9e09b31234db9bc8cf353c3ee90.
| CoffeeScript | mit | PixieEngine/PixieDust,PixieEngine/PixieDust | |
ec56c9911742e501e9638476f22e0df7dbf94597 | app/assets/javascripts/backbone/plugins/user_list.js.coffee | app/assets/javascripts/backbone/plugins/user_list.js.coffee | class Kandan.Plugins.UserList
@widget_title: "People"
@widget_icon_url: "/assets/people_icon.png"
@pluginNamespace: "Kandan.Plugins.UserList"
@template: _.template '''
<li class="user" title="<%= name %>">
<img class="avatar" src="<%= avatarUrl %>"/>
<%- name %><% if(admin){ %> <span class="ba... | class Kandan.Plugins.UserList
@widget_title: "People"
@widget_icon_url: "/assets/people_icon.png"
@pluginNamespace: "Kandan.Plugins.UserList"
@template: _.template '''
<li class="user" title="<%= name %>">
<img class="avatar" src="<%= avatarUrl %>"/>
<%- name %><% if(admin){ %> <span class="ba... | Sort user list by admin first, then by username | Sort user list by admin first, then by username
| CoffeeScript | agpl-3.0 | ipmobiletech/kandan,miurahr/kandan,kandanapp/kandan,leohmoraes/kandan,ych06/kandan,yfix/kandan,cloudstead/kandan,Stackato-Apps/kandan,sai43/kandan,miurahr/kandan,kandanapp/kandan,ych06/kandan,kandanapp/kandan,cloudstead/kandan,ych06/kandan,ipmobiletech/kandan,Stackato-Apps/kandan,leohmoraes/kandan,yfix/kandan,Stackato-... |
cb563e1d70ec056b95a9aa37c4685a2f7d9487da | src/scripts/pivotalstorylisten.coffee | src/scripts/pivotalstorylisten.coffee | # Listen for a specific story from PivotalTracker
#
# You need to set the following variables:
# HUBOT_PIVOTAL_TOKEN = <API token>
#
# paste a pivotal tracker link or type "sid-####" in the presence of hubot
module.exports = (robot) ->
robot.hear /(sid-|SID-|pivotaltracker.com\/story\/show)/i, (msg) ->
Parser ... | Add a listen script to respond to pivotal stories seen in the room. | Add a listen script to respond to pivotal stories seen in the room.
| CoffeeScript | mit | amhorton/hubot-scripts,flores/hubot-scripts,1stdibs/hubot-scripts,dbkaplun/hubot-scripts,n0mer/hubot-scripts,janx/hubot-scripts,justinwoo/hubot-scripts,GrimDerp/hubot-scripts,dhfromkorea/hubot-scripts,modulexcite/hubot-scripts,jhubert/hubot-scripts,alexhouse/hubot-scripts,marksie531/hubot-scripts,iilab/hubot-scripts,da... | |
a36caeb01524df0584a8eb0a8a59b4a47b98afc9 | src/extensions/strip-trailing-whitespace.coffee | src/extensions/strip-trailing-whitespace.coffee | module.exports =
activate: (rootView) ->
for buffer in rootView.project.getBuffers()
@stripTrailingWhitespaceBeforeSave(buffer)
rootView.project.on 'new-buffer', (buffer) =>
@stripTrailingWhitespaceBeforeSave(buffer)
stripTrailingWhitespaceBeforeSave: (buffer) ->
buffer.on 'before-save', -... | module.exports =
name: "strip trailing whitespace"
activate: (rootView) ->
for buffer in rootView.project.getBuffers()
@stripTrailingWhitespaceBeforeSave(buffer)
rootView.project.on 'new-buffer', (buffer) =>
@stripTrailingWhitespaceBeforeSave(buffer)
stripTrailingWhitespaceBeforeSave: (buff... | Make strip whitespace a valid extension | Make strip whitespace a valid extension
| CoffeeScript | mit | Neron-X5/atom,Galactix/atom,rookie125/atom,vcarrera/atom,Locke23rus/atom,davideg/atom,pombredanne/atom,erikhakansson/atom,toqz/atom,abcP9110/atom,kittens/atom,vjeux/atom,brettle/atom,bryonwinger/atom,darwin/atom,woss/atom,hellendag/atom,g2p/atom,atom/atom,rjattrill/atom,Jandersoft/atom,gisenberg/atom,Ju2ender/atom,Rodj... |
f5291d32b1014e659e04b14aec957274e8fd8e8f | test/mocha/kissmetrics-batch.coffee | test/mocha/kissmetrics-batch.coffee | should = require 'should'
KM = require '../../src/kissmetrics'
testQueue =
queue: []
add: (data) ->
@queue.push data
get: ->
@queue
describe 'KM batch instance', ->
it 'should initialize', ->
km = new KM 'apiKey', 'evan@example.com', {batch: {queue: testQueue}}
km.apiKey.should.equal 'apiK... | Add initial unit tests for batch API | Add initial unit tests for batch API
| CoffeeScript | mit | evansolomon/kissmetrics-js,evansolomon/kissmetrics-js | |
18ac2eb528fab1ff01db5545f4f51c15b5de7ef3 | src/app/keymaps/git.coffee | src/app/keymaps/git.coffee | window.keymap.bindKeys '.editor',
'ctrl-Z': 'editor:checkout-head-revision'
| window.keymap.bindKeys '.editor',
'meta-Z': 'editor:checkout-head-revision'
| Update checkout HEAD keybinding to meta-Z | Update checkout HEAD keybinding to meta-Z
| CoffeeScript | mit | yomybaby/atom,ezeoleaf/atom,batjko/atom,mrodalgaard/atom,FoldingText/atom,sekcheong/atom,KENJU/atom,sotayamashita/atom,vcarrera/atom,YunchengLiao/atom,n-riesco/atom,dsandstrom/atom,hellendag/atom,rlugojr/atom,tjkr/atom,prembasumatary/atom,Huaraz2/atom,gontadu/atom,boomwaiza/atom,Jandersoft/atom,dkfiresky/atom,rxkit/ato... |
b447843510f785aa1d55d03041b750b97c0eb388 | src/map-state-model.coffee | src/map-state-model.coffee | define \
[
'backbone'
], (
Backbone
) ->
class MapStateModel extends Backbone.Model
# Models map center, bounds and zoom in a unified way.
initialize: (@opts) ->
@userHasModifiedView = false
@wasAutomatic = false
@zoom = null
@bounds = null
... | Add a model object which handles maps zoom/center/fit changes. | Add a model object which handles maps zoom/center/fit changes.
| CoffeeScript | agpl-3.0 | City-of-Helsinki/servicemap,Zeukkari/servicemap,vaaralav/servicemap,City-of-Helsinki/servicemap,Zeukkari/servicemap,vaaralav/servicemap,vaaralav/servicemap,City-of-Helsinki/servicemap | |
cdf24b23a70ca1721c6383662ec07eafa41fcb6a | components/GetGIFFrame.coffee | components/GetGIFFrame.coffee | noflo = require 'noflo'
gm = require 'gm'
fileType = require 'file-type'
readChunk = require 'read-chunk'
temporary = require 'temporary'
# @runtime noflo-nodejs
# @name GetGIFFrame
exports.getComponent = ->
c = new noflo.Component
c.icon = 'image'
c.description = 'Extract a frame of a given GIF filepath'
c.... | Implement component to get a frame of a GIF | Implement component to get a frame of a GIF
| CoffeeScript | mit | noflo/noflo-image,noflo/noflo-image,GabiThume/noflo-image,GabiThume/noflo-image | |
883f7c21de69a909f4806b42cd94bbc7d01d84bc | bokehjs/test/models/transforms/linear_interpolator_transform.coffee | bokehjs/test/models/transforms/linear_interpolator_transform.coffee | {expect} = require "chai"
utils = require "../../utils"
{Collections} = utils.require "base"
describe "linear_interpolator_transform module", ->
source = {start: 0, end: 10}
target = {start: 20, end: 80}
generate_interpolator_ColumnDataSource = ->
Collections("LinearInterpolator").create
x: 'var1'
... | Add a simple JS tests file for the linear interpolator. | Add a simple JS tests file for the linear interpolator.
| CoffeeScript | bsd-3-clause | timsnyder/bokeh,DuCorey/bokeh,aavanian/bokeh,schoolie/bokeh,jakirkham/bokeh,aiguofer/bokeh,mindriot101/bokeh,rs2/bokeh,quasiben/bokeh,quasiben/bokeh,schoolie/bokeh,philippjfr/bokeh,timsnyder/bokeh,dennisobrien/bokeh,clairetang6/bokeh,rs2/bokeh,dennisobrien/bokeh,Karel-van-de-Plassche/bokeh,draperjames/bokeh,ptitjano/bo... | |
546e61a32b1e3e55362f60d56b672255dd3243cb | settings/language-csound.cson | settings/language-csound.cson | ".source.csound, .source.csound-score":
editor:
commentStart: "; "
".source.csound":
editor:
increaseIndentPattern: "\\b(?:do|else(?:if)?|i(?:f|nstr)|opcode)\\b"
decreaseIndentPattern: "\\b(?:end(?:i[fn]|op|until)|fi|od)\\b"
| Add comment and indent settings | Add comment and indent settings
| CoffeeScript | mit | nwhetsell/language-csound | |
6b5b68deb6cebff22cbbcef16819ca8c71620bdd | client/app/MainApp/fs/fsfolder.coffee | client/app/MainApp/fs/fsfolder.coffee | class FSFolder extends FSFile
fetchContents:(callback)->
# @emit "fs.fetchContents.started"
# @kiteController.run
# toDo : "ls"
# withArgs :
# command : @path
# , (err, response)=>
# if err
# warn err
# @emit "fs.fetchContents.finished", err
# else
... | class FSFolder extends FSFile
fetchContents:(callback)->
# @emit "fs.fetchContents.started"
# @kiteController.run
# toDo : "ls"
# withArgs :
# command : @path
# , (err, response)=>
# if err
# warn err
# @emit "fs.fetchContents.finished", err
# else
... | Add -H option to fix broken symbolic links error | Add -H option to fix broken symbolic links error
From man of ls -H provides: show information for the file the link references rather than for the link itself. So, when some broken links exists it adds the link to the tree with "Link -> Non-Exist" label.
| CoffeeScript | agpl-3.0 | rjeczalik/koding,koding/koding,cihangir/koding,acbodine/koding,gokmen/koding,kwagdy/koding-1,jack89129/koding,cihangir/koding,gokmen/koding,koding/koding,usirin/koding,szkl/koding,kwagdy/koding-1,szkl/koding,szkl/koding,usirin/koding,rjeczalik/koding,kwagdy/koding-1,sinan/koding,alex-ionochkin/koding,acbodine/koding,us... |
312de8c9bd96088e04e6dcebbcd0acd586c24762 | src/01_tinycpu/features/mm/support/pages.coffee | src/01_tinycpu/features/mm/support/pages.coffee | # Support classes for the paging feature.
{vlog} = require 'verbosity'
{decSymbol} = require 'symbols'
{clone} = require 'tc_util'
PAGE_DEFAULT_SIZE = decSymbol 'PAGE_DEFAULT_SIZE', 32 * 1024
# This is the worker implementation, ie the class that performs the actual
# reading and writing for a page.
# New ... | Add missing paging support classes | Add missing paging support classes
| CoffeeScript | apache-2.0 | andrakis/simplest,andrakis/simplest | |
f4cba005e266725aca238c722bdb6e537973a1bc | src/scripts/reddit-random-top.coffee | src/scripts/reddit-random-top.coffee | # a reddit <subreddit> - A random top (today) post from the specified subreddit. Tries to find a picture if possible.
module.exports = (robot) ->
robot.respond /a reddit( .+)*/i, (msg) ->
reddit msg, msg.match[1]?.trim()
reddit = (msg, subreddit) ->
url = if subreddit? then "http://www.reddit.com/r/#{subreddit... | Add a random top reddit post script. Say subreddit or default to homepage. | Add a random top reddit post script. Say subreddit or default to homepage.
Chose a post from random from the top ones for the day. The script tries to pick an image if it can find one.
| CoffeeScript | mit | ambikads/hubot-scripts,josephcarmello/hubot-scripts,azimman/hubot-scripts,fromonesrc/hubot-scripts,wsoula/hubot-scripts,dyg2104/hubot-scripts,DataDog/hubot-scripts,Tyriont/hubot-scripts,dbkaplun/hubot-scripts,iilab/hubot-scripts,gregburek/emojibot,zecahnin/hubot-scripts,phillipalexander/hubot-scripts,ericjsilva/hubot-s... | |
311feea0170fa3aa68e611de38cab3c8b0bd9faa | apps/galleries_institutions/queries/partners_filter_query.coffee | apps/galleries_institutions/queries/partners_filter_query.coffee | module.exports =
"""
query partners_results($includeAggregations: Boolean!, $includeResults: Boolean!, $near: String, $category: [String], $type: [PartnerClassification], $page: Int, $term: String) {
category: filter_partners(eligible_for_listing:true, aggregations:[CATEGORY, TOTAL] size:0, near: $near, type: $... | module.exports =
"""
query partners_results($includeAggregations: Boolean!, $includeResults: Boolean!, $near: String, $category: [String], $type: [PartnerClassification], $page: Int, $term: String) {
category: filter_partners(eligible_for_listing:true, aggregations:[CATEGORY, TOTAL] size:0, near: $near, type: $... | Use random sort instead of relative size for filtered partners on /galleries and /institutions. | Use random sort instead of relative size for filtered partners on /galleries and /institutions.
| CoffeeScript | mit | damassi/force,anandaroop/force,kanaabe/force,cavvia/force-1,joeyAghion/force,mzikherman/force,erikdstock/force,kanaabe/force,damassi/force,artsy/force-public,izakp/force,yuki24/force,artsy/force,oxaudo/force,izakp/force,yuki24/force,dblock/force,artsy/force-public,eessex/force,joeyAghion/force,anandaroop/force,xtina-st... |
f6f21163ecc515f2a3157d59edec7d26683976e2 | src/spec/integration/categories.spec.coffee | src/spec/integration/categories.spec.coffee | _ = require 'underscore'
Q = require 'q'
SphereClient = require '../../lib/client'
Config = require('../../config').config
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
newCategory = ->
name:
en: 'Category name'
slug:
en: uniqueId 'c'
updateCategory = (version, parentId) ->
ve... | Add simple integration test for categories (create, update, delete) | Add simple integration test for categories (create, update, delete)
| CoffeeScript | mit | sphereio/sphere-node-sdk,sphereio/sphere-node-sdk,panshul007/sphere-node-sdk,panshul007/sphere-node-sdk | |
22a7c25104c4b1020c5871fbb41a57a82fded3c2 | spec/spec-helper-platform.coffee | spec/spec-helper-platform.coffee | path = require 'path'
fs = require 'fs-plus'
{_} = require 'atom'
## Platform specific helpers
module.exports =
# Public: Returns true if being run from within Windows
isWindows: ->
!!process.platform.match /^win/
# Public: Some files can not exist on Windows filesystems, so we have to
# selectively gene... | path = require 'path'
fs = require 'fs-plus'
## Platform specific helpers
module.exports =
# Public: Returns true if being run from within Windows
isWindows: ->
!!process.platform.match /^win/
# Public: Some files can not exist on Windows filesystems, so we have to
# selectively generate our fixtures.
#... | Remove unneeded requires, variables, commas, and parens | :lipstick: Remove unneeded requires, variables, commas, and parens
| CoffeeScript | mit | codex8/atom,rookie125/atom,mnquintana/atom,Huaraz2/atom,rsvip/aTom,Jandersolutions/atom,omarhuanca/atom,splodingsocks/atom,tisu2tisu/atom,Galactix/atom,john-kelly/atom,pombredanne/atom,davideg/atom,kdheepak89/atom,Jandersolutions/atom,Andrey-Pavlov/atom,hpham04/atom,mertkahyaoglu/atom,mostafaeweda/atom,Austen-G/BlockBu... |
d93d1653db8dd86e2028775ae40caba84d1d20a9 | app/assets/javascripts/darkswarm/directives/smooth_scroll_to.js.coffee | app/assets/javascripts/darkswarm/directives/smooth_scroll_to.js.coffee | Darkswarm.directive "ofnSmoothScrollTo", ($location, $document)->
# Onclick sets $location.hash to attrs.ofnScrollTo
# Then triggers $document.scrollTo
restrict: 'A'
link: (scope, element, attrs)->
element.bind 'click', (ev)->
ev.stopPropagation()
$location.hash attrs.ofnScrollTo
target = ... | Add directive for smooth scrolling to anchor | Add directive for smooth scrolling to anchor
| CoffeeScript | agpl-3.0 | mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,KateDavis/openfoodnetwork,oeoeaio/openfoodnetwork,ltrls/openfoodnetwork,KateDavis/openfoodnetwork,levent/openfoodnetwork,mkllnk/openfoodnetwork,ltrls/openfoodnetwork,mkllnk/openfoodnetwork,oeoeaio/openfoodnetwork,Em-AK/openfoodnetwork,RohanM/openfoodnetwork,oeoeaio/op... | |
e1ed7e6f6e6cf1be53ecf869c13e8400d30bd35d | scripts/sync-schemas.coffee | scripts/sync-schemas.coffee | fs = require 'fs-extra'
path = require 'path'
if process.argv.length <= 2
console.log "Usage: #{__filename} snowplow-schema-dir"
process.exit -1
source = path.join __dirname, '..', 'app', 'schemas', 'events'
target = process.argv[2]
fs.readdir source, (err, items) ->
if err?
console.log err
process.e... | Add tool to copy event schemas into snowplow repository. | Add tool to copy event schemas into snowplow repository.
| CoffeeScript | mit | fabichoi/codecombat,codecombat/codecombat,javatlacati/codecombat,jeremiahyan/codecombat,jeremiahyan/codecombat,Zerrien/codecombat,codecombat/codecombat,javatlacati/codecombat,Zerrien/codecombat,icodegame/codecombat,javatlacati/codecombat,Zerrien/codecombat,icodegame/codecombat,codecombat/codecombat,codecombat/codecomba... | |
3cc559fd9c775bb3aa7a7b2c37e579546ab6ef87 | src/atom/range.coffee | src/atom/range.coffee | Point = require 'point'
_ = require 'underscore'
module.exports =
class Range
constructor: (pointA = new Point(0, 0), pointB = new Point(0, 0)) ->
pointA = Point.fromObject(pointA)
pointB = Point.fromObject(pointB)
if pointA.compare(pointB) <= 0
@start = pointA
@end = pointB
else
... | Point = require 'point'
_ = require 'underscore'
module.exports =
class Range
@fromObject: (object) ->
if _.isArray(object)
new Range(object...)
else
object
constructor: (pointA = new Point(0, 0), pointB = new Point(0, 0)) ->
pointA = Point.fromObject(pointA)
pointB = Point.fromObjec... | Add Range.fromObject, which takes a [start, end] array | Add Range.fromObject, which takes a [start, end] array | CoffeeScript | mit | lisonma/atom,RobinTec/atom,Neron-X5/atom,rmartin/atom,Hasimir/atom,devmario/atom,jjz/atom,daxlab/atom,yalexx/atom,sxgao3001/atom,qiujuer/atom,Galactix/atom,tanin47/atom,davideg/atom,ashneo76/atom,sebmck/atom,YunchengLiao/atom,acontreras89/atom,fang-yufeng/atom,bencolon/atom,hellendag/atom,davideg/atom,vhutheesing/atom,... |
be3040b164ca71fd9f2fab8b19126b98071ae3a0 | src/scripts/mailchimp-subscribe.coffee | src/scripts/mailchimp-subscribe.coffee | # Description:
# Add email to Mailchimp list
#
# Dependencies:
# "mailchimp": "0.9.5"
#
# Configuration:
# MAILCHIMP_API_KEY
# MAILCHIMP_LIST_ID
#
# Commands:
# hubot subscribe <email> - Add email to list
#
# Author:
# max, lmarburger
MailChimpAPI = require('mailchimp').MailChimpAPI
apiKey = process.env.M... | Add script to subscribe email address to Mailchimp list | Add script to subscribe email address to Mailchimp list
| CoffeeScript | mit | jacobtomlinson/hubot-scripts,Ev1l/hubot-scripts,marksie531/hubot-scripts,alexhouse/hubot-scripts,1000hz/hubot-scripts,wsoula/hubot-scripts,terryjbates/hubot-scripts,n0mer/hubot-scripts,jankowiakmaria/hubot-scripts,amhorton/hubot-scripts,yigitbey/hubot-scripts,gregburek/emojibot,markstory/hubot-scripts,opentable/hubot-s... | |
a59a381ce8a29b5f6df4c6085ddb1aa99870634e | app/assets/javascripts/neighborly/users/payments.js.coffee | app/assets/javascripts/neighborly/users/payments.js.coffee | Neighborly.Users ?= {}
Neighborly.Users.Payments =
modules: -> []
init: Backbone.View.extend
el: '.user-payments-content'
initialize: ->
$accounts = $(".account-method")
for account in $accounts
$account = $(account)
if $account.data('path')
$account.html('loading...... | Add JS to request the content to the user about his bankaccount | Add JS to request the content to the user about his bankaccount
| CoffeeScript | mit | jinutm/silverpro,raksonibs/raimcrowd,jinutm/silverme,raksonibs/raimcrowd,gustavoguichard/neighborly,jinutm/silverprod,jinutm/silverprod,jinutm/silveralms.com,MicroPasts/micropasts-crowdfunding,MicroPasts/micropasts-crowdfunding,jinutm/silverme,gustavoguichard/neighborly,MicroPasts/micropasts-crowdfunding,jinutm/silvera... | |
cbf8f42fbafb6b82c6c9359a798654eb8e3ef982 | test/jobs/vm-clean-reboot-spec.coffee | test/jobs/vm-clean-reboot-spec.coffee | {job} = require '../../jobs/vm-clean-reboot'
Connector = require '../../src'
debug = require('debug')('meshblu-connector-xenserver:test')
simple = require('simple-mock')
class MockConnector extends Connector
mockXapi: (xapi) =>
debug "Mocking the xapi object"
simple.mock(xapi, "connect").returnWith("OK")
... | Add unit test for vm-clean-reboot | Add unit test for vm-clean-reboot
| CoffeeScript | mit | jamesbulpin/meshblu-connector-xenserver,ratokeshi/meshblu-connector-xenserver | |
fef33801f3ce1fcc288e2f640b0d31a4ee80a468 | utils/docCheck.coffee | utils/docCheck.coffee | MongoClient = require('mongodb').MongoClient
ObjectID = require('mongodb').ObjectID
redisClient = require('redis')
redis = redisClient.createClient()
mongo = null
exit = (msg, code) ->
mongo.close ->
redis.end()
console.log msg if msg
process.exit(code or 0)
MongoClient.connect 'mongodb://localhost:27... | Add mongodb and redis inspector utility | Add mongodb and redis inspector utility
| CoffeeScript | mit | Turistforeningen/Turbasen,Turbasen/Turbasen | |
f7616fa40eb1990aa571e56ce7f05b91249f2d91 | atom/packages.cson | atom/packages.cson | packages: [
"editorconfig"
"file-icons"
"highlight-selected"
"linter"
"linter-coffeelint"
"linter-csslint"
"linter-flake8"
"linter-htmlhint"
"linter-js-yaml"
"linter-jshint"
"linter-jsonlint"
"linter-less"
"linter-php"
"linter-scss-lint"
"linter-shellcheck"
"linter-xmllint"
"minimap"
... | Add Atom package list file | Add Atom package list file
| CoffeeScript | mit | jmlntw/dotfiles,jmlntw/dotfiles | |
02dec27d6398a19d014c47228d3ce51e3a34ef27 | examples/options_.coffee | examples/options_.coffee | # options_.coffee
# An example of specifying file-level options in CoffeeScript.
#
# Usage:
# coffee-streamline options_.coffee
#
# streamline.options = { "callback": "_wait" }
_ = require 'underscore'
assert = require 'assert'
# simulate async step here:
setTimeout _wait, 2000;
# use underscore library here:
assert... | Add test example for Coffee options support. | Add test example for Coffee options support.
| CoffeeScript | mit | Sage/streamlinejs,Sage/streamlinejs,Sage/streamlinejs | |
765e5154bfd981f9bce95e36661e99ea880bd06d | dot-atom/snippets.cson | dot-atom/snippets.cson | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#... | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#... | Update CSON link to Atom Flight Manual | :memo: Update CSON link to Atom Flight Manual
| CoffeeScript | mit | Jonekee/atom,decaffeinate-examples/atom,dkfiresky/atom,gabrielPeart/atom,kaicataldo/atom,dkfiresky/atom,sekcheong/atom,alfredxing/atom,RuiDGoncalves/atom,ivoadf/atom,pengshp/atom,sxgao3001/atom,Jandersoft/atom,sotayamashita/atom,constanzaurzua/atom,abcP9110/atom,Ju2ender/atom,sxgao3001/atom,Neron-X5/atom,ykeisuke/atom,... |
36dadb519e893b217e885635cb36785b82d73bad | spec/GetMetadata.coffee | spec/GetMetadata.coffee | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
GetMetadata = require '../components/GetMetadata.coffee'
testutils = require './testutils'
sharp = require 'sharp'
else
GetMetadata = require 'noflo-sharp/components/GetMetadata.js'
testutils = require 'noflo-image/spec/testu... | Add test for component metadata | Add test for component metadata
| CoffeeScript | mit | noflo/noflo-sharp | |
7e9d237e10c65f42f28ad4a50a9b839868e23aaf | src/util/graphql.coffee | src/util/graphql.coffee | define ->
PLAN_QUERY = """
query(
$modes: String!,
$from: InputCoordinates!,
$to: InputCoordinates!,
$locale: String!,
$wheelchair: Boolean!) {
plan(
from: $from,
to: $to,
locale: $locale,
wheelchair: $wheelchair,
... | Add utils for handling OTP GraphQL queries. | Add utils for handling OTP GraphQL queries.
| CoffeeScript | agpl-3.0 | City-of-Helsinki/servicemap,City-of-Helsinki/servicemap,City-of-Helsinki/servicemap | |
83357376414522a68ec284285cae64d0c510fd8e | assets/javascripts/models/entry.coffee | assets/javascripts/models/entry.coffee | class app.models.Entry extends app.Model
# Attributes: name, type, path
SEPARATORS_REGEXP = /\:?\ |#|::|->/g
PARANTHESES_REGEXP = /\(.*?\)$/
constructor: ->
super
@text = @searchValue()
searchValue: ->
@name
.toLowerCase()
.replace '...', ' '
.replace ' event', ''
.repla... | class app.models.Entry extends app.Model
# Attributes: name, type, path
SEPARATORS_REGEXP = /\:?\ |#|::|->/g
PARANTHESES_REGEXP = /\(.*?\)$/
constructor: ->
super
@text = @searchValue()
searchValue: ->
@name
.toLowerCase()
.replace '...', ' '
.replace /\ event$/, ''
.rep... | Fix indexing of entries with "event" in the name | Fix indexing of entries with "event" in the name
| CoffeeScript | mpl-2.0 | martynbm/devdocs,abougouffa/devdocs,ReKungPaw/devdocs,Ivicel/devdocs,isNil/devdocs,MarcMcIntosh/devdocs,webcoding/devdocs,yosiat/devdocs,isNil/devdocs,m4h4n/devdocs,Xuaps/devdocs,2947721120/devdocs,hyjk2000/devdocs,hagb4rd/devdocs,UIUXEngineering-Forks/devdocs,yosiat/devdocs,sideci-sample/sideci-sample-devdocs,matsumer... |
f5f2dd1d9eed3814271600430115b2198bcf8290 | atom/dot-atom/projects.leopard-jkg.cson | atom/dot-atom/projects.leopard-jkg.cson | [
{
title: "Spyns"
group: "Development"
paths: [
"~/Development/spyns"
]
}
{
title: "CSI-702: Homework02 Instructor Attempt"
group: "Mason Fall 2017"
paths: [
"~/Documents/work/teaching/2017_Spring_Semester/CSI-702_High_Performance_Computing/assignments/homework02-instructo... | Define projects for work computer on atom | Define projects for work computer on atom
| CoffeeScript | unlicense | jkglasbrenner/dotfiles,jkglasbrenner/dotfiles,jkglasbrenner/dotfiles,jkglasbrenner/dotfiles,jkglasbrenner/dotfiles,jkglasbrenner/dotfiles | |
b52c170e581c45e9d595774c05b02b2183ad45d3 | docs/nwdrome_renderer_plugin_spec.coffee | docs/nwdrome_renderer_plugin_spec.coffee | # nwdrome-renderer-plugin spec
# Copyright 2014, Ragg(@_ragg_)
###
# Nwdrome renderer plugin specification
## Register plugin
Call `nwdrome.plugin.addRenderer` with `factory function`
Factory function given plugin config object.
Below Plugin config object properties.
- appUrl :string Application(nwdrome) root pa... | Add renderer plugin spec document. | Add renderer plugin spec document.
| CoffeeScript | mit | Ragg-/nwdrome | |
6bd67e71258ab0bc26a3146159b63aa02bfd283c | scripts/wish-commander.coffee | scripts/wish-commander.coffee | # Description
# Grabs the current forecast from Dark Sky
#
# Dependencies
# None
#
# Configuration
# HUBOT_DARK_SKY_API_KEY
# HUBOT_DARK_SKY_DEFAULT_LOCATION
# HUBOT_DARK_SKY_UNITS (optional - us, si, ca, or uk)
#
# Commands:
# hubot weather - Get the weather for HUBOT_DARK_SKY_DEFAULT_LOCATION
# hubot we... | Add "your wish is my command" watcher | Add "your wish is my command" watcher
| CoffeeScript | mit | brandnetworks/our-product-slack-hubot | |
f55d7776aa9183cd5fd19d53a908ebea6aba3352 | src/backbone.heap.coffee | src/backbone.heap.coffee | _ = @_
View = Backbone.View::constructor
Backbone.View::constructor = (args...) ->
result = View.apply @, args
events = _.result @, 'events'
for key, method of events
# Split event name from selector (lifted from backbone.js)
[original, eventName, selector] = key.match /^(\S+)\s*(.*)$/
eventName... | Add Coffee source for initial Backbone/Heap integration. | Add Coffee source for initial Backbone/Heap integration.
| CoffeeScript | apache-2.0 | matinm/backbone.heap | |
84cb911e9842346430eee2675c85490b80c24dcb | app/assets/javascripts/rahani/collections/index.js.coffee | app/assets/javascripts/rahani/collections/index.js.coffee | #= require_self
#= require_tree .
Rahani.module 'Collections', ->
class @Base extends Backbone.Collection
| #= require_self
#= require_tree .
Rahani.module 'Collections', ->
class @Base extends Backbone.Collection
parse: (response, options)->
@_fetch_options_data = options.data || {};
@pagination = JSON.parse options.xhr.getResponseHeader('X-Pagination')
response
nextPage: ->
if @paginatio... | Add pagination helpers to base collection. | Add pagination helpers to base collection.
| CoffeeScript | apache-2.0 | malclocke/dotledger,malclocke/dotledger,amorphid/dotledger,dotledger/dotledger,dotledger/dotledger,amorphid/dotledger,pipeline/dotledger,dotledger/dotledger,dotledger/dotledger,pipeline/dotledger,pipeline/dotledger,malclocke/dotledger,amorphid/dotledger |
b4d9e5562dee37f92feee09d365763955756ceb4 | examples/airbrake-shim.coffee | examples/airbrake-shim.coffee | # Airbrake shim that stores exceptions until Airbrake notifier is loaded.
window.Airbrake = []
# Wraps passed function and returns new function that catches and
# reports unhandled exceptions.
Airbrake.wrap = (fn) ->
airbrakeWrapper = ->
try
return fn.apply(this, arguments)
catch exc
args = Array... | Add coffee version of the shim. | Add coffee version of the shim.
| CoffeeScript | mit | airbrake/airbrake-js,airbrake/airbrake-js,airbrake/airbrake-js | |
eef86bed5f655d9949034644264d552f5fe8df22 | scripts/test-instance/instance-ami.coffee | scripts/test-instance/instance-ami.coffee | module.exports =
current: 'ami-5dd50436'
# Ordered by creation date
list: [
'ami-5dd50436'
]
| module.exports =
current: 'ami-bf235ad5'
# Ordered by creation date
list: [
'ami-5dd50436'
'ami-bf235ad5'
]
| Update current test instance AMI identifier | Update current test instance AMI identifier
| CoffeeScript | agpl-3.0 | acbodine/koding,cihangir/koding,szkl/koding,kwagdy/koding-1,andrewjcasal/koding,mertaytore/koding,kwagdy/koding-1,gokmen/koding,sinan/koding,alex-ionochkin/koding,gokmen/koding,szkl/koding,usirin/koding,gokmen/koding,rjeczalik/koding,acbodine/koding,jack89129/koding,sinan/koding,sinan/koding,alex-ionochkin/koding,andre... |
ed7d1abe87d40d5bedf3f700ac210f051b65e2e3 | scripts/robot_roll_call.coffee | scripts/robot_roll_call.coffee | # Robot Roll Call
#
# robot roll call - does what it says
#
robots = [
"http://i.imgur.com/6PcNC.jpg", # robot roll call
"http://i.imgur.com/9UmSw.jpg", # cambot
"http://i.imgur.com/1CrLw.jpg", # gypsy
"http://i.imgur.com/SNpTp.jpg", # tom servo
"http://i.imgur.com/HVXpw.jpg", # croooow!
]
module.exports = ... | Add the most important script in existence | Add the most important script in existence
| CoffeeScript | mit | TeamMentor/TBot | |
958a29876cc7ccdbc743dac3e799d0ba36327210 | apps/show/test/helpers/view_helpers.coffee | apps/show/test/helpers/view_helpers.coffee | ViewHelpers = require '../../helpers/view_helpers'
{ fabricate } = require 'antigravity'
describe 'ViewHelpers', ->
describe 'sailthruTags', ->
it 'formats sailthru tags properly', ->
artist = fabricate 'artist', id: 'artist-id'
partner = fabricate 'partner', id: 'partner-id'
location = fabrica... | Add tests for show view helpers. | Add tests for show view helpers.
| CoffeeScript | mit | damassi/force,eessex/force,kanaabe/force,cavvia/force-1,kanaabe/force,cavvia/force-1,oxaudo/force,artsy/force,izakp/force,kanaabe/force,joeyAghion/force,kanaabe/force,joeyAghion/force,mzikherman/force,yuki24/force,dblock/force,erikdstock/force,erikdstock/force,oxaudo/force,damassi/force,oxaudo/force,erikdstock/force,ca... | |
bf3036acb409e6e475852f3a74efa387811cad20 | resources/assets/coffee/_classes/hits.coffee | resources/assets/coffee/_classes/hits.coffee | ###
# Copyright 2015-2016 ppy Pty. Ltd.
#
# This file is part of osu!web. osu!web is distributed with the hope of
# attracting more community contributions to the core ecosystem of osu!.
#
# osu!web is free software: you can redistribute it and/or modify
# it under the terms of the Affero GNU General Public License ver... | ###
# Copyright 2015-2016 ppy Pty. Ltd.
#
# This file is part of osu!web. osu!web is distributed with the hope of
# attracting more community contributions to the core ecosystem of osu!.
#
# osu!web is free software: you can redistribute it and/or modify
# it under the terms of the Affero GNU General Public License ver... | Clean up generating score values | Clean up generating score values
| CoffeeScript | agpl-3.0 | notbakaneko/osu-web,Kuron-kun/osu-web,notbakaneko/osu-web,nekodex/osu-web,nanaya/osu-web,omkelderman/osu-web,kj415j45/osu-web,LiquidPL/osu-web,ppy/osu-web,ameliaikeda/osu-web,ppy/osu-web,nekodex/osu-web,omkelderman/osu-web,Nekonyx/osu-web,marcostudios/osu-web,notbakaneko/osu-web,comentarinformal/osu-web,nanaya/osu-web,... |
67069742fdd790a4d23cc4b16121b62248ada26c | scripts/steam-info.coffee | scripts/steam-info.coffee | # Description
# Grab the title of a youtube video
#
# Dependencies:
# cheerio
# request
#
# Configuration:
# None
#
# Commands:
# None
#
# Notes:
# steam also sucks (but mostly I'm lazy)
#
# Author:
# ~~justinwoo~~ sshirokov without copy and paste at all!
url = require 'url'
path = require 'path'
request = requ... | Copy and paste youtube to steam | Copy and paste youtube to steam
100% OC, totally not ripping anyone off here. | CoffeeScript | mit | drobati/hayt,sbryant/arrakis-hubot,n1ckn4m3/hayt,desert-planet/hayt,pmn/hayt,skalnik/hayt | |
b53ce28e3d0c5845018160d06bc51bcdefdeb730 | src/dashing.net/Scripts/application.coffee | src/dashing.net/Scripts/application.coffee | # dashing.js is located in the dashing framework
# It includes jquery & batman for you.
#= require dashing.js
#= require_directory .
#= require_tree ../../widgets
console.log("Yeah! The dashboard has started!")
Dashing.on 'ready', ->
Dashing.widget_margins ||= [5, 5]
Dashing.widget_base_dimensions ||= [300, 360]... | # dashing.js is located in the dashing framework
# It includes jquery & batman for you.
#= require dashing.js
#= require_directory .
#= require_tree ../../widgets
console.log("Yeah! The dashboard has started!")
Dashing.on 'ready', ->
Dashing.widget_margins ||= [5, 5]
Dashing.widget_base_dimensions ||= [300, 360]... | Hide the mouse after 5 seconds of inactivity. | Hide the mouse after 5 seconds of inactivity.
Original code by LKLG https://github.com/Shopify/dashing/pull/312
| CoffeeScript | mit | voiddog/dashing.net,voiddog/dashing.net,Davlind/dashing.net,MironovDmitry/dashing.net,MironovDmitry/dashing.net,voiddog/dashing.net,Davlind/dashing.net,MironovDmitry/dashing.net |
42c3e32c32f4f9c2e14d9a45cb00823af6d6f933 | Gruntfile.coffee | Gruntfile.coffee | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
meta:
banner:
'// rivets.js\n' +
'// version: <%= pkg.version %>\n' +
'// author: <%= pkg.author %>\n' +
'// license: <%= pkg.licenses[0].type %>\n'
coffee:
all:
file... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
meta:
banner:
'// rivets.js\n' +
'// version: <%= pkg.version %>\n' +
'// author: <%= pkg.author %>\n' +
'// license: <%= pkg.licenses[0].type %>\n'
coffee:
all:
file... | Change the artifact target directory to dist instead of lib. | Change the artifact target directory to dist instead of lib.
| CoffeeScript | mit | zongkelong/rivets,nopnop/rivets,QAPInt/rivets,jccazeaux/rivets,re-clone/rivets,kangax/rivets,re-clone/rivets,altmind/rivets,GerHobbelt/rivets,nopnop/rivets,QAPInt/rivets,jccazeaux/rivets,MishaMykhalyuk/rivets,MishaMykhalyuk/rivets,altmind/rivets,mikeric/rivets,GerHobbelt/rivets,benderTheCrime/tiny-rivets,GerHobbelt/riv... |
0419ae871208f63d79f5fecdb9f9da986204de3c | build/tasks/install-task.coffee | build/tasks/install-task.coffee | path = require 'path'
module.exports = (grunt) ->
{cp, mkdir, rm, spawn} = require('./task-helpers')(grunt)
grunt.registerTask 'install', 'Install the built application', ->
installDir = grunt.config.get('atom.installDir')
shellAppDir = grunt.config.get('atom.shellAppDir')
if process.platform is 'win3... | path = require 'path'
runas = null
module.exports = (grunt) ->
{cp, mkdir, rm} = require('./task-helpers')(grunt)
grunt.registerTask 'install', 'Install the built application', ->
installDir = grunt.config.get('atom.installDir')
shellAppDir = grunt.config.get('atom.shellAppDir')
if process.platform is... | Use new runas API for grunt install on Windows. | Use new runas API for grunt install on Windows.
| CoffeeScript | mit | n-riesco/atom,chfritz/atom,rsvip/aTom,ppamorim/atom,kandros/atom,g2p/atom,fedorov/atom,bcoe/atom,Ingramz/atom,codex8/atom,Jandersoft/atom,h0dgep0dge/atom,Rychard/atom,boomwaiza/atom,bj7/atom,tmunro/atom,ivoadf/atom,splodingsocks/atom,kc8wxm/atom,medovob/atom,erikhakansson/atom,dannyflax/atom,vcarrera/atom,dkfiresky/ato... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.