Skip to content

Instantly share code, notes, and snippets.

@mc-suchecki
mc-suchecki / PKGBUILD
Last active January 11, 2017 23:48 — forked from movabo/PKGBUILD
PKGBUILD for arch telegram-desktop-bin repository, Telegram Version 1.0.0
# Maintainer: Giovanni Santini "ItachiSan" <giovannisantini93@yahoo.it>
# Previous maintainer: agnotek <agnostic.sn [at]gmail.com>
# Contributor: agnotek <agnostic.sn [at]gmail.com>
pkgname=telegram-desktop-bin
pkgver=1.0.0
pkgrel=1
pkgdesc="Official desktop version of Telegram messaging app - Static binaries"
arch=('i686' 'x86_64')
url="https://desktop.telegram.org"
@mc-suchecki
mc-suchecki / SecurityConfig.java
Created January 14, 2016 18:02
Spring Security config for SAML plugin
@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(securedEnabled = true)
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Configuration
@Profile("prod")
@PropertySource("classpath:/.../resources/server-prod.properties")
static class ProductionProperties {
}