text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```objective-c /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL...
/content/code_sandbox/src/eventhandlers/uinputeventhandler.h
objective-c
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
496
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/eventhandlers/winsendinputeventhandler.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
1,792
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/eventhandlers/winvmultieventhandler.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
2,516
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/eventhandlers/baseeventhandler.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
427
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/eventhandlers/uinputeventhandler.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
4,169
```objective-c /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL...
/content/code_sandbox/src/joybuttontypes/joygradientbutton.h
objective-c
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
197
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/eventhandlers/xtesteventhandler.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
1,366
```objective-c /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL...
/content/code_sandbox/src/joybuttontypes/joycontrolstickmodifierbutton.h
objective-c
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
343
```objective-c /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL...
/content/code_sandbox/src/joybuttontypes/joyaxisbutton.h
objective-c
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
360
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/joybuttontypes/joydpadbutton.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
915
```objective-c /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL...
/content/code_sandbox/src/joybuttontypes/joydpadbutton.h
objective-c
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
389
```objective-c /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL...
/content/code_sandbox/src/joybuttontypes/joycontrolstickbutton.h
objective-c
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
451
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/joybuttontypes/joycontrolstickmodifierbutton.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
780
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/joybuttontypes/joygradientbutton.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
3,235
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/joybuttontypes/joyaxisbutton.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
1,170
```c++ /* antimicro Gamepad to KB+M event mapper * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or F...
/content/code_sandbox/src/joybuttontypes/joycontrolstickbutton.cpp
c++
2016-05-24T23:59:31
2024-08-11T02:46:48
antimicro
AntiMicro/antimicro
1,788
1,768
```smalltalk using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace SidebarDiagnostics.Style { public partial class FlatStyle : ResourceDictionary { public FlatStyle() { InitializeComponent(); } private void PART_TIT...
/content/code_sandbox/SidebarDiagnostics/FlatStyle.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,029
```smalltalk using System; using System.ComponentModel; using System.IO; using System.Linq; using Newtonsoft.Json; using SidebarDiagnostics.Utilities; using SidebarDiagnostics.Framework; namespace SidebarDiagnostics.Models { public class ChangeLogModel : INotifyPropertyChanged { public ChangeLogModel(V...
/content/code_sandbox/SidebarDiagnostics/ChangeLogModel.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
448
```smalltalk using System; using System.Windows; using SidebarDiagnostics.Models; using SidebarDiagnostics.Windows; using SidebarDiagnostics.Style; namespace SidebarDiagnostics { /// <summary> /// Interaction logic for ChangeLog.xaml /// </summary> public partial class ChangeLog : FlatWindow { ...
/content/code_sandbox/SidebarDiagnostics/ChangeLog.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
123
```smalltalk namespace SidebarDiagnostics { public static class Constants { public static class Generic { public const string TASKNAME = "SidebarStartup"; } public static class URLs { public const string IPIFY = "path_to_url"; } } } `...
/content/code_sandbox/SidebarDiagnostics/Constants.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
63
```smalltalk using System; using System.ComponentModel; using System.Windows.Input; using System.Windows.Threading; using SidebarDiagnostics.Models; using SidebarDiagnostics.Windows; using SidebarDiagnostics.Style; namespace SidebarDiagnostics { /// <summary> /// Interaction logic for Update.xaml /// </sum...
/content/code_sandbox/SidebarDiagnostics/Update.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
248
```smalltalk using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Threading; using SidebarDiagnostics.Windows; namespace SidebarDiagnostics { /// <summary> /// Interaction logic for Dummy.xaml /// </summary> public partial class Dummy : AppBarWin...
/content/code_sandbox/SidebarDiagnostics/Dummy.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
244
```smalltalk using System; using System.ComponentModel; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using OxyPlot.Wpf; using SidebarDiagnostics.Framework; using SidebarDiagnostics.Monitoring; namespace SidebarDiagnostics.Models { ...
/content/code_sandbox/SidebarDiagnostics/GraphModel.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,864
```smalltalk using System; using System.Globalization; using System.Linq; using System.IO; using System.Reflection; using System.Threading; using System.Windows; using System.Windows.Markup; using Microsoft.Win32.TaskScheduler; using SidebarDiagnostics.Framework; using System.Diagnostics; namespace SidebarDiagnostics....
/content/code_sandbox/SidebarDiagnostics/Utilities.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,262
```smalltalk using System; using System.Linq; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Windows; using SidebarDiagnostics.Utilities; using SidebarDiagnostics.Monitoring; using SidebarDiagnostics.Windows; using ...
/content/code_sandbox/SidebarDiagnostics/SettingsModel.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
4,873
```smalltalk using System; using System.Linq; using System.Windows; using System.Windows.Input; namespace SidebarDiagnostics.Commands { public class ActivateCommand : ICommand { public void Execute(object parameter) { Sidebar _sidebar = App.Current.Sidebar; if (_sidebar...
/content/code_sandbox/SidebarDiagnostics/Commands.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
103
```smalltalk using System; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Input; using SidebarDiagnostics.Windows; namespace SidebarDiagnostics.Converters { public class IntToStringConverter : IValueConverter { public object Convert(object value, Type ...
/content/code_sandbox/SidebarDiagnostics/Converters.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
648
```smalltalk using System.ComponentModel; namespace SidebarDiagnostics.Models { public class UpdateModel : INotifyPropertyChanged { public void NotifyPropertyChanged(string propertyName) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyC...
/content/code_sandbox/SidebarDiagnostics/UpdateModel.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
154
```smalltalk using System; using System.ComponentModel; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Threading; using SidebarDiagnostics.Models; using SidebarDiagnos...
/content/code_sandbox/SidebarDiagnostics/Settings.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,670
```smalltalk using System; using System.ComponentModel; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using System.Windows.Threading; using SidebarDiagnostics.Windows; using SidebarDiagnostics.Models; namespace SidebarDiagnostics { /// <summary> /// Interaction logic for Sideb...
/content/code_sandbox/SidebarDiagnostics/Sidebar.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,194
```smalltalk using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Reflection; using System.Windows; using System.Windows.Controls; using Squirrel; using Hardcodet.Wpf.TaskbarNotification; usi...
/content/code_sandbox/SidebarDiagnostics/App.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,780
```smalltalk using System; using System.ComponentModel; using System.Windows.Threading; using SidebarDiagnostics.Monitoring; using SidebarDiagnostics.Utilities; namespace SidebarDiagnostics.Models { public class SidebarModel : INotifyPropertyChanged, IDisposable { public SidebarModel() { ...
/content/code_sandbox/SidebarDiagnostics/SidebarModel.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1,330
```smalltalk using System; using System.ComponentModel; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Threading; using SidebarDiagnostics.Windows; using SidebarDiagnostics....
/content/code_sandbox/SidebarDiagnostics/Setup.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
659
```smalltalk using System.Windows.Input; using SidebarDiagnostics.Models; using SidebarDiagnostics.Windows; using System.ComponentModel; using SidebarDiagnostics.Style; namespace SidebarDiagnostics { /// <summary> /// Interaction logic for Graph.xaml /// </summary> public partial class Graph : FlatWind...
/content/code_sandbox/SidebarDiagnostics/Graph.xaml.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
198
```smalltalk using System; using System.IO; using System.ComponentModel; using Newtonsoft.Json; using SidebarDiagnostics.Utilities; using SidebarDiagnostics.Monitoring; using SidebarDiagnostics.Windows; using System.Globalization; namespace SidebarDiagnostics.Framework { [JsonObject(MemberSerialization.OptIn)] ...
/content/code_sandbox/SidebarDiagnostics/Settings.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
3,206
```smalltalk using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using System.Windows.Interop; using System.Windows...
/content/code_sandbox/SidebarDiagnostics/Windows.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
8,553
```smalltalk using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.IO; using System.Net; using System.Net.Http; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Text.RegularE...
/content/code_sandbox/SidebarDiagnostics/Monitoring.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
27,239
```smalltalk ```
/content/code_sandbox/SidebarDiagnostics/Properties/Resources.da.Designer.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
1
```smalltalk //your_sha256_hash-------------- // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //your_sha256_hash-------------- namesp...
/content/code_sandbox/SidebarDiagnostics/Properties/Resources.Designer.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
12,774
```smalltalk using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information //...
/content/code_sandbox/SidebarDiagnostics/Properties/AssemblyInfo.cs
smalltalk
2016-01-20T07:41:58
2024-08-16T15:40:57
SidebarDiagnostics
ArcadeRenegade/SidebarDiagnostics
2,273
456
```javascript module.exports = { 'env': { 'browser': true, 'commonjs': true, 'es6': true, 'jquery': true, 'node': true }, 'extends': [ 'eslint:recommended' ], 'globals': { 'angular': 'readonly', 'sails': 'readonly', 'Asset': 'readonly', 'Channel': 'readonly', 'Flav...
/content/code_sandbox/.eslintrc.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
181
```javascript /** * app.js * * Use `app.js` to run your app without `sails lift`. * To start the server, run: `node app.js`. * * This is handy in situations where the sails CLI is not relevant or useful. * * For example: * => `node app.js` * => `forever start app.js` * => `node debug app.js` * => `m...
/content/code_sandbox/app.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
475
```javascript /** * Gruntfile * * This Node script is executed when you run `grunt` or `sails lift`. * It's purpose is to load the Grunt tasks in your project's `tasks` * folder, and allow you to add and remove tasks as you see fit. * For more information on how this works, check out the `README.md` * file that ...
/content/code_sandbox/Gruntfile.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
190
```yaml version: '2' services: web: build: . environment: WEBSITE_TITLE: 'Test Title' WEBSITE_HOME_CONTENT: 'Test Content' WEBSITE_NAV_LOGO: '' WEBSITE_APP_TITLE: 'Test App Title' APP_USERNAME: username APP_PASSWORD: password DB_HOST: db DB_PORT: 5432 DB_U...
/content/code_sandbox/docker-compose.yml
yaml
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
360
```javascript /** * Docker environment settings */ module.exports = { models: { datastore: 'postgresql', migrate: 'alter', dataEncryptionKeys: { // DEKs should be 32 bytes long, and cryptographically random. // You can generate such a key by running the following: // require('crypt...
/content/code_sandbox/config/docker.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
601
```javascript /** * Session Configuration * (sails.config.session) * * Sails session integration leans heavily on the great work already done by * Express, but also unifies Socket.io with the Connect session store. It uses * Connect's cookie parser to normalize configuration differences between Express * and Soc...
/content/code_sandbox/config/session.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
308
```javascript /** * Internationalization / Localization Settings * (sails.config.i18n) * * If your app will touch people from all over the world, i18n (or internationalization) * may be an important part of your international strategy. * * * For more informationom i18n in Sails, check out: * path_to_url#!/docu...
/content/code_sandbox/config/i18n.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
353
```javascript /** * Default model configuration * (sails.config.models) * * Unless you override them, the following properties will be included * in each of your models. * * For more info on Sails models, see: * path_to_url#!/documentation/concepts/ORM */ module.exports.models = { // Your app's default dat...
/content/code_sandbox/config/models.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
606
```javascript /** * HTTP Server Settings * (sails.config.http) * * Configuration for the underlying HTTP server in Sails. * Only applies to HTTP requests (not WebSockets) * * For more information on configuration, check out: * path_to_url#!/documentation/reference/sails.config/sails.config.http.html */ module...
/content/code_sandbox/config/http.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
576
```javascript /** * Blueprint API Configuration * (sails.config.blueprints) * * These settings are for the global configuration of blueprint routes and * request options (which impact the behavior of blueprint actions). * * You may also override any of these settings on a per-controller basis * by defining a '_...
/content/code_sandbox/config/blueprints.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
1,354
```javascript /** * Available release flavors * * These flavors will be created by the app on startup. */ module.exports.flavors = [ 'default' ]; ```
/content/code_sandbox/config/flavors.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
32
```javascript /** * Available release channels * * These channels will be created by the app on startup. * * Ordered by descending stability. */ module.exports.channels = [ 'stable', 'rc', 'beta', 'alpha' ]; ```
/content/code_sandbox/config/channels.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
50
```javascript /** * Built-in Log Configuration * (sails.config.log) * * Configure the log level for your app, as well as the transport * (Underneath the covers, Sails uses Winston for logging, which * allows for some pretty neat custom transports/adapters for log messages) * * For more information on the Sails ...
/content/code_sandbox/config/log.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
201
```javascript /** * File options * Options which relate to filesystem storage of assets */ module.exports.files = { // Maximum allowed file size in bytes // Defaults to 500MB maxBytes: 524288000, // The fs directory name at which files will be kept dirname: '' }; ```
/content/code_sandbox/config/files.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
66
```javascript /** * View Engine Configuration * (sails.config.views) * * Server-sent views are a classic and effective way to get your app up * and running. Views are normally served from controllers. Below, you can * configure your templating language/framework of choice and configure * Sails' layout support. ...
/content/code_sandbox/config/views.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
362
```javascript /** * Policy Mappings * (sails.config.policies) * * Policies are simple functions which run **before** your controllers. * You can apply one or more policies to a given controller, or protect * its actions individually. * * Any policy file (e.g. `api/policies/authenticated.js`) can be accessed * ...
/content/code_sandbox/config/policies.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
344
```javascript /** * Cross-Site Request Forgery Protection Settings * (sails.config.csrf) * * CSRF tokens are like a tracking chip. While a session tells the server that a user * "is who they say they are", a csrf token tells the server "you are where you say you are". * * When enabled, all non-GET requeststo th...
/content/code_sandbox/config/csrf.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
580
```javascript /** * THIS FILE WAS ADDED AUTOMATICALLY by the Sails 1.0 app migration tool. */ module.exports.datastores = { // In previous versions, datastores (then called 'connections') would only be loaded // if a model was actually using them. Starting with Sails 1.0, _all_ configured // datastores will ...
/content/code_sandbox/config/datastores.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
130
```javascript /** * Bootstrap * (sails.config.bootstrap) * * An asynchronous bootstrap function that runs before your Sails app gets lifted. * This gives you an opportunity to set up your data model, run jobs, or perform some special logic. * * For more information on bootstrapping your app, check out: * path_t...
/content/code_sandbox/config/bootstrap.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
478
```javascript /** * Global Variable Configuration * (sails.config.globals) * * Configure which global variables which will be exposed * automatically by Sails. * * For more information on configuration, check out: * path_to_url#!/documentation/reference/sails.config/sails.config.globals.html */ module.exports....
/content/code_sandbox/config/globals.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
466
```javascript /** * Route Mappings * (sails.config.routes) * * Your routes map URLs to views and controllers. * * If Sails receives a URL that doesn't match any of the routes below, * it will check for matching files (images, scripts, stylesheets, etc.) * in your assets directory. e.g. `path_to_url` * might m...
/content/code_sandbox/config/routes.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
952
```javascript /** * Development environment settings * * This file can include shared settings for a development team, * such as API keys or remote database passwords. If you're using * a version control solution for your Sails app, this file will * be committed to your repository unless you add it to your .giti...
/content/code_sandbox/config/env/development.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
147
```javascript /** * Production environment settings * * This file can include shared settings for a production environment, * such as API keys or remote database passwords. If you're using * a version control solution for your Sails app, this file will * be committed to your repository unless you add it to your ...
/content/code_sandbox/config/env/production.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
235
```javascript /** * WebSocket Server Settings * (sails.config.sockets) * * These settings provide transparent access to the options for Sails' * encapsulated WebSocket server, as well as some additional Sails-specific * configuration layered on top. * * For more information on sockets configuration, including a...
/content/code_sandbox/config/sockets.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
1,293
```scss // Darkly 3.3.5 // Bootswatch // ----------------------------------------------------- $web-font-path: "path_to_url" !default; @import url($web-font-path); // Navbar ===================================================================== .navbar { border-width: 0; &-default { .badge { backgroun...
/content/code_sandbox/assets/styles/_bootswatch.scss
scss
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
1,391
```scss $icon-font-path: '../bower_components/bootstrap-sass-official/assets/fonts/bootstrap/'; // Override the default flatly brand colour $brand-primary: #088dd9 !default; $brand-danger: $brand-primary !default; $navbar-default-link-hover-color: #ccc !default; $border-radius-base: 0 !default; $border-radius-large: 0...
/content/code_sandbox/assets/styles/_variable_override.scss
scss
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
90
```scss .text-gray { color: $gray-light; } .text-capitalize { text-transform: capitalize; } .text-color-lock { color: darken(desaturate($brand-primary, 50), 10); } .pointer { cursor: pointer; } .release-notes { white-space: pre; font-size: 13px !important; } .timestamp { font-size: 13px !important; }...
/content/code_sandbox/assets/styles/_custom.scss
scss
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
1,028
```scss @import '_variable_override.scss'; @import '_variables.scss'; // bower:scss @import '../bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap.scss'; // endbower @import '_bootswatch.scss'; @import '_custom.scss'; ```
/content/code_sandbox/assets/styles/importer.scss
scss
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
55
```javascript angular.module('app', [ 'app.core', 'app.admin', 'app.home', 'app.releases' ]) .config(['$routeProvider', '$locationProvider', 'NotificationProvider', function($routeProvider, $locationProvider, NotificationProvider) { $routeProvider.otherwise({ redirectTo: '/home' ...
/content/code_sandbox/assets/js/main.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
239
```javascript angular.module('app.core', [ 'app.core.dependencies', 'app.core.auth', 'app.core.data', 'app.core.nav' ]); ```
/content/code_sandbox/assets/js/core/core.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
34
```javascript angular.module('app.core.nav', []) .controller('NavController', ['$scope', 'Session', function($scope, Session) { $scope.Session = Session; $scope.shouldHideNavMobile = true; $scope.toggleNavMobile = function() { $scope.shouldHideNavMobile = !$scope.shouldHideNavMobile; }; $sco...
/content/code_sandbox/assets/js/core/nav-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
96
```javascript angular.module('app.core.data', [ 'app.core.data.service' ]) .run(['DataService', function(DataService) { DataService.initialize(); } ]); ```
/content/code_sandbox/assets/js/core/data/data.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
38
```scss $bootstrap-sass-asset-helper: false !default; // Darkly 3.3.6 // Variables // -------------------------------------------------- //== Colors // //## Gray and brand colors for use across Bootstrap. $gray-base: #000 !default; $gray-darker: lighten($gray-base, 13.5%) !default; // #222 $gr...
/content/code_sandbox/assets/styles/_variables.scss
scss
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
7,334
```javascript angular.module('app.core.dependencies', [ 'ngRoute', 'ngAnimate', 'ngMessages', 'ngSanitize', 'ngFileUpload', 'ui-notification', 'ui.bootstrap', 'ng.deviceDetector', 'angular-confirm', 'PubSub', 'xeditable', 'angularMoment' ]); ```
/content/code_sandbox/assets/js/core/dependencies/dependencies.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
74
```javascript angular.module('app.core.auth', [ 'app.core.auth.service', 'app.core.auth.login', 'app.core.auth.logout', 'angular-jwt' ]).constant('AUTH_EVENTS', { loginSuccess: 'auth-login-success', loginFailed: 'auth-login-failed', logoutSuccess: 'auth-logout-success', sessionTimeout:...
/content/code_sandbox/assets/js/core/auth/auth.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
389
```javascript angular.module('app.core.auth.service', [ 'ngStorage' ]) .service('AuthService', ['$rootScope', 'AUTH_EVENTS', '$http', '$localStorage', '$q', 'jwtHelper', function($rootScope, AUTH_EVENTS, $http, $localStorage, $q, jwtHelper) { var self = this; self.getToken = function() { ...
/content/code_sandbox/assets/js/core/auth/auth-service.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
354
```javascript angular.module('app.core.auth.login', [ 'ngStorage', 'ngRoute' ]) .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/auth/login', { templateUrl: 'js/core/auth/login/login.html', controller: 'LoginController', data: { private...
/content/code_sandbox/assets/js/core/auth/login/login-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
231
```javascript angular.module('app.core.data.service', [ 'ngSails' ]) .service('DataService', [ '$sails', '$q', '$log', '$http', 'Notification', 'Upload', 'PubSub', 'AuthService', function( $sails, $q, $log, $http, Notification, Upload, PubSub, AuthService ) { var self = this; ...
/content/code_sandbox/assets/js/core/data/data-service.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
4,994
```javascript angular.module('app.core.auth.logout', [ ]) .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/auth/logout', { templateUrl: 'js/core/auth/logout/logout.html', controller: 'LogoutController', data: { private: false } })...
/content/code_sandbox/assets/js/core/auth/logout/logout-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
124
```javascript angular.module('app.home', []) .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/home', { templateUrl: 'js/home/home.html', controller: 'HomeController as vm' }); }]) .controller('HomeController', ['$scope', 'PubSub', 'DataService', func...
/content/code_sandbox/assets/js/home/home-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
83
```javascript angular.module('app.admin', [ 'app.admin.version-table', 'app.admin.add-flavor-modal', 'app.admin.add-version-modal', 'app.admin.add-version-asset-modal', 'app.admin.edit-version-modal', 'app.admin.edit-version-asset-modal' ]); ```
/content/code_sandbox/assets/js/admin/admin.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
62
```javascript angular.module('app.admin.version-table', []) .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/admin', { templateUrl: 'js/admin/version-table/version-table.html', controller: 'AdminVersionTableController', data: { private: true ...
/content/code_sandbox/assets/js/admin/version-table/version-table-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
549
```javascript angular.module('app.admin.add-flavor-modal', []) .controller('AddFlavorModalController', ['$scope', 'DataService', '$uibModalInstance', ($scope, DataService, $uibModalInstance) => { $scope.flavor = { name: '' }; $scope.addFlavor = () => { DataService.createFlavor($...
/content/code_sandbox/assets/js/admin/add-flavor-modal/add-flavor-modal-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
110
```javascript angular.module('app.admin.add-version-modal', []) .controller('AddVersionModalController', ['$scope', '$http', 'DataService', 'Notification', '$uibModalInstance', 'PubSub', 'moment', ($scope, $http, DataService, Notification, $uibModalInstance, PubSub, moment) => { $scope.availableChannels = D...
/content/code_sandbox/assets/js/admin/add-version-modal/add-version-modal-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
346
```javascript angular.module('app.admin.edit-version-asset-modal', []) .controller('EditVersionAssetModalController', ['$scope', 'DataService', 'Notification', '$uibModalInstance', 'asset', function($scope, DataService, Notification, $uibModalInstance, asset) { $scope.DataService = DataService; $scop...
/content/code_sandbox/assets/js/admin/edit-version-asset-modal/edit-version-asset-modal-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
247
```javascript angular.module('app.admin.edit-version-modal', []) .controller('EditVersionModalController', ['$scope', 'DataService', 'Notification', '$uibModalInstance', '$uibModal', 'version', 'moment', ($scope, DataService, Notification, $uibModalInstance, $uibModal, version, moment) => { $scope.DataServi...
/content/code_sandbox/assets/js/admin/edit-version-modal/edit-version-modal-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
654
```javascript angular.module('app.admin.add-version-asset-modal', []) .controller('AddVersionAssetModalController', ['$scope', 'DataService', '$uibModalInstance', 'version', ($scope, DataService, $uibModalInstance, version) => { $scope.DataService = DataService; $scope.versionName = version.name; ...
/content/code_sandbox/assets/js/admin/add-version-asset-modal/add-version-asset-modal-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
218
```javascript angular.module('app.releases', []) .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/releases/:channel?/:flavor?', { templateUrl: 'js/download/download.html', controller: 'DownloadController as vm' }); }]) .controller('DownloadController', [...
/content/code_sandbox/assets/js/download/download-controller.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
623
```javascript /** * grunt/pipeline.js * * The order in which your css, javascript, and template files should be * compiled and linked from your views and static HTML files. * * (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions * for matching multiple files.) */ // CSS files to ...
/content/code_sandbox/tasks/pipeline.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
448
```javascript /** * Precompiles Underscore templates to a `.jst` file. * * --------------------------------------------------------------- * * (i.e. basically it takes HTML files and turns them into tiny little * javascript functions that you pass data to and return HTML. This can * speed up template rendering...
/content/code_sandbox/tasks/config/jst.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
306
```javascript /** * Concatenate files. * * --------------------------------------------------------------- * * Concatenates files javascript and css from a defined array. Creates concatenated files in * .tmp/public/contact directory * [concat](path_to_url * * For usage docs see: * path_to_url */ module.exp...
/content/code_sandbox/tasks/config/concat.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
153
```javascript /** * Compile CoffeeScript files to JavaScript. * * --------------------------------------------------------------- * * Compiles coffeeScript files from `assest/js` into Javascript and places them into * `.tmp/public/js` directory. * * For usage docs see: * path_to_url */ module.exports = func...
/content/code_sandbox/tasks/config/coffee.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
202
```javascript /** * Clean files and folders. * * --------------------------------------------------------------- * * This grunt task is configured to clean out the contents in the .tmp/public of your * sails project. * * For usage docs see: * path_to_url */ module.exports = function(grunt) { grunt.config....
/content/code_sandbox/tasks/config/clean.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
94
```javascript /** * Run predefined tasks whenever watched file patterns are added, changed or deleted. * * --------------------------------------------------------------- * * Watch for changes on * - files in the `assets` folder * - the `tasks/pipeline.js` file * and re-run the appropriate tasks. * * For usag...
/content/code_sandbox/tasks/config/watch.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
189
```javascript /** * Minify files with UglifyJS. * * --------------------------------------------------------------- * * Minifies client-side javascript `assets`. * * For usage docs see: * path_to_url * */ module.exports = function(grunt) { grunt.config.set('uglify', { dist: { src: ['.tmp/public/conca...
/content/code_sandbox/tasks/config/uglify.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
104
```javascript /** * Copy files and folders. * * --------------------------------------------------------------- * * # dev task config * Copies all directories and files, exept coffescript and less fiels, from the sails * assets folder into the .tmp/public directory. * * # build task config * Copies all direct...
/content/code_sandbox/tasks/config/copy.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
204
```javascript module.exports = function(grunt) { grunt.config.set('pug', { dev: { options: {}, files: [{ expand: true, cwd: 'assets/', src: '**/*.pug', dest: '.tmp/public/', ext: '.html' }] } }); grunt.loadNpmTasks('grunt-contrib-pug'); }; ```
/content/code_sandbox/tasks/config/pug.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
84
```javascript module.exports = function(grunt) { grunt.config.set('wiredep', { task: { // Point to the files that should be updated when // you run 'grunt wiredep' src: [ 'views/**/*.pug', // .pug support... ], // We need this li...
/content/code_sandbox/tasks/config/wiredep.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
131
```javascript /** * A grunt task to keep directories in sync. It is very similar to grunt-contrib-copy * but tries to copy only those files that has actually changed. * * --------------------------------------------------------------- * * Synchronize files from the `assets` folder to `.tmp/public`, * smashing an...
/content/code_sandbox/tasks/config/sync.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
143
```javascript /** * Compress CSS files. * * --------------------------------------------------------------- * * Minifies css files and places them into .tmp/public/min directory. * * For usage docs see: * path_to_url */ module.exports = function(grunt) { grunt.config.set('cssmin', { dist: { src: ['.tm...
/content/code_sandbox/tasks/config/cssmin.js
javascript
2016-02-28T10:06:53
2024-08-15T05:19:37
electron-release-server
ArekSredzki/electron-release-server
2,072
105