$ ldd <binary>
$ otool -L
module half_adder( | |
input clk, | |
a, | |
b, | |
output reg sum, | |
carry | |
); | |
always @(posedge clk) | |
begin | |
sum <= a ^ b; |
$ conan install -s compiler.cppstd=17 -s compiler=clang -s compiler.version=7.0 --build missing . | |
Configuration: | |
[settings] | |
arch=armv7 | |
arch_build=armv7 | |
build_type=Release | |
compiler=clang | |
compiler.cppstd=17 |
visualstudio2019community
.PS C:\> choco install --force visualstudio2019-workload-nativedesktop --package-parameters "--includeOptional"
brew install llvm --HEAD
.# Prefer newer LLVM with fuzzing enabled
# shellcheck source=/dev/null
export CC='clang'
export CXX='clang++'
export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
PATH="$(brew --prefix)/opt/llvm/bin:$PATH"
$ cat src/zag/main.zig | |
const std = @import("std"); | |
pub fn main() !void { | |
const stdout = std.io.getStdOut().writer(); | |
// | |
// The OK triples from: | |
// https://github.com/ziglang/zig-bootstrap#supported-triples | |
// |
If DiskUtility is giving you lip, select View -> Show All Devices
and erase the outer device.
#!/usr/bin/env ruby | |
file = File.new('/tmp/default.pcm.dat', 'rb') | |
while bytes = file.read(4) do | |
puts bytes.unpack('l>')[0] | |
end |
If pasting clips are appearing before the beginning of the track, then clear all in and out marks.
VSCode has a nasty habit of nesting pasted text deeper than it should be. To stop this from happening, configure:
{
"editor.autoindent": "advanced"
}