- https://stackoverflow.com/questions/12193020/file-mode-with-msysgit
- https://git-scm.com/docs/git-config
$ git config core.filemode false
This is great!!!
Now I can do “Search Files…” in Emacs’s dired-mode again — just like “everywhere”.
How to get it to start in the user’s home directory? Create a shortcut for runemacs.exe, move it to AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ ! Modify the properties of that shorcut accordingly!
I chose the approach “set language at runtime“:
sqldeveloper.exe --AddVMOption=-Duser.language=en
Works like a charm.
On the Win7 PC at work I have no admin rights, therefore I cannot change the config file mentioned in the thread.
N.B.: Running this utility does not require admin privileges.
Allows you to search for files / directories opened by process / applications.
E.g. I had started Excel today, and it “operated” in some directory. I ended Excel, at least I thought so – but it kept running (in “stealth mode”), and it kept “locking” that directory. And when I attempted to remove that directory in Explorer, Explorer wouldn’t let me do so. But of course Explorer did not tell me, who locked that directory. Process Explorer let me search for that directory using a partial name (substring of the full directory name) and identify the process / application in question. That way I got hold of Excel, ended that for real, and eventually I was able to remove that directory. Hurray!
All these packages resp. utilities do not require Windows admin rights for getting them “installed” – actually they do not need “a Windows system installation”.
Below C:\Users\jhayek I created a couple of subdirectories:
Packages resp. utilities:
After having worked with this set-up for a couple of days, I have to admit: this is not just a minimalist Unix-ish working environment, but it is rather enjoyable working environment. I do not have the GNU utilities with all their advantages (nice long command line options and lots of features) – but for most purposes the utilities built into busybox-w32 are good enough for my purposes. What a great idea it was to think of “busybox for Windows” a couple of days ago – and actually find “busybox-w32”!!! I had to consider a lightweight alternative of Cygwin, because on my new client’s Windows computers it’s not available.
ConEmu makes busybox-w32 and its shell (the “ash”) even more enjoyable.
GNU Emacs is as good as always – I can’t really describe how sad it is to not have it available in a serious working environment.
Strawberry Perl so far has all the modules, that my utilities need. I am really glad to have that “distribution”.
xmlstarlet is my XPath and XML Swiss Army Knife.
With all these utilities and packages available it’s even quite fun to work on Windows 7 😆
Autologon enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the Registry, to log on the specified user automatically.
Autologon is easy enough to use. Just run autologon.exe, fill in the dialog, and hit Enable. To turn off auto-logon, hit Disable. Also, if the shift key is held down before the system performs an autologon, the autologon will be disabled for that logon. You can also pass the username, domain and password as command-line arguments: …
Quite useful for a machine running a Jenkins agent.
My next “mistake” was to naively “diff” two “.rdp” files and to overcome some initial problem by passing “--text” to “diff“, and then “diff” showed exactly what I expected:
--text” makes diff “treat all files as text“The respective work environment is Win7, and I am using GNU diffutils etc as part of Cygwin.
PuTTY’s authentication agent pageant combines the functionality of ssh-agent and ssh-add, and if you start it up, it makes sense to add the necessary private keys on its command line. You can do this using a script, but in Windows it’s convenient to does this through a “.lnk” shortcut. And if you place that “.lnk” file in Windows’ user startup directory, you won’t forget to start it manually.
Here is a nice description of how to make “… Pageant automatically load keys on startup“:
Basically:
Recipe (Win <10):
%USERPROFILE%\AppData\Roaming\putty or %USERPROFILE%\etc\putty (that’s where you created resp. left your private keys using PuTTYgen)YOUR.ppk)– and the paths may be relative to the directory you mentioned in “Start in:“Recipe (…):
It’s helpful to dump the details of pageant.exe.lnk using one of these nice tools:
PuTTY’s authentication agent “Pageant” has its counterparts in: ssinf h-agent + ssh-add