Skip to content

Instantly share code, notes, and snippets.


Megh Parikh meghprkh

  • Bloomberg
  • London
View GitHub Profile

Keybase proof

I hereby claim:

  • I am meghprkh on github.
  • I am meghprkh ( on keybase.
  • I have a public key ASAYrtkf-1crcIDKFouCRYuliwWZ5kM6qZLOfBKl2fl4dAo

To claim this, I am signing this object:

meghprkh / iiith-moodle-attendance.user.js
Last active May 9, 2019
Convenient attendance viewing for IIIT-H Moodle - See first *comment* at the end of the page #userscript
View iiith-moodle-attendance.user.js
// ==UserScript==
// @name iiith-moodle-attendance
// @namespace
// @version 0.6
// @description Convenient attendance viewing for IIIT-H Moodle
// @author Megh Parikh <>
// @match
// @match*mode=1*
// @homepage
// @updateURL
meghprkh / Compress
Last active May 9, 2019
Nautilus Tweaks #fedora
View Compress
xyz='file-roller '
xyz="$xyz -d \"$i\""
eval "$xyz"
meghprkh / mathjax-editing.js
Created Sep 14, 2016 — forked from gdalgas/mathjax-editing.js
StackExchange MathJax editing code
View mathjax-editing.js
// The MIT License (MIT)
// Copyright (c) 2016 Stack Exchange
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
meghprkh /
Created Aug 31, 2016
When you dont have compile time errors
#!!/usr/bin/env python3
import curses
class IO:
def __init__(self):
self.stdscr = curses.initscr()
View fedora

Fedora dc++

  • NO LONGER NEEDED: Enable my copr repos:
    dnf copr enable meghprkh/eiskaltdcpp
  • Install eiskaltdcpp
    dnf install eiskaltdcpp-qt
meghprkh /
Last active Jul 4, 2016
Vala wiki meson build
project('valaprog', ['c', 'vala'])
glib = dependency('glib-2.0')
gobject = dependency('gobject-2.0')
executable('valaprog', 'prog.vala',
dependencies: [glib, gobject])
View guid.vala
* A class to store the GUID of the gamepad.
* The GUID is a unique 128-bit identifier issued by the driver which is
* dependent on the gamepad only and does not vary with time
public class LibGamepad.Guid : Object {
* Raw GUID data : 128-bits stored as eight 16-bit unsigned integers
meghprkh / demo_out.js
Created May 30, 2016
Guitar Tuner JSX GTK demo output
View demo_out.js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;