Skip to content

Instantly share code, notes, and snippets.

View umayrh's full-sized avatar

Umayr Hassan umayrh

View GitHub Profile
@umayrh
umayrh / Intro to Common Table Expressions.md
Created February 5, 2025 15:29 — forked from felixyz/Intro to Common Table Expressions.md
Introduction to transitive closure / Common Table Expressions / iterative queries in SQL

Teh Social Netswork!

CREATE TABLE users (
 id SERIAL PRIMARY KEY,
 name VARCHAR(10) NOT NULL
);

INSERT into users VALUES

@umayrh
umayrh / zabbix.md
Last active May 9, 2024 09:03
Zabbix installation

Setting up Zabbix service

This guide on based on Zabbix's own instructions.

Set up Postgres server and client

Install Postgres server

$ sudo apt install postgresql
@umayrh
umayrh / volt-pro.css
Created May 30, 2023 09:36 — forked from aasumitro/volt-pro.css
volt-pro
@import url(https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700&display=swap);.datepicker{display:none}.datepicker.active{display:block}.datepicker-dropdown{position:absolute;top:0;left:0;z-index:20;padding-top:4px}.datepicker-dropdown.datepicker-orient-top{padding-top:0;padding-bottom:4px}.datepicker-picker{display:inline-block;border-radius:4px;background-color:#fff}.datepicker-dropdown .datepicker-picker{box-shadow:0 2px 3px rgba(46,54,80,.1),0 0 0 1px rgba(46,54,80,.1)}.datepicker-picker span{display:block;flex:1;border:0;border-radius:4px;cursor:default;text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.datepicker-main{padding:2px}.datepicker-footer{box-shadow:inset 0 1px 1px rgba(46,54,80,.1);background-color:#d1d5db}.datepicker-controls,.datepicker-grid,.datepicker-view,.datepicker-view .days-of-week{display:flex}.datepicker-grid{flex-wrap:wrap}.datepicker-view .days .datepicker-cell,.datepicker-view .dow{flex-basis:14.28571%}.da
task collectCompileOnlyDependencies (type: Copy) {
from project.configurations.compileOnly
into "$buildDir.absolutePath/jars"
}
https://gist.github.com/yevmel/352c445823d2ecd8f6e9
@umayrh
umayrh / gist:bc938d2626734e9254b21629b3c2e282
Created January 9, 2019 16:39
Gradle: common resource dependency for multiple java projects
sourceSets {
main {
resources {
srcDirs += [
project(':data').sourceSets.main.resources
]
}
}
}