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
<?php | |
/* | |
Plugin Name: Abikething modify pricing display | |
Plugin URI: http://pauldrage.co.uk | |
Description: This plugin over rides the pricing display to handle GB versus ROW for tax. Requires plugin woocommerce_set_country to set $_SESSION wc_country_iso | |
Version: 1.0.0 | |
Author: Paul Drage | |
Author URI: http://pauldrage.co.uk | |
License: GPL2 etc | |
License URI: https:// |
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
'use strict'; | |
import { WebSocketServer } from 'ws'; | |
const wss = new WebSocketServer({ port: 8080 }); | |
wss.on('connection', function connection(ws) { | |
ws.on('error', console.error); | |
ws.on('message', function message(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
const input = 'Hello World'; | |
const filterArr = ['a','e','i','o','u']; | |
let counted = getCountFromFilteredInput(input,filterArr); | |
// 3 | |
console.log(counted.length); | |
// ["e", "o", "o"] | |
console.log(counted); | |
// Passed | |
if (assertSame(counted.length, 3)) { |
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
$('#someoneelse').click(); | |
$('#patient_firstnames').val('Peter'); | |
$('#patient_lastname').val('Drumda'); | |
$('#patient_postcode').val('OX1 1AA'); | |
$('#patient_dobd').val('01'); | |
$('#patient_dobm').val('12'); | |
$('#patient_doby').val('1981'); | |
$('#patient_dob').val(${$('#patient_dobd').val()}/${$('#patient_dobm').val()}/${$('#patient_doby').val()}); | |
$('#contact_female').click(); | |
$('#proxy_relationship').val('Spouse'); |
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
<?php | |
namespace AppBundle\Command; | |
use Sylius\Component\Core\Model\ChannelPricingInterface; | |
use Sylius\Component\Core\Model\ProductInterface; | |
use Sylius\Component\Core\Model\ProductVariantInterface; | |
use Sylius\Component\Product\Model\ProductAssociationInterface; | |
use Sylius\Component\Product\Model\ProductAssociationTypeInterface; | |
use Sylius\Component\Taxonomy\Model\TaxonInterface; |
OlderNewer