Discover gists
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
{"apiVersion":"operators.coreos.com/v1alpha1","kind":"CatalogSource","metadata":{"creationTimestamp":"2025-02-06T20:34:41Z","generation":1,"managedFields":[{"apiVersion":"operators.coreos.com/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:displayName":{},"f:grpcPodConfig":{".":{},"f:securityContextConfig":{}},"f:icon":{".":{},"f:base64data":{},"f:mediatype":{}},"f:image":{},"f:secrets":{},"f:sourceType":{}}},"manager":"preflight","operation":"Update","time":"2025-02-06T20:34:41Z"},{"apiVersion":"operators.coreos.com/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:connectionState":{".":{},"f:address":{},"f:lastConnect":{},"f:lastObservedState":{}},"f:registryService":{".":{},"f:createdAt":{},"f:port":{},"f:protocol":{},"f:serviceName":{},"f:serviceNamespace":{}}}},"manager":"catalog","operation":"Update","subresource":"status","time":"2025-02-06T20:36:15Z"}],"name":"ack-lambda-controller","namespace":"ack-lambda-controller","resourceVersion":"49638","uid":"44ac0791-c5cb-4 |
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 h5py | |
def change_name(filepath, new_name): | |
with h5py.File(filepath, "a") as file: | |
file["/general/subject/subject_id"][()] = new_name |
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
2025-02-06 20:43:18,752 5608 [DEBUG] - XmlConfiguration is now operational | |
2025-02-06 20:43:18,968 5608 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,968 5608 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,968 5608 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,968 5608 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,968 5608 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,999 5608 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,999 5608 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-06 20:43:18,999 5608 [DEBUG] - Adding new typ |
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
diff --git a/tests/test_parser.py b/tests/test_parser.py | |
index 86584c3..74ad0a8 100644 | |
--- a/tests/test_parser.py | |
+++ b/tests/test_parser.py | |
@@ -16,6 +16,32 @@ Connection: close | |
'''.replace(b'\n', b'\r\n') | |
+RESPONSE1_HEAD_NON_ASCII_KEY = b'''HTTP/1.1 200 OK | |
+Date: Mon, 23 May 2005 22:38:34 GMT |
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
-- AH POST-SERVER LOGS -- | |
-- ServerID: c202e741-3621-47ff-9934-51758694a1e7 | |
-- Server started: February 06, 2025 08:27 PM UTC | Server uptime: 919 seconds | |
------------------ LOADB LOGS ------------------ | |
{ | |
} |
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"?> | |
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<files> | |
<file path="C:\ProgramData\chocolatey\lib\marktext.portable\marktext-x64-win.zip.txt" checksum="94F9ED27DB16B04D2C825C350DB6B0B8" /> | |
<file path="C:\ProgramData\chocolatey\lib\marktext.portable\marktext.portable.nupkg" checksum="EC2C701C7147AA3D569A3B2B21791465" /> | |
<file path="C:\ProgramData\chocolatey\lib\marktext.portable\marktext.portable.nuspec" checksum="BBD39123C3EE814E8BA4CDFEB2CEF3E5" /> | |
<file path="C:\ProgramData\chocolatey\lib\marktext.portable\tools\chocolateyinstall.ps1" checksum="69A8A3FD8B5592382F041323A1CE561A" /> | |
<file path="C:\ProgramData\chocolatey\lib\marktext.portable\tools\chocolateyuninstall.ps1" checksum="F91A23381040C62AADDD353445233701" /> | |
<file path="C:\ProgramData\chocolatey\lib\marktext.portable\tools\chrome_100_percent.pak" checksum="0FD0A948532D8C353C7227AE69ED7800" /> | |
<file path="C:\ |
This file has been truncated, but you can view the full file.
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"?> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32px" height="32px" viewBox="0 0 32 31" version="1.1"> | |
<g id="surface1"> |
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 | |
# Validación de argumentos | |
if [ "$#" -ne 3 ]; then | |
echo "Uso: $0 dispositivo origen destino" | |
echo "Ejemplo: $0 /dev/sda1 /ROLAND/GROOVEBOX/SAMPLE/L_SAMPLE /R_SAMPLE" | |
echo "Similar a: ln -s origen destino" | |
exit 1 | |
fi |
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
public static class CustomRouteHandlerBuilder | |
{ | |
public static RouteHandlerBuilder Validate<T>(this RouteHandlerBuilder builder) | |
{ | |
builder.AddEndpointFilter(async (invocationContext, next) => | |
{ | |
var argument = invocationContext.Arguments.OfType<T>().FirstOrDefault(); | |
if (argument is null) | |
return await next(invocationContext); |
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"?> | |
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<files> | |
<file path="C:\ProgramData\chocolatey\lib\nvm.portable\nvm-noinstall.zip.txt" checksum="E07E6E278CEA124104EF19FA9C7FBE3D" /> | |
<file path="C:\ProgramData\chocolatey\lib\nvm.portable\nvm.portable.nupkg" checksum="FF02B05B02BE0F87A0E9F50C08F94D88" /> | |
<file path="C:\ProgramData\chocolatey\lib\nvm.portable\nvm.portable.nuspec" checksum="7497EE2BA54061C4258F5A0454E41737" /> | |
<file path="C:\ProgramData\chocolatey\lib\nvm.portable\tools\chocolateybeforemodify.ps1" checksum="1CF3C10146BCEA67C9B62BE6AB98AEE7" /> | |
<file path="C:\ProgramData\chocolatey\lib\nvm.portable\tools\chocolateyinstall.ps1" checksum="D18B78E752DAD795B86C88008EB129D8" /> | |
<file path="C:\ProgramData\chocolatey\lib\nvm.portable\tools\chocolateyuninstall.ps1" checksum="8D6455BF08A22A0BECE24984D769ECE1" /> | |
</files> |