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
| import { ConversationReference, ConversationState, MemoryStorage, TurnContext } from "botbuilder"; | |
| import { CosmosDbStorage } from "botbuilder-azure"; | |
| /** | |
| * Complete documenation | |
| */ | |
| export enum HandoffUserState { | |
| Bot = "Bot", | |
| Queued = "Queued", | |
| Expert = "Expert" |
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
| # Boxstarter options | |
| $Boxstarter.RebootOk=$true | |
| $Boxstarter.NoPassword=$false | |
| $Boxstarter.AutoLogin=$true | |
| Install-WindowsUpdate getUpdatesFromMS -AcceptEula | |
| Disable-UAC | |
| Update-ExecutionPolicy RemoteSigned | |
| Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableExpandToOpenFolder -DisableShowRecentFilesInQuickAccess |
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
| // https://gist.github.com/penguinboy/762197 | |
| export function flatten(object: Object, separator: string = '.'): Object { | |
| const isValidObject = (value: {}): boolean => { | |
| if (!value) { | |
| return false; | |
| } | |
| const isArray = Array.isArray(value); | |
| const isBuffer = Buffer.isBuffer(value); |
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
| {"lastUpload":"2020-05-18T06:53:48.961Z","extensionVersion":"v3.4.3"} |
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
| sudo mv /var/lib/dpkg/info/{packagename}.* /tmp/ | |
| sudo dpkg --remove --force-remove-reinstreq {packagename} | |
| sudo apt-get remove {packagename} | |
| sudo apt-get autoremove && sudo apt-get autoclean |
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 path = require('path'); | |
| var webpack = require('webpack'); | |
| module.exports = { | |
| devtool: 'inline-source-map', | |
| entry: [ | |
| 'babel-polyfill', | |
| // 'webpack/hot/dev-server', | |
| // 'webpack-hot-middleware/client', | |
| './client/index.js' | |
| ], |
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
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: '13', | |
| // font family with optional fallbacks | |
| fontFamily: 'System, Consolas, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
| // terminal cursor background color (hex) | |
| cursorColor: '#48CC00', |
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
| app.get('/', function(req, res){ | |
| var ua = req.header('user-agent'); | |
| if(/mobile/i.test(ua)) { | |
| res.render('mobile.html'); | |
| } else { | |
| res.render('desktop.html'); | |
| } | |
| }); |
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
| import grails.util.Environment | |
| import grails.util.Environment | |
| import org.apache.commons.lang.SystemUtils | |
| def npmPrune = SystemUtils.IS_OS_WINDOWS ? "cmd /c npm prune" : "npm prune" | |
| def npmInstall = SystemUtils.IS_OS_WINDOWS ? "cmd /c npm install" : "npm install" | |
| def npmStart = SystemUtils.IS_OS_WINDOWS ? "cmd /c npm start" : "npm start" | |
| def npmBuild = SystemUtils.IS_OS_WINDOWS ? "cmd /c npm build" : "npm build" |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
NewerOlder