See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| { | |
| "Abia": [ | |
| "Aba North", | |
| "Aba South", | |
| "Arochukwu", | |
| "Bende", | |
| "Ikwuano", | |
| "Isiala-Ngwa North", | |
| "Isiala-Ngwa South", | |
| "Isuikwato", |
| <?php | |
| public function give_user_subscription( $product, $user_id, $note = '' ){ | |
| // First make sure all required functions and classes exist | |
| if( ! function_exists( 'wc_create_order' ) || ! function_exists( 'wcs_create_subscription' ) || ! class_exists( 'WC_Subscriptions_Product' ) ){ | |
| return false; | |
| } | |
| $order = wc_create_order( array( 'customer_id' => $user_id ) ); |
| @echo off | |
| set /p domain="Enter Domain: " | |
| set OPENSSL_CONF=../conf/openssl.cnf | |
| if not exist .\%domain% mkdir .\%domain% | |
| ..\bin\openssl req -config cert.conf -new -sha256 -newkey rsa:2048 -nodes -keyout %domain%\server.key -x509 -days 3650 -out %domain%\server.crt | |
| echo. | |
| echo ----- |
| [ req ] | |
| default_bits = 2048 | |
| default_keyfile = server-key.pem | |
| distinguished_name = subject | |
| req_extensions = req_ext | |
| x509_extensions = x509_ext | |
| string_mask = utf8only | |
| [ subject ] |
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>sim traffic jam</title> | |
| <script src="traffic.js"></script> | |
| </head> | |
| <body> | |
| <div> | |
| <canvas id="canvas" width="300" height="300"></canvas> |
| var statusMessages = [ | |
| '200': 'OK', | |
| '201': 'Created', | |
| '200': 'OK', | |
| '201': 'Created', | |
| '202': 'Accepted', | |
| '203': 'Non-Authoritative Information', | |
| '204': 'No Content', | |
| '205': 'Reset Content', | |
| '206': 'Partial Content', |
| export class UserList extends Component { | |
| state = { | |
| isLoading: false, | |
| hasError: false, | |
| users: [] | |
| } | |
| searchUsers(value) { | |
| this.setState({isLoading: true}); |