vscode + bitbucket

first step to clone from bitbucket – take the URL (i have option from ssh or https)
i take ssh-

now in vs code write git clone + the URL

if i get error of permission access denied
i need to follow this link
https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

basically it’s said
create private key that will be in username/.ssh folder
and create public key that i copy and paste in bitbucket site (add key)
after that i finish i need to

hit clone again (using https !!!!) and every commit and push that i do in vs code will upload the changes to my repository

another option (less prefer):

clone from bitbucket using https (and not ssh)

then make changes in vs code

and in the project folder that i am working on to run 3 commands :

git add .
git commit -m ‘reinitialized files’
git push origin master –force

Posted in כללי | Tagged , , , | Leave a comment

Protected: Angular 5

This content is password protected. To view it please enter your password below:

Posted in כללי | Tagged | Enter your password to view comments.

Basic configuration for runing web api and sql server

set simple web api without EF

sikum ombraco 2 youtube

Posted in כללי | Leave a comment

Basic configuration for runing node.js and mysql

i use xamp

1)first create database shavedb

2)create tables (as specify in queries)

3)in xamp the default access to phpmyadmin username: root password: empty

4)copy the code to server.js and put the file in folder for your app, before runing this file by node server.js
run :
npm install express

npm install mysql

Continue reading

Posted in כללי | Leave a comment

How to create web app using cordova

cretae new folder where your app will create and open cmd there
assum is there C:\Users\a1_sh\Desktop\b-app\mobile
run :
1)npm install -g cordova
2)cordova create C:\Users\a1_sh\Desktop\b-app\mobile
3)cordova platform add android

copy all files(your project) to www folder
go to www folder and run cordova build android from cmd
after he finish you will see the path where he create the apk file

Posted in כללי | Leave a comment

How to create apk using angular 5 + cordova

1)install cordova cli explain
Continue reading

Posted in כללי | Tagged , , , | Leave a comment

My landing page

landing page

Posted in כללי | Leave a comment

Uninstall Module Manually for Magento 2

  • Delete the Module folder from {folder path}\app\code
  • sudo chmod -R 777 var pub
  • php bin/magento setup:upgrade
  • php bin/magento cache:flush
  • sudo rm -rf var/cache/
  • php bin/magento setup:di:compile
Posted in כללי | Tagged | Leave a comment

how to put product into category, data come from csv magento 2

lets say i have this csv file

Continue reading

Posted in כללי | Tagged | Leave a comment

how to remove last category from product in magento 2

$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$productRepository = $objectManager->get(‘\Magento\Catalog\Model\ProductRepository’);

$sku = 100101;
$product = $productRepository->get(100101);
$categories_from_db_by_product = $product->getCategoryIds();
array_pop($categories_from_db_by_product);
$product->setCategoryIds($categories_from_db_by_product);
$product->save();

Posted in כללי | Tagged | Leave a comment