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/resize_image.cpp b/resize_image.cpp | |
index af8866f..ecca1c4 100644 | |
--- a/resize_image.cpp | |
+++ b/resize_image.cpp | |
@@ -203,7 +203,11 @@ void resizeImage( unsigned char *dst_buffer, int dst_width, int dst_height, int | |
x >>= 3; | |
//avoid resampling from outside the current cell | |
int ix = mx; | |
- if (((x+1)%cell_width)==0) ix = 0; | |
+ if (cell_width == 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
From 01ce72fb8086fb6984e4409739a821408045612e Mon Sep 17 00:00:00 2001 | |
From: Dudemanguy <[email protected]> | |
Date: Sat, 24 Feb 2024 15:07:31 -0600 | |
Subject: [PATCH] glocalfileinfo: add a dbus thumbnail generator | |
--- | |
gio/glocalfileinfo.c | 186 +++++++++++++++++++++++++++++++++++++++++-- | |
1 file changed, 179 insertions(+), 7 deletions(-) | |
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c |
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(HTSFilter) | |
library(edgeR) | |
suppressPackageStartupMessages(library(DESeq2)) | |
options(max.width=9999999, width=10000) | |
#define functions | |
#user input | |
print("Script for performing differential gene expression between two groups") | |
count_raw <- readline("Enter the file containing the count matrix \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
suppressPackageStartupMessages(library(GO.db)) | |
suppressPackageStartupMessages(library(biomaRt)) | |
#script for quickly searching and fetching terms from GO database | |
query <- readline("Input your search query in regex. \n") | |
zz <- Ontology(GOTERM) | |
goterms <- unlist(Term(GOTERM)) | |
whmf <- grep(query, ignore.case=TRUE, goterms) | |
df <- data.frame(goterms[whmf]) | |
goterm_list <- rownames(df) |
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 math | |
import numpy as np | |
import sys | |
e = float(1.602176565*10**(-19)) | |
c = float(299792458) | |
filename = sys.argv[-1] | |
fin = open(filename, 'r') | |
V = fin.readline() |
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 math | |
import numpy as np | |
import sys | |
filename = sys.argv[-1] | |
fin = open(filename,'r') | |
L1 = fin.readline() | |
L2 = fin.readline() | |
T1 = fin.readline() | |
T2 = fin.readline() |
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/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h | |
index a0a622c111..2af859433d 100644 | |
--- a/gtk/gtkfilechooserprivate.h | |
+++ b/gtk/gtkfilechooserprivate.h | |
@@ -32,10 +32,14 @@ | |
#include "gtktreestore.h" | |
#include "gtktreeview.h" | |
#include "gtkbox.h" | |
+#include "gtkiconview.h" | |
+#include "gtkscale.h" |
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/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c | |
index c11354248e..a994aa9c6f 100644 | |
--- a/gtk/gtkfilechooserdefault.c | |
+++ b/gtk/gtkfilechooserdefault.c | |
@@ -80,6 +80,7 @@ | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <locale.h> | |
+#include <math.h> | |