Skip to content

Instantly share code, notes, and snippets.

View IdrisDose's full-sized avatar
🎯
Focusing

Idris Dev IdrisDose

🎯
Focusing
  • Australia
View GitHub Profile
@IdrisDose
IdrisDose / MySQL-Duplicated-Column-QUICKFIX
Created August 3, 2018 08:28
Quick MySQL fixing duplicate column
-- step 1
CREATE TABLE source_temp
LIKE source;
-- step 2
INSERT INTO source_temp
SELECT *
FROM source
GROUP BY <COLUMN>;
[
"AlcNPCButGood",
"AutoTrash",
"BannerBonanza",
"BetterBuffs",
"BetterYoyos",
"BossChecklist",
"CalamityMod",
"CalamityModMusic",
"chadsfurni",
@IdrisDose
IdrisDose / qb-input-centered-qbcore.css
Created January 31, 2022 06:39
Reskinned qb-input to be centered with qbcore colors.
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap");
:root {
--heading-bg: #DC143c;
--form-wrapper-bg: #171717;
--element-bg: #444444;
--btn-bg : #28A745;
--btn-hover-bg : #07661d;
}
* {
padding: 0;
@IdrisDose
IdrisDose / snippet.lua
Created September 28, 2022 03:32
Add onTick event for QB Progress bar
function QBCore.Functions.Progressbar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel, onTick)
exports['progressbar']:ProgressWithTickEvent({
name = name:lower(),
duration = duration,
label = label,
useWhileDead = useWhileDead,
canCancel = canCancel,
controlDisables = disableControls,
animation = animation,
prop = prop,