Quick install of pyenv (https://github.com/pyenv/pyenv-installer)
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
mut v_code := ' | |
module main | |
import v.embed_file | |
fn get_embedded_files() []embed_file.EmbedFileData { | |
mut embedded_files := []embed_file.EmbedFileData{} | |
' | |
output_file := 'auto_generated_embedded_files.v' |
#!/usr/bin/env -S v | |
module main | |
import os | |
struct CompInfo { | |
pub mut: | |
file string | |
line string |
#!/bin/bash | |
## should be run in V's main repo folder! | |
rm -rf tinycc/ | |
rm -rf thirdparty/tcc/ | |
pushd . | |
git clone git://repo.or.cz/tinycc.git |
[[Toml]] | |
ID = "5888fed8b0546a1eb0cfe5d4" | |
Index = 0 | |
GUID = "d718f1a0-4446-484d-b399-4a0b7e6c6f7b" | |
IsActive = false | |
Balance = "$1,945.41" | |
Picture = "http://placehold.it/32x32" | |
Age = 27 | |
EyeColor = "green" |
#!/usr/bin/env bash | |
# Add pip packages to a Krita .appimage | |
# - as descriped here https://gist.github.com/Larpon/e81ed68895bdba35098d9d84688ac01e | |
# | |
# The script is working on a copy of the appimage to ensure any failed | |
# runs doesn't make your krita unusable | |
# You can patch an appimage multiple times | |
# TODO support installing multiple packages in one go |
Quick install of pyenv (https://github.com/pyenv/pyenv-installer)
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash