Skip to content

Instantly share code, notes, and snippets.

2022/02/11 12:53:54 ...ers/web/repo/view.go:860:renderCode() [E] GitRepo.IsEmpty: check empty: exit status 129 - usage: git rev-list [OPTION] <commit-id>... [ -->
limiting output:
--max-count=<n>
--max-age=<epoch>
--min-age=<epoch>
--sparse
--no-merges
--min-parents=<n>
--no-min-parents
--max-parents=<n>
@TOMeeeek
TOMeeeek / confirm.ajax.js
Last active September 18, 2024 08:55
Confirm dialog for Bootstrap - use nette.ajax.js
(function ($, undefined) {
$.nette.ext({
load: function () {
$('[data-nette-confirm]').off('click.nette').click(function (event) {
// remove old confirm dialog
$("#dConfirmMaster").remove();
var obj = this;
event.preventDefault();