sumnima sumnima sumnima sumnima sumnima sumnima sumnima
Categories
blog javascript js Swiper

Swiper Last slide spaceΒ 

addingΒ slidePerViewΒ andΒ SpaceBetweenΒ will solve it – slidesPerView: “1.5”

http://sumnima-clear.mybigcommerce.com/

var swiper = new Swiper(".swiper", {
    slidesPerView: 4,
    spaceBetween: 16,
    breakpoints: {
        320: {
            watchSlidesProgress: true,
            slidesPerView: "1.5",
            shortSwipes: false
        },
        500: {
            watchSlidesProgress: true,
            slidesPerView: "2",
            shortSwipes: false
        },
        1024: {
            preventInteractionOnTransition: true,
            watchSlidesProgress: true,
            slidesPerView: "4.5",
            shortSwipes: false
        },
    },
});
Categories
35mm blog Photography sumnima

sumnima.me lali

lali gallery at sumnima.me
Categories
blog haiku

birthday!

biannual –
Same day
Lily blooms.

#haiku #sumnima

Categories
blog SSH

Transfer files with SSH from one server to another

Pulling: Let’s say you have a terminal on your host open, you could do:

scp user@192.168.1.100:/tmp/myfile /tmp/files/myfile

This way you are creating a “second tunnel” towards your server.

Pushing: (The other way around) so from your server to your host (essentially it is now a tunnel in your original tunnel):

scp /tmp/myfile user@192.168.1.5:/tmp/files/myfile
Categories
blog hackintosh VoodooHDA

VoodooHDA

copy and paste VoodooHDA at Library/Extensions

sudo chmod -Rf 755 /S/L/E*
sudo chmod -Rf 755 /L/E
sudo chown -Rf 0:0 /S/L/E*
sudo chown -Rf 0:0 /L/E

Rebuild Kext Cache

sudo kextcache -i /

Categories
blog sumnima

for print

Categories
blog sumnima

Making of Ringtone

Categories
blog Uncategorized

Happy sumnima

Categories
blog magento 2

magento 2 display sub category with image at category

<!--?php 
/**
 * Copyright Β© Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?-->
<!--?php 
/**
 * Category view template
 *
 * @var $block \Magento\Catalog\Block\Category\View
 */
?-->
<!--?php $category = $block-&gt;getCurrentCategory(); ?-->
<!--?php $subcategories = $category-&gt;getChildrenCategories(); ?-->
<!--?php $_helper = $this-&gt;helper('Magento\Catalog\Helper\Output'); ?-->
<!--?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); ?-->
<!--?php if(count($subcategories) &gt; 0): ?-->
<div class="products wrapper grid products-grid">
<ol class="products list items product-items">
 	<li style="list-style-type: none;">
<ol class="products list items product-items"><!--?php $subcategory = $objectManager-&gt;create('Magento\Catalog\Model\Category')-&gt;load($subcategory-&gt;getId()); ?-->
 	<li class="item product product-item">
<div class="product-item-info"><!--?php if ($_imgUrl = $subcategory-&gt;getImageUrl()): ?-->
<a class="product photo product-item-photo" href="&lt;?= $subcategory-&gt;getUrl() ?&gt;">
<span class="product-image-container">
<!--?php $_imgHtml = '&lt;img src="' . $_imgUrl . '" ?-->'; ?&gt;
<!--?php echo $_imgHtml = $_helper-&gt;categoryAttribute($subcategory, $_imgHtml, 'image'); ?-->
</span>
</a>
<!--?php endif; ?-->
<div class="product details product-item-details"><strong class="product name product-item-name">
<!--?= $subcategory-&gt;getName() ?-->
</strong></div>
</div></li>
</ol>
</li>
</ol>
</div>
<!--?php else: ?-->
<!--?php if (!$block-&gt;isContentMode() || $block-&gt;isMixedMode()): ?-->
<!--?= $block-&gt;getProductListHtml() ?-->
<!--?php endif; ?-->
<!--?php endif; ?--> 
Categories
blog magento 2

Magento 2 move product title at product description page.

[php]<move element="page.main.title" destination="product.info.main" before="-"/>[/php]

Categories
bigcommerce blog Child theme cms wordpress wordpress

wordpress remove customize section – child theme

stupid like me want such change πŸ˜›

#bookmark #remove #customize #section #wordpress

Β 

function remove_customize_register() { global $wp_customize; $wp_customize->remove_section( 'colors' ); //Modify this line as needed } add_action( 'customize_register', 'remove_customize_register', 11 );