Aliaga Aliyev

1

votes
0

answer
27

views

Bundle issue when installin gem from github

I have issue with installing gems from Github on Docker. Windows 10 pro. Gemfile: gem 'kaminari', git: 'https://github.com/kaminari/kaminari', branch: 'master' Error: Git error: command `git clone --no-checkout --quiet '/bundle_box/cache/bundler/git/kaminari-afd5cc7513de17a7e5e6421480370a0b7ec57040...
Aliaga Aliyev
1

votes
1

answer
0

views

How to create dynamic combination with php?

I have 3 array like $arr = [ 'color' => [['name'=>'red']], 'size' => [['name'=>'18 inch'], ['name'=>'15 inch']], 'type' => [['name'=>'plastic']] ] $combo = array(); foreach ($arr['size'] as $size) { foreach($arr['color'] as $color){ foreach ($arr['type'] as $type) { $variant = json_encode(['size' =...
Aliaga Aliyev