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 build123d import * | |
from gridfinity_build123d import * | |
import math | |
# Defaults are for this set: | |
# https://littlemachineshop.com/products/product_view.php?ProductID=1893 | |
parallel_pair_count = 10 | |
parallel_width = 3.0 * 25.4 | |
parallel_thickness = 1.0/8.0 * 25.4 | |
shortest_parallel_height = 1/2 * 25.4 |
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
diff --git a/bindings/aws/sqs/sqs.go b/bindings/aws/sqs/sqs.go | |
index 465e061b..356062e4 100644 | |
--- a/bindings/aws/sqs/sqs.go | |
+++ b/bindings/aws/sqs/sqs.go | |
@@ -33,13 +33,14 @@ import ( | |
// AWSSQS allows receiving and sending data to/from AWS SQS. | |
type AWSSQS struct { | |
- Client *sqs.SQS | |
- QueueURL *string |
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" | |
"fmt" | |
"math/rand" | |
) | |
type T struct { | |
Value int64 |
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 tkt | |
import ( | |
"sync" | |
) | |
type Deferred[T any] interface { | |
Get() T | |
} |
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
Only in zmk/app: build | |
Only in zmk: build | |
Only in zmk/modules/bsim_hw_models/nrf_hw_models: .git | |
Only in zmk/modules/crypto/mbedtls: .git | |
Only in zmk/modules/crypto/tinycrypt: .git | |
Only in zmk/modules/debug/mipi-sys-t: .git | |
Only in zmk/modules/debug/TraceRecorder: .git | |
Only in zmk/modules/fs/fatfs: .git | |
Only in zmk/modules/fs/littlefs: .git | |
Only in zmk/modules/hal/atmel: .git |
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 conf | |
import ( | |
"list" | |
"strings" | |
"text/template" | |
) | |
#URLEncoding: { | |
let doNotEncode = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_." |
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
//usr/bin/env cc -o "/tmp/foo.$$" "$0" || exit $?; exec "/tmp/foo.$$" "$@" | |
#include <stdio.h> | |
int main(int argc, char *argv[]) | |
{ | |
printf("hello, world!\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
{ | |
description = "2u environment configuration"; | |
inputs.nixpkgs.url = "github:NixOS/nixpkgs"; | |
outputs = { self, nixpkgs }: let | |
devEnvironmentForSystem = system: let | |
pkgs = import nixpkgs { | |
inherit system; | |
config.allowUnfree = true; |
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
;; I? Input satisfied? | |
;; O? Output satisfied? | |
;; RR? Requires release? | |
;; HR? Has release? | |
;; | |
(def status-table | |
;; # I? O? RR? HR? | Status | |
;; --- -- -- -- -- | ------ | |
'[[ 0 N N N N :| "UNAVAILABLE"] | |
[ 1 Y N N N :| "AVAILABLE"] |
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
irb(main):001:0> class Foo | |
irb(main):002:1> class Bar | |
irb(main):003:2> end | |
irb(main):004:1> end | |
=> nil | |
irb(main):005:0> Foo::Bar.new.kind_of?(Foo) | |
=> false | |
irb(main):006:0> |
NewerOlder