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 docs_step = b.step("docs", "Emit docs"); | |
const docs_install = b.addInstallDirectory(.{ | |
.install_dir = .prefix, | |
.install_subdir = "docs", | |
.source_dir = exe.getEmittedDocs(), | |
}); | |
docs_step.dependOn(&docs_install.step); |
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
function dl(n) { | |
setTimeout(function(){ | |
document.querySelector('span[class^="Notification-module_close__"]').click(); | |
}, 500); | |
var more = document.querySelectorAll('div[class^="Dropdown-module_container__"]'); | |
more[n].click(); | |
more[n].querySelector('div[id^="DOWNLOAD_AND_TRANSFER_ACTION_"]').click(); | |
more[n].querySelector('label[class^="RadioButton-module_radio_container__"] input').click(); |
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
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"image" | |
"image/color" | |
"image/draw" | |
"io" |
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
package main | |
import ( | |
"archive/zip" | |
"flag" | |
"fmt" | |
"io" | |
"os" | |
"path/filepath" | |
"strings" |
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
package main | |
import ( | |
"errors" | |
"flag" | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
"path/filepath" |
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
package main | |
import ( | |
"encoding/json" | |
"io" | |
"os" | |
"path/filepath" | |
"sync" | |
) |
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
local wezterm = require 'wezterm'; | |
return { | |
default_domain = 'WSL:Debian', | |
prefer_egl = true, | |
max_fps = 165, | |
automatically_reload_config = true, | |
font = wezterm.font('Office Code Pro D', { | |
weight = 'Regular', | |
italic = false |
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
#let red = red.desaturate(70%); | |
#let yellow = yellow.desaturate(70%); | |
#let blue = blue.desaturate(70%); | |
#let green = green.desaturate(70%); | |
#let gray = gray.lighten(20%); | |
#let black = black.lighten(10%); | |
#let lightgray = gray.lighten(70%); | |
#show table.cell: it => { | |
if it.x > 0 and it.y == 5 { |
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 std = @import("std"); | |
pub fn build(b: *std.Build) void { | |
const exe = b.addExecutable(.{ | |
.name = "cart", | |
.root_source_file = b.path("main.zig"), | |
.target = b.resolveTargetQuery(.{ | |
.cpu_arch = .wasm32, | |
.os_tag = .freestanding, | |
}), |
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
zig-out | |
.zig-cache |
NewerOlder