Skip to content

Instantly share code, notes, and snippets.

@EhsanKhedive
EhsanKhedive / multi_smooth_ggpairs.R
Created April 18, 2024 23:16 — forked from padamson/multi_smooth_ggpairs.R
Add two regression lines to plots in ggpairs
require(datasets)
data("swiss")
require(GGally)
require(ggplot2)
my_fn <- function(data, mapping, ...){
p <- ggplot(data = data, mapping = mapping) +
geom_point() +
geom_smooth(method=loess, fill="red", color="red", ...) +
geom_smooth(method=lm, fill="blue", color="blue", ...)
import requests
import json
from pathlib import Path
def get_json():
data = {
'tipoExportacion': 'Productos',
'dataDto': '{"nombreComercial":"","titular":"","numRegistro":"","fabricante":"","idSustancia":null,"idAmbito":null,"idPlaga":null,"idFuncion":null,"idEstado":"1","idCultivo":null,"idSistemaCultivo":null,"idTipoUsuario":null,"ancestros":false,"fecRenoDesde":"","fecRenoHasta":"","fecInscDesde":"","fecInscHasta":"","fecModiDesde":"","fecModiHasta":"","fecCaduDesde":"","fecCaduHasta":"","fecLimiDesde":"","fecLimiHasta":""}',
}
@choco-bot
choco-bot / Install.txt
Created April 18, 2024 23:15
watchman v2024.04.15.00 - Failed - Package Tests Results
2024-04-18 23:15:34,793 3160 [DEBUG] - XmlConfiguration is now operational
2024-04-18 23:15:34,979 3160 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-18 23:15:34,994 3160 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-18 23:15:34,994 3160 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-18 23:15:34,994 3160 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-04-18 23:15:35,012 3160 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-18 23:15:35,025 3160 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-04-18 23:15:35,041 3160 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-18 23:15:35,041 3160 [DEBUG] - Adding new typ
# function to untar arxiv source files into a folder
untar_arxiv () {
# Check if the file has a .tar.gz suffix
if [[ $1 == *.tar.gz ]]; then
# Extract the base name without the .tar.gz suffix
base_name=$(basename "$1" .tar.gz)
mkdir -p "$base_name"
tar -xvf "$1" -C "$base_name"
else
# Add the .tar.gz suffix to the filename
Maintainers:
vinnymeller: quick-serve, quick-serve, quick-serve, quick-serve
x86_64-darwin quick-serve
aarch64-darwin quick-serve
x86_64-linux quick-serve
aarch64-linux quick-serve
x86_64-linux nixos-install-tools
aarch64-linux nixos-install-tools
x86_64-linux tests.nixos-functions.nixos-test
This file has been truncated, but you can view the full file.
[17:46:47] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.10
[17:46:48] [ForkJoinPool-1-worker-5/WARN]: Mod mr_stonecutter_damage uses the version 1-mcmeta-12-26_1.19.4-1.20.4+mod which isn't compatible with Loader's extended semantic version format (Invalid prerelease string 'mcmeta-12-26_1.19.4-1.20.4'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[17:46:48] [ForkJoinPool-1-worker-3/WARN]: Mod dev_isxander_libsdl4j uses the version 3.693c75e-36 which isn't compatible with Loader's extended semantic version format (Could not parse version number component '693c75e'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[17:46:48] [ForkJoinPool-1-worker-2/WARN]: The mod "infinityandmending" contains invalid entries in its mod json:
- Unsupported root entry "side" at line 11 column 11
@choco-bot
choco-bot / FilesSnapshot.xml
Created April 18, 2024 23:14
vscode-java v1.30.2024041008 - Passed - Package Tests Results
<?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\vscode-java\vscode-java.nupkg" checksum="9688CA1E2846968B48F72C821FB084D0" />
<file path="C:\ProgramData\chocolatey\lib\vscode-java\vscode-java.nuspec" checksum="5662E35F0B48F90C9DE828F466EA6104" />
<file path="C:\ProgramData\chocolatey\lib\vscode-java\legal\LICENSE.txt" checksum="D6806DA0EFF84C0B5565DD30624A9F0C" />
<file path="C:\ProgramData\chocolatey\lib\vscode-java\legal\VERIFICATION.txt" checksum="48D0967B501971CCC9D4171953D44F2F" />
<file path="C:\ProgramData\chocolatey\lib\vscode-java\tools\chocolateyinstall.ps1" checksum="89FC89009A29138B0168DF5D6411BCBB" />
<file path="C:\ProgramData\chocolatey\lib\vscode-java\tools\chocolateyuninstall.ps1" checksum="A083059E1E5567C02A6280D3BAA4CA41" />
<file path="C:\ProgramData\chocolatey\lib\vscode-java\tools\redhat.java-1.30