This file contains hidden or 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 UIKit | |
| import MobileCoreServices // needed for kUTTypeGIF | |
| extension Array where Element == UIImage { | |
| /** | |
| Writes a looping animated gif to the documents folder, using the receiver's elements as the frames. | |
| Based on [this answer](https://stackoverflow.com/a/46095888/433373) from Stack Overflow. | |
This file contains hidden or 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
| @GrabConfig( systemClassLoader=true ) | |
| @Grapes([ | |
| @Grab(group='org.postgresql', module='postgresql', version='42.0.0'), | |
| @Grab(group='org.neo4j.driver', module='neo4j-java-driver', version='1.7.5') | |
| ]) | |
| import org.neo4j.driver.v1.*; | |
| import java.sql.*; | |
| Class.forName("org.postgresql.Driver"); |
This file contains hidden or 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 | |
| set +x | |
| PY_VERSION=3.10.1 | |
| export MAKE_OPTS="-j4" | |
| export PYTHON_CONFIGURE_OPTS="$PYTHON_CONFIGURE_OPTS --enable-framework" | |
| export PYTHON_CONFIGURE_OPTS="$PYTHON_CONFIGURE_OPTS --with-computed-gotos" | |
| export PYTHON_CONFIGURE_OPTS="$PYTHON_CONFIGURE_OPTS --with-system-expat" |
This file contains hidden or 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
| class SwiftUIAdapter<Content> where Content : View { | |
| private(set) var view: Content! | |
| weak private(set) var parent: UIViewController! | |
| private(set) var uiView : WrappedView | |
| var hostingController: UIHostingController<Content> | |
| init(view: Content, parent: UIViewController) { | |
| self.view = view | |
| self.parent = parent |
This file contains hidden or 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
| moved to https://aa755.github.io/decoding-human-body/ivermectin/2021/07/05/ivmrebuttal.html |
This file contains hidden or 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(rayshader) | |
| library(rayrender) | |
| popdata = raster::raster("gpw_v4_population_density_rev11_2020_15_min.tif") | |
| population_mat = rayshader:::flipud(raster_to_matrix(popdata)) | |
| above1 = population_mat > 1 | |
| above5 = population_mat > 5 | |
| above10 = population_mat > 10 |
This file contains hidden or 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
| package com.example.molecues; | |
| import java.util.Collections; | |
| import java.util.HashSet; | |
| import java.util.Objects; | |
| import java.util.Set; | |
| import java.util.concurrent.atomic.AtomicLong; | |
| import java.util.function.Supplier; | |
| import org.springframework.boot.CommandLineRunner; |
OlderNewer