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
######### | |
# SETUP # | |
######### | |
# dataset: MSSM or FULL | |
# AnnoLevel: class or subclass | |
params = list(dataset = "FULL", variable_type = "CAT", SampleLevel = "SubID", AnnoLevel = "class", ctst_key = "MSSM_AD__controls") | |
# Load CONTRASTS and metadata |
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
from PIL import Image | |
import numpy as np | |
def to_jpg(image_path, output_path, dimensions=(256, 256)): | |
with open(image_path, 'rb') as f: | |
img = np.frombuffer(f.read(), dtype=np.float32) | |
img = img.astype(np.uint8) | |
img = img.reshape((3, dimensions[0], dimensions[1])) | |
img = np.transpose(img, (2, 1, 0)) |
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-11 20:40:49,801 3624 [DEBUG] - XmlConfiguration is now operational | |
2025-02-11 20:40:49,940 3624 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,940 3624 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,940 3624 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,940 3624 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,940 3624 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,958 3624 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,958 3624 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:40:49,958 3624 [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
Pipeline still running ... | |
PipelineRun is still running: Tasks Completed: 25 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 5 | |
[set-github-started-label : post-comment] + EXTRA_ARGS= | |
[set-github-started-label : post-comment] + [[ ! -z operator-release-pipeline/started ]] | |
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/redhat-marketplace-operators/pull/968 | |
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started' | |
[set-github-started-label : post-comment] + [[ ! -z pipeline/trigger-release ]] | |
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-labels pipeline/trigger-release' | |
[set-github-started-label : post-comment] + [[ true == \t\r\u\e ]] | |
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels' |
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-11 20:39:42,452 2120 [DEBUG] - XmlConfiguration is now operational | |
2025-02-11 20:39:42,573 2120 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,573 2120 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,573 2120 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,573 2120 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,591 2120 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,591 2120 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,591 2120 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:39:42,591 2120 [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
--- | |
- name: Perform nslookup on IPs from a file | |
hosts: localhost | |
gather_facts: no | |
tasks: | |
- name: Read IPs from file | |
slurp: | |
src: ips.txt | |
register: ip_list |
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
Log uploaded on Wednesday, February 12, 2025, 4:39:23 AM | |
Loaded mods: | |
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0) | |
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1) | |
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Performance Fish(bs.performance): PerformanceFish(0.6.1.1) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
Biotech(Ludeon.RimWorld.Biotech): (no assemblies) |
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
# The initial version | |
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi | |
# My favorite from the comments. Thanks @richarddewit & others! | |
set -a && source .env && set +a |
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-11 20:38:01,524 6104 [DEBUG] - XmlConfiguration is now operational | |
2025-02-11 20:38:01,663 6104 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,663 6104 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,663 6104 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,663 6104 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,685 6104 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,685 6104 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,685 6104 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-11 20:38:01,696 6104 [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
Log uploaded on Wednesday, February 12, 2025, 1:28:21 AM | |
Loaded mods: | |
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Map Designer(zylle.MapDesigner): MapDesigner(1.0.0) | |
Replace Stuff(Uuugggg.ReplaceStuff): Replace_Stuff(av:1.0.0,fv:1.1.0) | |
Ancient urban ruins(XMB.AncientUrbanrUins.MO): ACM_RandomBuildings(1.0.0), AncientMarket_Libraray(1.0.0), AncientMarketAI_Libraray(1.0.0), BuildingExtraRenderer(1.0.0), DebugLogHarmony(1.0.0), 手电筒(1.0.0) | |
AAAA(Allowed Area Automatic Adapter)(seekiworksmod.no17): AAAA(3.1.0) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) |