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 odb2p | |
import ( | |
_ "embed" | |
"fmt" | |
"os" | |
"strings" | |
"testing" | |
) |
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" | |
"log" | |
"net/netip" | |
"os" | |
"unsafe" | |
"golang.org/x/sys/unix" |
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 sets | |
// a | b | |
func union[T comparable](a, b map[T]struct{}) map[T]struct{} { | |
c := make(map[T]struct{}) | |
for k := range a { | |
c[k] = struct{}{} | |
} | |
for k := range b { | |
c[k] = struct{}{} |
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 ( | |
"fmt" | |
"log" | |
"strconv" | |
"strings" | |
wd "github.com/fedesog/webdriver" | |
) |
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
{ | |
// Font | |
"editor.fontFamily": "JetBrains Mono NL", // Install font first. | |
"editor.fontLigatures": false, | |
// Editor | |
"workbench.sideBar.location": "right", | |
"explorer.confirmDelete": false, | |
"window.zoomLevel": 2, | |
"files.associations": { |
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
! To compile program with LAPACK: | |
! gfortran main.f90 -L/home/pato/src/lia/lapack -llapack -lrefblas | |
program main | |
implicit none | |
integer, parameter :: is=2, js=2, nb=2,mb=2 | |
double precision :: one, rhs(8) | |
integer, parameter :: m=4, n=4 ! constants for test. | |
integer, parameter :: lda=m, ldb=n, ldc=m, ldd=m, lde=n, ldf=m ! expected leading dimensions |
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 | |
type Impl struct{} | |
func (Impl) X() { | |
} | |
type Xer interface{ X() } // X This is the xer implementation | |
// Second line |
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 helpers | |
import ( | |
"github.com/deadsy/sdfx/sdf" | |
) | |
// Spaces sdf3's located at one point. | |
func DirectionalSpacing(shapes []sdf.SDF3, dir sdf.V3, baseSep float64) (spacings []sdf.V3) { | |
if dir.Equals(sdf.V3{}, 0) { | |
panic("direction must not be zero") |
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" | |
"fmt" | |
"io/fs" | |
stdlog "log" | |
"os" | |
"os/exec" | |
"os/signal" |
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
%----------------Lo de 4th layer de subsectrion | |
\titleclass{\subsubsubsection}{straight}[\subsection] | |
\newcounter{subsubsubsection}[subsubsection] | |
\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} | |
\renewcommand\theparagraph{\thesubsubsubsection.\arabic{paragraph}} % optional; useful if paragraphs are to be numbered | |
\titleformat{\subsubsubsection} | |
{\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} |
NewerOlder