Skip to content

Instantly share code, notes, and snippets.

View Sorixelle's full-sized avatar

Ruby Juric Sorixelle

View GitHub Profile
#! /usr/bin/env nix-shell
#! nix-shell -i fish -p fish
function show_help
echo "deploy - Simple nixos-rebuild wrapper for deploying remote machines"
echo ""
echo "Usage: ./deploy [-h] [-s ssh_server] hostname [rebuild_args]"
echo "Flags:"
echo " -h/--help: Show this message"
echo " -s/--ssh: The SSH address to deploy to. Defaults to the expression name if not supplied"

Building Pebble Apps With Nix

The Pebble SDK is a bit of a fickle beast. It worked well back when Pebble was around to maintain it, but as time goes on, it’s starting to really show it’s age. With it’s dependence on shared libraries that were last built in 2015, and dead links to no-longer-operational S3 buckets, it’s starting to become a bit tricky to get up and running with the Pebble SDK, especially on macOS, where the emulator requires some tricky hacks to get working. Is there any way we can make the setup process more reliable?

@Sorixelle
Sorixelle / panel-simple-tianma-499-v2.c
Created October 14, 2019 11:13
tianma_499_720p_video_v2
// SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2013, The Linux Foundation. All rights reserved.
static const struct drm_display_mode tianma_499_v2_mode = {
.clock = (720 + 52 + 20 + 84) * (1280 + 20 + 8 + 20) * 60 / 1000,
.hdisplay = 720,
.hsync_start = 720 + 52,
.hsync_end = 720 + 52 + 20,
.htotal = 720 + 52 + 20 + 84,
.vdisplay = 1280,

Keybase proof

I hereby claim:

  • I am sorixelle on github.
  • I am srxl (https://keybase.io/srxl) on keybase.
  • I have a public key ASBNHHP2JcUM3KcjySncCUWT57UAuA2PPvFDVxkldCUPwQo

To claim this, I am signing this object: