Skip to content

Instantly share code, notes, and snippets.

View redtrillix's full-sized avatar

Zachary G redtrillix

View GitHub Profile
@redtrillix
redtrillix / DESTRONIA_CLA
Last active April 5, 2022 10:21 — forked from CLAassistant/SAP_CLA
Destronia Contributor License Agreement
### Destronia Contributor License Agreement
Thank you for your interest in contributing to open source software projects made available by Destronia or its affiliates. This Individual Contributor License Agreement sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Destronia in respect of any of the Projects and Contributions. If you have any questions respecting this Agreement, please contact server.destronia@gmail.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Definitions.**
@redtrillix
redtrillix / backup-v2.2.5.bat
Last active August 4, 2022 05:45
A batch backup script that uses 7-zip command-line.
:: Revision 2.2.5 | 2022-07-20 | 12:01
echo off
set year=%date:~-4,4%
set month=%date:~-7,2%
set day=%date:~-10,2%
set hour=%time:~-11,2%
set hour=%hour: =0%
set min=%time:~-8,2%
This file has been truncated, but you can view the full file.
123456
123456789
password
qwerty
12345678
12345
123123
111111
1234
1234567890
@redtrillix
redtrillix / ntp_query.bat
Created June 8, 2022 07:19
Simply queries an NTP server, just put an address after "/computer:".
w32tm /stripchart /computer:put.ip.here
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKLM\Software\Microsoft\WindowsSelfHost" /f
reg delete "HKLM\Software\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
@redtrillix
redtrillix / Auto-Refresh.js
Last active June 23, 2022 21:55 — forked from thefloodshark/.js
Tampermonkey Userscript - Website Auto-Refresh Timer
// ==UserScript==
// @name Auto-Refresh
// @author thefloodshark
// @editor redtrillix
// @include https://myanimelist.net/animelist/RedTrillix?order=5&status=1
// @include https://myanimelist.net/history/RedTrillix
// ==/UserScript==
setTimeout(function(){ location.reload(); }, 60*1000);
@redtrillix
redtrillix / README.md
Last active July 8, 2022 07:10
[Arch Linux - Flatpak] KeePassXC - Extesion not connecting.

Original comment: keepassxreboot/keepassxc-browser#1399 (comment)

Ok reporting back now.

The problem was that the org.keepassxc.keepassxc_browser.json file in my browsers profile directory was removed or not recreated in the most recent update.

It is fixed by creating this file:

/home/USER/.PROFILE_DIRECTORY/native-messaging-hosts/org.keepassxc.keepassxc_browser.json

Contents:

@redtrillix
redtrillix / run.ps1
Last active July 29, 2022 07:08
This powershell script will extract all zipped files located in the "dir\source" specified, and create their own directory.
Get-ChildItem -Filter *.zip -Recurse "dir\source" | % { $_.FullName } | Split-Path | Get-Unique | % { cd $_ ; &'C:\Program Files\7-Zip\7z.exe' x *.zip -o* }
@redtrillix
redtrillix / backup_destination.txt
Last active April 19, 2023 07:05
KeePassXC backup location.
["OneDrive\Apps\__macosx\backup_destination.txt"]
Rev 1 | ./backup/{DB_FILENAME}-{TIME:yyyy.MM.dd_hh.mm}.tar.gz
Rev 2 | ./backup/{DB_FILENAME}-{TIME:yyyy_MM_dd-hh_mm}.tar.gz
Rev 3 | ./backup/{DB_FILENAME}-{TIME:yyyy_MM_dd-hh}.tar.gz
Rev 4 | ./backup/{DB_FILENAME}-{TIME:yyyy_MM_dd}.tar.gz
@redtrillix
redtrillix / nm_l2tp_ipsec_vpn.md
Created September 8, 2022 07:51 — forked from pastleo/nm_l2tp_ipsec_vpn.md
setup L2TP IPSEC VPN in archlinux using NetworkManager