Skip to content

Instantly share code, notes, and snippets.

View whisperity's full-sized avatar

whisperity

View GitHub Profile
@mcserep
mcserep / canvas-audit.py
Last active February 12, 2023 17:03
Canvas LMS script to automatically check the quiz audit logs and filter out students who interrupted the quiz too many times.
"""MIT License
Copyright (c) 2021-2022 Mate Cserep, https://mcserep.web.elte.hu/
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:
@martonlederer
martonlederer / README.md
Last active September 8, 2024 09:18
Hungarian Programmer Keyboard (with extra chars, like ";,{,}, etc.") for the MacBook Pro

Hungarian Keyboard Layout for MacBook programmers

An extended keyboard made for developers used to the Linux / Windows Hungarian keyboard layout.

Install

  1. Download Ukelele and the file above (hungarian-programmer-keyboard.keylayout)
  2. Open the program and create a new keyboard layout collection (File > New Keyboard Layout Collection)
  3. Load the file that you downloaded by clicking the plus sign at the bottom-left of the window and clicking "Existing File"
  4. Open the installation organizer tool (File > Install > Show Organiser)
@maelvls
maelvls / README.md
Last active September 28, 2024 03:27
Ubuntu, libsecret, git-credential-helper

Dealing with secrets

GNOME comes with libsecret. You can use libsecret to store your git credentials:

sudo apt install libsecret-1-0 libsecret-1-dev libglib2.0-dev
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
@MattPD
MattPD / analysis.draft.md
Last active November 12, 2024 06:46
Program Analysis Resources (WIP draft)
@bittner
bittner / 60-jetbrains.conf
Created September 25, 2015 07:57
Inotify configuration for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). Create this file with e.g. `sudo vim /etc/sysctl.d/60-jetbrains.conf`
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm).
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and
# run `sudo service procps start` or reboot.
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# More information resources:
# -$ man inotify # manpage
# -$ man sysctl.conf # manpage
# -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use
@rlemon
rlemon / gist:3183650
Last active October 7, 2015 15:07
Gitnologic
Fork it, use it, break it, fix it,
Comm it, push it, pull - request it,
Fetch it, branch it, patch it, fake it,
Merge it, git: it, never - https: it.
Write it, cut it, paste it, save it,
Build it, check it, quick - rewrite it,
Clone it, crack it, crop it, comp it,
Drag and drop it, gzlib - gzip it.