file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
client/router.js
JavaScript
'use strict'; var Router = require('ampersand-router'); var App = require('ampersand-app'); var Pages = require('./pages'); var UserActivities = require('./models/activities'); var WorkoutModel = require('./models/workout'); var WendlerModel = require('./models/wendler531'); var ActivityModel = require('./models/ac...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/activity-history.js
JavaScript
'use strict'; var View = require('ampersand-view'); var SetView = View.extend({ template: require('../templates/views/activity-history-set.pug'), bindings: { 'model.formattedShort': { type: 'text', hook: 'set' }, 'model.pr': { type: 'booleanClass', ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/activity.js
JavaScript
'use strict'; var View = require('ampersand-view'); var SuggestionView = require('./suggestion'); var SetView = View.extend({ template: require('../templates/views/set.pug'), bindings: { 'model.formattedFull': { type: 'text', hook: 'set' } } }); module.exports = V...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/admin-user.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ template: require('../templates/views/admin-user.pug'), bindings: { 'model.name': { type: 'text', hook: 'name' }, 'model.validated': { type: 'toggle', hook...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/bbcode-activity-long.js
JavaScript
'use strict'; var View = require('ampersand-view'); var RepView = View.extend({ template: require('../templates/views/bbcode-rep-long.pug'), bindings: { 'model.formattedFull': { type: 'text', hook: 'rep' }, 'model.pr': { type: 'toggle', h...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/bbcode-activity-short.js
JavaScript
'use strict'; var View = require('ampersand-view'); var GroupedCollectionView = require('ampersand-grouped-collection-view'); var RepView = View.extend({ template: require('../templates/views/bbcode-rep-short.pug'), bindings: { 'model.formattedShort': { type: 'text', hook: 'rep...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/bbcode-credits.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ template: require('../templates/views/bbcode-credits.pug'), autoRender: true });
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/bbcode-full.js
JavaScript
'use strict'; var View = require('ampersand-view'); var RepView = require('../views/bbcode-rep'); module.exports = View.extend({ template: require('../templates/views/bbcode.pug'), bindings: { 'model.name': { type: 'text', hook: 'name' }, 'model.comment': { ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/bbcode-rep.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ template: require('../templates/views/bbcode-rep.pug'), bindings: { 'model.formattedFull': { type: 'text', hook: 'rep' }, 'model.nonpr': { type: 'booleanClass', ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/bbcode.js
JavaScript
'use strict'; var View = require('ampersand-view'); var GroupedCollectionView = require('ampersand-grouped-collection-view'); var RepItemView = View.extend({ template: require('../templates/views/bbcode-rep-item.pug'), bindings: { 'model.formattedShort': { type: 'text', hook: '...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/invite.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ template: require('../templates/views/signup-invite.pug'), session: { status: 'string' }, bindings: { 'model.token': { type: 'attribute', hook: 'token', name: 'value' ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/lift531.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ template: require('../templates/views/lift531.pug'), autoRender: true, render: function () { this.listenToAndRun(this.model, 'change:waves', this.reRender); }, reRender: function () { this.renderWi...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/markdown-activity-long.js
JavaScript
'use strict'; var View = require('ampersand-view'); var RepView = View.extend({ template: require('../templates/views/markdown-rep-long.pug'), bindings: { 'model.formattedFull': { type: 'text', hook: 'rep' }, 'model.pr': { type: 'toggle', ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/markdown-activity-short.js
JavaScript
'use strict'; var View = require('ampersand-view'); var GroupedCollectionView = require('ampersand-grouped-collection-view'); var RepView = View.extend({ template: require('../templates/views/markdown-rep-short.pug'), bindings: { 'model.formattedShort': { type: 'text', hook: 'r...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/markdown-credits.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ template: require('../templates/views/markdown-credits.pug'), autoRender: true });
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/markdown-full.js
JavaScript
'use strict'; var View = require('ampersand-view'); var RepView = require('../views/markdown-rep'); module.exports = View.extend({ template: require('../templates/views/markdown.pug'), bindings: { 'model.name': { type: 'text', hook: 'name' }, 'model.comment': { ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/recover.js
JavaScript
'use strict'; var View = require('ampersand-view'); var App = require('ampersand-app'); var Sync = require('ampersand-sync'); module.exports = View.extend({ template: require('../templates/views/recover.pug'), events: { 'submit form': 'reset' }, reset: function (e) { e.preventDefault(...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/request-recover.js
JavaScript
'use strict'; var View = require('ampersand-view'); var App = require('ampersand-app'); var Sync = require('ampersand-sync'); module.exports = View.extend({ template: require('../templates/views/request-recover.pug'), events: { 'submit form': 'request' }, request: function (e) { e.pre...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/request-validation.js
JavaScript
'use strict'; var View = require('ampersand-view'); var App = require('ampersand-app'); var Sync = require('ampersand-sync'); module.exports = View.extend({ template: require('../templates/views/request-validation.pug'), events: { 'click [data-hook=request]': 'request' }, bindings: { '...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/signup.js
JavaScript
'use strict'; var View = require('ampersand-view'); var App = require('ampersand-app'); var Sync = require('ampersand-sync'); module.exports = View.extend({ template: require('../templates/views/signup.pug'), events: { 'submit form': 'signup' }, signup: function (e) { e.preventDefault...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/suggestion.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ autoRender: true, template: require('../templates/views/suggestion.pug'), events: { 'click [data-hook=name]': 'chooseAlias' }, bindings: { 'model.name': { type: 'text', hook: ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/user-activity.js
JavaScript
'use strict'; var App = require('ampersand-app'); var View = require('ampersand-view'); var Sync = require('ampersand-sync'); var AliasView = View.extend({ template: require('../templates/views/user-alias.pug'), bindings: { 'model.name': { type: 'text', hook: 'name' } ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/validate.js
JavaScript
'use strict'; var View = require('ampersand-view'); var App = require('ampersand-app'); var Sync = require('ampersand-sync'); module.exports = View.extend({ template: require('../templates/views/validate.pug'), render: function () { this.renderWithTemplate(this); this.validate(); retu...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/workout-activity-short.js
JavaScript
'use strict'; var View = require('ampersand-view'); var SuggestionView = require('./suggestion'); var SetView = View.extend({ template: require('../templates/views/set-short.pug'), bindings: { 'model.formattedShort': { type: 'text', hook: 'set' }, 'model.pr': {...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/workout-activity.js
JavaScript
'use strict'; var View = require('ampersand-view'); var SetView = View.extend({ template: require('../templates/views/set.pug'), bindings: { 'model.formattedFull': { type: 'text', hook: 'set' }, 'model.pr': { type: 'booleanClass', hook: '...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/workout-share.js
JavaScript
'use strict'; var View = require('ampersand-view'); var MarkdownActivityShortView = require('./markdown-activity-short'); var MarkdownActivityLongView = require('./markdown-activity-long'); var BBCodeActivityShortView = require('./bbcode-activity-short'); var BBCodeActivityLongView = require('./bbcode-activity-long');...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
client/views/workout-summary.js
JavaScript
'use strict'; var View = require('ampersand-view'); module.exports = View.extend({ bindings: { 'model.link': { type: 'attribute', hook: 'workout-name', name: 'href' }, 'model.name': { type: 'text', hook: 'workout-name' }, ...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
configs/local.js
JavaScript
'use strict'; //Config for local development module.exports = { DEV: true, APIURL: 'http://localhost:3001', ASSETSURL: 'http://localhost:8080', PORTALURL: 'http://localhost:8080' };
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
configs/production.js
JavaScript
'use strict'; module.exports = { APIURL: 'https://api.lift.zone', ASSETSURL: 'https://assets.lift.zone', PORTALURL: 'https://lift.zone' };
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
configs/staging.js
JavaScript
'use strict'; module.exports = { APIURL: 'http://staging.api.lift.zone', ASSETSURL: 'http://staging.assets.lift.zone', PORTALURL: 'http://staging.lift.zone' };
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
local/index.html
HTML
<!DOCTYPE html><html class="no-js" lang="en" dir="ltr"><head><title>lift.zone</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="http://localhost:8080/css/normalize.css"><link rel="stylesheet" href="http://localhost:8080/css/foundation.css"><l...
wraithgar/lift.zone
0
JavaScript
wraithgar
Gar
moonbeams.js
JavaScript
'use strict' // Moonbeams.js // (c) 2014 Michael Garvin // Moonbeams may be freely distributed under the MIT license. // // Unless specifically stated otherwise, all julian days are in dynamical time const Moonbeams = {} module.exports = Moonbeams // Data stores // ----------- // mean equinox/solstice expression ta...
wraithgar/moonbeams
2
Astronomical calculations
JavaScript
wraithgar
Gar
test/index.js
JavaScript
'use strict' const Code = require('@hapi/code') const Lab = require('@hapi/lab') const Moonbeams = require('../') const lab = exports.lab = Lab.script() lab.experiment('Main conversion functions', function () { // Test data from Meeus chapter 7 // year, month, decimal day, jd, hour, minute, second const table ...
wraithgar/moonbeams
2
Astronomical calculations
JavaScript
wraithgar
Gar
bin/create_test_db.sh
Shell
#!/bin/sh #Helper script to demonstrate how to quickly create the test db using the default values in the test fixtures psql -d postgres -c "CREATE ROLE redcrab_test with password 'redcrab_test' nosuperuser nocreatedb nocreaterole inherit login" createdb redcrab_test -O redcrab_test
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
lib/index.js
JavaScript
'use strict'; const Sql = require('./sql'); const Fs = require('fs'); const Path = require('path'); const PG = require('pg-promise'); const YamlMigration = require('./yaml'); const internals = {}; internals.defaults = { advisory_lock: 72656463726162, //unique number for advisory locks schema_start: 10000, //firs...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
lib/sql.js
JavaScript
'use strict'; exports.createTable = ` CREATE TABLE IF NOT EXISTS \${table_name#} ( id integer NOT NULL PRIMARY KEY, name text, migrated_at timestamp with time zone ); `; exports.insertMigration = 'INSERT INTO ${table_name#} (id, name) values (${order}, ${filename}) ON CONFLICT (id) DO NOTHING RETURNING *'; ...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
lib/yaml.js
JavaScript
'use strict'; const Yaml = require('js-yaml'); const Fs = require('fs'); const Path = require('path'); class YamlMigration { constructor({ filename, migration_directory }) { const raw = Fs.readFileSync( Path.join(migration_directory, filename), 'utf8' ); const parsed = Yaml.safeLoad(raw); ...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
migrations/10003-migration.js
JavaScript
'use strict'; //$lab:coverage:off$ module.exports = { description: 'Redcrab Migration', forward: db => { db.query('insert into foo (bar) values ($1)', ['baz']); }, backward: db => { db.query('delete from foo where bar = $1', ['baz']); } }; //$lab:coverage:on$
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
test/backward.js
JavaScript
'use strict'; const Redcrab = require('../'); const Fixtures = require('./fixtures'); const Fs = require('fs'); const Path = require('path'); const lab = (exports.lab = require('@hapi/lab').script()); const { expect } = require('@hapi/code'); const { it, describe, beforeEach, after } = lab; const { db, table_name } =...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
test/concurrency.js
JavaScript
'use strict'; const Redcrab = require('../'); const Fixtures = require('./fixtures'); const lab = (exports.lab = require('@hapi/lab').script()); const { expect } = require('@hapi/code'); const { it, describe, beforeEach, after } = lab; const { db, table_name } = Fixtures; const defaults = { db, table_name }; descri...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
test/create.js
JavaScript
'use strict'; const Redcrab = require('../'); const Fixtures = require('./fixtures'); const Fs = require('fs'); const Path = require('path'); const lab = (exports.lab = require('@hapi/lab').script()); const { expect } = require('@hapi/code'); const { it, describe, beforeEach, before, after } = lab; const { db, table_...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
test/fixtures.js
JavaScript
'use strict'; const PG = require('pg-promise'); const Fs = require('fs'); const Path = require('path'); //Coverage turned off because we don't iterate through any of the process.env stuff /*$lab:coverage:off$*/ const table_name = process.env.REDCRAB_TEST_TABLE || 'redcrab_test'; exports.table_name = table_name; cons...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
test/forward.js
JavaScript
'use strict'; const Redcrab = require('../'); const Fixtures = require('./fixtures'); const Fs = require('fs'); const Path = require('path'); const lab = (exports.lab = require('@hapi/lab').script()); const { expect } = require('@hapi/code'); const { it, describe, beforeEach, before, after } = lab; const { db, table_...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
test/index.js
JavaScript
'use strict'; const Redcrab = require('../'); const Fixtures = require('./fixtures'); const Sql = require('../lib/sql'); const Fs = require('fs'); const Path = require('path'); const lab = (exports.lab = require('@hapi/lab').script()); const { expect } = require('@hapi/code'); const { it, describe, beforeEach, after ...
wraithgar/redcrab
1
Postgresql migration library
JavaScript
wraithgar
Gar
index.html
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>TrophyIM Jabber Client</title> <script type='text/javascript' src='trophyim.js'></script> </head> <body> <div i...
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
json2.js
JavaScript
if(!this.JSON){JSON={};} (function(){function f(n){return n<10?'0'+n:n;} if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(key){return this.getUTCFullYear()+'-'+ f(this.getUTCMonth()+1)+'-'+ f(this.getUTCDate())+'T'+ f(this.getUTCHours())+':'+ f(this.getUTCMinutes())+':'+ f(this.getUTCSeconds...
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
json_store.php
PHP
<?PHP /** Basic JSON Store php script. * You can use this if you have PHP installed, or implement your own. * * Note: this is only as secure as the session mechanism you use. * * TODO: define store interaction here * update removes keys with null values */ session_start(); if ($_REQUEST['set']) { $setArr...
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
soundmanager/soundmanager.js
JavaScript
var isIE = navigator.appName.toLowerCase().indexOf('internet explorer')+1; var isMac = navigator.appVersion.toLowerCase().indexOf('mac')+1; function SoundManager(container) { // DHTML-controlled sound via Flash var self = this; this.movies = []; // movie references this.container = container; this....
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
static.html
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <link rel='stylesheet' href='trophyim.css' type='text/css'\ media='screen' /> <title>Static TrophyIM page</...
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
trophyim.css
CSS
/*body, title, logo*/ body { background-color:#9ca8bb; font-family: Arial; font-size: .8em; } .title{ background-color:#c0cbdb; width:680px; } .logo{ background-image: url(trophyim.png); background-repeat:no-repeat; height: 57px; width: 680px; margin: 0 10px 0 0; padding: 0; text-indent:-9999px; z-index...
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
trophyim.js
JavaScript
/* This program is distributed under the terms of the MIT license. Please see the LICENSE file for details. Copyright 2008 Michael Garvin */ /*TODO dump / very loose roadmap --0.4 add chats to json store Mouseover status messages in roster rosterClick shouldn't call makeChat if it doesn't have to HTML in m...
wraithgar/trophyim
0
Automatically exported from code.google.com/p/trophyim
JavaScript
wraithgar
Gar
WSMorseGestureRecognizer/WSMorseClassifier.h
C/C++ Header
// // WSMorseClassifier.h // WSMorseGestureRecognizer // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef enum : NSUInteger { /** * The "dot", also known as a "dit" is the short signal in ...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizer/WSMorseClassifier.m
Objective-C
// // WSMorseClassifier.m // WSMorseGestureRecognizer // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import "WSMorseClassifier.h" #import "WSMorseNode.h" MorseUnitType MorseUnitTypeFromNumber(NSNumber *number) { NSUInteger intValue = [number unsignedInt...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizer/WSMorseGestureRecognizer.h
C/C++ Header
// // WSMorseGestureRecognizer.h // WSMorseGestureRecognizer // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import <UIKit/UIKit.h> #import <UIKit/UIGestureRecognizerSubclass.h> //! Project version number for WSMorseGestureRecognizer. FOUNDATION_EXPORT double...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizer/WSMorseGestureRecognizer.m
Objective-C
// // WSMorseGestureRecognizer.m // WSMorseGestureRecognizer // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import "WSMorseGestureRecognizer.h" #import "WSMorseClassifier.h" /** * Default time intervals for parse delays */ static const NSTimeInterval kDef...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizer/WSMorseNode.h
C/C++ Header
// // WSMorseNode.h // WSMorseGestureRecognizer // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** * Node in a binary search tree that stores the conversion from Morse into alphanumeric characters. ...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizer/WSMorseNode.m
Objective-C
// // WSMorseNode.m // WSMorseGestureRecognizer // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import "WSMorseNode.h" @implementation WSMorseNode + (WSMorseNode *)morseTree { WSMorseNode *rootNode = [[WSMorseNode alloc] init]; [[WSMorseNode translat...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizerDemo/WSMorseGestureRecognizerDemo/AppDelegate.h
C/C++ Header
// // AppDelegate.h // WSMorseGestureRecognizerDemo // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizerDemo/WSMorseGestureRecognizerDemo/AppDelegate.m
Objective-C
// // AppDelegate.m // WSMorseGestureRecognizerDemo // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import "AppDelegate.h" #import "ViewController.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizerDemo/WSMorseGestureRecognizerDemo/ViewController.h
C/C++ Header
// // ViewController.h // WSMorseGestureRecognizerDemo // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizerDemo/WSMorseGestureRecognizerDemo/ViewController.m
Objective-C
// // ViewController.m // WSMorseGestureRecognizerDemo // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import "ViewController.h" @import WSMorseGestureRecognizer; typedef enum : NSUInteger { LabelTypeUnit, LabelTypeCharacter, LabelTypeWord, } Lab...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
WSMorseGestureRecognizerDemo/WSMorseGestureRecognizerDemo/main.m
Objective-C
// // main.m // WSMorseGestureRecognizerDemo // // Created by William Schurman on 10/29/15. // Copyright © 2015 wschurman. All rights reserved. // #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFr...
wschurman/WSMorseGestureRecognizer
23
iOS UIGestureRecognizer that recognizes and parses Morse code tap events.
Objective-C
wschurman
Will Schurman 🦦
expo
src/OpenArk/about/about.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/about/about.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/bundler-shell/main.cpp
C++
#ifndef _CRT_RAND_S #define _CRT_RAND_S #endif #include <windows.h> #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <tchar.h> #include <unone.h> #include <thread> #include <string> #include <vector> #include "../pack/pack.h" typedef std::tuple<std::wstring, std::wstring> DirectiveSeq; #include <s...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/bundler.cpp
C++
#include "bundler.h" #include "../common/common.h" #include "../openark/openark.h" #include "pack/pack.h" #include "icons/icons.h" #include <QFile> Bundler::Bundler(QWidget *parent) : parent_((OpenArk*)parent) { ui.setupUi(this); connect(OpenArkLanguage::Instance(), &OpenArkLanguage::languageChaned, this, [this]() ...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/bundler.h
C/C++ Header
#pragma once #include <QtGui> #include <QtCore> #include <QtWidgets> #include <QMutex> #include <Windows.h> #include <mutex> #include "ui_bundler.h" namespace Ui { class Bundler; class OpenArkWindow; } class OpenArk; class Bundler : public QWidget { Q_OBJECT public: Bundler(QWidget *parent); ~Bundler(); prot...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/crc32/crc32.cpp
C++
#include "crc32.h" static uint32_t crc32_tab[] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de, 0x1adad47d, 0x6ddde4eb, ...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/crc32/crc32.h
C/C++ Header
#pragma once #include <stdint.h> uint32_t crc32(const void *buf, size_t size, uint32_t init_crc = 0);
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/icons/icons.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/icons/icons.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4.c
C
/* LZ4 - Fast LZ compression algorithm Copyright (C) 2011-2015, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4.h
C/C++ Header
/* LZ4 - Fast LZ compression algorithm Header File Copyright (C) 2011-2014, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are ...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4frame.c
C
/* LZ4 auto-framing library Copyright (C) 2011-2014, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) 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 mu...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4frame.h
C/C++ Header
/* LZ4 auto-framing library Header File Copyright (C) 2011-2015, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4frame_static.h
C/C++ Header
/* LZ4 auto-framing library Header File for static linking only Copyright (C) 2011-2015, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4hc.c
C
/* LZ4 HC - High Compression Mode of LZ4 Copyright (C) 2011-2014, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of s...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/lz4hc.h
C/C++ Header
/* LZ4 HC - High Compression Mode of LZ4 Header File Copyright (C) 2011-2014, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ar...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/xxhash.c
C
/* xxHash - Fast Hash algorithm Copyright (C) 2012-2015, Yann Collet BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source cod...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/lz4/xxhash.h
C/C++ Header
/* xxHash - Extremely Fast Hash algorithm Header File Copyright (C) 2012-2014, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions a...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/pack/pack.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/bundler/pack/pack.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/cmds/cmds.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/cmds/constants/constants.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/cmds/constants/constants.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/coderkit/coderkit.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/coderkit/coderkit.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/app/app.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/app/app.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/cache/cache.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/cache/cache.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/common.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/common.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/config/config.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/config/config.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/cpp-wrapper/cpp-wrapper.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/cpp-wrapper/cpp-wrapper.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/qt-wrapper/qt-wrapper.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/qt-wrapper/qt-wrapper.h
C/C++ Header
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong
src/OpenArk/common/ui-wrapper/ui-wrapper.cpp
C++
/**************************************************************************** ** ** Copyright (C) 2019 BlackINT3 ** Contact: https://github.com/BlackINT3/OpenArk ** ** GNU Lesser General Public License Usage (LGPL) ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
wsdjeg/OpenArk-backup
0
C++
wsdjeg
Eric Wong