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 rust:1.59-slim-buster | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt update && apt install -y wget git pkg-config libssl-dev make && rm -rf /var/lib/apt/lists/* | |
WORKDIR /tmp | |
RUN wget https://github.com/WebAssembly/binaryen/releases/download/version_105/binaryen-version_105-x86_64-linux.tar.gz | |
RUN tar -zxvf binaryen-version_105-x86_64-linux.tar.gz | |
RUN ls -la /tmp/binaryen-version_105/bin | |
RUN cp /tmp/binaryen-version_105/bin/* /usr/local/bin/ |
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
│ File: .zsh/includes/cleanup.sh | |
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────── | |
1 │ cleanup () { | |
2 │ find ~/src -name 'node_modules' -type d -prune -exec rm -rf '{}' + | |
3 │ find ~/src -name '.next' -type d -prune -exec rm -rf '{}' + | |
4 │ cargo sweep -r -t 30 ~/src | |
5 │ brew cleanup | |
6 │ is_bin_in_path docker && docker system prune -a -f --volumes || echo "skipping docker" | |
7 │ } | |
8 │ # https://stackoverflow.com/questions/6569478/detect-if-executable-file-is-on-users-path |
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
TRACE manifest_directory="/Users/bjk/dotfiles/." manifests="git" Comtrya execution started | |
DEBUG OS Detected OS="Mac OS" | |
TRACE Building Contexts | |
DEBUG context="user" key="name" value="Brian Ketelsen" | |
DEBUG context="user" key="username" value="bjk" | |
DEBUG context="user" key="home_dir" value="/Users/bjk" | |
DEBUG context="user" key="config_dir" value="/Users/bjk/Library/Application Support" | |
TRACE manifest_load{manifest="main.yaml"}: manifest="main.yaml" | |
TRACE manifest_load{manifest="main.yaml"}: absolute_path="/Users/bjk/dotfiles/shell/starship/main.yaml" | |
TRACE manifest_load{manifest="main.yaml"}: template="actions:\n - action: file.copy\n from: starship.toml\n to: \"{{ user.home_dir }}/.config/starship.toml\"\n template: false\n - action: package.install\n list:\n - starship" |
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
❯ comtrya --trace | |
TRACE manifest_directory="/Users/bjk/cdots/." manifests="" Comtrya execution started | |
TRACE Building Contexts | |
DEBUG context="user" key="name" value="Brian Ketelsen" | |
DEBUG context="user" key="username" value="bjk" | |
DEBUG context="user" key="home_dir" value="/Users/bjk" | |
DEBUG context="user" key="config_dir" value="/Users/bjk/Library/Application Support" | |
TRACE manifest="copy.yaml" | |
TRACE absolute_path="/Users/bjk/cdots/file/copy.yaml" | |
TRACE template="actions:\n # This will be rendered with contexts\n - action: file.copy\n from: some-file\n to: some-path\n\n # This will not be rendered with contexts\n - action: file.copy\n from: some-file\n to: some-path\n template: false\n" |
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
extern crate dispatch; | |
use dispatch::{Queue, QueuePriority}; | |
use std::fs::File; | |
use std::fs::{self, DirEntry}; | |
use std::io; | |
use std::io::prelude::*; | |
use std::path::Path; | |
use std::process::exit; |
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
2020/11/24 09:15:02 daemon: serving on /home/bjk/.cache/encore/encored.sock | |
2020/11/24 09:15:02 sqldb: serving on 127.0.0.1:35929 | |
2020/11/24 09:15:02 dash: serving on http://127.0.0.1:42971 | |
2020/11/24 09:15:02 runtime: serving on 127.0.0.1:39515 | |
2020/11/24 09:15:18 secret: fetching secrets for showrunner-46b2 | |
panic: unhandled ast.Expr type: <nil> | |
goroutine 98 [running]: | |
encore.build/parser/parser/nameresolve.(*checker).expr(0xc000999510, 0x0, 0x0) | |
/home/eandre/encore-build/parser/parser/nameresolve/nameresolve.go:511 +0x1322 |
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 ghUserEvents = require('gh-user-events'); | |
var watches = 0; | |
var comments = 0; | |
var pushes = 0; | |
var prs = 0; | |
var createRepos = 0; | |
var deleteRepos = 0; | |
var reviews = 0; | |
var issues = 0; |
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
<div id="app"> | |
<h1>{{ header }}</h1> | |
<p>Feel free to edit the HTML, JavaScript and CSS in this playground. The preview will update in real-time, so that | |
you can visually explore your ideas.</p> | |
<button @click="sayHi">Say Hi <span class="fa fa-heart" /></button> | |
</div> |
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
strings ./v | |
%i.%i.%i | |
new array data is nil after malloc | |
bad insert | |
array index out of range: %d/%d | |
array first() for empty array | |
array last() for empty array | |
invalid slice index: %d > %d | |
array index out of range: %d / %d | |
"%.*s" |
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 handlerFunc = fn (event: u32) i8; | |
fn registerHandler(func: handlerFunc, [more]) void { | |
} | |
export fn dispatchEvent(id: u32) !void { | |
} |