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
# YES - Means it stays in a damaged VM (Qube) | |
# qrexec | |
-rwxr-xr-x 1 root root 26864 Mar 4 2022 qrexec-client-vm YES | |
-rwxr-xr-x 1 root root 18432 Mar 4 2022 qrexec-fork-server YES | |
lrwxrwxrwx 1 root root 18 Mar 4 2022 qrexec-policy -> qrexec-policy-exec YES | |
-rwxr-xr-x 1 root root 125 Mar 4 2022 qrexec-policy-agent YES | |
-rwxr-xr-x 1 root root 126 Mar 4 2022 qrexec-policy-daemon YES | |
-rwxr-xr-x 1 root root 124 Mar 4 2022 qrexec-policy-exec YES |
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
#!/usr/bin/env python3 | |
import copy | |
A = {'v1': {'configuration': {'$schema': '...', 'network': {'$schema': '...'}}}} | |
E = {'v1': {'configuration': {'network': {'entries': {'$schema': '...'}}}}} | |
expected = {'v1': {'configuration': {'$schema': '...', 'network': {'$schema': '...', 'entries': {'$schema': '...'}}}}} | |
#def safe_update_dict(d_to: dict, d_from: dict): |
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
#!/usr/bin/env bash | |
curl -s https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints | grep -i li | grep -i \<code | awk -F '<' '{ print $3 }' | awk -F '>' '{ print $2 }' |
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
#!/usr/bin/env bash | |
# | |
#/ rmcontainer helps remove obstinate containers that are not easily removed by *podman rm* command. | |
#/ | |
#/ Usage: rmcontainer [OPTONS] [[PATH] [CONTAINER ID]] | |
#/ | |
#/ OPTIONS: | |
#/ | |
#/ General options: | |
#/ |
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
var win = window, | |
doc = document, | |
docElem = doc.documentElement, | |
body = doc.getElementsByTagName('body')[0], | |
x = win.innerWidth || docElem.clientWidth || body.clientWidth, | |
y = win.innerHeight|| docElem.clientHeight|| body.clientHeight; | |
alert(x + ' × ' + y); |
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
#!/usr/bin/bash | |
echo -ne '##### (33%)\r' | |
sleep 1 | |
echo -ne '############# (66%)\r' | |
sleep 1 | |
echo -ne '####################### (100%)\r' | |
echo -ne '\n' |
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
#!/usr/bin/bash | |
comvertAll() { | |
local heicFiles=$(ls ./106APPLE | grep -i heic) | |
for heicFile in ${heicFiles} | |
do | |
convert ./106APPLE/${heicFile} ./106APPLE-JPG/${heicFile}.jpg | |
done | |
} | |
comvertAll |
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
Index: build.gradle | |
=================================================================== | |
--- build.gradle (révision 1802325) | |
+++ build.gradle (copie de travail) | |
@@ -42,7 +42,8 @@ | |
ext.pluginsDir = "${rootDir}/plugins" | |
// java settings | |
-def jvmArguments = ['-Xms128M', '-Xmx1024M'] | |
+def jvmArguments = [System.getenv("OFB_MEM_XMS")?: '-Xms128M', |
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
[registries.search] | |
registries = ['docker.io', 'quay.io', 'registry.fedoraproject.org', 'registry.access.redhat.com'] | |
# If you need to access insecure registries, add the registry's fully-qualified name. | |
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP. | |
[registries.insecure] | |
registries = [] | |
# If you need to block pull access from a registry, uncomment the section below |
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
kex stop | |
kex --win -s |