Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demoBased off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demoOnce in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| (() => { | |
| var ele = document.querySelector('history-app'); | |
| var historyItems = ele.shadowRoot.querySelector('history-list').shadowRoot.querySelector('iron-list').querySelectorAll('history-item'); | |
| historyItems.forEach((item) => { item.shadowRoot.querySelector('#checkmark').click(); }); | |
| ele.shadowRoot.querySelector('history-toolbar').shadowRoot.querySelector('cr-toolbar-selection-overlay').shadowRoot.querySelector('#delete').click(); | |
| var btnCont = ele.shadowRoot.querySelector('history-list').shadowRoot.querySelector('dialog').shadowRoot.children[3].querySelector('content[name="button-container"]'); | |
| btnCont.getDistributedNodes()[0].querySelector('.action-button').click(); | |
| })() |
| public class BadgeUtils { | |
| public static void setBadge(Context context, int count) { | |
| setBadgeSamsung(context, count); | |
| setBadgeSony(context, count); | |
| } | |
| public static void clearBadge(Context context) { | |
| setBadgeSamsung(context, 0); |
| // set-up a connection between the client and the server | |
| var socket = io.connect(); | |
| // let's assume that the client page, once rendered, knows what room it wants to join | |
| var room = "abc123"; | |
| socket.on('connect', function() { | |
| // Connected, let's sign-up for to receive messages for this room | |
| socket.emit('room', room); | |
| }); |