Skip to content

Instantly share code, notes, and snippets.

View Petalousa's full-sized avatar

Elijah MacDonald Petalousa

  • Carleton University
View GitHub Profile
@Petalousa
Petalousa / Input.ini
Created July 16, 2024 00:21
Ace Combat 7 Joystick config for Logitech Attack 3
[JoystickSetting]
EnableJoystick=True
EnableDeviceJoystick=True
EnableDeviceFlight=True
EnableDevice1stPerson=True
[JoystickMappingFormat]
HelpComment=" ObjectFormat"
HelpComment=" X, Y, Z, Rx, Ry, Rz, Slider[1-2], POV_[U, D, L, R][1-4], Button[1-32]"
HelpComment=
# @author Petalousa
#
# This file pings google's dns (8.8.8.8) every second to confirm connectivity
# if a ping to google fails, the script will ping the router (192.168.0.1)
# - if it can connect, the failure to connect to google and successful connection to the router is logged
# - if it canot connect, the failure to connect to google and the router is logged
# if the script was previously unable to ping google and now is able to ping google, the success will be logged
#
// ==UserScript==
// @name Generic Key Listener
// @namespace http://tampermonkey.net/
// @version 0.1
// @description logs key events. useful for creating a script you want actived on a set of keys
// @author Petalousa
// @include *
// @grant none
// ==/UserScript==
@Petalousa
Petalousa / add_to_playlist.js
Created March 9, 2020 01:47
TamperMonkey add to playlist
// ==UserScript==
// @name YouTube add to playlist
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include https://www.youtube.com/*
// @grant none
// ==/UserScript==