import { useEffect, useState } from 'react';
const useClientMediaQuery = () => {
const [device, setDevice] = useState({
mobile: false,
tablet: false,
desktop: false,
});
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Notice the v1beta3 version | |
apiVersion: scaffolder.backstage.io/v1beta3 | |
kind: Template | |
# some metadata about the template itself | |
metadata: | |
name: v1beta3-demo | |
title: Test Action template | |
description: scaffolder v1beta3 template demo | |
spec: | |
owner: backstage/techdocs-core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE VIEW view_monthly_pricing AS | |
SELECT | |
COALESCE(asset_data.company_id, license_data.company_id) AS company_id, | |
COALESCE(asset_month, license_month) AS month, | |
COALESCE(total_asset_price, 0) AS total_asset_price, | |
COALESCE(total_license_price, 0) AS total_license_price, | |
COALESCE(total_asset_price, 0) + COALESCE(total_license_price, 0) AS total_price | |
FROM | |
(SELECT | |
company_id, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE VIEW view_assignments AS | |
WITH | |
user_info AS ( | |
SELECT | |
u.id as user_id, | |
u.name as user_name, | |
u.email as user_email, | |
lct.id as location_id, | |
lct.name as location_name | |
FROM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE VIEW users_view AS | |
SELECT | |
u.*, | |
c.name as company_name, | |
d.name as department_name, | |
r.name as role_name, | |
l.name as location_name | |
from users u | |
LEFT JOIN | |
companies c ON u.company_id = c.id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE VIEW view_licenses AS | |
SELECT | |
l.*, | |
s.name AS status_name, | |
c.name AS company_name, | |
pt.name AS payment_term_name, | |
COALESCE(li.total_license_items, 0) AS total_license_items, | |
COALESCE(li.ready_to_use_license_items, 0) AS ready_to_use_license_items | |
FROM | |
licenses l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
percentage | standarization_reporting_id | |
---|---|---|
0 | 13 | |
0 | 21 | |
0 | 23 | |
0 | 22 | |
0 | 30 | |
0 | 31 | |
0 | 33 | |
0 | 34 | |
0 | 35 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "node_modules" -type d -prune | xargs du -chs | |
find . -name "node_modules" -type d -prune -exec rm -rf '{}' + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [MQ] | |
GO | |
/****** Object: Table [dbo].[Config] Script Date: 1/3/2024 6:45:01 PM ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO |
NewerOlder