❌ | | ✅ |
---|---|
File_name
File_Name |
|
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
all: | |
make build | |
make objdump | |
build: | |
go build -gcflags -m main.go | |
objdump: | |
go tool objdump -s "main.main" main | grep CALL |
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
.stack-work |
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
mybinary |
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 |
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 cassandra:3.1.1 | |
RUN mkdir -p /tmp/var/lib/cassandra /etc/cassandra \ | |
&& chown -R cassandra:cassandra /tmp/var/lib/cassandra /etc/cassandra \ | |
&& chmod 777 /tmp/var/lib/cassandra /etc/cassandra | |
RUN sed -i "s~/var/lib/cassandra~/tmp/var/lib/cassandra~g" /etc/cassandra/cassandra.yaml | |
COPY *.cql /tmp/ |
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 python:2.7.9-wheezy | |
RUN git clone https://github.com/shk3/edx-downloader | |
RUN (cd edx-downloader && pip install -r requirements.txt) | |
RUN pip install --upgrade youtube_dl | |
VOLUME /tmp/ | |
WORKDIR /tmp/ | |
ENTRYPOINT bash |
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
Reference: http://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/
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/base64" | |
gojson "encoding/json" | |
"fmt" | |
"io" | |
"github.com/katydid/katydid/parser" | |
"github.com/katydid/katydid/parser/json" |
In this Go Experience Report I am going to make a case for sum types over multiple return parameters.
I wrote a little tool which does some analysis of Go source code:
NewerOlder