(through https://rustup.rs)
hyperfine --warmup=1 'cargo install -f [email protected]'
-- @description Close gaps (remove space) between selected items | |
-- @author amagalma | |
-- @version 1.00 | |
-- @donation https://www.paypal.me/amagalma | |
-- @about - Removes the space between consecutive items for all selected items. Works on a track by track basis. | |
local seth = 0.4 | |
local jude = 0.6 | |
local kate = 0.6 | |
local nb = 0.2 |
{ config, pkgs, ... }: | |
{ | |
imports = [ ./hardware-configuration.nix ]; | |
boot.loader.systemd-boot.enable = true; | |
boot.loader.efi.canTouchEfiVariables = true; | |
networking.hostName = "laptop"; # Define your hostname. | |
networking.networkmanager.enable = true; |
setcps(130/60/4) | |
samples('shabda/speech/fr-FR/f:Governments of the Industrial World') | |
samples('shabda/speech/fr-FR/f:you weary giants of flesh and steel') | |
samples('shabda/speech/fr-FR/f:aï come from saïberspace') | |
samples('shabda/speech/fr-FR/f:the new home of Maïnd.') | |
samples('shabda/speech/fr-FR/f:On behalf of the future') | |
samples('shabda/speech/fr-FR/f:aï ask you of the past') | |
samples('shabda/speech/fr-FR/f:to leave us alone') |
programs = { | |
steam.enable = true; | |
nix-ld = { | |
enable = true; | |
libraries = with pkgs; [ | |
zlib | |
openssl | |
curl | |
# etc | |
]; |
(through https://rustup.rs)
hyperfine --warmup=1 'cargo install -f [email protected]'
{ | |
config, | |
pkgs, | |
options, | |
... | |
}: let | |
hostname = "oatman-pc"; # to alllow per-machine config | |
in { | |
networking.hostName = hostname; |
#![allow(dead_code, unused_variables)] | |
fn main() {} | |
struct Machine<State> { | |
data: Vec<u16>, | |
state: State, | |
} | |
struct State1 {} | |
struct State2 {} |
head: 0atman:branch-name-with-your-changes assignee: 0atman base: local-branch-name-on-this-repo draft: true issue: linked issue url? reviewers:
use std::thread; | |
struct User { | |
age: u16, | |
} | |
fn simple_thread() { | |
let user = User { age: 30 }; | |
// thread::spawn(|| &user); // can't borrow `user` as thread may outlive current function | |
thread::spawn(|| user); // can only move into thread, then it's gone. |