Most Popular
1500 questions
126
votes
4 answers
Zipping folders and their contents into a .zip file in Linux
How do I make a .zip file that contains every file AND every folder in the directory?
sdfhdfgujsdfbgdfsb
126
votes
3 answers
How do I unset or get rid of a bash function?
If you set or export an environment variable in bash, you can unset it. If you set an alias in bash, you can unalias it. But there doesn't seem to be an unfunction.
Consider this (trivial) bash function, for example, set in a .bash_aliases file…
quack quixote
- 42,640
126
votes
2 answers
Remote desktop without a password
I have an HTPC with a user that has no password and autologin.
I want to be able to connect to it via Remote Desktop without a password, so I can login with the original user. (I don't want to add another user just for the mstsc)
Is there a way of…
Am.
- 1,736
125
votes
6 answers
Run a script on start up on Windows 10
On previous versions of Windows I have used the below technique to run a batch file on Windows startup.
Create a shortcut to the batch file.
Once the shortcut is created, right-click the shortcut file and select Cut.
Click Start, then Programs or…
baynezy
- 1,391
125
votes
8 answers
How to shrink Windows 7 boot partition with unmovable files
I have just bought an HP laptop with Windows 7 (64 bit). It has a 500 GB HDD with three partitions: a small hidden system partition, a 12 GiB HP recovery partition, and a 450 GiB C: boot partition.
I would like to split this large C: partition into…
Alex Che
- 2,751
125
votes
4 answers
How to add command line options to shortcut?
How can I add command line options to an executable in a shortcut in Windows XP?
For example in the shortcut properties in target I have:
"c:\path\to\exe\pogram.exe"
I want to add some options:
"c:\path\to\exe\program.exe -option1…
Karl Voigtland
- 1,381
125
votes
5 answers
How to set character encoding when opening a CSV file in Excel?
Is it possible to set the default encoding for Excel (any version, e.g. 2010) when opening files like csv files (like you can in Open Office Calc)?
I When I try to open a csv file encoded in Japanese SHIFT-JIS, it opens but with mojibake (corrupted…
LozzerJP
- 1,383
125
votes
7 answers
File extension for Markdown files?
Is there an official file extension for standalone Markdown files?
Beat Rupp
- 1,381
- 2
- 9
- 7
125
votes
3 answers
How do I display line numbers in Emacs (not in the mode line)?
I know how to display line numbers (and columns) in the mode-line, but I'd like emacs to display the line numbers for all the lines on the left-hand side. I've seen this done in vim and other text editors. How do I do this for emacs?
Son of the Wai-Pan
- 2,369
125
votes
9 answers
How do I make Firefox forget HTTP Basic Auth?
How can I make Firefox "invalidate" it's saved HTTP Basic Auth credentials for a website from the client side?
Currently, I have to restart the browser, which is rather cumbersome with multiple tabs open.
Is there a way to do this without having to…
MiffTheFox
- 3,442
125
votes
9 answers
Can I use my laptop as a second monitor?
Is it possible to make my laptop's screen act as a second monitor for my desktop computer?
Edward Tanguay
- 14,075
125
votes
2 answers
How to start vim without executing /etc/vimrc?
On my Linux server at work, the admins did not install cscope, and I installed it from source in my home directory and added it to the $PATH. The trouble is, the /etc/vimrc has a reference to /usr/bin/cscope which does not exist and everytime I…
florin
- 1,451
125
votes
5 answers
How do these icons work: ✅️?
I can see these characters as colored icons:
✅️
It only works in Firefox for me. If you can't see the characters in color, it looks like this on my system (it's probably font-dependent):
I can even see them in firebug and tab titles:
And…
Tomáš Zato
- 4,474
125
votes
1 answer
How can a file's size on disk be 0 bytes when there's data in it?
I have a file in Windows 10 with 362 bytes of data, but the "size on disk" is just 0 bytes. It's a simple "Hello world" program written in assembly, and saved in Notepad++.
How is it possible that the size on disk is zero when the size of the file…
Coder88
- 1,123
124
votes
17 answers
Cortana Search is not finding applications on Windows 10
For the past several versions (since Windows Vista, I think), if you hit the Windows key and start typing, Windows will search for applications.
Since upgrading to Windows 10 with Cortana, she is only hit or miss at finding applications. And she…
CleverPatrick
- 2,042