Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# Uninstall Visual Studio for Mac
echo "Uninstalling Visual Studio for Mac..."
sudo rm -rf "/Applications/Visual Studio.app"
rm -rf ~/Library/Caches/VisualStudio
rm -rf ~/Library/Preferences/VisualStudio
rm -rf ~/Library/Preferences/Visual\ Studio
rm -rf ~/Library/Logs/VisualStudio
@shobhitsharma
shobhitsharma / jessfraz.md
Created July 30, 2018 22:03 — forked from acolyer/jessfraz.md
Containers, operating systems and other fun things from The Morning Paper
optimization: {
runtimeChunk: 'single',
splitChunks: {
cacheGroups: {
common: { minChunks: 2, chunks: 'all', reuseExistingChunk: true }
}
}
},
@shobhitsharma
shobhitsharma / letsencrypt_2018.md
Created July 13, 2018 22:38 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files:

@shobhitsharma
shobhitsharma / vendors~main.7cef31d0.js
Created July 13, 2018 15:07
vendors~main.7cef31d0.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(e,t,n){"use strict";n.d(t,"x",function(){return i}),n.d(t,"e",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return f}),n.d(t,"r",function(){return d}),n.d(t,"u",function(){return p}),n.d(t,"o",function(){return h}),n.d(t,"h",function(){return m}),n.d(t,"q",function(){return g}),n.d(t,"v",function(){return b}),n.d(t,"w",function(){return w}),n.d(t,"f",function(){return k}),n.d(t,"l",function(){return E}),n.d(t,"g",function(){return x}),n.d(t,"m",function(){return C}),n.d(t,"j",function(){return S}),n.d(t,"y",function(){return T}),n.d(t,"t",function(){return P}),n.d(t,"s",function(){return N}),n.d(t,"n",function(){return j}),n.d(t,"z",function(){return R}),n.d(t,"p",function(){return A}),n.d(t,"k",function(){return U}),n.d(t,"A",function(){return I}),n.d(t,"i",function(){return M});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n
@shobhitsharma
shobhitsharma / vendors~main.7cef31d0.js
Created July 13, 2018 15:07
vendors~main.7cef31d0.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(e,t,n){"use strict";n.d(t,"x",function(){return i}),n.d(t,"e",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return f}),n.d(t,"r",function(){return d}),n.d(t,"u",function(){return p}),n.d(t,"o",function(){return h}),n.d(t,"h",function(){return m}),n.d(t,"q",function(){return g}),n.d(t,"v",function(){return b}),n.d(t,"w",function(){return w}),n.d(t,"f",function(){return k}),n.d(t,"l",function(){return E}),n.d(t,"g",function(){return x}),n.d(t,"m",function(){return C}),n.d(t,"j",function(){return S}),n.d(t,"y",function(){return T}),n.d(t,"t",function(){return P}),n.d(t,"s",function(){return N}),n.d(t,"n",function(){return j}),n.d(t,"z",function(){return R}),n.d(t,"p",function(){return A}),n.d(t,"k",function(){return U}),n.d(t,"A",function(){return I}),n.d(t,"i",function(){return M});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n
@shobhitsharma
shobhitsharma / main.7cef31d0.js
Created July 13, 2018 15:07
main.7cef31d0.js
!function(e){function t(t){for(var n,o,a=t[0],s=t[1],c=t[2],i=0,l=[];i<a.length;i++)o=a[i],j[o]&&l.push(j[o][0]),j[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(I&&I(t);l.length;)l.shift()();return D.push.apply(D,c||[]),r()}function r(){for(var e,t=0;t<D.length;t++){for(var r=D[t],n=!0,o=1;o<r.length;o++){var a=r[o];0!==j[a]&&(n=!1)}n&&(D.splice(t--,1),e=T(T.s=r[0]))}return e}var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,t){!function(e,t){if(b[e]&&E[e]){for(var r in E[e]=!1,t)Object.prototype.hasOwnProperty.call(t,r)&&(_[r]=t[r]);0==--y&&0===v&&P()}}(e,t),n&&n(e,t)};var o,a=!0,s="7cef31d0c7f123a3ea2d",c=1e4,i={},l=[],d=[],u=[],p="idle";function f(e){p=e;for(var t=0;t<u.length;t++)u[t].call(null,e)}var m,_,h,y=0,v=0,g={},E={},b={};function O(e){return+e+""===e?+e:e}function w(e){if("idle"!==p)throw new Error("check() is only allowed in idle status");return a=e,f("check"),(t=c,t=t||1e4,new Promise(function(e,r){if("undefined"==typeof XMLHttpRequest)return r(new Er
@shobhitsharma
shobhitsharma / main.7cef31d0.css
Created July 13, 2018 15:07
main.7cef31d0.css
#about-you .AboutYou {
position: relative;
line-height: 1.428571429;
font-size: 14px;
font-weight: 300;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
@shobhitsharma
shobhitsharma / vendors~main.7bede629.js
Created July 13, 2018 14:49
vendors~main.7bede629.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(e,t,n){"use strict";n.d(t,"x",function(){return i}),n.d(t,"e",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return f}),n.d(t,"r",function(){return d}),n.d(t,"u",function(){return p}),n.d(t,"o",function(){return h}),n.d(t,"h",function(){return m}),n.d(t,"q",function(){return g}),n.d(t,"v",function(){return b}),n.d(t,"w",function(){return w}),n.d(t,"f",function(){return k}),n.d(t,"l",function(){return E}),n.d(t,"g",function(){return x}),n.d(t,"m",function(){return C}),n.d(t,"j",function(){return S}),n.d(t,"y",function(){return T}),n.d(t,"t",function(){return P}),n.d(t,"s",function(){return N}),n.d(t,"n",function(){return j}),n.d(t,"z",function(){return R}),n.d(t,"p",function(){return A}),n.d(t,"k",function(){return U}),n.d(t,"A",function(){return I}),n.d(t,"i",function(){return M});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n
@shobhitsharma
shobhitsharma / main.7bede629.js
Created July 13, 2018 14:48
main.7bede629.js
!function(e){function t(t){for(var n,o,a=t[0],s=t[1],c=t[2],i=0,l=[];i<a.length;i++)o=a[i],j[o]&&l.push(j[o][0]),j[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(I&&I(t);l.length;)l.shift()();return D.push.apply(D,c||[]),r()}function r(){for(var e,t=0;t<D.length;t++){for(var r=D[t],n=!0,o=1;o<r.length;o++){var a=r[o];0!==j[a]&&(n=!1)}n&&(D.splice(t--,1),e=T(T.s=r[0]))}return e}var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,t){!function(e,t){if(b[e]&&E[e]){for(var r in E[e]=!1,t)Object.prototype.hasOwnProperty.call(t,r)&&(_[r]=t[r]);0==--y&&0===v&&P()}}(e,t),n&&n(e,t)};var o,a=!0,s="7bede629663c639e8a95",c=1e4,i={},l=[],d=[],u=[],p="idle";function f(e){p=e;for(var t=0;t<u.length;t++)u[t].call(null,e)}var m,_,h,y=0,v=0,g={},E={},b={};function O(e){return+e+""===e?+e:e}function w(e){if("idle"!==p)throw new Error("check() is only allowed in idle status");return a=e,f("check"),(t=c,t=t||1e4,new Promise(function(e,r){if("undefined"==typeof XMLHttpRequest)return r(new Er