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
import bpy | |
def get_formatted_length_from_bu(length_in_blender_units): | |
scene = bpy.context.scene | |
unit_settings = scene.unit_settings | |
if unit_settings.system == 'NONE': | |
return f"{length_in_blender_units:.4f} Blender Units" | |
system_conversions = { |
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
-- Restore last used floating client geometry (with / height / position) when | |
-- switching layouts and unmaximizing clients. | |
-- | |
-- When unmaximizing a never-before floating client, it will nicely center the | |
-- client in the middle of the screen. | |
-- | |
local capi = { | |
client = client, | |
tag = tag, |
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
{ lib | |
, buildPythonPackage | |
, fetchPypi | |
, isPyPy | |
, pytestCheckHook | |
, asttokens | |
, executing | |
, pure-eval | |
, stack-data | |
, six |
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
{ stdenv, fetchFromGitHub, lib | |
, python3, pkg-config, nodejs, pnpm, openssl, sqlite, jq | |
, ... }: | |
stdenv.mkDerivation | |
(finalAttrs: rec { | |
pname = "nocodb"; | |
version = "0.257.2"; | |
src = fetchFromGitHub { | |
owner = "nocodb"; |
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
{ lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake | |
, libtool, nettle, gnutls, gettext, libabigail | |
}: | |
stdenv.mkDerivation rec { | |
pname = "radcli"; | |
version = "1.3.1"; | |
src = fetchFromGitHub { | |
owner = "radcli"; |
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
±²³SolveSpaceREVa | |
Group.h.v=00000001 | |
Group.type=5000 | |
Group.name=#references | |
Group.color=ff000000 | |
Group.skipFirst=0 | |
Group.predef.swapUV=0 | |
Group.predef.negateU=0 |
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
(defun use-ansi-process-filter (process) | |
(set-process-filter | |
process | |
(lambda (process string) | |
(internal-default-process-filter process string) | |
(with-current-buffer (process-buffer process) | |
(save-excursion | |
(goto-char (point-max)) | |
(let ((previous-point-max (point-max))) | |
(insert string) |
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
{ pkgs ? import <nixpkgs> {}, ... }: let | |
inherit (pkgs) | |
stdenv | |
fetchgit | |
; | |
tag = "2.10.1"; | |
commit = "482d91c66"; | |
# git describe --long ${version} | |
version = "${tag}-0-g${commit}"; |
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
{ pkgs ? import <nixpkgs> {}, ... }: pkgs.libsForQt5.callPackage ({ pkgs ? import <nixpkgs> {} | |
, lib | |
, stdenv | |
, fetchFromGitHub | |
, fetchpatch | |
, cmake | |
, ninja | |
, netcdf | |
, coin3d | |
, eigen |
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
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.buildGoModule { | |
name = "agola"; | |
src = pkgs.fetchFromGitHub { | |
owner = "agola-io"; | |
repo = "agola"; | |
rev = "v0.7.0"; | |
sha256 = "sha256-AiD7mVogWk/TOYy7Ed1aT31h1kbrRwseue5qc3wLOCI="; | |
}; | |
doCheck = false; |
NewerOlder