Skip to content

Instantly share code, notes, and snippets.

@keto
keto / suppressmail.patch
Last active June 14, 2019 10:56
Bugzilla 5.0 suppress mail patch
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 110a1ffaf..ab4c61e41 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -264,8 +264,14 @@ sub Send {
$dep_ok = $user->can_see_bug($params->{blocker}->id) ? 1 : 0;
}
+ # suppress mail
+ my $suppress_group = Bugzilla->params->{suppressmailgroup};
@akhenakh
akhenakh / influxdb
Last active November 4, 2015 22:35
influxdb on freebsd
pkg install bison flex leveldb protobuf gmake ruby ruby-gems bzr mercurial valgrind
export CC=clang
export GOROOT=/home/akh/dev/gosrc
export CGO_CFLAGS="-I/usr/local/include"
export CGO_LDFLAGS="-L/usr/local/lib"
git clone https://github.com/influxdb/influxdb.git
./configure --with-flex=/usr/local/bin/flex --with-bison=/usr/local/bin/bison
# edit Makefile to change the SHELL path to /usr/local/bin/bash
@davecheney
davecheney / gist:8997968
Last active August 29, 2015 13:56
FreeBSD on BBB issues
# RELEASE image has WITNESS enabled
# autosize doesn't work on first boot
mmcsd0s2 resized
gpart: autofill: No space left on device
growfs: requested size 952MB is not larger than the current filesystem size 952MB
root@beaglebone:~ # gpart show
=> 63 15523777 mmcsd0 MBR (7.4G)
63 4095 1 !12 [active] (2.0M)