In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| #In IDEA, go to Tools > Create Desktop Entry to create a launcher in /usr/share/applications. | |
| cp /usr/share/applications/jetbrains-idea.desktop ~/.local/share/applications/ | |
| #http://nufailm.blogspot.be/2012/05/custom-launcher-for-intellij-idea-in.html | |
| #http://stackoverflow.com/questions/14424254/intellij-launcher-doesnt-work-on-unity |
| # A class-based template for jQuery plugins in Coffeescript | |
| # | |
| # $('.target').myPlugin({ paramA: 'not-foo' }); | |
| # $('.target').myPlugin('myMethod', 'Hello, world'); | |
| # | |
| # Check out Alan Hogan's original jQuery plugin template: | |
| # https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template | |
| # | |
| (($, window) -> |
| const QUEUE_LENGTH = 1; | |
| var numRunningJobs = 0; | |
| var numWaitingJobs = 0; | |
| var parrallelCallback = function() { | |
| numRunningJobs --; | |
| if (numRunningJobs === 0 && numWaitingJobs === 0) { | |
| phantom.exit(); |