This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# adding remote | |
git remote add module [email protected]:user/module.git | |
# updating remote | |
git fetch module | |
# updating remote (tag) | |
git fetch Weaver 0.9.9 | |
# adding subtree (master) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hudson.matrix.MatrixRun | |
import hudson.matrix.MatrixBuild | |
for (i in Jenkins.instance.items) { | |
i.builds.findAll {it.result && (it.result != Result.SUCCESS) && (it.result != Result.UNSTABLE)}.each { | |
println(it) | |
println(it.result) | |
if (it instanceof MatrixBuild) { | |
MatrixBuild matrixRun = it | |
for (j in matrixRun.getExactRuns()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #fff!important; | |
} | |
#jenkins-head-icon { | |
display: none; | |
} | |
#header .logo { | |
float: left; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- orig/symbolicatecrash 2015-11-12 01:00:25.000000000 +0100 | |
+++ new/symbolicatecrash 2016-02-09 11:12:09.000000000 +0100 | |
@@ -238,7 +238,7 @@ | |
} | |
#Find any naked executables | |
- $cmd = "mdfind \"kMDItemContentType == public.unix-executable && kMDItemDisplayName == '$exec_name'\""; | |
+ $cmd = "mdfind \"( kMDItemContentType == public.unix-executable || kMDItemContentType == public.data ) && ( kMDItemDisplayName == '$exec_name' )\""; | |
print STDERR "Running $cmd\n" if $opt{v}; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- minidlna-1.1.5/minissdp.c~orig 2015-09-10 21:24:09.000000000 +0200 | |
+++ minidlna-1.1.5/minissdp.c 2017-08-09 01:03:45.000000000 +0200 | |
@@ -113,11 +113,16 @@ | |
memset(&sockname, 0, sizeof(struct sockaddr_in)); | |
sockname.sin_family = AF_INET; | |
sockname.sin_port = htons(SSDP_PORT); | |
+#if 0 | |
/* NOTE: Binding a socket to a UDP multicast address means, that we just want | |
* to receive datagramms send to this multicast address. | |
* To specify the local nics we want to use we have to use setsockopt, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur minidlna-1.2.1/albumart.c minidlna-1.2.1-cover-resize/albumart.c | |
--- minidlna-1.2.1/albumart.c 2017-08-24 19:28:25.000000000 +0200 | |
+++ minidlna-1.2.1-cover-resize/albumart.c 2017-09-10 00:34:02.000000000 +0200 | |
@@ -67,15 +67,18 @@ | |
strncpyt(cache_dir, cache_file, sizeof(cache_dir)); | |
make_dir(dirname(cache_dir), S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH); | |
+ if( runtime_vars.cover_size <= 0 ) | |
+ return image_save_to_jpeg_file(imsrc, cache_file); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set daemon 30 | |
check process SourceKitService matching "SourceKitService" | |
if memory > 2 GB then exec "/usr/bin/killall -9 SourceKitService" | |
repeat every 1 cycle | |
mode passive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur minidlna-1.2.1/getifaddr.c minidlna-1.2.1-sdl_alen-0-8/getifaddr.c | |
--- minidlna-1.2.1/getifaddr.c 2017-08-24 19:28:25.000000000 +0200 | |
+++ minidlna-1.2.1-sdl_alen-0-8/getifaddr.c 2017-10-06 22:05:06.000000000 +0200 | |
@@ -206,6 +206,10 @@ | |
#else | |
struct sockaddr_dl *sdl; | |
sdl = (struct sockaddr_dl*)p->ifa_addr; | |
+ if (sdl->sdl_alen == 0) | |
+ continue; | |
+ if (6 < sdl->sdl_alen) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] | |
signing_required=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
extension RawRepresentable where RawValue: BinaryInteger { | |
init?(named name: String, from lower: Self, to upper: Self) { | |
var i = lower.rawValue | |
repeat { | |
let x = Self(rawValue: i)! | |
guard "\(x)" != name else { | |
self = x |
OlderNewer