This file contains 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
fetchActivityFeedForRanking (options) { | |
let collection = options.views.feedItemsView.collection; | |
let data = {}; | |
let { ranking_id } = this; | |
if (ranking_id) { | |
data = { | |
ranking_id | |
}; | |
} |
This file contains 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
import { View } from 'backbone.marionette'; | |
import ScoreCounterView from './../../score_counter/view'; | |
import ScoreBehaviour from './../../../../../behaviors/score_helper'; | |
import Template from './template.hbs'; | |
import $ from 'jquery'; | |
export default View.extend({ | |
template: Template, |
This file contains 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
components/ | |
-- Button/ | |
---- Button.js | |
---- Button.css | |
-- Card/ | |
---- Card.js | |
---- Car.css |
This file contains 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 FLOXER_PRO_IOS_PRODUCT_ID = 'com.coqtail.floxer.pro_account'; | |
window.inAppPurchase | |
.getProducts([FLOXER_PRO_IOS_PRODUCT_ID]) | |
.then(function (products) { | |
console.log(products); // Returns: [] | |
window.inAppPurchase | |
.buy(FLOXER_PRO_IOS_PRODUCT_ID) | |
.then(function (data) { |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am vernondegoede on github. | |
* I am vernondg (https://keybase.io/vernondg) on keybase. | |
* I have a public key ASBxofN0mQGvcyjl5oounKTUbXgNxReBh7AZTpSzMgtijwo | |
To claim this, I am signing this object: |
This file contains 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
// File: .storybook/config.js | |
import { configure, addDecorator } from '@kadira/storybook'; | |
import Theme from './../src/ui/theme'; | |
import React from 'react'; | |
import { ThemeProvider } from 'styled-components' | |
function loadStories() { | |
require('../stories'); | |
} |
This file contains 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 IntlPolyfill = require("intl"); | |
Intl.NumberFormat = IntlPolyfill.NumberFormat; | |
Intl.DateTimeFormat = IntlPolyfill.DateTimeFormat; | |
const express = require("express"); | |
const next = require("next"); | |
const LRUCache = require("lru-cache"); | |
const accepts = require("accepts"); | |
const path = require("path"); | |
const dev = process.env.NODE_ENV !== "production"; |
This file contains 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
let currentValue = 2; | |
let maxIterator = 300; | |
var i; | |
for (i = 2; i < maxIterator; i++) { | |
let isEven = !!(i % 2); | |
let addToCurrentValue = isEven | |
? 5 | |
: 6; | |
currentValue += addToCurrentValue; | |
console.log(`a=${currentValue}`); |
This file contains 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
server { | |
listen 80; | |
server_name domain.com | |
root /data/<path_to_wp>/web; | |
index index.php index.html index.htm; | |
location / { | |
index index.php index.html index.htm; | |
try_files $uri $uri/ /index.php?$args; |
This file contains 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
GIT | |
remote: git@github.com:spree/spree_auth_devise.git | |
revision: 541db70aeccf3de38eb7b7c8771e949fbfacdd99 | |
specs: | |
spree_auth_devise (3.3.3) | |
devise (~> 4.4.0) | |
devise-encryptable (= 0.2.0) | |
spree_core (>= 3.1.0, < 4.0) | |
spree_extension |