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
#!/bin/sh | |
# | |
# Centos Fedora Equip | |
# Java 7 64-bit Equip | |
# Licence: MIT | |
# to run: wget --no-check-certificate https://gist.githubusercontent.com/petergdoyle/c60903823a21847ee5c6/raw/4ceaeb79075964ea0f668e2a0d5b4b89bd049804/equip_centos7_java7_64.sh && bash equip_centos7_java7_64.sh | |
if [ -d "/usr/java/jdk7/" ]; then | |
echo "There's already an installation of Java JDK in /usr/java/jdk7/" |
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
[WandiscoSVN] | |
name=Wandisco SVN Repo | |
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/ | |
enabled=1 | |
gpgcheck=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
# | |
# Centos Fedora Equip | |
# Maven 3 Equip | |
# Licence: MIT | |
# to run: wget --no-check-certificate https://gist.githubusercontent.com/petergdoyle/42a988fbb07ad0e7ca99/raw/e316473c97aee9fd44fc25d8765d1fef6b7148cf/equip_centos7_maven3_64.sh && bash equip_centos7_maven3_64.sh | |
if [ -d "/usr/maven/default/" ]; then | |
echo "There's already an installation of Maven 3 in /usr/maven/default/" | |
rm -f equip_centos7_maven3_64.sh |
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
[mongodb-org-3.0] | |
name=MongoDB Repository | |
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0/x86_64/ | |
gpgcheck=0 | |
enabled=1 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "CentOS-7.1.1503-x86_64" | |
config.vm.network "forwarded_port", guest: 32400, host: 32400, host_ip: "0.0.0.0", id: "plex", auto_correct: true | |
config.vm.provision "shell", inline: <<-SHELL |
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
# We borrow heavily from the kernel build setup, though we are simpler since | |
# we don't have Kconfig tweaking settings on us. | |
# The implicit make rules have it looking for RCS files, among other things. | |
# We instead explicitly write all the rules we care about. | |
# It's even quicker (saves ~200ms) to pass -r on the command line. | |
MAKEFLAGS=-r | |
# The source directory tree. | |
srcdir := .. |
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
yum -y groupinstall "X Window System" | |
#install the lightweight xfce desktop | |
yum -y groupinstall xfce | |
yum -y install xfce4-terminal | |
#install additional themes. these can be selected with the desktop settings widget on xfce | |
wget -O crunchy-dark-grey.tar.gz https://dl.orangedox.com/xCs7czovfGqWuOhBgm/crunchy-dark-grey.tar.gz?dl=1 | |
tar -xvf crunchy-dark-grey.tar.gz | |
mv crunchy-dark-grey /usr/share/themes |
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
#!/bin/sh | |
echo hello world! |
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
<profile> | |
<id>copy-dependencies</id> | |
<!-- | |
Usage: mvn clean install -Pcopy-dependencies -Dpackage-name=om.manning.nettyinaction.chapter2 -Dclass-name=Ech | |
oServer | |
java -jar target/${artifactId}.jar | |
--> | |
<build> | |
<plugins> |
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
import java.util.Iterator; | |
import static com.gslab.pepper.input.FieldDataFunctions.*; | |
import static com.gslab.pepper.input.CustomFunctions.*; | |
public class MessageIterator1498484495874 implements Iterator<String> { | |
private static StringBuilder builder = new StringBuilder(); | |
@Override |
OlderNewer