Skip to content

Instantly share code, notes, and snippets.

Working from home

Shadab Zafar dufferzafar

Working from home
View GitHub Profile
dufferzafar / Get lyrics tag from an MP3 file.ipynb
Created Aug 29, 2015
Use mutagen to get unsynced lyrics from an MP3 file.
View Get lyrics tag from an MP3 file.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
dufferzafar / MinDistArray.c
Last active Aug 29, 2015
Finding an array that is at minimum distance from a group of arrays.
View MinDistArray.c
# include <stdio.h>
# include <stdlib.h>
# include <time.h>
# include <math.h>
float distance(int *, int *, int);
void printArr(int *, int, int, char *);
void printMat(int **, int, int, char *);
int main(int argc, char const *argv[])
View C.sublime-build
"cmd" : ["gcc", "-Wall", "$file_name", "-o", "$file_base_name.exe"],
"selector" : "source.c",
"shell": true,
"working_dir" : "$file_path"
View GSoC 2014

GSoC Proposal

Personal Information

Name: Shadab Zafar

Nickname: Bittoo (pronounced: bit-two)

IRC Nick: dufferZafar

dufferzafar / Bootstrap 3.sublime-snippet
Created Jun 5, 2014
Bootstrap 3 Template for Sublime Text 3
View Bootstrap 3.sublime-snippet
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

Keybase proof

I hereby claim:

  • I am dufferzafar on github.
  • I am dufferzafar ( on keybase.
  • I have a public key whose fingerprint is 481E 4EFB 8089 E76F F840 2793 146C 8338 3F0C 5FF2

To claim this, I am signing this object:

View Monokai Extended Dark (SL).tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
dufferzafar / Jrnl.tmLanguage
Created Aug 13, 2014
Sublime syntax highlight for .jrnl files
View Jrnl.tmLanguage
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Jrnl File</string>
dufferzafar / dufferZafar's Resume (sorta).md
Created Sep 28, 2014
Profile Created for the Placement 2016 form. Finally Done.
View dufferZafar's Resume (sorta).md
dufferzafar / Hide Moz.ahk
Created Sep 30, 2014
Hide Private Mozilla Windows (like when your boss is around)
View Hide Moz.ahk
#SingleInstance, Force
SetTitleMatchMode, 2
PID := WinExist("Mozilla Firefox (Private Browsing)")
Hidden := 0
If (Hidden)