Install required dependencies
$ pacman -S avahi pulseaudio-zeroconf
/* | |
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 |
#!/bin/bash | |
# | |
# How to use: | |
# 1. copy this shell file somewhere in your Mac | |
# 2. chmod +x create-iso.sh | |
# 3. $ sudo ./create-iso.sh | |
# | |
# The ISO file will be located in your Desktop when the script will be complete | |
hdiutil create -o /tmp/Mojave.cdr -size 6000m -layout SPUD -fs HFS+J |
#!/bin/bash | |
# | |
# Pre-requisite: move this script next to the .tar.gz image file | |
# you can download at http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz | |
# | |
# Usage: ./prepare_sdcard.sh /dev/sdb | |
# | |
##################################### | |
DRIVE_PATH=$1 |