Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Shadab Zafar dufferzafar

🏠
Working from home
View GitHub Profile
@dufferzafar
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
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 Proposal.md

GSoC Proposal

Personal Information

Name: Shadab Zafar

Nickname: Bittoo (pronounced: bit-two)

IRC Nick: dufferZafar

@dufferzafar
dufferzafar / Bootstrap 3.sublime-snippet
Created Jun 5, 2014
Bootstrap 3 Template for Sublime Text 3
View Bootstrap 3.sublime-snippet
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html lang="en">
<head>
<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="">
View Keybase.md

Keybase proof

I hereby claim:

  • I am dufferzafar on github.
  • I am dufferzafar (https://keybase.io/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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>github.com/dufferzafar</string>
<key>colorSpaceName</key>
<string>sRGB</string>
<key>gutterSettings</key>
<dict>
@dufferzafar
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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>jrnl</string>
</array>
<key>name</key>
<string>Jrnl File</string>
@dufferzafar
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
dufferzafar / Hide Moz.ahk
Created Sep 30, 2014
Hide Private Mozilla Windows (like when your boss is around)
View Hide Moz.ahk
#NoTrayIcon
#SingleInstance, Force
SetTitleMatchMode, 2
PID := WinExist("Mozilla Firefox (Private Browsing)")
Hidden := 0
#h::
If (Hidden)