Skip to content

Instantly share code, notes, and snippets.

View learning's full-sized avatar
🏠
Working from home

Learning learning

🏠
Working from home
View GitHub Profile
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active November 5, 2024 18:44
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@stroum
stroum / vibrator.cpp
Last active December 13, 2023 15:03
C++ XInput Vibrator
/*
The MIT License (MIT)
Copyright (c) 2015 Alexander Rizaev
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