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
/** | |
* Usage: node ./transfer.js <destination repo> | |
* Run from the root of source repo. | |
* Requires `hub` | |
*/ | |
const { exec } = require( 'child_process' ); | |
const destinationRepo = process.argv[ 2 ]; | |
exec( 'hub issue', ( error, stdout ) => { |
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
[ | |
{ | |
"key": "basics", | |
"locales": [ | |
{ | |
"locale": "en_US", | |
"title": "Get the BBBBBBasics" | |
} | |
], | |
"plugins": [ |
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
[ | |
{ | |
"slug": "test-method", | |
"locales": [ | |
{ | |
"locale": "en_US", | |
"title": "Test Poll Sources", | |
"content": "I'm a remote payment method" | |
} | |
], |
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
<?php | |
/** | |
* Plugin Name: WooCommerce Calypso Bridge Helper | |
* Plugin URI: https://woocommerce.com | |
* Description: Utility to assist testing wc-calypso-bridge locally | |
* Author: WooCommerce | |
* Version: 0.1 | |
*/ | |
class Atomic_Plan_Manager { |
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
console.log('helelo'); |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head> | |
<script src="https://unpkg.com/d3-array@1"></script> | |
<script src="https://unpkg.com/d3-collection@1"></script> | |
<script src="https://unpkg.com/d3-path@1"></script> | |
<script src="https://unpkg.com/d3-shape@1"></script> | |
<script src="https://unpkg.com/d3-sankey@0"></script> | |
</head> | |
<body> |
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
/** @format */ | |
var fs = require( 'fs' ); | |
function replaceLine( file ) { | |
fs.readFile( file, 'utf8', function( err, data ) { | |
if ( err ) { | |
return console.log( err ); | |
} | |
var result = data.replace( | |
/import PropTypes from 'prop-types';\n\n(?=import)/g, |
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
id | type | amount | |
---|---|---|---|
01 | Restaurant | 100 | |
02 | Entertainment | 100 | |
03 | Rent | 200 | |
04 | Groceries | 250 |