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
function: rolldigits ROLL:s { | |
if 1@ROLL < 2@ROLL { result: 2@ROLL - 1@ROLL } | |
if 1@ROLL >= 2@ROLL { result: 1@ROLL - 2@ROLL } | |
} | |
output [rolldigits 2d10] |
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
/** | |
* Noise function from Ken Perlin. Additional routines are provided to emulate | |
* standard Renderman calls. This code was adapted mainly from the mrclasses | |
* package by Gonzalo Garramuno (http://sourceforge.net/projects/mrclasses/). | |
* | |
* @link http://mrl.nyu.edu/~perlin/noise/ | |
*/ | |
public final class PerlinScalar { | |
private static final double[] G1 = { -1, 1 }; |
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
https://github.com/terefang/shellutils/blob/master/CERTIFICATE_HOWTO.md | |
Windows: ftp://ftp.gnutls.org/gcrypt/gnutls/w32 | |
csr.tmpl | |
----- | |
# X.509 Certificate options | |
# The common name of the certificate owner. | |
#C = <two-letter-country-code> | |
country = <two-letter-country-code> |
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
/* pw strong > 3096 */ | |
function check_password_safety(_pwtocheck) | |
{ | |
var _bits = 0; | |
var _len = _pwtocheck.length; | |
for(var _i=0; _i<_pwtocheck.length; _i++) | |
{ |
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
package netty4.example; | |
import io.netty.bootstrap.ServerBootstrap; | |
import io.netty.buffer.AbstractByteBuf; | |
import io.netty.buffer.ByteBuf; | |
import io.netty.buffer.ByteBufUtil; | |
import io.netty.channel.*; | |
import io.netty.channel.nio.NioEventLoopGroup; | |
import io.netty.channel.socket.nio.NioServerSocketChannel; | |
import io.netty.channel.socket.nio.NioSocketChannel; |
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
# Fri Nov 5 10:17:44 2021 | |
# -- terefang | |
# -- busybox-1.34.1-non-pam.config | |
# | |
CONFIG_HAVE_DOT_CONFIG=y | |
# | |
# Settings | |
# | |
CONFIG_DESKTOP=y |
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
package com.github.terefang.randy.noise; | |
// Copyright (c) 2011, Giliam de Carpentier. All rights reserved. | |
// See http://www.decarpentier.nl/scape-procedural-basics/ for more info | |
// | |
// This file is licensed under the FreeBSD license: | |
// | |
// Redistribution and use in source and binary forms, with or without modification, are | |
// permitted provided that the following conditions are met: | |
// |