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 <Foundation/Foundation.h> | |
#import "Box2D.h" | |
class GamePhysicsContactListener : public b2ContactListener | |
{ | |
protected: | |
NSInvocation *invocation; | |
public: |
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/bash | |
################################################################################ | |
# Script Name : kubix.sh | |
# Description : GUI menu to switch Kubix cluster and namespace | |
# Args : kubix.sh [clustername [namespacename]] | |
# Author : Muhammad Lukman bin Nasaruddin | |
# Email : lukman.nasaruddin@tm.com.my | |
################################################################################ | |
unset CLUSTERS | |
declare -A CLUSTERS |
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 | |
if [ -z $(which openssl) ]; then | |
echo "Error: OpenSSL is not installed" >&2 | |
exit 1 | |
fi | |
if [ "$#" -lt 1 ] || [ -n "${1##*:*}" ]; then | |
echo "Usage: $0 URL:PORT" >&2 | |
exit 1 |
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
<?php | |
namespace App\Service; | |
use Alep\LdapBundle\Service\Ldap; | |
use Exception; | |
use Pimcore\Bundle\AdminBundle\Security\Authenticator\AdminAbstractAuthenticator; | |
use Pimcore\Bundle\AdminBundle\Security\User\User; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\Security\Core\Exception\AuthenticationException; |