Skip to content

Instantly share code, notes, and snippets.

View a-mazalov's full-sized avatar

Alexander a-mazalov

  • Belarus
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@a-mazalov
a-mazalov / README.md
Created November 20, 2019 06:26 — forked from int128/README.md
GitLab SAML SSO with Keycloak

GitLab SAML SSO with Keycloak

Keycloak

  1. Open your Keycloak realm.
  2. Import keycloak-gitlab.json.
  3. Fix URLs of the client.

GitLab

@a-mazalov
a-mazalov / esx_hud_elements.lua
Last active November 11, 2018 10:42
esx_HUD_Elements
local accountTpl = '<div><img src="img/accounts/' .. xPlayer.accounts.name .. '.png"/>&nbsp;{{money}}</div>'
ESX.UI.HUD.RegisterElement('account_' .. xPlayer.accounts.name, i-1, 0, accountTpl, {
money = 0
})
ESX.UI.HUD.UpdateElement('account_' .. xPlayer.accounts[i].name, {
money = xPlayer.accounts[i].money
})
ESX = nil
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
end)