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
enum SquarePossibilities { | |
X = 'X', | |
O = 'O', | |
} | |
type SquareType = SquarePossibilities | null; | |
/** | |
* Return winner from tic tac toe game | |
* @argument squares: SquareType[] |
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
# Using https://github.com/jiahaog/nativefier | |
nativefier \ | |
--name workplace-for-linux \ | |
--show-menu-bar \ | |
--single-instance \ | |
--tray start-in-tray \ | |
work.workplace.com |
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
# Using https://github.com/jiahaog/nativefier | |
nativefier \ | |
--name cobasi-mail-for-linux \ | |
--ignore-certificate \ | |
--insecure \ | |
--show-menu-bar \ | |
--tray start-in-tray \ | |
--single-instance \ | |
mailnew.cobasi.com.br |
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
// Convert part of the body to base64 (same format as messages) | |
var data = JSON.parse(pm.request.body.raw); | |
const newBody = { | |
...data, | |
message: { | |
data: Buffer.from(JSON.stringify(data.message.data)).toString('base64'), | |
} | |
}; |
OlderNewer