Skip to content

Instantly share code, notes, and snippets.

View jirikrepl's full-sized avatar
🏠
Working from home

jirikrepl

🏠
Working from home
View GitHub Profile
Template consultant_sidebarStatus used somewhere with this context ...
{{> consultant_sidebarStatus consultant=consultant}}
How template consultant_sidebarStatus looks like
<template name="consultant_sidebarStatus">
{{goldStatus}}
{{#with x=1}}
{{goldStatus}}
{{/with}}
# SEND VIRTUAL VALUE
# # You can currently send Strings, Int32, Float32 and Tuples to pybytes using this method.
# # Soon you will be able to send Coordinates, Longs, Unsigned numerical types, and more.
# pybytes.send_virtual_pin_value(False, 26, 'The device restarted')
#
# # SEND SENSOR DATA THROUGH VIRTUAL PINS
# # If you use a Pysense, some libraries are necessary to access its sensors
# # you can find them here: https://github.com/pycom/pycom-libraries
#
# # Include the libraries in the lib folder then import the ones you want to use here:
@jirikrepl
jirikrepl / browser console
Last active December 30, 2021 11:13
deepsource autofix
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/gh/jirikrepl/nedatluj-meteor/issues?category=recommended&analyzer=all&page=1".
It https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
confirmTransition https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
transitionTo https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
replace https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
replace https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
replace https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
t https://assets.deepsource.io/38d5c8a/bifrost/facf1ab.js:1
d https://assets.deepsource.io/38d5c8a/bifrost/a4a288e.js:2
# configure git credentials manager to work with GPG
# usefull for sessions without GUI
# https://github.com/GitCredentialManager/git-credential-manager
# https://github.com/GitCredentialManager/git-credential-manager/blob/main/docs/credstores.md#gpgpass-compatible-files
# install pass
sudo apt install pass
# generate gpg key pair