Skip to content

Instantly share code, notes, and snippets.

View selamialtin's full-sized avatar

Selami selamialtin

View GitHub Profile
@niccottrell
niccottrell / db-compare.js
Last active August 11, 2023 08:57
Compare two MongoDB databases, comparing count and size for all collections along with spot-checking a sample of documents
/*
MIT License
Copyright (c) 2017 Martin Buberl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@thomasdarimont
thomasdarimont / KeycloakAdminClientExample.java
Last active May 23, 2024 08:58
Using Keycloak Admin Client to create user with roles (Realm and Client level)
package demo.plain;
import org.keycloak.OAuth2Constants;
import org.keycloak.admin.client.CreatedResponseUtil;
import org.keycloak.admin.client.Keycloak;
import org.keycloak.admin.client.KeycloakBuilder;
import org.keycloak.admin.client.resource.RealmResource;
import org.keycloak.admin.client.resource.UserResource;
import org.keycloak.admin.client.resource.UsersResource;
import org.keycloak.representations.idm.ClientRepresentation;
@mahradbt
mahradbt / kerio-vpnClinet-linux-amd64.md
Last active November 20, 2023 11:59
install kerio-connect-vpn-client-amd64 on Centos 7

Install kerio vpn client on centos 7 amd 64

this tutorial show you how to install kerio vpnClient on centos7 64bit. kerio vpnClient does not have any .rpm official version! I tried install it during one week.

  1. first of all download kerio-control-vpnclient-###-linux-amd64.deb from http://www.ryadel.com/en/kerio-control-vpn-client-all-versions-direct-download-links/ which contain many version of kerio-control-vpn-client or everywhere else.

  2. after download kerio-control-vpnclient-###-linux-amd64.deb we must convert it to .rpm package, to convert .deb to .rpm use alien which convert packages ( https://packages.debian.org/unstable/source/alien )

@ishults
ishults / Grails_Groovy_Versions.txt
Last active February 9, 2023 18:04
List of Groovy versions for Grails
// Compiled by Igor Shults
// Last Updated: July 23, 2020
GRAILS GROOVY SOURCE
4.1.0 2.5.14 https://github.com/grails/grails-core/blob/v4.1.0/gradle.properties
4.0.4 2.5.6
4.0.3 2.5.6
4.0.2 2.5.6
4.0.1 2.5.6
4.0.0 2.5.6 https://github.com/grails/grails-core/blob/v4.0.0/build.gradle