This file contains hidden or 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
| # for build output parser | |
| CC = gcc | |
| MYOBJS = single.o multi.o | |
| all: $(MYOBJS) | |
| clean: | |
| @rm -f $(MYOBJS) |
This file contains hidden or 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
| #!/bin/bash | |
| # usage: ./makelog.sh -m make.log /usr/bin/make all | |
| startdate=$(date +"%F %T.%3N%z") | |
| makemode= | |
| servermode= | |
| target= | |
| prereqs=() |
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| partdev=${1:?} | |
| partdev=$(readlink -f -- "$partdev") | |
| echo "Canonical partition: ${partdev}" | |
| if false; then |
This file contains hidden or 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
| #define _GNU_SOURCE /* for REG_RIP */ | |
| #include <signal.h> | |
| #include <setjmp.h> | |
| #include <stdio.h> | |
| #ifdef _MSC_VER | |
| /* Visual C */ | |
| #include <excpt.h> |
This file contains hidden or 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
| package org.foo.wrapexpreserve; | |
| import java.io.IOException; | |
| import java.io.InterruptedIOException; | |
| import java.lang.reflect.Constructor; | |
| import java.net.SocketException; | |
| import java.net.SocketTimeoutException; | |
| import java.nio.channels.ClosedByInterruptException; | |
| import org.foo.wrapinterruptible.IndirectSorter; |
This file contains hidden or 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
| package org.foo.wrapinterruptible; | |
| import static org.foo.wrapinterruptible.InterruptibleInputStream.StreamOp.*; | |
| import java.io.FilterInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.InterruptedIOException; | |
| import java.net.SocketException; | |
| import java.net.SocketTimeoutException; |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <!-- | |
| `mvn deploy` to github | |
| problems: | |
| v - slow/too many small commits |
This file contains hidden or 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
| package org.foo.manifestutil; | |
| import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.net.URL; | |
| import java.util.jar.Manifest; | |
| import org.apache.commons.io.IOUtils; |
This file contains hidden or 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
| wagon-ssh requires patching settings.xml |