Skip to content

Instantly share code, notes, and snippets.

💻
computering

Brendan Forster shiftkey

💻
computering
Block or report user

Report or block shiftkey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shiftkey
shiftkey / output.md
Last active Jun 4, 2019
latest build output of github/semantic on WSL
View output.md
shiftkey@perfectly-mediocre:~/src/semantic$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"

shiftkey@perfectly-mediocre:~/src/semantic$ cabal -V
cabal-install version 2.4.1.0
compiled using version 2.4.1.0 of the Cabal library
View keybase.md

Keybase proof

I hereby claim:

  • I am shiftkey on github.
  • I am shiftkey (https://keybase.io/shiftkey) on keybase.
  • I have a public key ASDmd1m3Cn2xb5L97wxA5O338UyHWeulLdG3-S2FYIXNQAo

To claim this, I am signing this object:

@shiftkey
shiftkey / lipsum.md
Created Dec 31, 2018
new file to trigger "too large" warning inside GitHub Desktop
View lipsum.md

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ut tincidunt felis, et viverra mauris. Suspendisse eu tellus nec lorem ornare facilisis. Integer euismod volutpat elit a faucibus. Vestibulum tellus justo, congue at sapien id, semper sagittis neque. Proin ornare nisl eu quam molestie, sed tempor quam viverra. Cras scelerisque, est in mattis ultricies, dui leo laoreet turpis, et mattis arcu nunc ac est. Etiam id dolor et ligula interdum mattis. Nullam purus urna, porttitor in varius quis, rutrum ac purus. Ut metus tellus, aliquam eu eros a, venenatis congue tellus. Nullam id enim ut ipsum ultrices auctor.

Duis tristique in nisi non laoreet. Nullam et velit nulla. Aliquam erat volutpat. Praesent vitae auctor purus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus volutpat, velit sed sagittis egestas, nulla nisl consequat metus, luctus elementum tellus ex vitae ante. Donec augue lectus, condimentum nec dui eget, tristique imperdiet risus. Intege

@shiftkey
shiftkey / field-input.js
Created Jul 25, 2017
[react] a workaround for the caret position being reset after updating the value
View field-input.js
// source: @aliaksandr-master at https://github.com/facebook/react/issues/955#issuecomment-316118969
// documenting it here in case it gets edited or disappeared from the issue
const FieldInput = class FieldInput extends Component {
static propTypes = {
onChange: PropTypes.func,
value: PropTypes.oneOfType([ PropTypes.number, PropTypes.string ])
};
constructor (...args) {
@shiftkey
shiftkey / howto-manually-add-trust-cert-to-rubygems.md
Created Dec 1, 2016
SSL issue with rubygems on Windows - explainer and workaround
View howto-manually-add-trust-cert-to-rubygems.md

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to

@shiftkey
shiftkey / program.cs
Created Aug 17, 2016
a quick and simple implementation of Pausable
View program.cs
static void Main(string[] args)
{
var range = Observable.Interval(TimeSpan.FromSeconds(1));
var sampler = new Subject<bool>();
var sendWhileTrue = range.CombineLatest(sampler, Tuple.Create)
.Where(tuple => tuple.Item2)
.Select(tuple => tuple.Item1)
.DistinctUntilChanged();
@shiftkey
shiftkey / cliff-notes.md
Last active Jul 28, 2018
Working Distributed - Cliff Notes
View cliff-notes.md
View gist:094546527734f4d48673
https://github.com/octokit/octokit.net/issues/new?body=%23%23%23%20Story%20%2F%20Task%0A%0A%23%23%23%20Value%0A%0A%23%23%23%20Acceptance%20Criteria%0A%20-%20%5B%20%5D%20%0A%0A%23%23%23%20Notes
View gist:6eb57144d06275bdfdb0
Library -- 1
Command-line -- 1
Version -- 1
AD -- 1
Active Directory -- 1
Semantic Versioning -- 1
Player -- 1
actormodel -- 1
akka -- 1
concurrency -- 1
View projects.md
  • Chocolatey - $51k raised of $40k goal = 1,044 donors, $48.99 average

  • Read the Docs - $26k raised of $24k goal = 174 donors, $149 average

  • Ghost - £196k of £25k goal = 5236 donors, £37.50 average (USD $56.43 as at 2013-05-28)

  • Tokaido - $51k of $25k goal = 739 donors, $69.30 average

  • Mailpile - $163k of 100k goal = 3639 donors, $44.84 average

You can’t perform that action at this time.