Skip to content

Instantly share code, notes, and snippets.

@TimVelo
TimVelo / wildfly-install.sh
Created Jul 21, 2017 — forked from sukharevd/wildfly-install.sh
Script to install JBoss Wildfly 10.x as service in Linux
View wildfly-install.sh
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 10.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash wildfly-install.sh
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final
@TimVelo
TimVelo / MultiSelectViewModeHelper.java
Last active Jul 8, 2017
Fast Adapter Multi Select View Helper
View MultiSelectViewModeHelper.java
package com.orangelinephotography.athenaeum.ui.actionMode;
import android.os.Bundle;
import com.mikepenz.fastadapter.FastAdapter;
import com.mikepenz.fastadapter.IItem;
/**
* Created by tvelo on 7/7/2017.
* based on extension from mikepenz; will PR for this to help others with non Action Mode views like
@TimVelo
TimVelo / TLSSocketFactory.java
Created Apr 8, 2016 — forked from fkrauthan/TLSSocketFactory.java
Custom SSLSocketFactory Implementation to enable tls 1.1 and tls 1.2 for android 4.1 (16+)
View TLSSocketFactory.java
package net.cogindo.ssl;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import javax.net.ssl.SSLContext;