What is the right way to launch tmux in Terminal.app on OS X
I have ... if [ "$TMUX" = "" ]; then tmux; fi ... in my .zshrc which works great for ssh co ections. However, I have trouble with Terminal.app. When I type exit, tmux closes, but I am left in an open window that says [exited]. I have to type exit again to close the window. How do I invoke tmux in Te...
Silent error when Terraform deploys to ECS
I’m new to Terraform and having problems setting up a very basic configuration. I want something that brings up my “docker-whale” image. From looking at Hashicorp and AWS docs, it seems I need an “aws_ecs_service” that uses a “aws_ecs_task_definition”. Using this example, I’ve created the below conf...
Uninstall Windows 10, but save licence key
I'm pretty sick of cleaning out viruses from my grandparents' computers and so I'd like them to give linux a try. Given that they only use their computers for basic web-browsing, this shouldn't be an issue. However, just in case they may change their minds in the future, I'd like the ability to roll...
Why the simplest Shell-Script isn't working?
Hello guys from a noob! I have ubuntu 14.04. I want to hide the path at Terminal and for that reason I typed the export PS1='> ' command which I found online with positive result. I thought to make it to a shell-script in order to not type it every time I open the terminal. So I created a .sh file a...
How to clean up unused partitions on internal SSD?
I have a desktop computer that contains a 1.2 TB PCIE SSD and an inte al 1TB SSD. I currently have the 1TB SSD configured for an Ubuntu/Windows dual boot system. However, I want to reconfigure the 1TB SSD as another drive for the Windows 7 system (essentially removing Ubuntu from the machine). The t...
VLC - "Continue playback" never works
Developer quote: For resume playback to work on mac, all of the following conditions need to be fullfilled. This is to avoid stupid questions to the user (like if he wants to continue at position 2 seconds after start of video, and similar). File must be a local file on your hard disk. No stream or ...
How to use RegEx modifiers within Ultraedit?
I'm looking for using regex modifiers like (/g global, /s single line, ...) on UltraEdit. I want to use them when applying Find/Replace on my files using UltraEdit. Note: I'm using UltraEdit for Windows (latest version UltraEdit v23).
Unable to access routers configuration page remotely
I'm a new to networking please bear with me. I have configured an account on no-ip.com to access my cameras remotely. So after installing their Dynamic Update Client it gave me a public address/domain. Previously when I went went to that address I could see my router from any where and then enable U...
How to write the file `nginx.service` on centos 7.2?
There is an example of mysqld.service, http://superuser.com/a/384525/577295 I need nginx.service,so I imitate it and write like this: [Unit] Description=Nginx Server After=network.target [Service] ExecStart=/usr/local/nginx/sbin/nginx --defaults-file=/usr/local/nginx/conf/nginx.conf --socket=/var/ru...
Keyboard shortcuts in LXDE don't work
I recently wanted to add some shortcuts to LXDE on Ubuntu 15.10 starting with adding Emacs to Super/Windows+A. So after searching around I tried putting this in my ~/.config/openbox/lxde-rc.xml right before </keyboard>: <keybind key="W-a"> <action name="Execute"> <command>emacs</command> </action> I...
Unexpected shutdown when not charging
I have come across an issue with my laptop today,it is a toshiba satellite and it is more than 3 years old. I unplugged it earlier today and after a couple of minutes,it shut down instantly;no blue screens,no error messages,much like a pc shuts down when unplugged. After that,i plugged it back in an...
Error to remove openSUSE repository
I'm using OpenSUSE Leap with Gnome I trying remove a repository to fix a error, but haven't success When I type sudo zypper ls is retu ing for me: sudo zypper ls # | Alias | Name | Enabled | GPG Check | Refresh | Type --+---------+---------+---------+-----------+---------+----- 1 | service | service...
Error with execute zypper install any-program
I'm using OpenSuse Leap with Gnome interface When I try execute sudo zypper install wine yesterday, the command retu for me fallowing messages: sudo zypper install wine root's password: Refreshing service 'service'. Unexpected exception. Parse error: repoindex.xml[338] Opening and ending tag mismatc...
SQL database is crashed
Our server was hit by some unknown virus which seems to have corrupted header information for many of our files including an important databases and some of its backups. However the log file (.LDF) for the live DB was not affected. We also have a relatively old .BAK backup file. Is it possible to br...