Skip to content

Instantly share code, notes, and snippets.

View CornerstoneII's full-sized avatar

Iyadi Ol'seun CornerstoneII

View GitHub Profile
@CornerstoneII
CornerstoneII / visualstudio2019Key.txt
Created January 21, 2023 21:35
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
[Please Star this gist]
**Follow Me On Instagram -->> https://www.instagram.com/ahtazaz_mughal/**
Whatsapp +923451525359
Visual Studio 2019 Enterprise
$(function() {
var topoffset = 70; //variable for menu height
//Use smooth scrolling when clicking on navigation
$('.navbar-nav a').click(function() {
if (location.pathname.replace(/^\//,'') ===
this.pathname.replace(/^\//,'') &&
location.hostname === this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
@CornerstoneII
CornerstoneII / fix_mic_lenovo320.md
Created August 12, 2020 22:49 — forked from Therises/fix_mic_lenovo320.md
Fix microphone on Lenovo IdeaPad 320 on Ubuntu 18.04

In /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf and /usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf:

  • Under [Element Internal Mic Boost] set volume to zero.
  • Under [Element Int Mic Boost] set volume to zero.
  • Under [Element Mic Boost] set volume to zero

Find your source name from the following command; mine is alsa_input.pci-0000_00_1f.3.analog-stereo

  $ pacmd list-sources | grep 'name:.*input'

Edit /etc/pulse/default.pa and add the following lines, where INPUT_NAME is name of the input source from above step: