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
if [ $1 ]; then | |
pkg=$1 | |
archive=$(npm pack --silent $pkg ) | |
tar -xzf "$archive" && rm "$archive" | |
finalName=$(echo $archive | sed -e 's:\.tgz$::') | |
rm -fr "$finalName" | |
mv package "$finalName" | |
else | |
echo "No package was provided" |
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
-- defines a factorial function | |
function fact (n) | |
if n == 0 then | |
return 1 | |
else | |
return n * fact(n-1) | |
end | |
end | |
print("enter a number:") |
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
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Detecting the operating system and CPU architecture | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] os.detected.name: linux | |
[INFO] os.detected.arch: x86_64 | |
[INFO] os.detected.bitness: 64 | |
[INFO] os.detected.version: 6.5 | |
[INFO] os.detected.version.major: 6 | |
[INFO] os.detected.version.minor: 5 |
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
{ | |
"posts": [ | |
{ | |
"uri": "at://did:plc:xsqyottmupmtgs7q3quar6yx/app.bsky.feed.post/3l36s7n76bv2x", | |
"cid": "bafyreid43mz5v7lkck3om3wbwlcje2dddv2wsru32x5mqupfke5a7jdg6e", | |
"author": { | |
"did": "did:plc:xsqyottmupmtgs7q3quar6yx", | |
"handle": "wanningcatboy.bsky.social", | |
"displayName": "sam - ʷᵃⁿⁿⁱⁿᵍ ᵐⁱⁿʰᵃ ᵛⁱᵈᵃ", | |
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:xsqyottmupmtgs7q3quar6yx/bafkreif7ulgduagwph4jim5y34irfkcwgzfjwktejgvjnvnur4zw4hae7e@jpeg", |
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 static java.lang.System.out; | |
import org.keycloak.admin.client.KeycloakBuilder; | |
import org.keycloak.representations.idm.GroupRepresentation; | |
public class GroupsCreate { | |
private static final String KEYCLOAK_HOST = "http://localhost:8080"; | |
private static final String USERNAME = "wsiqueir"; | |
private static final String PASSWORD = "test"; |
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
cat n[wsiqueir@localhost orchestrator]$ cat npms_ls_react | |
[email protected] /home/wsiqueir/projects/janus/backstage-plugins | |
├─┬ @janus-idp/[email protected] -> ./plugins/orchestrator | |
│ ├─┬ @backstage/[email protected] | |
│ │ ├─┬ @backstage/[email protected] | |
│ │ │ ├─┬ @emotion/[email protected] | |
│ │ │ │ ├─┬ @emotion/[email protected] | |
│ │ │ │ │ └── [email protected] deduped invalid: "^16.8.0 || ^17.0.0" from node_modules/@material-ui/core, "^16.8.0 || ^17.0.0" from node_modules/@material-ui/icons, "^16.8.0 || ^17.0.0" from node_modules/@material-ui/lab, "^16.8.0 || ^17.0.0" from node_modules/@material-ui/styles, "^16.8.0 || ^17.0.0" from node_modules/@material-ui/system, "^16.8.0 || ^17.0.0" from node_modules/@material-ui/utils, "^16.8.0 || ^17.0.0" from node_modules/@material-ui/pickers, "^15.0.0 || ^16.0.0 || ^17.0.0" from node_modules/material-ui-popup-state | |
│ │ │ │ └── [email protected] deduped invalid: "^16.8.0 || ^17.0.0" from node_modules/@material-ui/core, "^16.8.0 || ^17.0.0" from nod |
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
@janus-idp/backstage-plugin-rbac:test: 66 | const deleteButton = screen.getByRole('button', { name: /Delete/i }); | |
@janus-idp/backstage-plugin-rbac:test: 67 | await waitFor(() => { | |
@janus-idp/backstage-plugin-rbac:test: > 68 | expect(deleteButton).not.toBeDisabled(); | |
@janus-idp/backstage-plugin-rbac:test: | ^ | |
@janus-idp/backstage-plugin-rbac:test: 69 | }); | |
@janus-idp/backstage-plugin-rbac:test: 70 | }); | |
@janus-idp/backstage-plugin-rbac:test: 71 | | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: at toBeDisabled (components/RolesList/DeleteRoleDialog.test.tsx:68:32) | |
@janus-idp/backstage-plugin-rbac:test: at runWithExpensiveErrorDiagnosticsDisabled (../../../node_modules/@testing-library/dom/dist/config.js:47:12) |
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
apiVersion: scaffolder.backstage.io/v1beta3 | |
kind: Template | |
metadata: | |
name: azure-repo-demo | |
title: Azure Repository Test | |
description: Clone and push to an Azure repository example. | |
spec: | |
owner: parfuemerie-douglas | |
type: service |
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
catalog: | |
locations: | |
- type: url | |
target: https://gist.githubusercontent.com/jesuino/7241e9dc185997d7fb5ac46a4a4b0faf/raw/09706353b453195ac6a4785fe40d946e0645170c/test-component.yaml |
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
apiVersion: backstage.io/v1alpha1 | |
kind: Component | |
metadata: | |
name: test | |
description: A test | |
annotations: | |
'jfrog-artifactory/image-name': 'test-image' | |
spec: | |
type: service | |
lifecycle: experimental |
NewerOlder