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
# 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
@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
# 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:
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}}
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] yaz4j
[INFO] yaz4j-any
[INFO] libyaz4j
[INFO] artifact org.codehaus.mojo:native-maven-plugin: checking for updates from Codehaus Snapshots
[WARNING] repository metadata for: 'artifact org.codehaus.mojo:native-maven-plugin' could not be retrieved from repository: Codehaus Snapshots due to an error: Error transferring file: snapshots.repository.codehaus.org
[INFO] Repository 'Codehaus Snapshots' will be blacklisted
[INFO] ------------------------------------------------------------------------
// Gulp with BrowserSync http://www.browsersync.io/docs/gulp/
// Gulp with Symfony framework: http://knpuniversity.com/screencast/gulp
// run "gulp" in development environment
// run "gulp --production" in production environment
var gulp = require('gulp'),
minifyCss = require('gulp-minify-css'),
//less = require('gulp-less'),
concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
// Gulp with Symfony framework: http://knpuniversity.com/screencast/gulp
// run "gulp" in development environment
// run "gulp --production" in production environment
var gulp = require('gulp'),
minifyCss = require('gulp-minify-css'),
less = require('gulp-less'),
concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
ngAnnotate = require('gulp-ng-annotate'),
@jirikrepl
jirikrepl / gist:35a6ee1e6d7e598c0c7ebdde780fbd57
Created August 25, 2016 07:10
Kramerius - spatne razene prilohy
Špatně seřazené přílohy vrací i API
moravianlibrary https://github.com/moravianlibrary/kramerius/issues/94
ceskaexpedice https://github.com/ceskaexpedice/kramerius/issues/426
# Brněnské noviny
Periodikum - špatně seřazené přílohy
#### uuid