ttboard.project_mux: Enable design tt_um_rtfb_collatz
ttboard.pins.standard: Disabling pwm on rp_projclk
ttboard.demoboard: First time loading: Toggling project reset
ttboard.demoboard: Changing reset to output mode
ttboard.demoboard: Changing reset to output mode
Iters: 8
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
| $ zig build run --fork=../zig-SDL_image/ | |
| info: fork ../zig-SDL_image/ matched 1 SDL_image packages | |
| run | |
| └─ run exe repro | |
| └─ compile exe repro Debug native 1 errors | |
| src/main.zig:36:64: error: expected type '[*c]sdl.struct_SDL_Surface', found '[*c]SDL_image.struct_SDL_Surface' | |
| const texture = sdl.SDL_CreateTextureFromSurface(renderer, surface); | |
| ^~~~~~~ | |
| src/main.zig:36:64: note: pointer type child 'SDL_image.struct_SDL_Surface' cannot cast into pointer type child 'sdl.struct_SDL_Surface' | |
| .zig-cache/o/bedec88e39ff71de5c94937e9cb51ed6/SDL_image.zig:2239:39: note: struct declared here |
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
| from machine import Pin | |
| BITS = 144 | |
| BYTES = BITS >> 3 | |
| # enable the design | |
| tt.shuttle.tt_um_rtfb_collatz.enable() | |
| # tt.clock_project_stop() | |
| # reset the design |
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" | |
| "io" | |
| "os/exec" | |
| bf "gopkg.in/russross/blackfriday.v2" | |
| ) |
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" | |
| "io" | |
| "github.com/russross/blackfriday.v2" | |
| ) | |
| // OmitContentsRenderer is a thing. |
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 ( | |
| "bytes" | |
| "fmt" | |
| bf "gopkg.in/russross/blackfriday.v2" | |
| ) | |
| func main() { |
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
| import itertools | |
| def xprf(l): | |
| return l[0] + 13*float(l[1])/float(l[2]) + l[3] + 12*l[4] - l[5] - 11 + float(l[6])*float(l[7])/float(l[8]) - 10 | |
| def xpri(l): | |
| if l[1] % l[2] != 0: | |
| return -1 |
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
| diff --git a/main_test.go b/main_test.go | |
| index 24e0118..1ab61c8 100644 | |
| --- a/main_test.go | |
| +++ b/main_test.go | |
| @@ -146,6 +146,12 @@ type Animal struct { | |
| UpdatedAt time.Time | |
| } | |
| +type MappedFields struct { | |
| + Id int64 `name:"o_id"` |
All or substantially all non-text content has short alternative descriptions, usually provided via alt attributes.
Visas ar beveik visas netekstinis turinys turi trumpus alternatyvius aprašus, įprastai nurodomus per alt atributą.
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
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:layout_marginLeft="16dp" | |
| android:layout_marginRight="16dp" | |
| android:baselineAligned="false" | |
| android:divider="?android:attr/dividerHorizontal" | |
| android:orientation="horizontal" | |
| android:showDividers="middle" |
NewerOlder