sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
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
AWSTemplateFormatVersion: 2010-09-09 | |
Parameters: | |
KeyName: | |
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance | |
Type: 'AWS::EC2::KeyPair::KeyName' | |
ConstraintDescription: Can contain only ASCII characters. | |
VPC: | |
Description: ID of the VPC for MSK cluster deployment | |
Type: 'AWS::EC2::VPC::Id' | |
PublicSubnetOne: |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Creates an S3 bucket configured for hosting a static website, and a Route | |
53 DNS record pointing to the bucket | |
Parameters: | |
HostedZoneId: | |
Type: String | |
Description: The DNS name of an existing Amazon Route 53 hosted zone. | |
AllowedPattern: (?!-)[A-Z0-9]{1,32}(?<!-) | |
ConstraintDescription: must be a valid Route53 Hosted Zone ID. |
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 com.microsoft.sqlserver.jdbc.SQLServerDataSource; | |
import javax.naming.Context; | |
import javax.naming.InitialContext; | |
import javax.naming.NamingException; | |
import javax.naming.spi.InitialContextFactory; | |
import javax.sql.DataSource; | |
import java.util.Hashtable; | |
public class DataSourceHierarchyContextFactory implements InitialContextFactory { |
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
class SQLPredicate<T> { | |
private final Predicate<T> t; | |
private final String sql; | |
SQLPredicate(Predicate<T> t, String name) { | |
this.t = t; | |
this.sql = name; | |
} | |
static <T> SQLPredicate<T> of(Predicate<T> t, String sql) { |