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
| ///////////////////////////////////////////////////////////////////////////// | |
| // Name: src/osx/cocoa/nonownedwnd.mm | |
| // Purpose: non owned window for cocoa | |
| // Author: DavidStefan Csomor | |
| // Modified by: | |
| // Created: 2008-06-20 | |
| // Copyright: (c) Stefan Csomor | |
| // Licence: wxWindows licence | |
| ///////////////////////////////////////////////////////////////////////////// |
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
| if (i < (text.Length() - 1)) // if ch is not the last character in text | |
| { | |
| wxUniChar chNext = text.at(i+1); | |
| if (chNext == wxUniChar(0x3001) || chNext == wxUniChar(0x3002)) // Judou punctuation marks '、' and '。' | |
| { | |
| m_wrapped.RemoveLast(); | |
| i--; | |
| } | |
| m_wrapped << '\n'; |
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
| Reference: | |
| https://www.w3resource.com/mongodb/mongodb-backup-restore.php | |
| "============ BACKUP ===========" | |
| Default | |
| Dumps all the databases into current directory | |
| D:\mongodb\bin>mongodump | |
| Backup a Database with mongodump specify the --host and --port | |
| D:\mongodb\bin>mongodump --host 19.110.108.46 --port 27017 |
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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| type AmountType struct { | |
| Value string `json:"value"` |