- Using username and password
ssh user@hostname ssh user@ip
- Using a key file
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 axios from 'axios'; | |
// Define the constants | |
export const BASE_URL = "http://develop.microideation.local:8080/gateway/"; | |
export const URL_USER_AUTHENTICATE= "api/web/authenticate"; | |
export const URL_REFRESH_TOKEN="api/web/refresh_token"; | |
// Define the miAPI as axios | |
const miAPI = axios.create({ | |
baseURL: BASE_URL, |
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
/** | |
* Enable this for dark mode | |
*/ | |
document.addEventListener('DOMContentLoaded', function() { | |
$.ajax({ | |
url: 'https://gist.githubusercontent.com/sandheepgr/c3c3fa065ffb33d1165438ebb32edec3/raw/7ff92b87f563a5add1361778120002f866d23476/slack-night-mode-custom.css', | |
success: function(css) { | |
$("<style></style>").appendTo('head').html(css); | |
} | |
}); |
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
body { background: #404040; color: #e6e6e6; } | |
a { color: #949494; } | |
a:link, a:visited { color: #949494; } | |
a:hover, a:active, a:focus { color: #c7c7c7; } | |
hr { border-bottom: 1px solid #424242; border-top: 1px solid #404040; } |