From 15de698d1a6abd1d9da4befee7d54632d11ff54a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 8 Oct 2016 23:23:23 +0300 Subject: initial commit (compiled from a couple of Gists) --- cygwin.md | 32 ++++++++++++++++++ markdown.md | 34 +++++++++++++++++++ windows.md | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 174 insertions(+) create mode 100644 cygwin.md create mode 100644 markdown.md create mode 100644 windows.md diff --git a/cygwin.md b/cygwin.md new file mode 100644 index 0000000..d45b953 --- /dev/null +++ b/cygwin.md @@ -0,0 +1,32 @@ +Cygwin packages +=============== + +I install those on more or less every Cygwin installation at some point or +another, so I thought it would be nice to make a complete list. + +* `bc` +* `cmake` +* `curl` +* `cygcheck-dep` +* `dos2unix` +* `email` +* `gcc-g++` +* `git` +* `gnupg` +* `make` +* `mingw64-x86_64-gcc-g++` +* `nano` +* `openssh` +* `openssl` +* `p7zip` +* `patch` +* `patchutils` +* `python3` +* `rsync` +* `screen` +* `source-highlight` +* `sqlite3` +* `tree` +* `unzip` +* `vim` +* `wget` diff --git a/markdown.md b/markdown.md new file mode 100644 index 0000000..8e25227 --- /dev/null +++ b/markdown.md @@ -0,0 +1,34 @@ +Markdown style guide +==================== + +* `diff`- and HTML-friendliness is valued over human-readability. +* Every sentence starts on a new line ("semantic newlines"). +* Lines are at most 79 characters wide, not counting neither the carriage +return, nor the line feed characters. + * Not 80 characters, because when you display a 80-character line with a +line feed at the end in Windows's Command Prompt, an extra empty line is added. +* No hanging indents in lists. + * Nested lists are indented with 4 spaces. + * No hanging indents in those also. + * Longer items wrap at 79 characters and continue from the leftmost +character column. +Additional sentences start there also. +* Prefer reference-style linkes over inline links. +Use implicit reference link names where appropriate, omitting the second pair +of brackets `[]` entirely. +* First- and second- level headers are underlined (with `=` and `-`). +The number of `=` (or `-`) signs must be equal to the number of characters in +the header. +* File paths are enclosed in double quotes. +Environment variable names are enclosed in a pair of backticks (\`) unless it's +a part of a path. +Executable names are enclosed in a pair of backticks (\`) unless it's a part of +a path, a link or a header. +* Code blocks are indented with 4 spaces. + + Code blocks inside lists are indented with 4 * (list nesting level + 1) spaces. + +In a table, | the | first row | is underlined. +----------- | --- | --------- | -------------- +Leftmost | and | rightmost | vertical +lines | are | omitted. | diff --git a/windows.md b/windows.md new file mode 100644 index 0000000..1eb3df2 --- /dev/null +++ b/windows.md @@ -0,0 +1,108 @@ +Windows software +================ + +A list of useful Windows apps. +I install those on more or less every Windows installation at some point or +another, so I thought it would be useful to make a complete list. + +Essential +--------- + +* 7-Zip + * Associate file types and disable the "CRC SHA >" context menu entry in +Tools -> Options... + * Check `where 7z`. +* Far Manager + * Enable Explorer integration during installation. +* Google Chrome + * Don't sync history. +* Sublime Text 3 +* SumatraPDF + * Disable update checks. +* Sysinternals Suite + * Check `where procexp`. +* TeamViewer + * Disable integrated system health checks (Extras -> Options -> Advanced). +* VLC + * Disable update checks. + * Don't install web browser plugins. + +Optional +-------- + +* CCleaner + * Disable "system monitoring" & "Active Monitoring". + * Disable update checks. +* Ghostscript + * Check `where gswin32`/`where gswin64`. +* Graphviz + * Check `where dot`. +* ImageMagick + * Install "legacy utilities". + * Check `where convert`. +* qBittorrent + * Set downloads directory path. +* Skype + * Disable automatic startup. +* TeX Live + * Check `where pdflatex`. +* WinDirStat +* WinSCP + +Development +----------- + +* CMake + * Check `where cmake`. +* doxygen + * Check `where doxygen`. +* Haskell Platform + * `cabal update` + * Set `user-install: False` in "%APPDATA%\cabal\config" (optional). + * `cabal install hlint hoogle ShellCheck` (optional). +* Haskell Stack + * Update `STACK_HOME` (when installing to any directory other than the +default one). + * Check `where stack`. +* KDiff3 + * Disable Explorer integration using CCleaner. + * Check `where kdiff3`. +* Python + * Check `where python`. + * `pip install` numpy & matplotlib from +http://www.lfd.uci.edu/~gohlke/pythonlibs/. +* Ruby + * Check `where ruby`. + * Install DevKit (`dk.rb init` && `dk.rb install`). +* WinMerge + * Disable Explorer integration using Edit -> Options... -> Shell +Integration (possibly using CCleaner too). + * View -> Select Font... + +Configuration +============= + +* Disable User Account Control (Windows 7/8). This also works on Windows 10, +but, as with Windows 8, renders all "modern" applications unusable, which in +case of Windows 10 includes the infamous Cortana, disabling even the simplest +things (like searching among installed applications). + + reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System ^ + /t REG_DWORD /f /v EnableLUA /d 0 + +* Disable the "Get Windows 10" application (Windows 7/8): + + reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx ^ + /t REG_DWORD /f /v DisableGwx /d 1 + reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate ^ + /t REG_DWORD /f /v DisableOSUpgrade /d 1 + +* Disable automatic reboots after updates are installed (Windows 7/8/10): + + reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU ^ + /t REG_DWORD /f /v NoAutoRebootWithLoggedOnUsers /d 1 + +* Disable the "new app installed" notifications (Windows 8/10): + + reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer ^ + /t REG_DWORD /f /v NoNewAppAlert /d 1 -- cgit v1.2.3