Skip to content

Instantly share code, notes, and snippets.

View husain-zaidi's full-sized avatar

Husain Zaidi husain-zaidi

View GitHub Profile
@husain-zaidi
husain-zaidi / loopbackaudio.go
Created May 15, 2022 10:28
Records desktop/system audio using malgo, loopback WASAPI backend. Saves raw audio. golang
package main
import (
"fmt"
"os"
"github.com/gen2brain/malgo"
)
func main() {
@husain-zaidi
husain-zaidi / app.js
Last active May 2, 2021 17:15
Scraper for Directorate of Medical & Health Services, Uttar Pradesh: Covid 19 Bed Tracker
const cheerio = require('cheerio');
const axios = require('axios');
const createCsvWriter = require('csv-writer').createObjectCsvWriter;
const csvWriter = createCsvWriter({
path: 'out.csv',
header: [
{id: 'hospitalName', title: 'Hospital Name'},
{id: 'lastUpdate', title: 'Last Update'},
{id: 'address', title: 'Address'},
{id: 'number', title: 'Phone Number'},