Skip to content

Instantly share code, notes, and snippets.

View SquidDev's full-sized avatar
🦑
Under the sea

Jonathan Coates SquidDev

🦑
Under the sea
View GitHub Profile
@elliottwilliams
elliottwilliams / configuring-openldap.md
Last active August 29, 2015 13:57
Configuring OpenLDAP for OpenMRS ID

Configuring OpenLDAP for OpenMRS ID

Purpose of this document: To document how to configure [OpenLDAP][4] for a development environment of [OpenMRS ID][5]. OpenMRS ID requires other components (a mysql database, nodejs environment, a postfix server to connect to), but OpenLDAP is easily the most complicated to configure.

Installing

Install OpenLDAP. On Ubuntu, this is two packages:

local Args = {...} --Read Args
local Files = { } --All Files to include
local OutHandle = nil --File Handle to write to
local getDir = fs.getDir or function(str)
return str:match("(.*/)")
end
@CoderPuppy
CoderPuppy / amulet-type-ast.idr
Last active September 23, 2016 21:59
Amulet Type AST "Analysis"
data Type = TName TypeName -- Foo
| TVar TypeVar -- a
| TLambda TypeVar Type -- \(a : Type) => b -- not strictly necessary
| TForAll TypeVar Type -- \{a : Type) => b
| TExists TypeVar Type -- (a : Type ** b)
| TFunc Type Type -- a -> b
| TArrow Constraint Type -- a => b
| TInst Type Type -- a b
type Nat f g = forall a. f a -> g a
@exerro
exerro / style.css
Created November 6, 2016 16:51
Howl.ci style
p {
color: rgba(0, 0, 0, 0.8);
font-weight: 400;
}
a {
font-weight: 400 !important;
}
@Drup
Drup / sat_micro.ml
Last active June 15, 2020 17:17
SAT-MICRO, a Sat solver in 60 lines of code
(* Code extracted from:
SAT-MICRO: petit mais costaud !
by Sylvain Conchon, Johannes Kanig, Stéphane Lescuyer
*)
module type VARIABLES = sig
type t
val compare : t -> t -> int
end
@williewillus
williewillus / primer.md
Last active December 20, 2020 08:13
1.8.9 to 1.9 quick primer
<blockstate> == {
"forge_marker": 1,
"defaults": <variant>, // optional, added to all variants
"variants": {
"<property>": {
"<value>": <variant> // variant definition for the specified value of this property; variants for multiple values can be specified.
},
"<variant name>": <variant>, // variant definition for the full variant string
"<variant name>": [<variant1>, ...], // array of definitions for the full variant - result will be the random variant
}
@Yevano
Yevano / blods.lua
Created May 13, 2014 20:48
BLODS - Binary Lua Object (De)Serialization
--[[
BLODS - Binary Lua Object (De)Serialization
]]
--[[
Save on table access.
]]
local pairs = pairs
local type = type
local loadstring = loadstring
@Fingercomp
Fingercomp / 00-sound-card-toc.md
Last active April 8, 2023 17:34
Guide to the Sound Card

Notes should be taken with a grain of salt as it's just notes I took during the livestream and since I'm no contributor to forge I cannot attest to the accuracy of facts.

1.13 General

  • cpw is rewriting the mod loader and it's going to be merged into 1.13 forge
  • 1.13 forge will have java 9 support. (May happen sooner rather than later)
  • The mod loader carries a lot of technical debt, which is the reason the load speed is a bit slow, they're working towards improving the performance of the loader.
  • Java 10 & 11 support depends on Mojang using it. Go yell at them for support.
  • Forge will receive a full audit for 1.13, going over all of the classes for redundancies. Stable 1.13 Forge might take months.
  • New coremod system for 1.13, coremods are necessary for forge, but people tend to overuse them right now.
  • JavaScript system to modify base classes.