Skip to content

Instantly share code, notes, and snippets.

View imShakil's full-sized avatar
🏠
Working from home

Mobarak Hosen Shakil imShakil

🏠
Working from home
View GitHub Profile
@imShakil
imShakil / oxtrust_en.properties
Created February 17, 2023 02:23
modified oxTrust[Gluu IDP] resource file
common.copyright=Powered by
common.allRightsReserved=Free and open source access management.
common.agreePolicy=By proceeding, you agree with the {0}
common.privacyPolicy=Privacy Policy
common.pleaseReadTheTos=Please read the
common.termsOfService=Terms of Service
common.gluuInc=Gluu, Inc
common.caution=Use subject to MIT LICENSE
home.welcome = Welcome to your Gluu Identity Configuration {0} !
from org.gluu.oxauth.service import AuthenticationService
from org.gluu.oxauth.service import UserService
from org.gluu.oxauth.auth import Authenticator
from org.gluu.oxauth.security import Identity
from org.gluu.model.custom.script.type.auth import PersonAuthenticationType
from org.gluu.service.cdi.util import CdiUtil
from org.gluu.util import StringHelper
from org.gluu.oxauth.util import ServerUtil
@imShakil
imShakil / entertoken.xhtml
Created February 18, 2023 02:36
madhu script for email two factor auth
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
template="/WEB-INF/incl/layout/template.xhtml">
<f:metadata>
@imShakil
imShakil / ticky_check.py
Created August 26, 2023 10:47
Qwiklabs Assessment: Log Analysis Using Regular Expressions
#!/usr/bin/env python3
import re
import csv
import operator
errors = {}
stats = {}
@imShakil
imShakil / vmware_vmmon_fix.sh
Created August 28, 2023 01:02 — forked from st3rven/vmware_vmmon_fix.sh
Fix for vmware vmmon and vmnet issues
#!/bin/sh
# Uncomment this is you want some more verbose output to see what is happening
#set -x
## Variables
# Change this directory name if you want to place these somewhere else
_projectdir=~/projects
_gitrepo=https://github.com/mkubecek/vmware-host-modules.git
if [ $(grep -q "workstation.product.version" /etc/vmware/config;echo $?) -eq 0 ];then
@imShakil
imShakil / gluu-cloud-native-with-microk8s.md
Created May 31, 2024 06:46
gluu-cloud-native-with-microk8s

Installation of Gluu Cloud Native in microk8s based kubernetes

  1. Make sure you have installed microk8s, and enable dns, hostpath-storage, helm3:
sudo microk8s.enable dns
sudo microk8s.enable hostpath-storage
sudo microk8s.enable helm3