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
#!/bin/sh | |
############################################# | |
# Output file for HTML5 video # | |
# Requirements: # | |
# - handbrakecli # | |
# # | |
# usage: # | |
# ./html5VideoHandBrakeFolder.sh folder # | |
# # |
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
package project | |
import org.apache.commons.logging.Log | |
import org.apache.commons.logging.LogFactory | |
import org.springframework.ldap.core.LdapTemplate | |
import org.springframework.ldap.core.support.LdapContextSource | |
import org.springframework.ldap.filter.EqualsFilter | |
import org.springframework.ldap.filter.Filter | |
import javax.naming.Context |
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
package project | |
import grails.transaction.Transactional | |
import org.springframework.security.authentication.BadCredentialsException | |
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken | |
import org.springframework.security.authentication.dao.DaoAuthenticationProvider | |
import org.springframework.security.core.AuthenticationException | |
import org.springframework.security.core.userdetails.UserDetails | |
class DaoLdapAuthenticationProvider extends DaoAuthenticationProvider { |
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 grails.util.Environment | |
import kcenter.CustomEventListenerMethodProcessor | |
import kcenter.DaoLdapAuthenticationProvider | |
import kcenter.DaoLdapUserDetailsService | |
import kcenter.LdapConnectionService | |
import kcenter.SessionEventListenerBean | |
import kcenter.json.JsonDataBindingListener | |
// Place your Spring DSL code here | |
beans = { |
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
package project | |
import grails.converters.JSON | |
import grails.plugin.springsecurity.SpringSecurityUtils | |
import grails.plugin.springsecurity.userdetails.GrailsUser | |
import grails.plugin.springsecurity.userdetails.GrailsUserDetailsService | |
import grails.plugin.springsecurity.userdetails.NoStackUsernameNotFoundException | |
import grails.transaction.Transactional | |
import org.apache.commons.logging.Log | |
import org.apache.commons.logging.LogFactory |
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
def registrationData = request.JSON | |
List errors = [] | |
if (!registrationData.email) { | |
errors.add('email') | |
} | |
if (User.countByUsername(registrationData.email) > 0) { | |
errors.add('duplicate') | |
} |
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
[ | |
{ | |
"name":"PIZZA ca. 30 cm", | |
"machineName":"pizza", | |
"items":[ | |
{ | |
"number":"04", | |
"name":"Pizza Regina Margherita ***", | |
"price":"5,40 €", | |
"subtitle":"Tomaten, Mozzarella, Basilico (17,20)" |
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
package mustangtest; | |
import java.io.IOException; | |
import java.math.BigDecimal; | |
import java.util.Calendar; | |
import java.util.Date; | |
import java.util.GregorianCalendar; | |
import org.mustangproject.ZUGFeRD.IZUGFeRDAllowanceCharge; | |
import org.mustangproject.ZUGFeRD.IZUGFeRDExportableContact; |
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
org.hibernate.HibernateException: HHH000142: Bytecode enhancement failed: kcenter.Client | |
at org.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyFactory.getProxy(ByteBuddyProxyFactory.java:102) | |
at org.hibernate.tuple.entity.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:732) | |
at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:5007) | |
at org.hibernate.event.internal.DefaultLoadEventListener.createProxy(DefaultLoadEventListener.java:427) | |
at org.hibernate.event.internal.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:418) | |
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:326) | |
at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:108) | |
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:74) | |
at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListener |
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
server { | |
server_name kundenbereich.next.relaxx.center; | |
root /data/kcenter/relaxx-dialog; | |
location / { | |
try_files $uri /index.html?$args; | |
} |
OlderNewer