Skip to content

Instantly share code, notes, and snippets.

View kulbhushanchand's full-sized avatar
👨‍🔬
Researcher

Kulbhushan Chand kulbhushanchand

👨‍🔬
Researcher
View GitHub Profile
@xavierfoucrier
xavierfoucrier / gpg-signing.md
Last active July 3, 2025 16:50
GPG signing with Git and Github Desktop

GPG signing – git github-desktop

Here is a short guide that will help you setup your environment to create signed commits or signed tags with Git locally. This has been extensively tested on Windows with Git and the Github Desktop application: I use it every day for my professional development projects.

I you face any issue, feel free to leave a comment below.

Summary

  1. Sign commits or tags
  2. Key passphrase
  3. Disable signatures
  4. Renew a GPG key
@leiradel
leiradel / retromods.md
Last active June 29, 2023 05:20
Retromods spec brain dump. *Highly volatile!*

Retromods

What is a mod?

A mod is a set of code and assets that changes or augments the way a game is run. Examples of mods are:

  • Music and sound packs that replace the original game music and sound.
  • Graphics packs that replace the original game graphics.
  • Level packs that change or replace the original game levels.
  • Achievements that are awarded to the players when they complete tasks in the game.
@alexymik
alexymik / XR2.control.m
Created March 11, 2014 23:28
Matlab code to control XR-2 Robotic Arm with an Xbox 360 controller
% Values you will most likely want to change:
ROBOT_STEPS = 20;
COM_PORT = 'COM9';
POLL_RATE = 0.1;
% Set up joystick
disp('Connecting to Xbox Controller... ');
XBOX_CONTROLLER = vrjoystick(1);
disp(caps(XBOX_CONTROLLER));
%disp(INSTRFIND);
@mathyourlife
mathyourlife / faster_getsystemtime.m
Last active October 13, 2017 10:11
Testing faster methods to retrieve the current system time in Matlab m-files so that simulations are not slowed down as much.
duration_1 = 0;
duration_2 = 0;
iter = 100000;
for i=1:iter
if mod(i,2) == 0
tic;
a = now();
duration_1 = duration_1 + toc;
else
tic;