Skip to content

Instantly share code, notes, and snippets.

View Nemesisprime's full-sized avatar

Dandy Griffin Nemesisprime

View GitHub Profile
@Nemesisprime
Nemesisprime / controlpublisher.swift
Created March 22, 2020 01:26
NSControl Publisher
import Cocoa
import Combine
class ControlPublisher<T: NSControl>: Publisher {
typealias Control = NSControl
typealias Output = Control
typealias Failure = Never
let subject = PassthroughSubject<Output, Failure>()
<!--
Progressive Disclosure Demo - Updated 15 August, 2012 by Ros
Thank you for taking a look under the hood of our progressive disclosure demo. Please note that this is a work in progress, so it's a tad messy and bound to change.
If you have any questions, feel free to pop a line to support@campaignmonitor.com - we might learn something, too!
Known bugs
----------
@Nemesisprime
Nemesisprime / layout.less
Last active December 30, 2015 06:59
The Elit.ist blog LESS template... it's beautiful, right?
/*
* The Elit.ist CSS (v1.0) built on Skeleton V1.2
* Copyright 2013, Dan Griffin (see skeleton.css for Skeleton license)
*/
/* Table of Content
==================================================
#Color Definitions
#Style Definitions
#Header Styles
<?php
namespace WSL\BaseBundle\Util\Helper;
use Doctrine\ORM\Query;
use Doctrine\ORM\QueryBuilder;
use Symfony\Component\Security\Acl\Permission\MaskBuilder;
/*
* To change this template, choose Tools | Templates