Multiple operating systems on the same PC and Large Drives
I've always had multiple OS on my Computer. Using MBR and Boot managers i was able to do this until now. But today i've replaced my Pc with a new one that have a large HDD , 5TB. Reading on inte et i've found that using MBR it's not possible to create partitions beyond the 2.2TB , so i can't manage ...
Nginx: Different static files for different URLs
I have two web applications ru ing on the same server, say, app1 and app2. app1 is the ROOT application, i.e. it will be launched whenever anyone hits the URL, say, http://example.com/ app2 is another application, which will be hit when some one hits the URL, say, http://example.com/newapp/ I am usi...
How to download/extract half a file
You have to download whole file to extract part of its contents. It's same with split archive (.rar, .r00, .r01 ...) If you download 99% of file, stop download, and try to extract it, only thing you can get is corrupted file error. It's just like tear some pages from really large book. If you want t...
Outlook 2016 Windows - Quick add contact fields
Outlook 2016 (Windows) has a feature that allows you to hover over a person's name and quickly add them to your address book. The problem is that the default fields are virtually useless, and for whatever reason, Microsoft did not think it would be necessary to include COMPANY NAME as a standard fie...
Vba Excel programming
Columns("R:R").Select Selection.AutoFilter ActiveSheet.Range("$R$1:$R$1000").AutoFilter Field:=1, Criteria1:=RGB(255, 0 , 0), Operator:=xlFilterFontColor Cells.Select ActiveSheet.Range("$A$1:$AN$1000").RemoveDuplicates Columns:=2, Header:=xlNo Rows("2:2").Select ActiveWindow.FreezePanes = True It gi...
How do I center text generated by Toilet?
To center text in general, you can use this #!/bin/bash center(){ tc=$(tput cols) while IFS= read -r line; do sp=$((($tc-${#line})/2+${#line})/2+${#line})) printf "%${sp}sn" $line done } # This works, but is not center # toilet -w $(tput cols) -f bigmono9 "$1" | lolcat # This works, but is not big #...
Tmux on Mac: How to bind "option" key?
I am adding this to my ~/.tmux.conf file and ru ing tmux source ~/.tmux.conf but it's not working set -g history-limit 100000 bind-key -n M-n next-window <--------------------- does not work bind-key -n M-c new-window '#{pane_current_path}' Could someone help? Let's block ads! (Why?)
Opening my monitor case?(LG FLATRON W2061TQ)
Based off a youtube video - which I've linked in the comments, it looks like it snaps together inte ally - You'd need to get something between the bezel and the other side of the case and pry it apart (which is a pretty typical way cheaper monitors. You may need to pull the bezel off the monitor as ...
Skype crashing, possibly because of webcam use
I've been skyping my parents for years now and it's always worked fine until recently. What started happening is that we'll be talking and I'll lose them for a few minutes, after which they'll explain to me that their computer (desktop PC (windows 7?)) started "making a lot of noise" before straight...
Create file - pipe to output
At first I must say that my English is not very well. I have to do my task from studies and I have a problem. I have to make file with version in the proper catalog. Information are in text file for example: com.amazonaws.services.cloudwatch;version=1.1.5 This is a direction to catalog, in which I h...
Disable syskey on a second HDD
So, I made a virus on a test PC that replaces 'Windows XP startup Password' dialog (syskey) with 'it is now safe to tu off your computer' dialog (both these dialogs are found in winlogon.exe. Now I need to revert back but didnt back the original file up, though replacing it with one in the dllcache ...