Skip to content

Instantly share code, notes, and snippets.

View gaurav274's full-sized avatar
🏠
Working from home

Gaurav Tarlok Kakkar gaurav274

🏠
Working from home
  • Georgia Tech Exploratory Video Analytics Lab
  • Atlanta, Georgia
  • X @GauravTKakkar
View GitHub Profile
@gaurav274
gaurav274 / tmux-cheatsheet.markdown
Created October 9, 2019 17:50 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@gaurav274
gaurav274 / tmux.conf
Created May 17, 2020 05:16
tmux configuration
# cat << EOF > /dev/null
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# /!\ do not edit this file
# instead, override settings in ~/.tmux.conf.local, see README.md
# -- general -------------------------------------------------------------------
@gaurav274
gaurav274 / vimrc
Created May 17, 2020 05:19
vim configuration
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Vundle For Managing Plugins
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
@gaurav274
gaurav274 / gist:53a6ec12d2420e338be8d214f2104aae
Created July 12, 2020 04:16 — forked from lentil/gist:810399
PEP8 pre-commit hook in Python
#!/usr/bin/env python
from __future__ import with_statement
import os
import re
import shutil
import subprocess
import sys
import tempfile
@gaurav274
gaurav274 / listings.csv
Last active September 1, 2023 00:00
Table for Augmenting PostgreSQL with AI using EvaDB
id name summary neighbourhood
958 Bright, Modern Garden Unit - 1BR/1B New update: the house next door is under construction and there is the possibility of noise from 7am - 5pm. Our rates are discounted during this time period. Our bright garden unit overlooks a grassy backyard area with fruit trees and native plants. It is an oasis in a big city. The apartment comfortably fits a couple or small family. It is located on a cul de sac street that ends at lovely Duboce Park. Duboce Triangle
3850 Charming room for two Your own private room plus access to a shared bathroom across the hall. House is on a big hill with a great view. Plenty of 72-hour free parking in front. Free maps, breakfast food and advice about what to do in San Francisco. As part of the booking procedure, my house rules require you send me this sentence via the Airbnb message thread: "Kevin, I have read your listing and house rules carefully and I agree to follow what you wrote." If you don't, you forfeit your reservation and money. Inner
@gaurav274
gaurav274 / recreational_parks.csv
Created September 1, 2023 00:04
Table 2 for Augmenting PostgreSQL with AI using EvaDB
ParkName ParkType Zipcode
10TH AVE/CLEMENT MINI PARK Mini Park 94118
15TH AVENUE STEPS Mini Park 94122
24TH/YORK MINI PARK Mini Park 94110
ALAMO SQUARE Neighborhood Park or Playground 94117
ALICE CHALMERS PLAYGROUND Neighborhood Park or Playground 94112
We can't make this file beautiful and searchable because it's too large.
id,name,summary,neighbourhood
958,"Bright, Modern Garden Unit - 1BR/1B",New update: the house next door is under construction and there is the possibility of noise from 7am - 5pm. Our rates are discounted during this time period. Our bright garden unit overlooks a grassy backyard area with fruit trees and native plants. It is an oasis in a big city. The apartment comfortably fits a couple or small family. It is located on a cul de sac street that ends at lovely Duboce Park.,Duboce Triangle
3850,Charming room for two,"Your own private room plus access to a shared bathroom across the hall. House is on a big hill with a great view. Plenty of 72-hour free parking in front. Free maps, breakfast food and advice about what to do in San Francisco. As part of the booking procedure, my house rules require you send me this sentence via the Airbnb message thread: ""Kevin, I have read your listing and house rules carefully and I agree to follow what you wrote."" If you don't, you forfeit your reservation and money.",Inner
ParkName ParkType Zipcode
10TH AVE/CLEMENT MINI PARK Mini Park 94118
15TH AVENUE STEPS Mini Park 94122
24TH/YORK MINI PARK Mini Park 94110
29TH/DIAMOND OPEN SPACE Neighborhood Park or Playground 94131
ADAM ROGERS PARK Neighborhood Park or Playground 94124
ALAMO SQUARE Neighborhood Park or Playground 94117
ALICE CHALMERS PLAYGROUND Neighborhood Park or Playground 94112
ALICE MARBLE TENNIS COURTS Neighborhood Park or Playground 94109
ALIOTO MINI PARK Mini Park 94110
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
user_name,user_login,user_following,user_followers,user_email,user_id,user_location,user_bio,user_company,user_blog,user_url,user_twitter_username,user_repos,user_starred_repos
Paul Butler,paulgb,70,492,,46173,"Brooklyn, NY",building @drifting-in-space,Drifting in Space,http://paulbutler.org/,https://api.github.com/users/paulgb,paulgb,"[{'JavaScript', 'Chrome extension which blocks requests to sites which have used legal threats to remove themselves from other blacklists.', 'https://github.com/paulgb/BarbBlock', 'BarbBlock'}, {'https://github.com/paulgb/crossword-composer', 'crossword-composer', 'Rust', 'Constraint solver for word games.'}, {'farevis', 'https://github.com/paulgb/farevis', 'JavaScript', 'Visualization of flight prices'}, {'A Rust serializer/deserializer for Google Cloud Firestore.', 'Rust', 'https://github.com/paulgb/firestore-serde', 'firestore-serde'}, {'Draw great-circle maps from large sets of coordinate pairs', 'https://github.com/paulgb/gcmap', 'Python', 'gcmap'}, {'Haskell module for st
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
github_username,extracted_text
paulgb,"Paul Butler paulgb Follow building @drifting-in-space 8x 492 followers 70 following Bl Drifting in Space Brooklyn; NY http Ilpaulbutler orgl paulgb Achievements S0 Beta Send feedback Organizations 9 Block or Repont Pinned drifting-in-spacelplane Public drifting-in-spacelaper Public Session backend orchestrator for ambitious browser-based apps: Rust data structure built on state machines Rust 413k JavaScript 279 8 12 notify-runlnotify run Public Treeverse Public client for sending notifications t0 your own phone desktop. browser extension for navigating burgeoning Twitter conversations Python 288 TypeScript 502 BarbBlock Public simplediff Public Chrome extension which blocks requests to sites which have used legal Simple Diff Function implemented in Python; PHP; CoffeeScript and threats remove themselves from other blacklists. JavaScript JavaScript 626 Python 455 5 86 1,515 contributions in the last year Oct Nov Dec Jan Feb Mar Apr May Jun Aug Sep Mon Wed Learn howwe coun