A common and reliable pattern in service unit files is thus:
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
| // You can use maven-publish-helper.gradle script without changes and even share it between multiple | |
| // modules. Just place the maven-publish-helper.gradle file in the root directory of your project, | |
| // then apply it at the bottom of your module's build.gradle file like this: | |
| // ...content of module's build.gradle file... | |
| apply from: '../maven-publish-helper.gradle' | |
| publishing { | |
| publications { |
| #!/bin/bash | |
| # ldd drop-in replacement for cross-compilation toolchains. | |
| # Copyright (c) 2022 Jérôme Pouiller | |
| # | |
| # 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; either version 2 | |
| # of the License, or (at your option) any later version. | |
| # |
| @echo off | |
| rem By Ryan Pavlik, Sensics, Inc. <http://sensics.com/osvr> | |
| rem Copyright 2015-2016 Sensics, Inc. | |
| rem SPDX-License-Identifier: Apache-2.0 | |
| rem Put this in a directory of its own, preferably. It will create one file and two subdirectories. | |
| rem Doesn't hurt to run it more often than there are builds: it won't re-download (though | |
| rem it will harmlessly re-extract) | |
| rem Requires that you have wget and 7za (the command line version of 7z) in your path. |
| /*! | |
| * | |
| * NEW VERSION AT https://github.com/c-kick/mobileConsole | |
| * | |
| * hnl.mobileConsole - javascript mobile console - v1.3.8 - 04/01/2021 | |
| * Adds html console to webpage. Especially useful for debugging JS on mobile devices. | |
| * Supports 'log', 'trace', 'info', 'warn', 'error', 'group', 'groupEnd', 'table', 'assert', 'clear' | |
| * Inspired by code by Jakub Fiala (https://gist.github.com/jakubfiala/8fe3461ab6508f46003d) | |
| * Licensed under the MIT license | |
| * |
| /* ComputeGenerator.groovy by Ryan Pavlik - maintained at https://gist.github.com/rpavlik/3ad0e691e5d51606bd67 */ | |
| /* Uncomment the following for testing purposes only */ | |
| /* | |
| VS='12' | |
| BIT='64' | |
| */ | |
| /* should give result [GENERATOR:Visual Studio 12 2013 Win64] */ | |
| # Git - for retrieving source | |
| sudo apt-get install git gitk git-core | |
| # CMake - for configuring the source, ccmake is a command-line "gui" provided by cmake-curses-gui, while cmake-gui is provided by cmake-qt-gui | |
| # Pulls in a lot of basic build deps with it if you don't have them. | |
| sudo apt-get install cmake cmake-curses-gui cmake-qt-gui | |
| # Installs the standard compilers, etc. | |
| sudo apt-get install build-essential |
| # udev file for USB interfaces on Sensics-based HMDs and emulated devices | |
| ### | |
| # Section to permit access to HID streaming | |
| ### | |
| # OSVR HDK (via HIDAPI/libusb) | |
| SUBSYSTEM=="usb", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0b00", MODE="0660", GROUP="plugdev" |
| $UpdateSession = New-Object -ComObject Microsoft.Update.Session | |
| $UpdateSearcher = $UpdateSession.CreateupdateSearcher() | |
| $Updates = @($UpdateSearcher.Search("IsHidden=0 and IsInstalled=0").Updates) | |
| $Updates | Select-Object Title |