gitflow | git |
---|---|
git flow init |
git init |
- | git commit --allow-empty -m "Initial commit" |
- | git checkout -b develop master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
, | |
'form_collection_view_helpers' => [ | |
'sales_channels' => [ | |
'collection_template' => false, | |
'element_render_config' => [ | |
'DimabayApp\Form\SalesChannelFieldset:type' => [ | |
'helper' => [ | |
'name' => 'formBlock', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm run test | |
> dimabay-spa@1.9.9 test /home/a1/pro/dimabay/spa | |
> NODE_ENV=test mocha __tests__/.setup __tests__/**/*.spec.js --compilers js:babel-core/register --require ignore-styles | |
module.js:327 | |
throw err; | |
^ | |
Error: Cannot find module 'babel-register' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /home/a1/pro/dimabay/spa/npm-debug.log | |
0 info it worked if it ends with ok | |
1 verbose cli [ '/home/a1/.nvm/versions/node/v4.4.0/bin/node', | |
1 verbose cli '/home/a1/.nvm/versions/node/v4.4.0/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'test' ] | |
2 info using npm@2.14.20 | |
3 info using node@v4.4.0 | |
4 verbose run-script [ 'pretest', 'test', 'posttest' ] | |
5 info pretest dimabay-spa@1.9.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/home/a1/.nvm/versions/node/v4.4.0/bin/node', | |
1 verbose cli '/home/a1/.nvm/versions/node/v4.4.0/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'test' ] | |
2 info using npm@2.14.20 | |
3 info using node@v4.4.0 | |
4 verbose run-script [ 'pretest', 'test', 'posttest' ] | |
5 info pretest dimabay-spa@1.9.9 | |
6 info test dimabay-spa@1.9.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://trac.ffmpeg.org/wiki/Capture/Desktop | |
ffmpeg -framerate 25 -video_size 1024x768 -f x11grab -i :0.0+100,200 -f alsa -ac 2 -i pulse -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le output.mkv | |
losless | |
ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast capture.mkv | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install caffeine variety zsh vlc ffmpeg p7zip-rar p7zip-full unace unrar zip unzip sharutils rar uudeview mpack arj cabextract file-roller flashplugin-installer ubuntu-restricted-extras git mc apache2 php mysql-server mysql-client vim skype chromium-browser brasero ssh gimp | |
sudo apt install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 | |
sudo add-apt-repository ppa:linrunner/tlp | |
sudo apt-get update | |
sudo apt-get install tlp tlp-rdw smartmontools ethtool tp-smapi-dkms acpi-call-tools | |
sudo add-apt-repository ppa:atareao/atareao | |
sudo apt update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s_id=`curl -X POST http://127.0.0.1:4444/wd/hub/session -d '{"desiredCapabilities":{"browserName":"firefox","platform":"MAC"}}'|awk -F'"' '{print $6}'` | |
curl -X POST http://127.0.0.1:4444/wd/hub/session/$s_id/url -d '{"url":"http://www.google.com"}' | |
curl -X POST http://127.0.0.1:4444/wd/hub/session/$s_id/element -d '{"using":"id","value":"gbqfq"}' | |
curl -X POST http://127.0.0.1:4444/wd/hub/session/$s_id/element/0/value -d {"value":["selenium"]} | |
curl -X POST http://127.0.0.1:4444/wd/hub/session/$s_id/element -d '{"using":"id","value":"gbqfb"}' | |
curl -X POST http://127.0.0.1:4444/wd/hub/session/$s_id/element/1/click | |
curl -X DELETE http://127.0.0.1:4444/wd/hub/session/$s_id/window |
As of 20/10/2017, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker.
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88