This currently supports vector development.
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
use AppleScript version "2.8" -- Yosemite (10.10) or later | |
use framework "Foundation" | |
use framework "CoreWLAN" | |
use scripting additions | |
set wifiInterface to current application's CWInterface's interfaceWithName:"en0" | |
-- Require location permission granted | |
-- Print the entire object | |
log quoted form of (wifiInterface's interfaceName as 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
ARG RUST_VERSION=1.79.0 | |
FROM rust:${RUST_VERSION}-alpine AS base | |
RUN apk add --no-cache musl-dev | |
WORKDIR /workspace | |
FROM base AS cargo-cross | |
RUN --mount=type=cache,target=/usr/local/cargo/git/db \ | |
--mount=type=cache,target=/usr/local/cargo/registry/cache \ | |
--mount=type=cache,target=/usr/local/cargo/registry/index \ |
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 IPython.core.magic import needs_local_scope, register_line_magic | |
@register_line_magic | |
@needs_local_scope | |
def clip(line, local_ns): | |
import json | |
import os | |
import subprocess |
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" | |
"encoding/json" | |
) | |
func main() { | |
var ( | |
lst []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
""" | |
https://github.com/containers/podman/issues/8016#issuecomment-920015800 | |
""" | |
import getpass | |
import os | |
import re | |
import shlex | |
import subprocess | |
from pathlib import Path |
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
module github.com/linw1995/etcd_learning | |
go 1.16 | |
replace ( | |
github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.6 | |
google.golang.org/grpc => google.golang.org/grpc v1.26.0 | |
) | |
require ( |
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" | |
"time" | |
) | |
func main() { | |
now := time.Now() | |
fmt.Println( |
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 ( | |
"bytes" | |
"encoding/csv" | |
"fmt" | |
"io" | |
"reflect" | |
) |
NewerOlder