Probably what you're looking for
[a]
Alternate (alternate version of the game, usually trying a different output method)[p]
Pirate
#!/bin/bash | |
# Function to display usage information | |
usage() { | |
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]" | |
exit 1 | |
} | |
# Check if at least one argument (input file) is provided | |
if [ $# -lt 1 ]; then |
var util = require('util') | |
function hook_stdout(callback) { | |
var old_write = process.stdout.write | |
process.stdout.write = (function(write) { | |
return function(string, encoding, fd) { | |
write.apply(process.stdout, arguments) | |
callback(string, encoding, fd) | |
} |
SELECT a1.* | |
FROM attribute a1 | |
WHERE a1.Name = 'referencenumber' AND a1.value LIKE '%A123%'; | |
SELECT a0.* | |
FROM attribute a0 | |
WHERE a0.userid IN ( | |
SELECT a1.userid | |
FROM attribute a1 | |
WHERE a1.Name = 'referencenumber' AND a1.value LIKE '%A123%'); |
<# | |
.SYNOPSIS | |
Converts files to the given encoding. | |
Matches the include pattern recursively under the given path. | |
.EXAMPLE | |
Convert-FileEncoding -Include *.js -Path scripts -Encoding UTF8 | |
#> | |
function Convert-FileEncoding([string]$Include, [string]$Path, [string]$Encoding='UTF8') { | |
$count = 0 |
<# | |
Powershell Module 7-Zip - 7-Zip commands for PowerShell | |
The functions in this module call 7za.exe, the standAlone version of 7-zip to perform various tasks on 7-zip archives. | |
Place anywhere, together with 7za.exe and 7zsd.sfx. 7za.exe is required for all operations; 7zsd.sfx for creating self | |
extracting archives. | |
http://www.7-zip.org | |
Import-Module [Your path\]7-Zip |
On an Arch machine, run: sudo pacman -S arch-install-scripts
to have the commands to install the OS into the USB
Make sure USB is NOT mounted and format it
wipefs -a /dev/sdX
where X is the assigned letter your USB is mounted on
fdisk /dev/sdX
If you've ever customized your app icons or played around with Shortcuts (previously called Workflow), you probably know how important URL scheme names are. Nearly all iOS apps assign themselves one of these names, and you need to know them if you want to add custom icons to your home screen or create a Shortcuts workflow that opens an app on your iPhone up. Finding the URL scheme name, also known as a URI scheme, for a particular app is not easy. First, you have to download the IPA file for the app — a difficult task since the iTunes 12.7 update removed iOS apps from it. When you finally find the IPA, you have to turn it into a ZIP file, show the contents of the app package, then hunt for the specific PLIST file that contains the URL schemes. It's a lot of work.
This example
// Let's make it possible to create pure functions even when we're | |
// dealing with impure operations that would have side effects! | |
// First we'll need a "Type" that can contain a (sometimes impure) function | |
function IO(fn) { | |
if (!(this instanceof IO)) {//make it simpler for end users to create a type without "new" | |
return new IO(fn); | |
} | |
this.runIO = fn;//IO now provides an extra control layer that allows the composition of unexecuted effects |