Skip to content

Instantly share code, notes, and snippets.

View naveen's full-sized avatar

naveen naveen

View GitHub Profile
@ttunguz
ttunguz / gist:686bb1e28f2df4e66373cdf57bf61627
Created December 15, 2023 05:50
Dictation with Whisper.cpp
from pynput.keyboard import Key, Listener, Controller
import sounddevice as sd
import numpy as np
from scipy.io.wavfile import write
import subprocess
import os
import re
import datetime
# Set the sample rate to 16 kHz
@devonzuegel
devonzuegel / clean-google-docs.css
Last active February 16, 2021 22:58
Custom styles for Stylus Chrome extension
/* This has moved to:
* https://github.com/devonzuegel/digital-nesting/blob/master/google-docs.css
*/
@karmi
karmi / .gitignore
Created April 8, 2012 21:35
Life Expectancy Slope Graph [WIP]
.DS_Store
@pamelafox
pamelafox / withings.py
Created December 8, 2011 18:59
Withings Python OAuth Wrapper
# -*- coding: utf-8 -*-
# Based on https://github.com/ikasamah/withings-garmin/blob/master/withings.py
import urllib
from datetime import datetime
import urlparse
import oauth2 as oauth
try:
import json