$ cat ~/.local/share/systemd/user/znc.service
[Unit]
Description=ZNC user server
After=network.target
[Service]
$ cat ~/.local/share/systemd/user/znc.service
[Unit]
Description=ZNC user server
After=network.target
[Service]
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "r-cade"; | |
buildInputs = [ racket openal csfml libsndfile ]; | |
LD_LIBRARY_PATH="${csfml}/lib:${libsndfile}/lib:${openal}/lib"; | |
shellHook = '' | |
raco pkg install r-cade | |
''; | |
} |
with import <nixpkgs> {}; | |
let | |
name = "weborf"; | |
version = "0.17"; | |
in | |
stdenv.mkDerivation { | |
name = "${name}"; | |
configureFlags = [ "prefix=${placeholder "out"}" ]; |
import altair as alt | |
import pandas as pd | |
from pydriller import Repository | |
repo_dates = [] | |
for commit in Repository('/path/to/repository').traverse_commits(): | |
repo_dates.append(commit.committer_date) | |
d = pd.DataFrame(dict(commit_date=pd.to_datetime(repo_dates, utc=True), commits=1)) |
"AwardNumber","Title","NSFOrganization","Program(s)","StartDate","LastAmendmentDate","PrincipalInvestigator","State","Organization","AwardInstrument","ProgramManager","EndDate","AwardedAmountToDate","Co-PIName(s)","PIEmailAddress","OrganizationStreet","OrganizationCity","OrganizationState","OrganizationZip","OrganizationPhone","NSFDirectorate","ProgramElementCode(s)","ProgramReferenceCode(s)","ARRAAmount","Abstract" | |
"2026631","RAPID: Real time monitoring of information consumption regarding the coronavirus","SES","AIB-Acctble Institutions&Behav, Decision, Risk & Mgmt Sci, Sociology, Methodology, Measuremt & Stats, Secure &Trustworthy Cyberspace","04/15/2020","04/06/2020","David Lazer","MA","Northeastern University","Standard Grant","Toby Parcel","03/31/2021","$200,000.00","Alessandro Vespignani, Briony Swire-Thompson","[email protected]","360 HUNTINGTON AVE","BOSTON","MA","021155005","6173733004","SBE","120Y, 1321, 1331, 1333, 8060","025Z, 065Z, 096Z, 7434, 7914, 9179","$0.00","The COVID-19 pandemic has highlig |
# Minimal makefile for Sphinx documentation | |
# | |
# You can set these variables from the command line, and also | |
# from the environment for the first two. | |
SPHINXOPTS ?= | |
SPHINXBUILD ?= sphinx-build | |
SOURCEDIR = . | |
BUILDDIR = _build |
with import <nixpkgs> {}; | |
let | |
aamachineSrc = fetchzip { | |
url = "https://hd0.linusakesson.net/files/aamachine-0.5.4.zip"; | |
sha256 = "sha256-TDAwcNwGW4GMNv8e3VuKbNMSYLHDIQNlc4REQb+FRvw="; | |
}; | |
aamachineVersion = "0.5.4"; | |
in | |
stdenv.mkDerivation { |
#!/usr/bin/env nix-shell | |
#! nix-shell -i python3 -p "python3.withPackages (p: with p; [sh tqdm])" | |
""" | |
Collect metadata on spaCy language models of a particular release to update the | |
models.json file in nixpkgs/pkgs/development/python-modules/spacy | |
Run this script in the meta dir of the spacy-models repository, providing the | |
desired release number as its only argument. | |
""" |
with import <nixpkgs> {}; | |
let | |
raylib-version = "4.5.0"; | |
raylib-api-xml = fetchurl { | |
url = "https://raw.githubusercontent.com/raysan5/raylib/${raylib-version}/parser/output/raylib_api.xml"; | |
hash = "sha256-guPSduYmJ1ZUZO9B282I93RHFUhC2g0gZxy0j8RISTA="; | |
}; | |
raylib-guile = stdenv.mkDerivation { | |
pname = "raylib-guile"; |
#!/usr/bin/env nix-shell | |
#! nix-shell -i python3 -p "python3.withPackages (p: [ p.rsa ])" | |
from os import cpu_count | |
import rsa | |
(pub, priv) = rsa.newkeys(2048, poolsize=cpu_count()) |