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
| apply plugin: 'jacoco' | |
| jacoco { | |
| toolVersion = '0.7.9' | |
| applyTo junitPlatformTest | |
| } | |
| jacocoTestReport { | |
| afterEvaluate { | |
| classDirectories = files(classDirectories.files.collect { |
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
| // | |
| // ImagePicker.swift | |
| // manueGE | |
| // | |
| // Created by Manuel García-Estañ on 7/11/16. | |
| // Copyright © 2016 ManueGE. All rights reserved. | |
| // | |
| import Foundation | |
| import UIKit |
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
| package laccetti.server.security; | |
| import lombok.extern.slf4j.Slf4j; | |
| import org.jsslutils.sslcontext.X509TrustManagerWrapper; | |
| import javax.net.ssl.X509TrustManager; | |
| import java.security.GeneralSecurityException; | |
| import java.security.cert.CertificateException; | |
| import java.security.cert.X509Certificate; | |
| import java.util.ArrayList; |
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
| $('#calendar').fullCalendar({ | |
| viewRender: function(currentView){ | |
| var minDate = moment(), | |
| maxDate = moment().add(2,'weeks'); | |
| // Past | |
| if (minDate >= currentView.start && minDate <= currentView.end) { | |
| $(".fc-prev-button").prop('disabled', true); | |
| $(".fc-prev-button").addClass('fc-state-disabled'); | |
| } | |
| else { |