- command line values (for example, -u my_user, these are not variables)
- role defaults (defined in role/defaults/main.yml)
- inventory file or script group vars
- inventory group_vars/all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
import argparse | |
import json | |
import logging | |
import os | |
import re | |
import yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg \ | |
-hide_banner \ | |
-i "$infile" \ | |
-filter_complex "[0:v] [0:s] overlay, scale=-1:720" \ | |
-preset fast \ | |
-vcodec libx264 \ | |
-acodec aac \ | |
-sn \ | |
-y \ | |
-map_metadata -1 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
NEW_CONFIG='/root/grub.cfg.new' | |
OLD_CONFIG='/boot/efi/EFI/fedora/grub.cfg' | |
checkpoint() { echo -e "\033[1m\n$*\033[0m"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ABSTRACT | |
An attempt to programmatically apply highlights to a complex DOM | |
element using a set of character ranges. Ultimately, this | |
implementation does not work properly as the highlighted nodes go | |
off track when there are multiple ranges in the same text node. I | |
got tired of looking at it (and will probably go with rangy or | |
something) but something in here may be useful someday. | |
Updated 2021-02-25: I think I fixed it. The problem was that I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# FreeIPA | |
# | |
ldapmodify \ | |
-h 'ipa.test.priv' \ | |
-x \ | |
-D "$BIND_DN" \ | |
-w "$BIND_PW" \ | |
"$@" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Versions: | |
* JDK 11, Jdbi 3.16.0, Mockito 3.6.28 | |
*/ | |
package bazile; | |
import java.io.InputStream; | |
import java.io.Reader; | |
import java.math.BigDecimal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDAPTLS_CACERT=/path/to/ca.pem \ | |
ldapsearch ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>bazile</groupId> | |
<artifactId>test-build-props</artifactId> | |
<version>0.0.0</version> | |
<properties> | |
<maven.compiler.source>11</maven.compiler.source> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.HashSet; | |
import java.util.List; |
NewerOlder