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
# cachix/cuda-maintainers.nix (create through `cachix use cuda-maintainers`) | |
{ | |
nix = { | |
settings = { | |
substituters = [ | |
"https://cuda-maintainers.cachix.org" | |
]; | |
trusted-public-keys = [ | |
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" | |
]; |
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
+++++ +++++ initialize counter (cell #0) to 10 | |
[ use loop to set the next four cells to 70/100/30/10 | |
> +++++ ++ add 7 to cell #1 | |
> +++++ +++++ add 10 to cell #2 | |
> +++ add 3 to cell #3 | |
> + add 1 to cell #4 | |
<<<< - decrement counter (cell #0) | |
] | |
> ++ . print 'H' | |
> + . print 'e' |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"runtime" | |
"sync" | |
"time" | |
) |
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
const instance = "https://rheinneckar.social"; | |
async function getLocalPost(url) { | |
const encodedUrl = encodeURIComponent(url); | |
const resp = await fetch(`${instance}/api/v2/search?q=${encodedUrl}&resolve=true&limit=1`, { credentials: "include" }); | |
const data = await resp.json(); | |
const status = data.statuses[0]; | |
const id = status.id; | |
const acct = status.account.acct; | |
return `${instance}/${acct}/${id}`; |
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
www.rheinneckar.social { | |
redir https://rheinneckar.social{uri} | |
} | |
rheinneckar.social { | |
encode zstd gzip | |
reverse_proxy /api/v1/streaming* 127.0.0.1:4000 | |
reverse_proxy 127.0.0.1:3000 | |
} |
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 double_quotes = {"»", "«"} | |
local single_quotes = {"›", "‹"} | |
function get_preferences(m) | |
if m.double_quotes and m.double_quotes[1] and m.double_quotes[2] then | |
double_quotes = { m.double_quotes[1][1].c, m.double_quotes[2][1].c } | |
end | |
if m.single_quotes and m.single_quotes[1] and m.single_quotes[2] then | |
single_quotes = { m.single_quotes[1][1].c, m.single_quotes[2][1].c } | |
end |
This file has been truncated, but you can view the full file.
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
<Len_0.988><Dst_3><Lex_1.000><Syn_1.000>Mit der Bildung der Provinz Dakien begann für Singidunum eine Zeit des Friedens. | |
Mit der Bildung der Provinz Dacia begann für Singidunum eine Zeit des Friedens. | |
<Len_1.034><Dst_64><Lex_1.087><Syn_1.000>Justinian erneuerte die dabei ins Zentrum gerückte Befestigungsanlage von Singidunum in Form eines wesentlich verkleinerten, aber mit starken Mauern befestigten byzantinischen Kastrons innerhalb des alten aufgegebenen Legions-Standlagers (Castra), was insbesondere durch eine weitere Staffelung von Kastra, die neuerbauten, der politischen wie kirchlichen Organisation der Region dienenden neue Verwaltungszentrum von Justiniana Prima (Caričin Grad), schützen und Einfälle nach Moesia unterbinden sollte, aber durch die nachfolgend nicht mehr verhinderte Landnahme der Slawen auf dem Balkan zur Makulatur wurde. |
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
<Len_1.000><Dst_1><Lex_1.000><Syn_1.000>Religionsgesellschaft zugehörig“ zugeordnet. | |
Religionsgesellschaft zugehörig" zugeordnet. | |
<Len_1.056><Dst_12><Lex_1.343><Syn_1.000>2016 wurde Bremen der Ehrentitel „Reformationsstadt Europas“ durch die Gemeinschaft Evangelischer Kirchen in Europa verliehen. | |
2016. 2016 wurde Detmold der Ehrentitel „Reformationsstadt Europas“ durch die Gemeinschaft Evangelischer Kirchen in Europa verliehen. | |
<Len_0.980><Dst_2><Lex_1.000><Syn_1.000>Am 25. Mai 2009 erhielt die Stadt den von der Bundesregierung verliehenen Titel „Ort der Vielfalt“. | |
Am 25. Mai 2009 erhielt die Stadt den von der Bundesregierung verliehenen Titel Ort der Vielfalt. | |
<Len_1.000><Dst_2><Lex_1.045><Syn_1.000>1905 hatte die Stadt 250.000 Einwohner, bis 1933 verdoppelte sich diese Zahl auf 500.000. | |
1905 hatte die Stadt 250.000 Einwohner, bis 1950 verdoppelte sich diese Zahl auf 500.000. | |
<Len_1.000><Dst_4><Lex_0.781><Syn_1.000>Während der Zeit der Nationalsozialisten wurde der Oberbürgermeister von der NSDAP eingesetzt. |
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
declare namespace shaka { | |
namespace util { | |
/** | |
* A timer allows a single function to be executed at a later time or at regular intervals. | |
*/ | |
class Timer { | |
/** | |
* Create a new timer. A timer is committed to a single callback function. While there is no technical reason to do this, it is far easier to understand and use timers when they are connected to one functional idea. | |
*/ | |
constructor(onTick: (() => void)); |
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
FROM ubuntu:19.10 | |
RUN apt-get update | |
RUN apt-get install -y ninja-build clang | |
RUN apt-get install -y curl unzip tar wget git | |
RUN apt-get autoremove -y | |
RUN wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.sh && sh ./cmake.sh --prefix=/usr/local --skip-license | |
ENV CC clang |
NewerOlder