jayharris / dotfiles-windows Goto Github PK
View Code? Open in Web Editor NEWdotfiles for Windows, including Developer-minded system defaults. Built in PowerShell
License: MIT License
dotfiles for Windows, including Developer-minded system defaults. Built in PowerShell
License: MIT License
When attempting a Git-Free install, the repository archive fails to download, throwing a The request was aborted: Could not create SSL/TLS secure channel.
exception.
In the chocolatey.ps1 file, we should either set the -y flag on all cinst
calls or, preferably, set the 'allowGlobalConfirmation' flag on chocolatey. This will prevent the yes/no/cancel
prompts on all installs.
Add support to the vs
and vsadmin
PowerShell commands to launch Visual Studio 2019. Use the location found in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe
The current console color theme is too dark; provides insufficient contrast.
Find something that lightens it up a bit.
The Python 2.7.9 installation through Web Platform Installer is broken. (WebPI is using an old CodePlex URL to install Python, and CodePlex is in Archive mode.) Switch the Python installation to using something else like Chocolatey.
When installing some node packages that use node-gyp
, such as node-inspector
, a CodeTaskFactory
error is thrown by MSBuild.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.v12.0.dll". Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.v12.0.dll' or one of its dependencies. The system cannot find the file specified.
This only occurs when the main Visual Studio is 2015, and not under 2013.
Make a scheduled task to clean up Windows (Clean temporary files, cleanup after Windows Update, and other items that Disk Cleanup is used for)
The black Windows 10 TaskBar is ugly on many backgrounds. Update Registry to enable colors.
With the May 2019 revision (Windows 1903), the Privacy registry settings have all been moved.
Startup speed is very slow, particularly on Extras and Exports.
Switch from fiddler4
to fiddler
choco package.
The fiddler4
package no longer exists:
fiddler4 not installed. The package was not found with the source(s) listed.
PSReadLine no longer uses TokenKind
. Reset usage to match color codes in windows.ps1
The Gvim profile references Source Code Pro, but it is not installed by the default dependencies script.
Update the windows
scripts for establishing settings for Build 2004.
Ease of Use settings are causing windows to snap as they reach a monitor edge in Parallels. This causes issues in some multi-monitor configurations.
Disable this setting.
Add keys for Windows Defender and disable automatic submissions
The OSX .dotfiles includes an update
alias that will download and install the latest OSX, Brew, NPM, and Gem updates. This would be useful in Windows, too.
Create an alias that will download and install the latest Recommended Updates from Microsoft Update, as well as update NPM modules and Gems (if NPM / Ruby are installed).
I use several VSSettings files, including one for a Single Monitor (on the road) and one for Multiple Monitors (at my desk). It would be great to have PoSh commands within Visual Studio's Package Manager Console to easily import VSSettings (rather than wasting time with the Import UI).
$dte.ExecuteCommand("Tools.ImportandExportSettings", "/import:""$path""")
Even though curl
is installed through chocolatey.ps1
, curl
commands are still shipped to Invoke-WebRequest
due to a default alias within PoSh.
Remove the alias: rm alias:curl
Might as well do the same for wget
since it is also a default alias for iwr
.
Configure Registry keys for Windows Privacy Settings
Add keys for Delivery Optimization and disable peering
Disable the prompt to remember passwords for IE / Edge.
The bootstrap
command will copy all of the repository files to their appropriate location. Create a reverse file that will gather scripts back into a local repository directory. This will be useful for when modifications to the scripts have been made in their primary locations and the changes should be persisted into the repository.
By default, .NET 4.5 is not installed with Windows 10. For Win10 users, the version check in install.ps1 needs to look for 4.6.x.
No need to start the SSH Agent.
dotfiles-windows/components/git.ps1
Line 3 in 3a0a12b
The Agent is already there and started by default in Windows 10. Starting via the PoSh module results in unable to start ssh-agent service, error :1058
Is there a way to set the default browser via the Registry? If so, Chrome.
The Visual Studio Functions (vs
, vsadmin
, and Install-VSExtension
) are not registered when running PoSh. If you run the functions
file a second time, they will be created.
The files that get copied there, are they supposed to auto execute?
As I have to do them manually?
I put the extra.ps1 in the folder root, but it didn't get used, is it in the wrong place?
Thanks for your hard work, and sorry for the stupid question.
Dave
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.