I hereby claim:
- I am altece on github.
- I am altece (https://keybase.io/altece) on keybase.
- I have a public key whose fingerprint is 8BB9 7FF6 F003 F8D1 C91D 05CE 42A6 ECA9 5595 440E
To claim this, I am signing this object:
struct CycleIterator<Element>: IteratorProtocol, ExpressibleByArrayLiteral { | |
private var elements: [Element] | |
private var offset: Int = 0 | |
init(_ elements: [Element]) { | |
self.elements = elements | |
} | |
init(arrayLiteral elements: Element...) { | |
self.init(elements) |
import Foundation | |
struct Zip3Sequence<Sequence1, Sequence2, Sequence3>: Sequence | |
where Sequence1: Sequence, Sequence2: Sequence, Sequence3: Sequence { | |
typealias Element = Iterator.Element | |
typealias Iterator = Zip3Iterator<Sequence1.Iterator, Sequence2.Iterator, Sequence3.Iterator> | |
private var s1: Sequence1 | |
private var s2: Sequence2 | |
private var s3: Sequence3 |
/// - note: The equivalence operators don't work because `NSObject` implements `Equatable`. | |
import UIKit | |
// MARK: Constraint From Anchor | |
public func == <AnchorType>(constrained: NSLayoutAnchor<AnchorType>, reference: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint { | |
return constrained.constraint(equalTo: reference) | |
} |
#! /usr/bin/env ruby | |
# take standard in text and replace all the tab instanes with four spaces | |
# print the resulting test to standard out | |
line = "" | |
while (line = gets) != nil do | |
line.gsub! "\t", " " | |
puts line | |
end |
module Graphing.Graph | |
[<StructuralEquality; StructuralComparison>] | |
type Point = | |
| Point of float * float | |
static member X (Point (x, _)) = x | |
static member Y (Point (_, y)) = y | |
/// <summary> |
#!/usr/bin/osascript | |
on printLCCN(LCCN) | |
tell application "DYMO Label" | |
set paperOrientation to portrait | |
tell print object 1 | |
set object text to LCCN | |
end tell | |
printLabel2 of it | |
end tell |
#include <stdbool.h> | |
#define wenn ( | |
#define dann ) ? ( | |
#define sonst ) : ( | |
#define ende ) | |
int main() { | |
int x = wenn true dann 10 sonst 11 ende; | |
} |
static CGPoint convertRadianToCGPoint( double angle, double length, CGPoint center ) { | |
double xCoord = length * cos( angle ); | |
if( angle == M_PI ) { | |
xCoord = -length; | |
} | |
double yCoord = length * sin( angle ); | |
if( angle == (3 * M_PI)/2 ){ | |
yCoord = -length; | |
} |
I hereby claim:
To claim this, I am signing this object:
ShibeEnding is an artistic venture into the meaning of what it means to have meaningful meaning and to ponder such meaningful meaning.
ShibeEnding is an experiment with jQuery to test its limits and unearth its purpose and to reveal its meaningful meaning.