This file contains hidden or 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
A simple Plug bot in node with Docker. |
This file contains hidden or 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
version: "3.6" | |
services: | |
my_sql: | |
image: mysql:5.7 | |
volumes: | |
- ./data:/var/lib/mysql | |
secrets: | |
- my_secret |
This file contains hidden or 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
var mariasql = require('mariasql'); | |
var inspect = require('util').inspect; | |
var result = ''; | |
var dbclient = new mariasql(); | |
dbclient.connect({user: 'username', | |
password: 'password', | |
database: 'dlb', | |
host: 'localhost'}); |
This file contains hidden or 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
http://data.whicdn.com/images/38739703/squirrel-up-dog-gif_large.gif |
This file contains hidden or 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
Sub ChangeDate() | |
' | |
' ChangeDate Macro | |
' Update the date in both date boxes to same date (yesterday) | |
' Just a change for change's sake | |
' | |
' Keyboard Shortcut: Ctrl+d | |
' | |
Dim vcDateName As String | |
Dim vcDateYear As String |