Skip to content

Instantly share code, notes, and snippets.

View riuvshin's full-sized avatar
🏠
Working from home

Roman I. riuvshin

🏠
Working from home
View GitHub Profile
@riuvshin
riuvshin / gist:a88445d94fa7f895bfb6
Created January 19, 2015 08:36
m2 config codenvy template
<?xml version="1.0" encoding="UTF-8"?>
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>PATH_TO_YOUR_LOCAL_REPO</localRepository>
<servers>
<!-- =========================== -->
@riuvshin
riuvshin / Vagrantfile
Last active August 29, 2015 14:22
Vagrantfile_onprem_beta
box = 'codenvy_onprem_beta_preinstalled'
url = 'https://install.codenvycorp.com/codenvy_onprem_beta_preinstalled.box'
ram = '3072'
hostname = 'onprem'
domain = 'codenvy.com'
cpus = '2'
bridge = 'eth0'
puts "\033[32mCodenvy is now installed.\033[0m"
puts "\033[32mDNS: onprem.codenvy.com\033[0m"
@riuvshin
riuvshin / dawdaw
Created June 17, 2015 07:50
dadaw
class third_party::zabbix::server_package {
# install zabbix server version depends on os version.
if $operatingsystemrelease =~ /6./ {
$zabbix_server_version = "2.2.4-1.el6"
} elsif $operatingsystemrelease =~ /7./ {
$zabbix_server_version = "2.2.7-2.el7"
}
package { "gnutls":
ensure => "3.1.18-10.el7_0",
8437 ? Sl 7:45 /home/codenvy/java/jdk1.8.0_45/bin/java -Djava.util.logging.config.file=/home/codenvy/workspace/release-all/platform-api-client-java/core/target/tomcat-ide/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:MaxPermSize=512M -Xms1g -Xmx2g -Djava.net.preferIPv4Stack=true -Dgwt.compiler.localWorkers=2 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Xshare:auto -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Djava.security.properties=/home/codenvy/workspace/release-all/platform-api-client-java/core/target/tomcat-ide/conf/codenvy-security.properties -Djava.endorsed.dirs=/home/codenvy/workspace/release-all/platform-api-client-java/core/target/tomcat-ide/endorsed -classpath /home/codenvy/workspace/release-all/platform-api-client-java/core/target/tomcat-ide/conf/:/home/codenvy/workspace/release-all/platform-api-client-java/core/target/tomcat-ide/lib/jul-to-slf4j.jar:/home/codenvy/workspace/release-all/platform-api-client-java/c
# site.pp
...
class common {
$var1 = "blah"
$var2 = "piupiu"
}
node web_server1 {
include common
@riuvshin
riuvshin / gist:952499155745ef04c51b
Created October 21, 2015 15:11
linux_dev_machine
box = 'linux_dev_machine'
url = 'https://install.codenvycorp.com/linux_dev_machine.box'
ram = '3072'
hostname = 'dev'
domain = 'box.com'
cpus = '2'
bridge = 'eth0'
Vagrant.configure("2") do |config|
config.vm.box = box
FROM ubuntu_jdk8_centos
FROM rakkaus/ubunta_jdk8
@riuvshin
riuvshin / test
Last active November 23, 2015 14:15
test
FROM ubuntu
RUN sleep 10m
CMD ["tailf", "/dev/null"]
FROM ubuntu
CMD ["tailf", "/dev/null"]