I hereby claim:
- I am dessix on github.
- I am dessix (https://keybase.io/dessix) on keybase.
- I have a public key ASBKmFhPWMwJ2ITmcbo5ka-hwqyxGZcSNAdXLTf2CtB96Qo
To claim this, I am signing this object:
[ | |
{ | |
"impure": false, | |
"nixVersion": "Stable", | |
"success": true, | |
"useCleanSource": false, | |
"useFilteredPath": false, | |
"useLinkFarm": false, | |
"usePathSource": false, | |
"useStringifiedPath": false |
{ | |
# ... | |
services.orgb = { | |
enable = true; | |
motherboard = "amd"; | |
}; | |
# ... | |
} |
-- A tweak atop https://github.com/technicalfactorio/technicalfactorio/blob/master/combinators/generate_signal_index.lua | |
-- to generate stack sizes instead of unique identifiers. | |
-- Does not create entries for virtual signals, as they cannot be stacked. | |
-- Meant to be used in combination with: | |
-- Pairwise Multiplication: https://www.reddit.com/r/factorio/comments/pg2dai/perfect_parallel_pairwise_multiplier/ | |
-- Pairwise Division: https://www.reddit.com/r/factorio/comments/kl31f0/pairwise_division_with_combinators/ | |
-- | |
-- Run this as a console command by copying starting with this slash, and pasting it into chat: /c | |
local map={} | |
local comb = game.player.selected |
use frunk::{hlist::Selector, indices::Here}; | |
trait Has<A> { | |
fn get(&self) -> &A; | |
} | |
impl<A, S> Has<A> for S | |
where | |
S: Selector<A, Here>, | |
{ |
using System; | |
using UnityEngine; | |
using UnityEngine.Rendering.HighDefinition; | |
public class Test : MonoBehaviour { | |
[SerializeReference] public Camera Camera; | |
[SerializeReference] public GameObject SubScene; | |
public void Start() { |
use futures::{Future, future::BoxFuture}; | |
pub trait InferenceBreaker { | |
fn trait_boxed_break(&self) -> BoxFuture<Result<(), ()>>; | |
} | |
pub struct TraitlessBreaker; | |
impl TraitlessBreaker { | |
pub fn struct_boxed_break<'a>() -> BoxFuture<'a, Result<(), ()>> { | |
todo!() |
data SymLinkOpError = SymLinkOpErrorNonSymlink FilePath | SymLinkOpErrorTargetConflict | |
data SymLinkReadState = SymLinkReadAbsent | SymLinkReadNonSymLink | SymLinkReadPresent FilePath | |
data SymLinkOps m a where | |
-- Given a Symlink location, returns its target | |
ReadSymLink :: FilePath -> SymLinkOps m SymLinkReadState | |
WriteSymLink :: FilePath -> FilePath -> SymLinkOps m () | |
RemoveSymLink :: FilePath -> SymLinkOps m () | |
data AdvancedSymLinkOps m a where | |
-- Create or replace a symlink; fails out if the symlink existed with a different path than anticipated |
use std::ops::{Deref, DerefMut, Not}; | |
use tungsten::{TransferOwnership, TransferToken}; | |
pub struct NoTransfer<T: Sized>(T); | |
impl<T> TransferOwnership for NoTransfer<T> { | |
fn transfer_to(&self, _: &TransferToken) { | |
// Do nothing | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
"use strict"; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
exports.TestClass = undefined; | |
var _Symbol2 = require("fable-core/umd/Symbol"); | |
var _Symbol3 = _interopRequireDefault(_Symbol2); |