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
--- a/third_party/sol2/sol2/sol.hpp | |
+++ b/third_party/sol2/sol2/sol.hpp | |
@@ -7487,10 +7487,87 @@ namespace sol { | |
template <typename R, typename O, typename... Args> | |
struct wrapper<R(O:: *)(Args..., ...) const volatile &&> : public member_function_wrapper<R(O:: *)(Args..., ...) const volatile &, R, O, Args...> { | |
}; | |
+#ifdef __cpp_noexcept_function_type | |
+ template <typename R, typename O, typename... Args> |
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
#!/usr/bin/env bash | |
# The Inner World runs: | |
# java -jar mplay.jar media/movies/MOV_000.m4v media/Audio/MOV/MOV_000_EN.mp3 media/Data/Subtitles/MOV_000_EN.srt | |
# To replace "java" with "mpv", save this script as "java" near "TheInnerWorld.jar" and run | |
# chmod +x java | |
# PATH=$(pwd):$PATH $(which java) -jar TheInnerWorld.jar | |
v="$3" a="$4" s="$5" | |
exec mpv -fs "$v" --audio-file "$a" --sub-file "$s" |
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
{ config, pkgs, ... }: | |
{ | |
environment.systemPackages = with pkgs; [ | |
solvespace | |
]; | |
users.users.user = { | |
uid = 1000; | |
isNormalUser = true; |
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
#!/usr/bin/env bash | |
cd /root | |
${exec:-exec -a nixos-rebuild} /run/current-system/sw/bin/nixos-rebuild build-vm -I nixpkgs=/home/uj/.nixpkgs/nixpkgs -I nixos-config=/home/uj/nix/configuration/solvespace.nix "$@" |
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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA1 | |
Version: 4 | |
Signer: Skype Linux Client Repository <[email protected]> | |
Date: Mon Dec 11 16:25:10 2017 | |
Role: builder | |
Files: | |
3cf918272ffa5de195752d73f3da3e5e 7959c969e092f2a5a8604e2287807ac5b1b384ad 4 debian-binary | |
7a9e42388883900fcdf2b0c57a063cef 37f8474b0f0cd8eea86de25b6ce6557a57ece0ab 3966 control.tar.gz |
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
#!/bin/sh | |
cd /root/nixpkgs/cl-fuse-20160318-git | |
export ASDF_OUTPUT_TRANSLATIONS=/nix/store:/nix/store | |
export LD_LIBRARY_PATH=/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/wr579906xik1qbnblm0wq1nissxh53sy-fuse-2.9.7/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-libffi-3.2.1/lib:/nix/store/137jkkqkspjhvcbcy4rd3idxzxqg8h6q-l |
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
#!/bin/sh | |
set -eu | |
gid=$(dscl . -read /Groups/nixbld | awk '($1 == "PrimaryGroupID:") {print $2 }') | |
for i in $(seq 1 30); do | |
user=/Users/nixbld$i | |
uid="$((30000 + $i))" | |
dscl . create $user |
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
machine# [ 43.144935] amazon-init-start[785]: building path(s) ‘/nix/store/vj04r9vz6ml68cj67n68p9yf15js65qv-stdenv’ | |
machine# [ 43.144988] amazon-init-start[785]: building path(s) ‘/nix/store/6daljc3bhmqal7l0iqcqcpq21flpyfaw-acl-2.2.52.src.tar.gz’ | |
machine# [ 58.044914] amazon-init-start[785]: downloading ‘http://mirror.easyname.at/nongnu/acl/acl-2.2.52.src.tar.gz’... [0/0 KiB, 0.0 KiB/s] | |
machine# [ 58.081546] amazon-init-start[785]: error: unable to download ‘http://mirror.easyname.at/nongnu/acl/acl-2.2.52.src.tar.gz’: Couldn't resolve host name (6) | |
machine# [ 58.091137] amazon-init-start[785]: builder for ‘/nix/store/p1scg3lir7xlfz1yxhhy0lhvxidnrrjn-acl-2.2.52.src.tar.gz.drv’ failed with exit code 1 | |
machine# [ 58.096182] amazon-init-start[785]: cannot build derivation ‘/nix/store/77iwzsanl35mhnvrjp9i28jjv9n22mzz-acl-2.2.52.drv’: 1 dependencies couldn't be built | |
machine# [ 58.101990] amazon-init-start[785]: building path(s) ‘/nix/store/mhia1qb8hh4jkaasripsfzn2ggk5jgcp-attr-2.4.47.src.tar.gz’ | |
mach |
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
let | |
f = final: previous: { a = "fa"; b = "fb"; }; | |
g = final: previous: { a = previous.a + final.b; }; | |
h = final: previous: { b = "hb"; }; | |
in let | |
current0 = { }; | |
current1 = current0 // f final current0; | |
current2 = current1 // g final current1; | |
current3 = current2 // h final current2; | |
final = current3; |
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
default: main.ld main.lld | |
clean: | |
rm -f lib.o main.o main.ld main.lld | |
main.ld: main.o | |
ld -o $@ $^ | |
main.lld: main.o | |
ld.lld -o $@ $^ |
NewerOlder