Skip to content

Instantly share code, notes, and snippets.

[{
"name" : "C4 Dotcom Emoji",
"source": "source",
"license": "?"
},{
"url": "https://user-images.githubusercontent.com/909118/236454553-b0f1d823-1ef1-41e9-a48f-d7e12deb8b78.svg",
"labels": "carbon web components",
"name": "web_components"
}]
@kennylam
kennylam / aem-governance-flow.md
Last active May 24, 2022 15:55
Carbon for AEM --> Carbon for IBM.com governance workflow
graph TD
    A[Carbon for AEM] -->|New component required| B(design review)
    B --> T[ibmdotcom-web-components?]
    T --> C{No}
    T --> D{Yes}
    D -->E[Create AEM Component]
    E --> N
    C --> F(can use unmodified carbon-web-components?)
 F --> H{Yes}
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4420.0 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36",
"benchmarkIndex": 1402.5,
"credits": {}
},
"lighthouseVersion": "7.3.0",
"fetchTime": "2021-11-04T16:14:14.760Z",
@kennylam
kennylam / input.scss
Created July 2, 2021 15:26
Generated by SassMeister.com.
$color: green;
$carbon--base-font-size: 16px !default;
/// Convert a given px unit to a rem unit
/// @param {Number} $px - Number with px unit
/// @return {Number} Number with rem unit
/// @access public
/// @group @carbon/layout
@function carbon--rem($px) {
@kennylam
kennylam / input.scss
Created July 2, 2021 15:26
Generated by SassMeister.com.
$color: green;
$carbon--base-font-size: 16px !default;
/// Convert a given px unit to a rem unit
/// @param {Number} $px - Number with px unit
/// @return {Number} Number with rem unit
/// @access public
/// @group @carbon/layout
@function carbon--rem($px) {
@kennylam
kennylam / gist:cfb1c4251840d1aad2cdcd489b489b40
Created August 16, 2019 16:14
SublimeText Package Control Certification fix
"downloader_precedence": {
"windows": ["wininet"],
"osx": ["curl","urllib"],
"linux": ["urllib", "curl", "wget"]
}