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
# Build: | |
# docker build -t sgfutils . | |
# Run sgfutils: | |
# docker run -v $(pwd):/sgfutils -it sgfutils | |
FROM ubuntu:latest | |
RUN apt-get -y update | |
RUN apt-get -y install curl | |
RUN apt-get -y install build-essential | |
RUN apt-get -y install libssl-dev | |
RUN curl https://homepages.cwi.nl/~aeb/go/sgfutils/sgfutils.tgz -o sgfutils.tgz |
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
# Build: | |
# docker build -t latex . | |
# Run latex: | |
# docker run -v $(pwd):/latex -it latex pdflatex git.tex | |
# docker run -v $(pwd):/latex -it /bin/bash | |
FROM ubuntu:latest | |
RUN apt-get -y update | |
RUN apt-get -y install texlive-latex-base texlive-lang-european | |
WORKDIR /latex | |
CMD ["/bin/bash"] |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"reflect" | |
) | |
type Something interface{} |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"sync" | |
) | |
type Something struct { | |
Aaa string `json:"aaa"` |
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
package info.puzz.a10000sentences.activities; | |
import android.content.Context; | |
import android.databinding.DataBindingUtil; | |
import android.support.annotation.NonNull; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ArrayAdapter; |
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
package info.puzz.a10000sentences.utils; | |
import android.content.Context; | |
import android.os.Environment; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.nio.channels.FileChannel; |
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
package main | |
import ( | |
"bufio" | |
"encoding/base64" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"mime" |
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
From 137005e7bc187141c5f6224aa6264079a2e95b95 Mon Sep 17 00:00:00 2001 | |
From: Tomo Krajina <[email protected]> | |
Date: Tue, 14 Jun 2016 12:07:06 +0200 | |
Subject: [PATCH] Limit the directory where watching for file changes | |
--- | |
google/appengine/tools/devappserver2/mtime_file_watcher.py | 5 ++++- | |
1 file changed, 4 insertions(+), 1 deletion(-) | |
diff --git a/google/appengine/tools/devappserver2/mtime_file_watcher.py b/google/appengine/tools/devappserver2/mtime_file_watcher.py |
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
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Aaa struct { | |
a string | |
} |
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
package main | |
import ( | |
"errors" | |
"fmt" | |
"sync" | |
"time" | |
) | |
type GroupWaiter struct { |
NewerOlder