Skip to content

Instantly share code, notes, and snippets.

View paulness's full-sized avatar

Paul Ness paulness

  • New York City
View GitHub Profile
MSBuild locations
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin
@paulness
paulness / fix-messed-up-colors-in-powershell-vscode.md
Last active June 1, 2019 20:35
Sort out powershell integrated colors in VSCode / Windows

When using the integrated powershell terminal with VSCode, colors are taken into consideration from

  • The VSCode theme
  • The colors set in Powershell itself

I recommend matching both color schemes as closely as possible to make life easier for yourself.

For setting the powershell colors use this application which actually works: https://github.com/lukesampson/concfg I tried other tools like ColorTool already to no avail

Ensure you haven't already overridden any Powershell colors in this file $profile

@paulness
paulness / put-computer-to-sleep.md
Created May 25, 2019 11:52
Put computer to sleep without having sleep option in menu.
@paulness
paulness / post_install.sh
Last active September 27, 2020 23:48 — forked from KingsleyOmon-Edo/post_install.sh
Ubuntu post installation script for installing software of your choice.
#!/bin/bash
curl_check ()
{
echo "Checking for curl..."
if command -v curl > /dev/null; then
echo "Detected curl..."
else
echo "Installing curl..."
apt-get install -q -y curl
@paulness
paulness / File loading underscore
Created March 31, 2015 17:47
Underscore bug with jQuery load
<html>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>$('<div/>').load('http://localhost/gatedmedicalregistration/gistfile2.html', function (e) {
$(this).appendTo('body');
});
</script>
</body>
</html>