I hereby claim:
- I am exfed on github.
- I am exfed (https://keybase.io/exfed) on keybase.
- I have a public key ASCyCfxUVyNBiYwcdZ_k8PU6Ja4i3p6x-Zj_FiGPZbAu1wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* Usage: | |
* all LaTeX source files go in $rawDirectory | |
* base document to 'cook' should match content of $latexFile | |
* build script delivers resulting PDF file to $cookedDirectory | |
*/ | |
defaultTasks 'full' | |
ext { documentBase = 'myBaseLaTeXFileName' } |
// biz/props.gradle | |
project.ext.fullName = 'biz baz' |
import groovy.transform.Canonical | |
import groovy.transform.CompileStatic | |
interface Type {} | |
@CompileStatic | |
@Canonical | |
class Ref implements Type { | |
String name | |
Type type |
package com.columnzero.util.function; | |
import io.vavr.Function1; | |
import io.vavr.PartialFunction; | |
import io.vavr.collection.Seq; | |
import io.vavr.collection.Stream; | |
import lombok.AllArgsConstructor; | |
import lombok.NonNull; | |
import java.util.function.Predicate; |
Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect"} | Set-NetIPInterface -InterfaceMetric 4000 | |
Get-NetIPInterface -InterfaceAlias "vEthernet (WSL)" | Set-NetIPInterface -InterfaceMetric 1 |
0x00 There once was a coder named Jax | |
0x20 Who wrote his programs in Emacs. | |
0x40 The heap overflowed? | |
0x60 His "elegant" code | |
0x80 Was chock-full of realloc hacks! |
(defmacro linas-> | |
"Similar to clojure.core/as->; returns a vector of intermediate values." | |
[expr name & forms] | |
(let [linn `lin#] | |
`(let [~name ~expr | |
~linn [~name] | |
~@(interleave (repeat name) (butlast forms) (repeat linn) (repeat `(conj ~linn ~name)))] | |
~(if (empty? forms) | |
[name] | |
`(conj ~linn ~(last forms)))))) |
#!/usr/bin/env groovy | |
import groovy.transform.* | |
import java.util.concurrent.atomic.* | |
@Immutable(knownImmutableClasses = [InetSocketAddress]) | |
class Peer { | |
private static final SELF_HOSTS = (InetAddress.getAllByName('localhost') as List | |
+ InetAddress.localHost |
#!/usr/bin/env groovy | |
ztoc = { int d, int z -> | |
if (0 == d) { | |
return [] | |
} | |
if (1 == d) { | |
return [z] | |
} |