All stores are Neo4j 2.1.3.
What is related, and how?
Flight ORIGIN Airport
<?php | |
/** | |
* WooCommerce Extra Feature | |
* -------------------------- | |
* | |
* Add custom fee to cart automatically | |
* | |
*/ | |
function woo_add_cart_fee() { | |
/** | |
* Set a minimum order amount for checkout | |
*/ | |
add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' ); | |
add_action( 'woocommerce_before_cart' , 'wc_minimum_order_amount' ); | |
function wc_minimum_order_amount() { | |
// Set this variable to specify a minimum order value | |
$minimum = 50; |
<?php | |
/** | |
* Basic connection to SAP HANA from PHP | |
* | |
* This is a sample connection to a SAP HANA system. It includes a proper error messaging so if the connection will fail | |
* you should be able to get a proper error message. | |
* | |
* @license The MIT License (MIT) | |
* @author Valentin Despa <info[at]vdespa[dot]de> | |
* @version 1.0 / 04.12.2013 |
<?php | |
add_filter( 'woocommerce_package_rates', 'my_hide_shipping_when_free_is_available' ); | |
function my_hide_shipping_when_free_is_available( $rates ) { | |
$free = array(); | |
foreach( $rates as $rate_id => $rate ) { | |
if( 'free_shipping' === $rate->method_id ) { | |
$free[ $rate_id ] = $rate; | |
break; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Bootstrap 3 Template</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!-- Bootstrap core CSS --> | |
<link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" media="screen"> | |
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
" _ _ " | |
" _ /|| . . ||\ _ " | |
" ( } \||D ' ' ' C||/ { % " | |
" | /\__,=_[_] ' . . ' [_]_=,__/\ |" | |
" |_\_ |----| |----| _/_|" | |
" | |/ | | | | \| |" | |
" | /_ | | | | _\ |" | |
It is all fun and games until someone gets hacked! |
<?php | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.1.31 (LTS) on 2016-03-01. | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |
#!/bin/bash | |
# REPO_NAME=<repo>.git | |
# ORIGIN_URL=git@<host>:<project>/$REPO_NAME | |
# REPO1_URL=git@<host>:<project>/$REPO_NAME | |
rm -rf $REPO_NAME | |
git clone --bare $ORIGIN_URL | |
if [ "$?" != "0" ]; then | |
echo "ERROR: failed clone of $ORIGIN_URL" |
All stores are Neo4j 2.1.3.
What is related, and how?
Flight ORIGIN Airport
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> |