Requires the following brew packages to be installed in MacOS, actual list and names will vary depending on operating system:
pandoc
texlive
Requires the following brew packages to be installed in MacOS, actual list and names will vary depending on operating system:
pandoc
texlive
FROM openjdk:8-jdk AS builder | |
RUN mkdir /src | |
COPY HelloWorld.java /src | |
RUN javac /src/HelloWorld.java | |
FROM openjdk:8-jre | |
COPY --from=builder /src/HelloWorld.class / | |
WORKDIR / | |
CMD ["java", "HelloWorld"] |
This gist is an implementation of http://sirile.github.io/2015/05/18/using-haproxy-and-consul-for-dynamic-service-discovery-on-docker.html on top of Docker Machine and Docker Swarm.
<keymap> | |
<global> | |
<remote> | |
<Yellow>RunScript("/storage/.xbmc/userdata/keymaps/sound.py")</Yellow> | |
</remote> | |
</global> | |
</keymap> |
## Skeleton config file for RetroArch | |
# Save all save files (*.srm) to this directory. This includes related files like .bsv, .rtc, .psrm, etc ... | |
# This will be overridden by explicit command line options. | |
savefile_directory =/storage/.xbmc/userdata/addon_data/emulators.retroarch/save/ | |
# Save all save states (*.state) to this directory. | |
# This will be overridden by explicit command line options. | |
savestate_directory =/storage/.xbmc/userdata/addon_data/emulators.retroarch/save/ |
xserver* x11-common x11-utils x11-xkb-utils x11-xserver-utils xarchiver xauth xkb-data console-setup xinit lightdm libx{composite,cb,cursor,damage,dmcp,ext,font,ft,i,inerama,kbfile,klavier,mu,pm,randr,render,res,t,xf86}* lxde* lx{input,menu-data,panel,polkit,randr,session,session-edit,shortcut,task,terminal} obconf openbox gtk* libgtk* alsa* nano python-pygame python-tk python3-tk scratch tsconf |
# Run this with jboss-cli to deplyo the given module: | |
module add --name=com.mydomain.placeholder --resources=placeholder\target\placeholder-6.6.6-SNAPSHOT.jar | |
/subsystem=ee:write-attribute(name="global-modules",value=[{"name" => "com.mydomain.placeholder","slot" => "main"}]) |
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../config/ehcache.xsd" updateCheck="false"> | |
<!-- This is a default configuration for 256Mb of cached data using the JVM's heap, but it must be adjusted | |
according to specific requirement and heap sizes --> | |
<defaultCache | |
maxBytesLocalHeap="256000000" | |
eternal="false" | |
timeToIdleSeconds="120" | |
timeToLiveSeconds="120" |
class String | |
# colorization | |
def colorize(color_code) | |
"\e[#{color_code}m#{self}\e[0m" | |
end | |
def red | |
colorize(31) | |
end |