Install required dependencies
$ pacman -S avahi pulseaudio-zeroconf| #!/usr/bin/env bash | |
| #=========================================================================== | |
| # Works only with the official image available in the Mac App Store. | |
| # Make sure you download the official installer before running this script. | |
| #=========================================================================== | |
| # Change this at your desire. Sometimes this works out of the box, sometimes not. | |
| # Default size: ~13.5 GB | |
| DISK_SIZE="13000m" |
| #!/usr/bin/env swift | |
| // | |
| // REPL.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2020 Julian Xhokaxhiu | |
| 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 furnished to do so, |
| // ==UserScript== | |
| // @name Stadia | |
| // @namespace Stadia | |
| // @version 0.1.1 | |
| // @description Will force and vp9 on any Stadia URL. | |
| // @author JulianXhokaxhiu | |
| // @include https://stadia.google.com/* | |
| // @grant none | |
| // ==/UserScript== |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII\1.00\Graphics] | |
| "DriverPath"="" | |
| "Driver"=dword:00000002 | |
| "Mode"=dword:00000002 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Square Soft, Inc.\Final Fantasy VII\1.00\Graphics] | |
| "DriverPath"="" | |
| "Driver"=dword:00000002 |
| #!/usr/bin/env bash | |
| #=========================================================================== | |
| # Works only with the official image available in the Mac App Store. | |
| # Make sure you download the official installer before running this script. | |
| #=========================================================================== | |
| hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction | |
| hdiutil detach "/Volumes/Install macOS Catalina" |
| #!/usr/bin/env bash | |
| ###################################################################################################################### | |
| # This script is a solution of when you want to pass Java options when they do come to the script as environment | |
| # variable, or when you declare them inside a variable, using quotes. When you do so, you may obtain from the Java | |
| # process an error that looks like this: | |
| # | |
| # $ ./java.sh | |
| # Error: Could not find or load main class ... | |
| # |
| /** | |
| * This will print in your Console window a list of values out of a selector contaning multiple matches. | |
| * | |
| * How to install: Copy the whole line and drag it into your browser. | |
| **/ | |
| javascript:var selector = prompt('Insert your CSS selector'); var tmpbuf = ''; document.querySelectorAll(selector).forEach( el => tmpbuf += (el.innerText||el.textContent)+'\n' ); console.log(tmpbuf) |
| # Create this file under /etc/systemd/system/ | |
| [Unit] | |
| Description=Start motion recording | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/curl http://localhost:8080/0/action/eventstart |