Skip to content

Instantly share code, notes, and snippets.

View dragansah's full-sized avatar

Dragan Sahpaski dragansah

View GitHub Profile
{
"resourceType": "Bundle",
"type": "collection",
"entry": [
{
"fullUrl": "resource:0",
"resource": {
"resourceType": "Patient",
"name": [
{
Architecture: Two in house data centers with a standard multi-tier architecture setup. One setup consists of 20 virtualized application servers running tomcat7 and java8 on debian7 with multicast session replication with 2 redundant HAProxy proxy servers, one master DB server and hot standby one slave server. Black fiber optics between the data centers allowing multiple modes of operation by allowing to combine internet link, application servers and DB servers across data centers.
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vuact</groupId>
<artifactId>vuact-website</artifactId>
<packaging>war</packaging>
<version>0.4.2-SNAPSHOT</version>
<name>vuact-website</name>
<url>http://vuact.com/</url>

Keybase proof

I hereby claim:

  • I am dragansah on github.
  • I am dragansah (https://keybase.io/dragansah) on keybase.
  • I have a public key whose fingerprint is E344 6422 CD44 4A77 133B 8C5C 99E1 016F 6C0E BD8C

To claim this, I am signing this object:

public class ProducerConsumer
{
public static final int BUFFER_SIZE = 1000;
public interface Producer
{
/** Appends a random integer at the end of the buffer */
void produce(Queue<Integer> buffer);
}
public static void contributeBeanBlockSource(Configuration<BeanBlockContribution> configuration)
{
// display blocks
configuration.add(new DisplayBlockContribution("AdministrativeEntity", "pn/DisplayPropertyBlocks",
"AdministrativeEntityDisplayBlock"));
configuration.add(new DisplayBlockContribution("dateFormated", "pn/DisplayPropertyBlocks", "DateDisplayBlock"));
// edit blocks
configuration.add(new EditBlockContribution("AdministrativeEntity", "pn/EditPropertyBlocks",
"AdministrativeEntityEditBlock"));
package com.plannow.highedu.services.impl;
import static org.junit.Assert.*;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
import org.apache.commons.codec.binary.Base64;
private static final int ITERATION_NUMBER = 1000;
public boolean authenticate(String username, String password)
{
User user = (User) getSession().createCriteria(User.class).add(Restrictions.eq("email", username))
.uniqueResult();
if (user == null)
return false;