First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
| i | |
| me | |
| my | |
| myself | |
| we | |
| our | |
| ours | |
| ourselves | |
| you | |
| your |
| -- Apparently YouTube changed some stuff. This makes VLC play YouTube clips again. | |
| -- Replace youtube.lua in /Applications/VLC.app/Contents/MacOS/share/playlist/youtube.lua. | |
| -- Ticket @ VLC: https://trac.videolan.org/vlc/ticket/7471 | |
| --[[ | |
| $Id$ | |
| Copyright © 2007-2011 the VideoLAN team | |
| This program is free software; you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by |
| // check for clear-cart get param to clear the cart, append ?clear-cart to any site url to trigger this | |
| add_action( 'init', 'woocommerce_clear_cart_url' ); | |
| function woocommerce_clear_cart_url() { | |
| if ( isset( $_GET['clear-cart'] ) ) { | |
| global $woocommerce; | |
| $woocommerce->cart->empty_cart(); | |
| } | |
| } |
| <?php | |
| #API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-SERVER-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = $_GET['id']; | |
| #prep the bundle | |
| $msg = array | |
| ( | |
| 'body' => 'Body Of Notification', |
| /** | |
| * Changes the redirect URL for the Return To Shop button in the cart. | |
| * | |
| * @return string | |
| */ | |
| function wc_empty_cart_redirect_url() { | |
| return 'http://yourdomain.com/your-page/'; | |
| } | |
| add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' ); |
| this.StateVsGstIndex = [ | |
| {state: 'Andaman and Nicobar Islands', gstcode: 35 }, | |
| {state: 'Andhra Pradesh', gstcode: 37 }, | |
| {state: 'Arunachal Pradesh', gstcode: 12 }, | |
| {state: 'Assam', gstcode: 18 }, | |
| {state: 'Bihar', gstcode: 10 }, | |
| {state: 'Chandigarh', gstcode: 4 }, | |
| {state: 'Chattisgarh', gstcode: 22 }, | |
| {state: 'Dadra and Nagar Haveli', gstcode: 26 }, | |
| {state: 'Daman and Diu', gstcode: 25 }, |
| /* Add Google Tag Manager javascript code as close to | |
| the opening <head> tag as possible | |
| =====================================================*/ | |
| function add_gtm_head(){ | |
| ?> | |
| <!-- Google Tag Manager --> | |
| <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
| new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
| j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= |
| version: "3.4" | |
| services: | |
| pgAdmin: | |
| restart: always | |
| image: dpage/pgadmin4 | |
| ports: | |
| - "8000:80" | |
| environment: | |
| PGADMIN_DEFAULT_EMAIL: 1234@admin.com |