https://issues.sonatype.org/projects/OSSRH
https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134
plugins.sbt
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")| // "use strict"; | |
| var LibraryTst = { | |
| initialize: function (callback) { | |
| callback = Runtime.getFuncWrapper(callback, 'vi') | |
| var numBytes = 2 * Float32Array.BYTES_PER_ELEMENT | |
| var ptr = Module._malloc(numBytes) | |
| try { | |
| callback(ptr) |
| import java.io.{ByteArrayOutputStream, PrintWriter} | |
| import java.util.spi.ToolProvider | |
| enablePlugins(JavaAppPackaging) | |
| //this allows us to run tools like jdeps and jlink from within the JVM | |
| def runTool(name: String, arguments: Seq[String]): Either[String,String] = { | |
| val maybeTool: Option[ToolProvider] = { | |
| val _tool = ToolProvider.findFirst(name) | |
| if(_tool.isPresent) { |
https://issues.sonatype.org/projects/OSSRH
https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134
plugins.sbt
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")| #!/usr/bin/python3 | |
| import quick2wire.i2c as i2c | |
| import time | |
| import RPi.GPIO as GPIO | |
| import alsaaudio | |
| import threading | |
| import logging | |
| import sys | |
| #Work in progress library for Si473x for Raspberry Pi by Jonathan Thorpe <[email protected]> |
| package slickdemo | |
| import scala.reflect.macros.Context | |
| import scala.language.experimental.macros | |
| object Macros { | |
| // scala.reflect.runtime.currentMirror | |
| // universe.reify |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| import javafx.animation.Interpolator; | |
| import javafx.animation.Transition; | |
| import javafx.application.Application; | |
| import javafx.scene.Scene; | |
| import javafx.scene.layout.BorderPane; | |
| import javafx.scene.shape.Ellipse; | |
| import javafx.scene.shape.Rectangle; | |
| import javafx.scene.shape.Shape; | |
| import javafx.stage.Stage; | |
| import javafx.util.Duration; |
Due to the incessant swarm of complete and utter nonsense that has been forcing its way into Firefox over time, I've decided to start collecting my personal list of “must-have” about:config tweaks required to turn Firefox into a functional brower.
These can be used for nefarious purposes and to bypass access restrictions.
network.websocket.enabled=false