![[Pasted image 20250505184609.png]]![[Pasted image 20250505184630.png]] ![[Pasted image 20250505184706.png]]
I hereby claim:
- I am meghprkh on github.
- I am meghprkh (https://keybase.io/meghprkh) on keybase.
- I have a public key ASAYrtkf-1crcIDKFouCRYuliwWZ5kM6qZLOfBKl2fl4dAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name iiith-moodle-attendance | |
// @namespace http://meghprkh.github.io/ | |
// @version 0.6 | |
// @description Convenient attendance viewing for IIIT-H Moodle | |
// @author Megh Parikh <[email protected]> | |
// @match https://moodle.iiit.ac.in/my/ | |
// @match https://moodle.iiit.ac.in/mod/attendance/view.php?*mode=1* | |
// @homepage https://gist.github.com/meghprkh/3ae064196d562f18d156c6d902505d20 | |
// @updateURL https://gist.github.com/meghprkh/3ae064196d562f18d156c6d902505d20/raw/iiith-moodle-attendance.user.js |
- Proxy and initial setup https://gist.github.com/meghprkh/63564c2a9c888d53c0f2
- DC++ https://gist.github.com/meghprkh/e5b8d48e718940356db06dc98d363941
- Nautilus tweaks and compress using file roller https://gist.github.com/meghprkh/f4d7c5a0c95b70a330db3a30a398de3d
- Ruby and Ruby on Rails https://gist.github.com/meghprkh/04220ca7f480de39ccb6f5683b6eb316
- Random DB software (BaseX, Lucene, Neo4j, MariaDB) https://gist.github.com/meghprkh/1d962de217ff45d9ad9b3de22bd91a99
- Nodejs using NVM https://gist.github.com/meghprkh/6670bb00ebee7a50cbaae77e86c400ce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xyz='file-roller ' | |
IFS=$'\n' | |
for i in `echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"` | |
do | |
xyz="$xyz -d \"$i\"" | |
done | |
eval "$xyz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!!/usr/bin/env python3 | |
import curses | |
class IO: | |
def __init__(self): | |
self.stdscr = curses.initscr() | |
self.stdscr.nodelay(True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project('valaprog', ['c', 'vala']) | |
glib = dependency('glib-2.0') | |
gobject = dependency('gobject-2.0') | |
executable('valaprog', 'prog.vala', | |
dependencies: [glib, gobject]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 | |
*/ |
NewerOlder