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
# Fabfile for deployment on Webfaction | |
from fabric.api import * | |
# This is used by fabric to login in the server and must be set to the Webfaction account username. | |
env.user = 'iperborea' | |
### Define roles ### | |
def staging(): |
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
/* | |
* Inspired by http://stackoverflow.com/a/20645945 | |
*/ | |
app.filter('groupBy', ['$parse', function ($parse) { | |
return function (list, group_by) { | |
function addChangedTag (item, field) { | |
item[field + '_CHANGED'] = true; | |
} |
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
import * as React from 'react' | |
import { PayPalButton } from 'react-paypal-button-v2' | |
import Typography from '@material-ui/core/Typography' | |
import { PAYMENT_GATEWAYS, YG_EMAIL_BASE } from 'config' | |
import { Checkout as CheckoutInterface } from 'lib/queries/generatedTypes/Checkout' | |
interface PaypalOrderParams { |