This file contains 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
#You only need to run this script once. However, when you start a new runpod server, you will need to initialize conda in the shell. | |
#1. run the following command to intialize conda in the shell | |
#/workspace/miniconda3/bin/conda init bash | |
#2. run the following command to activate the conda environment | |
#conda activate comfyui | |
#3. run the following command to start comfyui | |
#python main.py --listen | |
#!/bin/bash | |
#ComfyUI single environment setup |
This file contains 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
{ | |
"data": { | |
"query": { | |
"c_nature": "0", | |
"c_artist": "0", | |
"c_interm": "0", | |
"c_devise": "1" | |
}, | |
"type": "years", | |
"series": [ |
This file contains 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
You are ChatGPT, a large language model trained by OpenAI, based on the GPT-4 architecture. | |
#### | |
Knowledge cutoff: 2023-04 | |
Current date: 2023-12-06 | |
Image input capabilities: Enabled | |
# Tools |
This file contains 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
{ | |
"extends": "stylelint-config-recommended-scss", | |
"rules": { | |
"selector-pseudo-element-no-unknown": [ | |
true, | |
{ | |
"ignorePseudoElements": [ | |
"ng-deep" | |
] | |
} |
This file contains 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
tdLines.forEach((line, index) => { | |
switch (true) { | |
// you can use any condition here | |
case this.isLineNotReadyToUse(line): | |
linesNotReadyToUseCount++; | |
break; | |
case this.isPartNumberDuplicated(line, index, tdLines): | |
duplicatedPartsCount++; | |
break; | |
case partNumberAssociatedData && |
This file contains 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
lines.forEach((line, index) => { | |
switch (true) { | |
// the this.isACondition return true and will be evaluated o not otherwise won't be | |
case this.isACondition(line): | |
doSomething++; | |
break; | |
case this.isAnOtherCondition(line): | |
doElseThing++; | |
break; | |
case this.somethingElseThatReturnTrueOrFalse(line, index): |
This file contains 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
import { Component } from '@angular/core'; | |
import { ICellRendererAngularComp } from 'ag-grid-angular/main'; | |
import { ICellRendererParamsExtended } from '../../../models/i-cell-renderer-params-extended.model'; | |
@Component({ | |
selector: 'gfec-simple-list', | |
templateUrl: './select-cell-renderer.component.html', | |
styleUrls: ['./select-cell-renderer.component.scss'], | |
}) |
This file contains 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
/** | |
* Hide a column if the column field | |
* belongs to applicability hidden by default columns | |
*/ | |
processLeaf( | |
colDef: ColDef, | |
columnsSelection: string[], | |
leafProcess: (visible: boolean, colDef: ColDef) => ColDef | |
) { | |
let colDefChanged: ColDef; |
This file contains 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
{ | |
"gitlens.advanced.messages": { | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"editor.minimap.enabled": false, | |
"window.zoomLevel": 0, | |
"editor.wordWrap": "on", | |
"explorer.confirmDragAndDrop": false, | |
"gitlens.advanced.messages": { | |
"suppressShowKeyBindingsNotice": true |
This file contains 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
{ | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
"sasslint.enable": true, | |
"editor.minimap.enabled": false, | |
"explorer.confirmDragAndDrop": false, | |
"window.zoomLevel": 0, | |
"editor.wordWrap": "on", | |
} |
NewerOlder