Most Popular

1500 questions
103
votes
5 answers

How can I change the timestamp on a file?

Possible Duplicate: How to modify timestamp in a dll or exe? Windows equivalent of the Linux command 'touch'? How can I set the timestamp for a file via the command-line to a specific date? My specific situation is Windows 7.
103
votes
3 answers

Give write permissions to multiple users on a folder in Ubuntu

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same…
103
votes
9 answers

How do I make Notepad++ delete lines like Eclipse does?

Eclipse has a keyboard shortcut which deletes either the current line (if nothing is selected) or all lines which are part of the currently selected text: Ctrl+D. Is there a way to make Ctrl+D do the same thing in Notepad++? The best I could do is…
Matt Ball
  • 3,912
103
votes
6 answers

git "ping": check if remote repository exists

I'd like to know whether a remote repository exists. Here's what I came up with: git ls-remote -h "$REPO_URL" &> /dev/null Is there any better way?
Jo Liss
  • 4,518
103
votes
22 answers

How can I delete all files/subfolders in a given folder via the command prompt?

I would like to delete all files and subfolders using a batch file in Windows 7 and keep the top folder. Basically emptying the folder.
Tony_Henrich
  • 12,156
103
votes
10 answers

How can I run an application with command line arguments in Mac OS

Is there any easy way to append command line arguments to an application on a Mac? For example, to run Opera in kiosk mode or to use a different profile in Firefox, I can type $ /Applications/Opera.app/Contents/MacOS/Opera -kioskmode $…
Andrew
  • 2,579
103
votes
6 answers

How many threads does ffmpeg use by default?

I see that there's a -threads command line option in ffmpeg. What is the default value of this option?
Edward Dale
  • 1,319
103
votes
6 answers

How can I open Google Chrome via command-line with a URL, in incognito mode?

When launching Chrome from the Windows command line I can pass arguments like so: ...>chrome.exe -incognito I can also pass a URL to open: ...>chrome.exe google.com Each work fine on their own, but I can't get them to work together. What I want is…
JD Isaacks
  • 8,674
  • 12
  • 42
  • 41
103
votes
23 answers

How can I make a Windows PC bullet-proof for home users?

I realize that virus-proof on a Windows PC is far fetched, but in the interest of keeping time spent as the "family-tech-support" to a minimum, I am looking for ideas to lock a computer down to the point that it is very hard to collect…
103
votes
5 answers

Email sent to me is addressed to MAIL@MAIL.COM. How is this done?

I was recently sent a scam email, and for giggles I opened it up to read it. Very plain, and not much effort thrown in. I noticed something peculiar; this email was not addressed to me. At first, I suspected a CC, or a BCC, but nowhere does it have…
tuskiomi
  • 854
103
votes
1 answer

How to open .dbml in designer mode with VS?

After installing Visual Studio 2017, my LINQ To SQL .dbml definitions open in a XML editor instead of the built in designer. How do I configure VS to open .dbml in Designer mode instead of XML editor?
Drag and Drop
  • 1,247
  • 3
  • 9
  • 12
102
votes
5 answers

Is it possible to disable smooth movement of the cursor in Office 2013/windows 10?

In office 2013 under windows 10, the text cursor appears to glide across the page smoothly, instead of advancing a character width at a time when I'm typing. I actually find this rather disconcerting, and watching it gives me something akin to…
Sidney
  • 1,335
102
votes
7 answers

How do I remove an SSH forwarded port

I used ssh -L 10002:192.168.0.30:10002 192.168.1.135 to establish port forwarding but now I need to remove it. How do I do this?
user16654
  • 1,273
102
votes
8 answers

How to get WYSIWYP (print what you see) in a web browser?

When I print a web page from my browser, I expect to get on paper exactly the content I'm seeing in the browser. To be precise: I expect the browser to render the same page contents the same way, except on a canvas with infinite height, and then…
reinierpost
  • 2,300
102
votes
4 answers

How can I make a custom keyboard layout in OS X?

I recently moved to OS X and I find the system "Russian Phonetic" layout unsatisfying (it's not the one that I'm used to). How can I create a custom layout? I've read about Ukelele, but the layout I created and copied to Library/Keyboard Layouts…
mik01aj
  • 1,574
  • 2
  • 12
  • 16