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 uk.co.lucasweb.swagger; | |
import com.wordnik.swagger.annotations.ApiModelProperty; | |
import com.wordnik.swagger.converter.SwaggerSchemaConverter; | |
import com.wordnik.swagger.model.Model; | |
import org.apache.log4j.Logger; | |
import scala.Option; | |
import scala.collection.immutable.Map; | |
import javax.xml.bind.annotation.XmlElement; |
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/bash | |
wget -c --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u77-b03/jdk-8u77-linux-x64.rpm" --output-document="jdk-8u77-linux-x64.rpm" | |
sudo rpm -i jdk-8u77-linux-x64.rpm | |
sudo alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000 | |
export JAVA_HOME=/usr/java/default |
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/bash | |
for f in *.flac; do flac -cd "$f" | lame -b 320 - "${f%.*}".mp3; done |
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/bash | |
wget -c --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.rpm" --output-document="jdk-7u71-linux-x64.rpm" | |
sudo rpm -i jdk-7u71-linux-x64.rpm | |
sudo alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000 | |
export JAVA_HOME=/usr/java/default |
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
sudo /usr/java/latest/bin/keytool -import -alias <ALIAS> -keystore /usr/java/latest/jre/lib/security/cacerts -file /path/to/cert.crt |