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 csv | |
import networkx as nx | |
from networkx.drawing.nx_agraph import write_dot | |
# %% | |
# Create a directed graph | |
G = nx.DiGraph() | |
# Open and read the TSV 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
# %% | |
import pandas as pd | |
import numpy as np | |
from sklearn.decomposition import PCA | |
import matplotlib.pyplot as plt | |
import umap | |
# %% | |
# specify the file path |
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 | |
for f in Default/*.tif; do | |
convert "$f" -auto-level -depth 8 "8bit/$(basename "$f")" | |
done |
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
--- /etc/pam.d/sudo 2023-03-31 09:17:20.230708973 -0700 | |
+++ sudo 2023-03-31 09:14:05.772051938 -0700 | |
@@ -1,4 +1,6 @@ | |
# sudo: auth account password session | |
+auth optional /opt/homebrew/lib/pam/pam_reattach.so ignore_ssh | |
+auth sufficient pam_tid.so | |
auth sufficient pam_smartcard.so | |
auth required pam_opendirectory.so | |
account required pam_permit.so |
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
library(tidyverse) | |
library(asteRisk) | |
library(ggmap) | |
library(lubridate) | |
getLatestSpaceData() | |
iss_tle <- read_file( | |
"https://celestrak.com/NORAD/elements/gp.php?CATNR=25544&FORMAT=tle" | |
) %>% |
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
can_build = (b) => { | |
c = gamePage.bld.getPrices(b).map( | |
(p) => { | |
if (!gamePage.resPool.get(p.name).unlocked) { | |
return false | |
} | |
if (gamePage.resPool.get(p.name).maxValue === 0) { | |
if (gamePage.bld.get(b).val < 200) { | |
return true | |
} |
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
yay ffmpeg-full 1 ↵ 938 | |
4 aur/ffmpeg-full3.4 3.4.2-1 (+2 0.00%) | |
FFmpeg 3.4, designed to fix linking issues with packages that require this version of FFmpeg. | |
3 aur/ffmpeg-full-git 4.3.r96529.gd89f69e142-1 (+11 0.18%) | |
Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac; git version) | |
2 aur/ffmpeg-full-nvenc 1:4.2.2-1 (+29 0.03%) | |
Record, convert, and stream audio and video (all codecs including Nvidia NVENC) | |
1 aur/ffmpeg-full 4.2.2-2 (+78 0.02%) | |
Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac) | |
==> Packages to install (eg: 1 2 3, 1-3 or ^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
# vi: ft=conf | |
stub-zone: | |
name: "zen.spamhaus.org" | |
stub-prime: yes | |
stub-host: a.gns.spamhaus.org | |
stub-host: b.gns.spamhaus.org | |
stub-host: c.gns.spamhaus.org | |
stub-host: d.gns.spamhaus.org | |
stub-host: e.gns.spamhaus.org | |
stub-zone: |
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 | |
BOOTDISK="/dev/sda" | |
BOOTPART="1" | |
ROOT="/dev/sda3" | |
ROOTUUID="$(blkid -s PARTUUID -o value $ROOT)" | |
KERNEL="linux" | |
efibootmgr --disk "${BOOTDISK}" --part "${BOOTPART}" \ |
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
desc: (none) | |
cmd: ./vsearch --derep_fulllength test-identical.fasta --sizein --sizeout --output test-identical.fasta.derep.fasta | |
time_unit: i | |
#----------- | |
snapshot=0 | |
#----------- | |
time=0 | |
mem_heap_B=0 | |
mem_heap_extra_B=0 | |
mem_stacks_B=0 |
NewerOlder