This file contains hidden or 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
| body { | |
| font-family: "Helvetica Neue", "Helvetica", sans-serif; | |
| margin: 10% 15%; | |
| background-color: rgb(240, 240, 240); | |
| } | |
| h1 { | |
| border-bottom: 1px solid rgba(0, 0, 0, 0.5); | |
| margin-left: -2em; | |
| margin-right: -2em; |
This file contains hidden or 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
| #!/usr/bin/ruby | |
| GREETINGS_FILE = '/etc/motd-witty.json' | |
| # | |
| # motd-witty | |
| # | |
| # Version 1.1 | |
| # Talus Baddley, 2013. |
This file contains hidden or 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
| // | |
| // RACStream+SlidingWindow.m | |
| // Bringing the sliding window stream metaphor to RACStreams (RACSequences, RACSignals, etc). | |
| // Copyright © 2015 Talus Baddley. MIT License. | |
| // | |
| // This is heavily UNTESTED. Please contact me if you find bugs. | |
| // | |
| #import <ReactiveCocoa/ReactiveCocoa.h> |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| #encoding: utf-8 | |
| require 'yaml' | |
| require 'readline' | |
| require 'parslet' | |
| # | |
| # Prototype Parser | |
| # for the Smilef Shell Language |
This file contains hidden or 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
| // | |
| // gets.swift | |
| // smilef | |
| // | |
| // Created by Talus Baddley on 2014-6-5. | |
| // Copyright (c) 2014 Eightt. All rights reserved. | |
| // | |
| // This is to demonstrate a simple, safe gets() implementation | |
| // in Swift, that automatically buffers input on demand and |
This file contains hidden or 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
| # In my experience on Debian and a couple of Ubuntu systems, | |
| # this one-liner gets libdispatch code ready-to-compile and use. | |
| sudo aptitude install clang libblocksruntime-dev libkqueue-dev libpthread-workqueue0 libpthread-workqueue-dev libdispatch0 libdispatch-dev | |
| # Compile with clang. | |
| # (Prefer gcc? It's okay, you can use clang. I won't tell on you.) | |
| clang foo.c -o foo -fblocks -lBlocksRuntime -ldispatch |
NewerOlder