Skip to content

Instantly share code, notes, and snippets.

View fledra's full-sized avatar
🍻
cracking open a cold one with the boys

baran fledra

🍻
cracking open a cold one with the boys
View GitHub Profile
@Stuyk
Stuyk / stylesheet.less
Last active March 3, 2022 05:05
Drag and Drop Inventory for alt:V
Vue.component('inventory', {
data: () => {
return {
inventory: [],
targetDrag: null,
hoveredItem: null,
targetTooltip: null,
mouseX: 0,
mouseY: 0
};
@darencard
darencard / auto_git_file.md
Last active May 1, 2024 23:18
Automatic file git commit/push upon change

Please see the most up-to-date version of this protocol on my blog at https://darencard.net/blog/.

Automatically push an updated file whenever it is changed

Linux

  1. Make sure inotify-tools is installed (https://github.com/rvoicilas/inotify-tools)
  2. Configure git as usual
  3. Clone the git repository of interest from github and, if necessary, add file you want to monitor
  4. Allow username/password to be cached so you aren't asked everytime