This file contains hidden or 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
| { | |
| "document": { | |
| "block_prefix": "\n", | |
| "block_suffix": "\n", | |
| "color": "#E8E8D3", | |
| "margin": 2 | |
| }, | |
| "block_quote": { | |
| "indent": 1, | |
| "indent_token": "│ ", |
This file contains hidden or 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
| /****************************************************************************** | |
| MicroViewBounce.ino | |
| This sketch uses the MicroView library. | |
| ******************************************************************************/ | |
| #include <MicroView.h> | |
| MicroView m; | |
| struct State { |
This file contains hidden or 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 ( | |
| "cmp" | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" |
This file contains hidden or 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
| #include <nats/nats.h> | |
| #include <string.h> | |
| const char *subj = "foo"; | |
| const char *payload = "example"; | |
| int64_t start = 0; | |
| int64_t total = 1000000; | |
| volatile int64_t count = 0; |
This file contains hidden or 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
| /* See LICENSE file for copyright and license details. */ | |
| /* | |
| * appearance | |
| * | |
| * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html | |
| */ | |
| static char *font = "Office Code Pro D:antialias=true:style=Medium:pixelsize=20"; | |
| static int borderpx = 2; |
This file contains hidden or 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
| [Desktop Entry] | |
| Name=st | |
| Comment=Simple Terminal | |
| Exec=/home/peter/.local/bin/st -f "OfficeCodeProD Nerd Font:antialias=true:style=Medium:pixelsize=30" | |
| Terminal=false | |
| Type=Application | |
| Icon=st | |
| Categories=Utility;TerminalEmulator; | |
| StartupWMClass=st-256color |
This file contains hidden or 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 ( | |
| "fmt" | |
| "log" | |
| "github.com/fxamacker/cbor/v2" | |
| ) | |
| const ( |
This file contains hidden or 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 aaa_mode=artist | |
| set altformat_current= %F | |
| set altformat_playlist= %f%= %d | |
| set altformat_title=%f | |
| set altformat_trackwin= %f%= %d | |
| set auto_expand_albums_follow=true | |
| set auto_expand_albums_search=true | |
| set auto_expand_albums_selcur=true | |
| set auto_reshuffle=true | |
| set buffer_seconds=5 |
This file contains hidden or 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 main() !void { | |
| var a = Counter(u32){}; | |
| var b = Counter(i32){ .value = 41 }; | |
| a.count.increment(); | |
| b.count.increment(); | |
| std.debug.print("a: {}\tb: {}\n", .{ a.value, b.value }); |
This file contains hidden or 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
| .PHONY: all | |
| all: build run | |
| CXX := $(or $(CXX),zig c++) | |
| .PHONY: build | |
| build: | |
| ${CXX} -std=c++23 -o greeter greeter.cpp | |
| ${CXX} -std=c++23 -o virtual virtual.cpp |
NewerOlder