IT

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 






 







 


IT

 

 

AI  

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

Web  

 

 

PlayStation  

 

YouTuber  

 





 

 





 

 

 












Ubuntu crashes on windows: 0x80040326 Wsl error  

3users  
superuser.com  


I have Ubuntu 22.04 app installed on top of Windows. It worked fine until one day it crashed and now all I get is this error code when I try to start Ubuntu on windows. Error: 0x80040326 Error code: Wsl/Service/0x80040326 Press any key to continue... I'm running windows powershell version 2 wsl --list --verbose NAME STATE VERSION * Ubuntu-22.04 Running 2 I'm using Microsoft Office Home 10.0.22621



 

2023/03/30 11:02
 



















Why are tar.xz files 15x smaller when using Python's tar library compared to macOS tar?  

6users  
superuser.com  


Context I'm compressing ~1.3 GB folders each filled with 1440 JSON files and find that there's a 15-fold difference between using the tar command and Python's built-in tarfile library on macOS or Raspbian 10 (Buster) Minimal working example This script compares both methods: #!/usr/bin/env python3 from pathlib import Path from subprocess import call import tarfile fullpath = Path("/Users/user/Desk




 

2021/03/15 10:01
 



 











Why is the Alpine Docker image over 50% slower than the Ubuntu image?  

9users  
superuser.com  


I noticed that my Python application is much slower when running it on python:2-alpine3.6 than running it without Docker on Ubuntu. I came up with two small benchmark commands and there's a huge difference visible between the two operating systems, both when I'm running them on an Ubuntu server, and when I'm using Docker for Mac. $ BENCHMARK="import timeit; print(timeit.timeit('import json; json.d




 

2020/02/01 23:44
 







 











Issue with fetching http://deb.debian.org/debian/dists/jessie-updates/InRelease with docker  

3users  
superuser.com  


Im trying to run the command docker-compose build I get this output: Step 4/8 : RUN apt-get update && apt-get install -y google-chrome-stable ---> Running in ee9551cd38b9 Ign http://dl.google.com stable InRelease Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB] ..... Get:9 http://deb.debian.org jessie/main amd64 Packages [9098 kB] W: Fetched 10.1 MB in 6s (1519 kB/s) Failed to f




 

2019/05/16 15:27
 

















Rebooting Ubuntu on Windows without rebooting Windows?  

5users  
superuser.com  


Is it possible to reboot the Ubuntu sub-system without restarting my system? I tried to use the shutdown command after installing some updates, but that doesn't seem to be an option here. The screenshot text : ~$ bin/rcheck.sh Reboot required. ~$ sudo shutdown -r now shutdown: Unable to shutdown system




 

2018/10/16 07:24
 







 











Windows SSH: Permissions for 'private-key' are too open - Super User  

4users  
superuser.com  


I've OpenSSH 7.6 installed in Windows 7 for testing purposes. SSH client & server work just fine till I tried to access one of my AWS EC2 box from this windows. It seems like I need to change the permission on the private key file. This can be easily done on unix/linux with chmod command. What about windows? private-key.ppm is copied directly from AWS and I guess the permission too. C:\>ssh -V Ope




 

2018/10/02 15:10
 













Store the output of date and watch command to a file  

3users  
superuser.com  


I am a newbie to linux and I am trying to watch a command and try to log it into a file. I tried watch -t -n 10 "(date '+TIME:%H:%M:%S' ; ps aux | grep "pattern" | wc -l)" >> logfile and am expecting a result like TIME: 10:32:30 12 TIME: 10:32:40 18 TIME: 10:32:50 2 to be stored in logfile. However, when the logfile has unprintable characters in in. How do I get this kind of output from the comman




 

2018/08/10 11:40
 



 











tmux: enable mouse scrolling in vim instead of history buffer  

3users  
superuser.com  


I have just started using tmux 1.8 recently, after working with screen for a while. After reading things here and there on the internet, I came up with following ~/.tmux.conf However when I open vim and try to scroll with mouse tmux scrolls through its scroll buffer instead of sending the scroll command to vim. Is there a workaround? Following is my config: set-option -g default-shell /bin/bash se




 

2018/05/29 14:24
 













In ffmpeg, how to delay only the audio of a .mp4 video without converting the audio?  

3users  
superuser.com  


In my .mp4 file the audio delay is -3840 ms. I synced it in KMplayer, and I don't want to use MKVGUI to make a .mkv file. I just need to delay the audio by 3840 ms, everything else should be left intact. What would be the right command to accomplish this using ffmpeg? I would appreciate your help.




 

2018/01/13 23:14
 



 











FFMPEG / libx264: How to specify a variable frame rate but with a maximum?  

3users  
superuser.com  


Instead of providing a fixed frame rate to FFMPEG/libx264 (-r/-framerate), I would like to specify a variable frame rate with a MAXIMUM value, and allow libx264 to down the frame rate as it sees fit. The idea here is to get extra compression when there is something like an extended still frame (which happens A LOT in my source videos). I realize that a predictive or bidirectional MPEG frame will c




 

2018/01/08 15:20
 















Linux command get unused port  

4users  
superuser.com  


I'm looking for a command or script which returns an unused port on my ubuntu linux system. I have look on internet and the only thing I find is about the used/Listen port with the nestat command. Apparently something with the netstat command will work but don't know what exactly. Any idea how? Thanks.




 

2017/12/29 00:14
 



 











How to download video with blob url?  

4users  
superuser.com  


I am trying to download video with src url blob:https%3A//www.youtube.com/23aea5c8-9ae2-40dc-9417-e675ea99b386. Is there a process that can be followed to download all this type of videos?




 

2017/07/08 18:34
 













How can I enable WebGL in my browser?  

3users  
superuser.com  


I've made this answer a community wiki post, so please update it if you notice any out-of-date or missing information. Browser support for WebGL Check caniuse.com/webgl to see whether your browser supports WebGL. Enabling WebGL If your browser supports WebGL, follow these instructions to enable it: Chrome First, enable hardware acceleration: Go to chrome://settings Click the Advanced  button at t




 

2017/06/10 11:53
 



 











How to add the 'tree' command to git-bash in Windows?  

5users  
superuser.com  


Stack Exchange Network Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange




 

2017/03/02 09:56
 













Scrolling on Mac with Tmux and iTerm  

3users  
superuser.com  


I'm using iTerm 2.1.4 and Tmux on OS X Yosemite. I'd like to be able to scroll my iTerm windows up and down but I'm not sure what controls scrolling. Does tmux control scrolling when I use it with iTerm or does iTerm still control scrolling? I've tried using the various keys that are supposed to scroll iTerm but all I get are "~~~~~" characters on the command line. How do I scroll with this setup?




 

2017/02/19 01:07
 





 











How do I add text to the beginning of a file in Bash?  

3users  
superuser.com  


Hi I want to prepend text to a file. For example I want to add tasks to the beginning of a todo.txt file. I am aware of echo 'task goes here' >> todo.txt but that adds the line to the end of the file (not what I want).




 

2017/02/09 15:35
 













macOS keeps asking my ssh passphrase since I updated to Sierra

9users  
superuser.com  


It used to remember the passphrase, but now it's asking it to me each time. I've read that I need to regenerate the public key with this command, which I did: ssh-keygen -y -f id_rsa > id_rsa.pub but it didn't fix anything. How can I make macOS remember my passphrase again?




 

2016/12/25 00:57
 



 











How to change I/O priority of a process or thread in Win7?  

3users  
superuser.com  


Process Explorer is able to show the effective IO priority of a given thread, but not change it. Seeing as IO priority support is a comparatively new feature, most programs don't set their own IO priorities. It appears that by default the IO priority is derived from the thread priority (rather than process priority), which Process Explorer can't modify either. Are there any other tools out there t




 

2016/10/08 17:05
 



 











How can I SSH into "Bash on Ubuntu on Windows 10"?  

3users  
superuser.com  


I have Windows 10 Anniversary Edition with "Bash on Ubuntu on Windows" installed and working. I'd like to be able to SSH into this Ubuntu instance, but although I have openssh-server installed and configured (and listening on port 2200), when I try to ssh to "localhost:2200", it tells me "Server unexpectedly closed network connection". Has anyone been able to successfully accomplish this?




 

2016/09/17 18:03
 













How to remove/reset Windows Subsystem for Linux on Windows Insider Build 14316  

3users  
superuser.com  


I installed the Windows Subsystem for Linux on Windows 10 Insider Preview build 14316. Now I would like to remove it or, better, revert to its factory defaults i.e. as it was when just installed. I tried, to remove it from the "Turn Windows features on or off" windows, with no luck. I tried, to mark it as "off" in the above windows and delete its files manually located in %USERPROFILE%/AppData/Loc




 

2016/08/10 23:03
 



 











Windows Disk I/O 100% at boot for 20 Minutes  

7users  
superuser.com  


I have a fast computer (quad-core i7, 3.5 Ghz, 24 GB of RAM, Windows 8.1) and I installed a new hard drive less than a year ago that was supposed to be as fast as you could buy for an HHD and not an SSD. On boot, the computer is extremely slow for about 20 minutes (literally 20 minutes). Nothing will load. Opening programs will just hang. Went into Resource Monitor and found that my disk I/O is at




 

2016/07/06 19:05
 





















Removing ANSI color codes from text stream  

5users  
superuser.com  


The characters ^[[37m and ^[[0m are part of the ANSI escape sequences (CSI codes). See also these specifications. Using GNU sed sed -e 's/\x1b\[[0-9;]*m//g' \x1b (or \x1B) is the escape special character (GNU sed does not support alternatives \e and \033) \[ is the second character of the escape sequence [0-9;]* is the color value(s) regex m is the last character of the escape sequence Using the m




 

2016/06/28 16:19
 



 











Can I delete the folder C:\ProgramData\Package Cache\?  

3users  
superuser.com  


There is a new folder full of installers located at C:\ProgramData\Package Cache\. I believe this is from Visual Studio 2012 RC. Can I delete these gigabytes of data without consequences? Are they all temporary files? It's a beta product so I'm not sure there is much information out there about this folder.




 

2016/05/20 00:39
 













Error while trying to start PostgreSQL installed via Homebrew: "Operation not permitted"  

3users  
superuser.com  


I have recently installed PostgreSQL on my Mac via Homebrew. (I may have already had it installed; it was not running.) brew install postgres ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents Now I am trying to start it with launchctl: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist ...but I am getting an error: /usr/local/Cellar/postgresql/9.4.0/homebrew.mxcl.p




 

2016/04/02 15:22
 



 











Conclusively stop wake timers from waking Windows 10 desktop  

3users  
superuser.com  


Summary April 2022: I have made a new PowerShell script that will disable Windows' scheduled tasks to wake a device automatically. Use it alongside the other parts of this guide. Download it at: https://github.com/seagull/disable-scheduledWaking There are a number of things that can affect this. I'm aware there are posts all over this site detailing various different ways to approach the issue; th




 

2016/03/11 15:57
 





 











ConEmu: disable bell  

3users  
superuser.com  


I'm really appreciating conemu as an alternative windows shell, but the alert bell sound is driving me crazy! (I wear earbuds and that sound goes right through me..) Is there are an option to disable the bell alert noise (or switch for a screen flash or something)?




 

2016/02/24 23:19
 



 











ip command in Mac OS X terminal

3users  
superuser.com  


I use the command ip link in Linux. Now I want it on Mac OS X, but the Mac OS X terminal doesn't have ip. What should I use instead?




 

2016/02/21 16:16
 





 











How can I make Chrome stop caching redirects?  

3users  
superuser.com  


I am working on a web application that is using redirects (for pretty URLs). I am trying to debug logic in the way the redirects are working. However Google Chrome keeps remembering the redirects and even after I change the code, redirecting the same way. This is making it very hard to troubleshoot. For example if I redirect /this to /that, then change my code to NOT redirect /this anymore. Google




 

2016/02/16 17:21
 













Move pane to a new window in tmux  

3users  
superuser.com  


I know that it's possible in tmux to join a window as a pane, but is it possible to move a pane to it's own window (tab)? I tried searching it up the man page but couldn't find it. I guess it is possible doing it through a shell script, but is there some other, more elegant way?




 

2016/02/03 14:57
 



 








 




























 

Super User  

 



j

k

l

e

o
 
 
















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 





x