This file contains 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
(global analogtbl {}) | |
(global digitaltbl {}) | |
(global translatetbl {}) | |
(global statustbl {}) | |
(global touchtbl {}) | |
(global analogdata {}) | |
(set-forcibly! drawline | |
(fn [text size] | |
(render-text (.. "\\f," (tostring size) " " text)))) | |
(fn reposition [] |
This file contains 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
{ lib | |
, stdenv | |
, fetchFromGitHub | |
, SDL2 | |
, callPackage | |
, cmake | |
#, espeak-ng | |
, ffmpeg | |
, file | |
, freetype |
This file contains 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
{ config, lib, pkgs, ... }: | |
let | |
srcPkgs = import /src { | |
overlays = [ ( | |
final: prev: { | |
mesa = pkgs.callPackage ./apple-silicon-support/packages/mesa-asahi-edge {}; | |
arcane = pkgs.callPackage ./apple-silicon-support/packages/arcan {mesa = final.mesa; } ; | |
m1n1 = pkgs.callPackage ./apple-silicon-support/packages/m1n1 {} ; | |
firefox = (pkgs.wrapFirefox.override { libpulseaudio = pkgs.libpressureaudio; }) pkgs.firefox-unwrapped { }; | |
} |
This file contains 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
... |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Improved Interaction Combinators Visualization</title> | |
<style> | |
canvas { | |
border: 1px solid black; | |
} |
This file contains 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
local mouseSpeed = 0.5 | |
local touchSpeed = 0.1 | |
local maxFov = 90 | |
local minFov = 0.01 | |
local maxPitch = 85 | |
local minPitch = -85 | |
local camera = { | |
vid = nil, |
This file contains 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
x@ceon:~/c/superconfigure/gui$ cat freetype-2.13.2/superconfigure | |
#!/usr/bin/env bash | |
set -e | |
shopt -s expand_aliases | |
# Check for COSMO directories | |
if [ -z ${COSMO+x} ]; then | |
echo "Could not find COSMO source directory!"; | |
exit 1 | |
fi |
This file contains 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
{ | |
inputs.nixpkgs.url = github:NixOS/nixpkgs; | |
inputs.apple-silicon = { | |
url = github:tpwrules/nixos-apple-silicon; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
outputs = { self, nixpkgs, apple-silicon, ... }@attrs: let | |
system = "aarch64-linux"; |
This file contains 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
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/63678e9f3d3afecfeafa0acead6239cdb447574c"; | |
systems.url = "github:nix-systems/default"; | |
devenv.url = "github:cachix/devenv"; | |
}; | |
outputs = { self, nixpkgs, devenv, systems, ... } @ inputs: | |
let forEachSystem = nixpkgs.lib.genAttrs (import systems); in { | |
devShells = forEachSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { |
This file contains 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
{ pkgs, ... }: | |
{ | |
packages = with pkgs; [ | |
git | |
google-cloud-sdk | |
(python311.withPackages(ps: with ps; [ | |
pyarrow | |
duckdb | |
h3 |
NewerOlder