This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const dev = process.env.NODE_ENV !== 'production'; | |
| if (dev) { | |
| require('dotenv').config(); | |
| } | |
| const { parentPort } = require('worker_threads'); | |
| const Cabin = require('cabin'); | |
| const { Signale } = require('signale'); | |
| // initialize cabin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildscript { | |
| repositories { | |
| maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal | |
| } | |
| dependencies { | |
| classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]' | |
| } | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://documentation.onesignal.com/reference#create-notification | |
| var request = require('request'); | |
| var Promise = require("bluebird"); | |
| // email, templateId are required | |
| module.exports = async function (email, templateId, payload) { | |
| var message = '', heading = '', subtitle = ''; | |
| var restKey = process.env.ONE_SIGNAL_REST_KEY; | |
| var appID = process.env.ONE_SIGNAL_APP_ID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'com.android.application' | |
| ext { | |
| supportlib_version = '23.3.0' | |
| } | |
| subprojects { | |
| project.configurations.all { | |
| resolutionStrategy.eachDependency { details -> | |
| if (details.requested.group == 'com.android.support' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Observed package id 'add-ons;addon-google_apis-google-19' in inconsistent location '/usr/local/Cellar/android-sdk/24/add-ons/addon-google_apis-google-19-1' (Expected '/usr/local/Cellar/android-sdk/24/add-ons/addon-google_apis-google-19') | |
| Already observed package id 'add-ons;addon-google_apis-google-19' in '/usr/local/Cellar/android-sdk/24/add-ons/addon-google_apis-google-19'. Skipping duplicate at '/usr/local/Cellar/android-sdk/24/add-ons/addon-google_apis-google-19-1' | |
| Observed package id '..;..;..;var;lib;android-sdk;samples;android-15' in inconsistent location '/usr/local/Cellar/android-sdk/24/samples/android-15' (Expected '/usr/local/Cellar/android-sdk/24/../../../var/lib/android-sdk/samples/android-15') | |
| Observed package id '..;..;..;var;lib;android-sdk;samples;android-17' in inconsistent location '/usr/local/Cellar/android-sdk/24/samples/android-17' (Expected '/usr/local/Cellar/android-sdk/24/../../../var/lib/android-sdk/samples/android-17') | |
| Observed package id '..;..;..;var;lib;android-sdk;samples;androi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function extend($) { | |
| $.fn.autoSizr = function(options) { | |
| var el, elements, _i, _len, _results | |
| elements = $(this) | |
| if (elements.length < 0) { | |
| return | |
| } | |
| _results = [] | |
| for (_i = 0, _len = elements.length; _i < _len; _i++) { | |
| el = elements[_i] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function PgConnectionArgFilter( | |
| builder, | |
| { pgInflection: inflection } | |
| ) { | |
| builder.hook( | |
| "init", | |
| ( | |
| _, | |
| { | |
| addType, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.fn.autoSizr = function () { | |
| var el, elements, _i, _len, _results; | |
| elements = $(this); | |
| if (elements.length < 0) { | |
| return; | |
| } | |
| _results = []; | |
| for (_i = 0, _len = elements.length; _i < _len; _i++) { | |
| el = elements[_i]; | |
| _results.push((function(el) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var itemCount = getCookie("itemCount"); | |
| if (itemCount !== "") { | |
| $(".cart").text("(" + itemCount + ")"); | |
| } | |
| function addToCart(btn, itemCode) { | |
| addToCartApi(btn, itemCode); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| webpack: (config) => { | |
| config.module.rules.push( | |
| // yaml | |
| { | |
| test: /\.yaml$/, | |
| use: [ | |
| { | |
| loader: 'emit-file-loader', | |
| options: { |
NewerOlder