Skip to content

Instantly share code, notes, and snippets.

View Yatekii's full-sized avatar

Noah Hüsser Yatekii

View GitHub Profile
public void RunAction(IFlexySys fs, string name)
{
IEnumerable<Conditional>? action;
if (this.actions != null && this.actions.TryGetValue(name, out action))
{
RunConditionals(fs, action);
}
}
if (first == "op")
{
Expression initialVar = OperationExpression;
// We have UI access at hand. Assemble the entire access chain.
foreach (var piece in pieces.Skip(1))
{
var number = -1;
try
{
number = int.Parse(piece);
yatekii@arcturo:~/repos/probe-rs/cargo-embed$ git add .yatekii@arcturo:~/repos/probe-rs/cargo-embed$ git rebase --continue
Applying: Update the reset_and_halt call
No changes - did you forget to use 'git add'?
If there is nothing left to stage, chances are that something else
already introduced the same changes; you might want to skip this patch.
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
#![no_main]
#![no_std]
use panic_halt as _;
use core::fmt::Write;
use cortex_m_rt::entry;
use rtt_target::rtt_init;
error[E0597]: `modbus` does not live long enough
--> src/lib.rs:302:9
|
302 | modbus.on_data_received(&[0x42, 0x42]);
| ^^^^^^ borrowed value does not live long enough
303 | modbus.next().await;
304 | }
| -
| |
| `modbus` dropped here while still borrowed
FROM alpine:3.12
RUN apk \
--update \
--upgrade \
--no-cache \
add \
cairo-dev \
pango-dev \
gdk-pixbuf-dev \
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0yvwbf7v/cairocffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0yvwbf7v/cairocffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-0hmye1qc
cwd: /tmp/pip-install-0yvwbf7v/cairocffi/
Complete output (45 lines):
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-pstklel2/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-pstklel2/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(cod
[probe]
# The index of the probe in the connected probe list.
# probe_index = 0
# The protocol to be used for communicating with the target.
protocol = "Swd"
# The speed in kHz of the data link to the target.
# speed = 1337
[flashing]
#!/usr/bin/env bash
#Fix starting screen setup issue https://github.com/getsentry/sentry/issues/12722
echo "Set config.yml"
cat <<EOT > config.yml
auth.allow-registration: false
beacon.anonymous: true
mail.backend: 'smtp'
mail.from: "[email protected]"
Digest: sha256:b51dc2876a5d1e184190d76a2a1f11da034d16acd95ab2e0c2191b8f1ab65d4c
Status: Image is up to date for node:12.16.3-stretch
---> bdca973cfa07
Step 2/7 : COPY ./ ./
---> 264c732e7789
Step 3/7 : RUN yarn install --frozen-lockfile
---> Running in 862045a923ad
yarn install v1.22.4
[1/4] Resolving packages...
success Already up-to-date.