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
| Spree::Payment::Processing.module_eval do | |
| def process!(amount = nil) | |
| amount ||= money.money.cents | |
| started_processing! | |
| response = payment_method.create_transaction( | |
| amount, | |
| source, | |
| gateway_options | |
| ) | |
| handle_response(response, :pend, :failure) |
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
| mollie-api-ruby (3.1.2) lib/mollie/client.rb:28:in `instance' | |
| mollie-api-ruby (3.1.2) lib/mollie/client.rb:36:in `ensure in with_api_key' | |
| mollie-api-ruby (3.1.2) lib/mollie/client.rb:37:in `with_api_key' | |
| app/models/spree/gateway/mollie_payments.rb:19:in `available_payment_methods' | |
| app/views/spree/checkout/payment/_molliepayments.html.erb:1:in `_c1a28389e1fabe876b095bd91e2beecc' | |
| actionview (5.1.4) lib/action_view/template.rb:157:in `block in render' | |
| activesupport (5.1.4) lib/active_support/notifications.rb:168:in `instrument' | |
| actionview (5.1.4) lib/action_view/template.rb:352:in `instrument_render_template' | |
| actionview (5.1.4) lib/action_view/template.rb:155:in `render' | |
| deface (1.3.0) lib/deface/action_view_extensions.rb:41:in `render' |
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
| 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 |
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
| 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 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
| 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 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 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 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
| // 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 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
| ### 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 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 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 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
| components/ | |
| -- Button/ | |
| ---- Button.js | |
| ---- Button.css | |
| -- Card/ | |
| ---- Card.js | |
| ---- Car.css |