What do you want to save?
Add Code snippet
New code examples
-
-
Javascript 2021-08-27 20:21:01
funcao com o botao esc do teclado javascript
document.querySelector('body').addEventListener('keydown', function(event) { var tecla = event.keyCode; if(tecla == 13) { // tecla ENTER } else if(tecla == 27) { // tecla ESC } else if(tecla == 37) { ... Add solution -
Shell/Bash 2021-08-27 20:17:01
ubuntu higher displayer resolution
1. Open a Terminal by CTRL+ALT+T 2. Type xrandr and ENTER 3. Note the display name usually VGA-1 or HDMI-1 or DP-1 4. Type cvt 1920 1080 (to get the --newmode args for the next step) and ENTER 5. Type sudo xrandr --newmode "1920x1080_60.00" 173... Add solution -
Other 2021-08-27 19:56:02
where the session data stored on server
When you start a session, the web server generates a session identifier that uniquely identifies the visitor. By default, session data is stored in the server's /tmp directory in files that are named sess_ followed by a unique alphanumeric string (the se... Add solution -
Javascript 2021-08-27 19:45:02
clean-webpack-plugin clearing dist folder
devServer: { index: 'index.html', contentBase: path.join(__dirname, 'dist'), compress: true, hot: true, //Hot module replacement port: 9000, writeToDisk:true, open: 'chrome' //open in chrome } this solved my question of keeping output files generated int... Add solution -
C++ 2021-08-27 19:12:02
get files in directory c++
#include <string> #include <iostream> #include <filesystem> namespace fs = std::filesystem; int main() { std::string path = "/path/to/directory"; for (const auto & entry : fs::directory_iterator(path)) std:... Add solution -
Shell/Bash 2021-08-27 19:02:01
"xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory
#1. install xcode #2. Ensure Xcode app is in the /Applications directory (NOT /Users/{user}/Applications) #3. run sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5