I hereby claim:
- I am skyebook on github.
- I am sbook (https://keybase.io/sbook) on keybase.
- I have a public key ASB9pH5ppMwX5I_fKyUwX31eddw5yrLUwALDA44PUH-gGAo
To claim this, I am signing this object:
https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0) | |
ubuntu desktop 18.04 w/ minimal install | |
public func CVPixelBufferGetPixelFormatName(pixelBuffer: CVPixelBuffer) -> String { | |
let p = CVPixelBufferGetPixelFormatType(pixelBuffer) | |
switch p { | |
case kCVPixelFormatType_1Monochrome: return "kCVPixelFormatType_1Monochrome" | |
case kCVPixelFormatType_2Indexed: return "kCVPixelFormatType_2Indexed" | |
case kCVPixelFormatType_4Indexed: return "kCVPixelFormatType_4Indexed" | |
case kCVPixelFormatType_8Indexed: return "kCVPixelFormatType_8Indexed" | |
case kCVPixelFormatType_1IndexedGray_WhiteIsZero: return "kCVPixelFormatType_1IndexedGray_WhiteIsZero" | |
case kCVPixelFormatType_2IndexedGray_WhiteIsZero: return "kCVPixelFormatType_2IndexedGray_WhiteIsZero" | |
case kCVPixelFormatType_4IndexedGray_WhiteIsZero: return "kCVPixelFormatType_4IndexedGray_WhiteIsZero" |
I hereby claim:
To claim this, I am signing this object:
/* if portrait mode is detected, rotate the entire site -90 degrees to hint rotating to landscape */ | |
@media (orientation: portrait) { | |
body { | |
-webkit-transform: rotate(-90deg); | |
-moz-transform: rotate(-90deg); | |
-o-transform: rotate(-90deg); | |
-ms-transform: rotate(-90deg); | |
transform: rotate(-90deg); | |
} | |
} |
extension Array { | |
func objectsAtIndexPaths(indexPaths: [NSIndexPath]) -> [Element] { | |
return indexPaths.map {self[$0.row]} | |
} | |
} |
@objc private func filterSelected(filterButton: FilterSelectButton) { | |
orderedButtons.filter{return $0 != filterButton}.forEach{$0.selected = false} | |
} |
// Is every point in this rectangle? This would be easy in JS. | |
let containsAllPoints = points.reduce(true) { return !$0 ? $0 : CGRectContainsPoint(rect, $1)} |
package donald.trump.for.president; | |
import java.util.List; | |
public class ListUtils { | |
/** | |
* Return a list containing, at most, the number of requested objects. If | |
* there are less than <code>count</code> items present, all items in the | |
* list are returned. |
-title "RE-Export building .DAE" | |
-widthHeight 100 100; | |
rowLayout -numberOfColumns 2; | |
columnLayout -adjustableColumn true; | |
button -label "A-------MoveTool-----------------" | |
-command | |
MoveTool; | |
EnterEditMode; | |
ctxEditMode; | |
button -label "B-------CenterPivot-------------" |