Magento 2: Clear Images in database

truncate table bitnami_magento.catalog_product_entity_gallery;
truncate table bitnami_magento.catalog_product_entity_media_gallery_value;
truncate table bitnami_magento.catalog_product_entity_media_gallery_value_to_entity;
truncate table bitnami_magento.catalog_product_entity_media_gallery_value_video;

no warranty
given as is

Magento 2: Update data for a custom product attribute

use bitnami_magento;

SELECT * FROM bitnami_magento.catalog_product_entity_varchar
where ( attribute_id = 73 ) — and (value = ”)
limit 10

replace into bitnami_magento.catalog_product_entity_varchar (attribute_id, store_id, entity_id, value )
SELECT 181, 0, product.entity_id, left(concat(“https://www.amazon.com/s?k=”, product.value),255)
FROM bitnami_magento.catalog_product_entity_varchar product
inner join catalog_product_entity_int status_t on ( status_t.entity_id = product.entity_id ) and ( status_t.attribute_id = 97 and status_t.value = 1 )
where (product.attribute_id=73) — and (value = ”) — 73 = product name

SELECT * FROM bitnami_magento.catalog_product_entity_varchar
where ( attribute_id = 181 ) — and (value = ”)
order by value_id desc
limit 10

— Update Uk Urls —–

use bitnami_magento;

SELECT * FROM bitnami_magento.catalog_product_entity_varchar
where ( attribute_id = 73 ) — and (value = ”)
limit 10

replace into bitnami_magento.catalog_product_entity_varchar (attribute_id, store_id, entity_id, value )
SELECT 180, 0, product.entity_id, left(concat(“https://www.amazon.co.uk/s?k=”, product.value), 255)
FROM bitnami_magento.catalog_product_entity_varchar product
inner join catalog_product_entity_int status_t on ( status_t.entity_id = product.entity_id ) and ( status_t.attribute_id = 97 and status_t.value = 1 )
where (product.attribute_id=73) — and (value = ”) — 73 = product name

SELECT * FROM bitnami_magento.catalog_product_entity_varchar
where ( attribute_id = 180 ) — and (value = ”)
order by value_id desc
limit 10

*

select max(value_id) from bitnami_magento.catalog_product_entity_varchar

Magento 2: Misc. Image related SQLs

select * from bitnami_magento.catalog_product_entity_media_gallery_value_to_entity
where value_id in (232574, 242521)

— 232574, 242521

select * from bitnami_magento.catalog_product_entity_media_gallery_value_to_entity
where value_id in (232574, 242521)

— where value like ‘%ud6vtf2a_5ezdxueqvnr%’

–select * from bitnami_magento.catalog_product_entity_media_gallery_value_to_entity

select * from bitnami_magento.catalog_product_entity_media_gallery
— where value_id in (237733, 237734)
where value like ‘%ud6vtf2a_5ezdxueqvnr%’

update bitnami_magento.catalog_product_entity_media_gallery
set value = ‘/u/d/ud6vtf2a_5ezdxueqvnr1dyny_1.jpeg’
where value = ‘/u/d/ud6vtf2a_5ezdxueqvnr1dyny.jpeg’ and value_id=242521

select * from bitnami_magento.catalog_product_entity_media_gallery_value
— where value_id in (232574, 242521)
where entity_id in (70414)

select * from bitnami_magento.catalog_product_entity_media_gallery_value
where label is not null

70414 shopforsoul-PTO_06RSLOC0
237733, 237734

insert into bitnami_magento.catalog_product_entity_media_gallery_value values(237733, 0, 70414, ”, 3, 0, 37613)

select max(record_id) from catalog_product_entity_media_gallery_value

insert into catalog_product_entity_media_gallery_value_to_entity values (237733, 70414)

select distinct(attribute_id) from bitnami_magento.catalog_product_entity_media_gallery

Magento 2: Deactivate Products without images

update catalog_product_entity_int
— select * from catalog_product_entity_int
set catalog_product_entity_int.value = 2
where (catalog_product_entity_int.attribute_id = 97) and catalog_product_entity_int.entity_id in (
select entity_id from (
Select distinct(product.entity_id)
FROM bitnami_magento.catalog_product_entity product
left join catalog_product_entity_media_gallery_value_to_entity valentity on valentity.entity_id = product.entity_id
left join catalog_product_entity_media_gallery image on image.value_id = valentity.value_id and (image.attribute_id in (90))
inner join catalog_product_entity_int status_t on (status_t.entity_id = product.entity_id) and (status_t.attribute_id=97 and status_t.value=1)
where product.entity_id not in (select entity_id from catalog_product_entity_media_gallery_value_to_entity)
) as c )

Computer Mouse: Design and Implementation : Circuit Diagram: Manufacturing #68

From: http://sitestree.com/?p=5063
Categories:68
Tags:
Post Data:2011-12-11 16:02:06

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

How to design a computer motherboard? #68

From: http://sitestree.com/?p=4877
Categories:68
Tags:
Post Data:2007-07-01 12:20:08

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Choosing the best video format for your web site #69

From: http://sitestree.com/?p=5008
Categories:69
Tags:
Post Data:2007-07-30 10:21:42

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Convert database from one format to another #7

EMS SQL Manager for InterBase/FirebirdIt is very good product for developer. Seems also has export/import capabilities.http://www.sqlmanager.net/products/ibfb/manager

Migrating Interbase to Firebird: Front end Java
http://www.topicscape.com/InterBase_Firebird_migration/IB2FB.php

Convert db from one to another: A great tool
http://www.filedudes.com/Database_Viewer_Editor-download-39992.html
http://www.yankeedownload.com/free-download/9579/database-viewer-editor.html

Database Converters
http://www.newfreedownloads.com/find/interbase.html
Convert Master
http://www.torry.net/authorsmore.php?id=3274

From: http://sitestree.com/?p=4725
Categories:7
Tags:
Post Data:2012-12-15 21:21:15

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Code Signing Process for Blackberry Application Development #70

Blackberry SDK has many restricted APIs. If you use these APIs in your applications, your applications will not run in real Blackberry devices unless you sign them with RIM. Code-signing resources are provided below:

From: http://sitestree.com/?p=5184
Categories:70
Tags:
Post Data:2012-07-14 15:12:11

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

What to know to get an overview on Video on Demand #70

This short-note is on – what you need to know about video on demand?

What is it? Supply video content on users’ demand

What are the variations of video on demand? IVOD, Push VOD, Store and forward and similar.

How video on demand works?
–Tasks by the users: select video and play
–Tasks by the company: supply video in real time, store videos

What are the devices required at client end?
-Remote, Tv, Modem, Set-top box, High speed internet

What are the devices required at company end?
–Storage to store movies like RAID, Farm storage
–Software support to accept, reject client requests
–software support to encode software and send [decode at client terminal]

The architecture the company uses
–centralized servers
–centralized but local buffers at different network sites
–distributed servers, work independently but co-operate and share storage also balance loads

Connection technology?
–Client to company
—–cable, fibre, co-ax

–Company internal?? fibre, cable

Backbone
–fibre or cable and why?

Network architecture in the backbone?
–is it Sonet or ATM; and why

–What are the encoding technologies?
—ADSL, HFC and why??

How to improve performance?
–Areas of Concerns: Buffering, encoding standards, high speed storage, algorithms that require less seek time, networks that provide less jitter and high speed, any caching or proxy will help or not, using p2p will improve performance or not

From: http://sitestree.com/?p=5037
Categories:70
Tags:
Post Data:2008-11-23 07:33:48

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada