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
require "util" | |
function gun_turret_extension(inputs) | |
return | |
{ | |
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension.png", | |
priority = "medium", | |
width = 65, | |
height = 63, | |
direction_count = 4, |
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
{ | |
"display": "displays/Oculus_Rift_DK1.json", | |
"renderManagerConfig": "sample-configs/renderManager.direct.landscape.json", | |
"drivers": [{ | |
"plugin": "je_nourish_fusion", | |
"driver": "FusionDevice", | |
"params": { | |
"name": "DK1_Kinectv2", | |
"position": "/je_nourish_kinectv2/KinectV2/semantic/body1/head", | |
"orientation": "/je_nourish_openhmd/Oculus Rift (Devkit)/semantic/hmd", |
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
{ | |
"jsonid" : "vrsettings", | |
"perfcheck" : { | |
"heuristicActive" : true | |
}, | |
"steamvr" : { | |
"allowReprojection" : true, | |
"forcedDriver": "osvr", | |
"directMode" : false | |
}, |
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
global leftHand | |
global left1 | |
global left2 | |
global left3 | |
global left4 | |
global leftBumper | |
global leftJoystickButton | |
global leftMiddle | |
global leftJoystickX | |
global leftJoystickY |
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
{ | |
"description": "The default config file, as used with the HDK, is fully auto-detected, so no configuration required. See the JSON-Schema for server config or other samples to see possible options.", | |
"aliases": { | |
"/controller/right/joystick/x": "/je_nourish_firmata/StandardFirmata.ino-X.Y/analog/0", | |
"/controller/right/joystick/y": "/je_nourish_firmata/StandardFirmata.ino-X.Y/analog/1", | |
"/controller/right/joystick/button": "/je_nourish_firmata/StandardFirmata.ino-X.Y/button/0" | |
} | |
} |
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
# Usage: {{ post.url | remove_index }} | |
module Jekyll | |
module RemoveIndexFilter | |
def remove_index(input) | |
url = if input | |
input.split("/")[0..-2].join("/") + "/" | |
else | |
input | |
end |
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
module Jekyll | |
module ConcatFilter | |
def concat(one, two) | |
one.concat(two) | |
end | |
end | |
end | |
Liquid::Template.register_filter(Jekyll::ConcatFilter) |
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
import { d, e, f } from "./def.js"; | |
// a is used | |
export const a = d + " is part of a"; | |
// b is unused | |
export const b = e + " is part of b"; | |
// c is unused | |
export const c = f + " is part of c"; |
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
"------------------------------------------------------------ | |
" Indentation options {{{1 | |
" | |
let g:mytabcolumns = 4 | |
set noexpandtab | |
set softtabstop=0 | |
set shiftwidth=4 | |
set tabstop=4 |
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
interface Composable<B,C> { | |
(b: B): C; | |
I: <D>(f: (c: C) => D) => Composable<B,D>; | |
o: <A>(f: (a: A) => B) => Composable<A,C>; | |
} | |
/* | |
* Non-type safe internal function - type safety of result is guaranteed by | |
* allowing creation only through `I` and `o` functions and methods | |
*/ |
OlderNewer