This file contains hidden or 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 rm -rf /usr/local/lib/node_modules/npm | |
brew reinstall node | |
sudo chown -R $(whoami) ~/.npm | |
sudo chown -R $(whoami) /usr/local/lib | |
sudo chown -R $(whoami) /usr/local/bin | |
npm install -g npm@latest |
This file contains hidden or 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
https://unsplash.it/2500/1600/?random |
This file contains hidden or 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 | |
set -ex | |
tar -jxvf mpg123-1.23.2.tar.bz2 | |
cd mpg123-1.23.2 && ./configure --prefix=/usr && make && sudo make install |
This file contains hidden or 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
before_install: | |
- chmod +x installMPG123.sh | |
- ./installMPG123.sh |
This file contains hidden or 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
install: | |
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" | |
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR} | |
- | | |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then | |
CMAKE_URL="http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz" | |
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake | |
export PATH=${DEPS_DIR}/cmake/bin:${PATH} | |
fi |
This file contains hidden or 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: required | |
before_install: | |
- sudo apt-get install libao-dev | |
- sudo apt-get install libcurl4-openssl-dev | |
- chmod +x installMPG123.sh | |
- ./installMPG123.sh | |
# Enable C++ support | |
language: cpp |
This file contains hidden or 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
System.getProperties().list(System.out); |
This file contains hidden or 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
@SuppressWarnings("PMD.ReplaceHashtableWithMap") | |
public Hashtable getDetails() { | |
// code goes here | |
} |
This file contains hidden or 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
// HTTP | |
System.setProperty("http.proxyHost", "proxyHost.com"); | |
System.setProperty("http.proxyPort", "80"); | |
//HTTPS | |
System.setProperty("https.proxyHost", "proxyHost.com"); | |
System.setProperty("https.proxyPort", "80"); |
This file contains hidden or 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.sachinhandiekar.example</groupId> | |
<artifactId>SimpleWS</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>bundle</packaging> | |
<properties> | |
<cxf.version>2.6.0.redhat-60024</cxf.version> |