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 https://stackoverflow.com/questions/16296753/can-you-run-gui-applications-in-a-docker-container/25280523#25280523 | |
docker build -t xeyes - << __EOF__ | |
FROM debian | |
RUN apt-get update | |
RUN apt-get install -qqy x11-apps | |
ENV DISPLAY :0 | |
CMD xeyes | |
__EOF__ | |
XSOCK=/tmp/.X11-unix |
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
//Also check - https://dzone.com/articles/how-to-upload-a-list-of-jars-into-nexus-or-artifac | |
// using gradle 1.2 | |
apply plugin: 'maven' | |
group 'org.example.extlib' | |
version = '1.0.0' |
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
pragma solidity ^0.4.0; | |
contract Counter { | |
int private count = 0; | |
function incrementCounter() public { | |
count += 1; | |
} | |
function decrementCounter() public { | |
count -= 1; | |
} | |
function getCount() public constant returns (int) { |
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
SETLOCAL | |
SET DISTRIBUTION_ID= :: Set your distribution id here, it looks like a random string A3JF7TKL2VRF7X | |
SET BUCKET_NAME= ::PUT YORU BUCKET NAME HERE | |
hugo -v | |
:: Copy over pages - not static js/img/css/downloads | |
::--profile lauf | |
aws s3 sync --acl "public-read" --sse "AES256" public/ s3://%BUCKET_NAME%/ --exclude 'img' --exclude 'js' --exclude 'downloads' --exclude 'css' --exclude 'post' |
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
license: mit |
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
license: mit |
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
license: mit |
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
license: mit |
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
license: mit | |
border: yes |
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
license: mit |
NewerOlder