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
{ pkgs ? import <nixpkgs> {} }: | |
let kvrocks = pkgs.stdenv.mkDerivation (finalAttrs: with pkgs; { | |
pname = "kvrocks"; | |
version = "2.9.0"; | |
src = fetchFromGitHub { | |
owner = "apache"; | |
repo = "kvrocks"; | |
rev = "v${finalAttrs.version}"; |
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
set -e | |
ROOTS=${1:-/root/dev-roots} | |
mkdir -p "$ROOTS" | |
rm "$ROOTS/"* | |
nix --extra-experimental-features nix-command derivation show -r /run/current-system | | |
jq -r 'map(select(.outputs.out.path)) | map(.outputs.out.path) | unique .[]' | | |
grep -xFf <(nix-store --gc --print-dead) | | |
xargs ln -vst "$ROOTS" | |
ln -vst /nix/var/nix/gcroots/auto "$ROOTS/"* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'rust-lang/rust.vim' | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', | |
\ } | |
"Plug 'vim-denops/denops.vim' | |
"Plug 'vim-denops/denops-helloworld.vim' | |
Plug 'Shougo/ddu.vim' | |
Plug 'Shougo/ddu-ui-ff' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
upstream=https://cdn-alt.download.clearlinux.org/update | |
mkdir mirror-download-clearlinux-org | |
cd mirror-download-clearlinux-org | |
format=30 | |
latest=`curl -s $upstream/version/format$format/latest` | |
minversion=`curl -s $upstream/$latest/Manifest.MoM | awk '/^minversion:/{print$2}'` | |
for SUBDIR in 0 version $minversion | |
do wget --no-verbose --no-parent --recursive --no-host-directories -erobots=off --reject "index.html" \ | |
$upstream/update/$SUBDIR/ | |
done |
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
import seaborn as sns | |
import numpy as np | |
import matplotlib.pyplot as plt | |
v5_1 = np.array([ | |
[18.2344,0.8817], | |
[7.6955,0.8927], | |
[3.4063,0.9219], | |
[2.1284,0.9350], | |
[1.6182,0.9551], |
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
17590 mov | |
5373 lea | |
3701 add | |
3632 cmp | |
1740 jmp | |
1708 call | |
1534 sub | |
1281 cmovl | |
1272 imul | |
1230 push |
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
export DENO_INSTALL="$HOME/.deno" | |
export PATH="$DENO_INSTALL/bin:$PATH" | |
export DENO_TLS_CA_STORE="system" |
NewerOlder