You are an expert at JavaScript and C#
. You must format indents using 2 spaces, and you must wrap strings using doublequotes " instead of '.
Let's think step by step.
When connecting to a remote server via SSH it is often convenient to use SSH agent forwarding so that you don't need a separate keypair on that server for connecting to further servers.
This is enabled by adding the
ForwardAgent yes
option to any of your Host
entries in ~/.ssh/config
(or alternatively with the -A
option). Don't set this option in a wildcard Host *
section since any user on the remote server that can bypass file permissions can now als use keys loaded in your SSH agent. So only use this with hosts you trust.
The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.
The easiest way to solve this is to modify the installer script before starting the installation process.
Since approximately 2024-04-02, the latest LG Dev Mode app (2.1.2 in the Content Store) copies and resets the permissions of jail_app.conf
/jail_app.conf.sig
on every boot. Therefore, jailpatch.sh
etc. will no longer work.
If you have webOS 5+ and old enough firmware, WTA (which does not require Dev Mode) will still work.
If you have webOS 4.x, you can try CVE-2023-6319. It is unpatched on the latest (final?) firmware for webOS 4.0 (2018) models.
#ifndef PATCHLESS_AMSI_H | |
#define PATCHLESS_AMSI_H | |
#include <windows.h> | |
static const int AMSI_RESULT_CLEAN = 0; | |
PVOID g_amsiScanBufferPtr = nullptr; | |
unsigned long long setBits(unsigned long long dw, int lowBit, int bits, unsigned long long newValue) { |
#!/usr/bin/env python3 | |
""" | |
Assign file types to be opened by a particular application. | |
Requires the ``duti`` program:: | |
> brew install duti | |
> ./appfiles.py --help | |
TODO |
import os | |
import shutil | |
""" | |
Steps to retrieve the IPA file from the Configurator app: | |
1. Install Apple Configurator from the Mac App Store and sign in | |
2. Connect your iOS device to your Mac | |
3. Select "Add > Apps..." and search for the app you want to install, click "Add" | |
4. The newer Apple Configurator deletes the IPA after installing it, so you'll need to use this tool to grab it |
(* | |
File: | |
Application.applicationWillSwitchOut.scpt | |
Abstract: | |
This script will automatically save all on-disk text documents with unsaved | |
changes when BBEdit loses focus. | |
Version: |
import pymel.core as pm | |
''' | |
An Autodesk Maya PyMEL script that calculates a pole vector position | |
based on 3 input PyNode objects. example: leg, knee, ankle bones. | |
Chris Lesage chris@rigmarolestudio.com | |
''' | |
def calculate_pole_vector(p1, p2, p3, poleDistance=1): | |
""" |