Skip to content

Instantly share code, notes, and snippets.

@vstorm83
vstorm83 / addressAutocomplete.js
Created March 21, 2018 19:52
google place api autocomplete
//Add JS google place api
//wp_enqueue_script('google-map-js', 'https://maps.googleapis.com/maps/api/js?key=your_key&libraries=places', null, '1.0', true);
/** google map place api */
var placeSearch, autocomplete;
var componentForm = {
street_number: 'short_name',
route: 'long_name',
locality: 'long_name',
{
"address_components": [
{
"long_name": "180",
"short_name": "180",
"types": [
"street_number"
]
},
{
commit 13df100f57cc07899aa693e8c8f40b907ef8e39f
Author: trungjc <trungnguyenthanh70@gmail.com>
Date: Fri May 6 06:58:56 2016 +0700
fix banners for catalog due to update banner plugin
diff --git a/app/code/community/Magestore/Bannerslider/Helper/Data.php b/app/code/community/Magestore/Bannerslider/Helper/Data.php
index e79cbac..b0319af 100755
--- a/app/code/community/Magestore/Bannerslider/Helper/Data.php
+++ b/app/code/community/Magestore/Bannerslider/Helper/Data.php
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
</reference>
<reference name="top.menu">
<!--block type="cms/block" name="top_menu" before="-">
<action method="setBlockId">
<block_id>top_menu</block_id>
commit da15d2b3d5b3c76f82f76da06af9c19a07784e0e
Author: vstorm83 <vstorm83@gmail.com>
Date: Mon Apr 4 01:30:19 2016 +0700
add fixed banner positions
diff --git a/app/code/community/Magestore/Bannerslider/Helper/Data.php b/app/code/community/Magestore/Bannerslider/Helper/Data.php
index 0860708..37f607e 100755
--- a/app/code/community/Magestore/Bannerslider/Helper/Data.php
+++ b/app/code/community/Magestore/Bannerslider/Helper/Data.php
@vstorm83
vstorm83 / storywise
Created June 20, 2015 17:42
StoryWise
diff --git a/wp-content/themes/twentythirteen/category-portfolio.php b/wp-content/themes/twentythirteen/category-portfolio.php
index 05e7b2a..bc75a07 100644
--- a/wp-content/themes/twentythirteen/category-portfolio.php
+++ b/wp-content/themes/twentythirteen/category-portfolio.php
@@ -16,11 +16,10 @@ get_header(); ?>
<div id="bannerText">
<h1 class="entry-title">OUR WORK</h1>
</div>
-
-
@vstorm83
vstorm83 / TestHashMap
Last active August 29, 2015 14:21
HashMap concurrent issue
package org.exoplatform.web.security;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.TestCase;
import org.exoplatform.services.security.ConversationState;
diff --git a/sampleAddon-extension-config/src/main/resources/conf/configuration.xml b/sampleAddon-extension-config/src/main/resources/conf/configuration.xml
index 6c3e4ed..cff1a74 100644
--- a/sampleAddon-extension-config/src/main/resources/conf/configuration.xml
+++ b/sampleAddon-extension-config/src/main/resources/conf/configuration.xml
@@ -12,37 +12,37 @@
http://www.fsf.org. -->
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_2.xsd http://www.exoplaform.org/xml/ns/kernel_1_2.xsd"
- xmlns="http://www.exoplaform.org/xml/ns/kernel_1_2.xsd">
@@ -25,21 +25,23 @@ import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
+import java.util.TreeMap;
import org.exoplatform.portal.config.model.Application;
+import org.exoplatform.portal.config.model.TransientApplicationState;
public class AddOnServiceImpl implements AddOnService {
diff --git a/core/src/main/java/juzu/impl/plugin/asset/AssetResolver.java b/core/src/main/java/juzu/impl/plugin/asset/AssetResolver.java
index e032169..8b7b7e2 100644
--- a/core/src/main/java/juzu/impl/plugin/asset/AssetResolver.java
+++ b/core/src/main/java/juzu/impl/plugin/asset/AssetResolver.java
@@ -15,12 +15,12 @@
*/
package juzu.impl.plugin.asset;
-import juzu.asset.AssetLocation;
-import juzu.impl.resource.ResourceResolver;