Skip to content

Instantly share code, notes, and snippets.

View lewiscowper's full-sized avatar
💻
Doing my best

Lewis Cowper lewiscowper

💻
Doing my best
View GitHub Profile
it('should set _scope.foo to 3', function () {
expect(_scope.foo).toEqual(3);
});
it('should set _scope.baz to true', function () {
expect(_scope.baz).toBe(true);
});
describe('the foo variable', function () {
it('should be defined', function () {
expect(_scope.foo).toBeDefined();
});
it('should be set correctly', function () {
expect(_scope.foo).toEqual(3);
});
});
@lewiscowper
lewiscowper / README
Created December 5, 2022 23:03 — forked from jmatsushita/README
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs).
# So here's a minimal Gist which worked for me as an install on a new M1 Pro.
# Inspired by https://github.com/malob/nixpkgs I highly recommend looking at malob's repo for a more thorough configuration
#
# Some people are coming directly to this Gist from search results and not the original post[1]. If that sounds like you, you should also know there is a video[2] that accompanies this.
#
# [1] https://discourse.nixos.org/t/simple-workable-config-for-m1-macbook-pro-monterey-12-0-1-with-nix-flakes-nix-darwin-and-home-manager/16834
# [2] https://www.youtube.com/watch?v=KJgN0lnA5mk
#