This guide will show step-by-step how to Install Arch Linux on UEFI mode.
- Bootable Flash Drive
- BIOS
- Pre installation
- Set Keyboard Layout
- Check boot mode
- Update System Clock
| [Unit] | |
| # Usage: systemctl enable --now duperemove-weekly@$(systemd-escape <path>).timer | |
| # Utilize %J specifier for duration set. | |
| # One can hardlink/copy with 'weekly' part changed | |
| # to set other duration. | |
| Description=Deduplicate %I at calendar event (%J) | |
| After=local-fs.target | |
| Requires=local-fs.target | |
| Conflicts=shutdown.target rescue.target rescue.service emergency.service |
| // ==UserScript== | |
| // @name YouTube Disable Normalization | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Allows true 100% volume on youtube videos. | |
| // @author Wouter Gerarts | |
| // @match https://www.youtube.com/* | |
| // @match https://youtube.com/* | |
| // @grant none | |
| // ==/UserScript== |
| This project has been moved to a GitHub repository to allow Pull Requests. | |
| See: https://github.com/Ewpratten/youtube_ad_blocklist |
| #include <X11/Xlib.h> | |
| #include <X11/Xutil.h> | |
| #include <X11/Xos.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <locale.h> | |
| #include <assert.h> | |
| Display *dpy; | |
| Window win; |
| // .stglobalignore | |
| // These prevent SyncThing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc. | |
| // Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment! | |
| // *.log and *cache* are in there, just so you know.. but firefox' startupCache and offlineCache will be synced. | |
| // Ignores are case sensitive. | |
| // Put both .stignore and this .stglobalignore in the root of your sync folder(s) (where .stfolder resides) | |
| $RECYCLE.BIN | |
| $WINDOWS.~BT |
| /* | |
| * Copyright (c) 2020 ericek111 <[email protected]>. | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, version 3. | |
| * | |
| * This program is distributed in the hope that it will be useful, but | |
| * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| # Get-EvengLog doesn't quite work I guess: | |
| # https://stackoverflow.com/questions/31396903/get-eventlog-valid-message-missing-for-some-event-log-sources# | |
| # Get-EventLog Application -EntryType Error -Source "DistributedCOM" | |
| # The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID | |
| #$logs = Get-EventLog -LogName "System" -EntryType Error -Source "DCOM" -Newest 1 -Message "The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID*" | |
| # 2 is error | |
| # 3 is warning | |
| $EVT_MSG = "The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID" | |
| # Search for System event log ERROR entries starting with the specified EVT_MSG | |
| $logEntry = Get-WinEvent -FilterHashTable @{LogName='System'; Level=2} | Where-Object { $_.Message -like "$EVT_MSG*" } | Select-Object -First 1 |
| #include <stdio.h> | |
| #include <locale.h> | |
| #include <X11/Xlib.h> | |
| #include <X11/keysym.h> | |
| int main(void){ | |
| setlocale(LC_ALL, ""); | |
| Display* dpy = XOpenDisplay(NULL); |
| #!/usr/bin/nft -f | |
| # ipv4/ipv6 Simple & Safe Firewall | |
| # you can find examples in /usr/share/nftables/ | |
| table inet filter { | |
| chain input { | |
| type filter hook input priority 0; | |
| # allow established/related connections | |
| ct state {established, related} accept |