Skip to content

Instantly share code, notes, and snippets.

View sullemanhossam's full-sized avatar

sullemanhossam

View GitHub Profile
this should present repo information
<!-- workspace shared code -->
chord diagram : d3 grahviz
<!-- flow of functions -->
<!-- file sizes -->
func WalkDir(fsys fs.FS, root string, fn fs.WalkDirFunc) error {
return fs.WalkDir(fsys, root, fn)
}
package repominer
// this package should go insidde a filepath and get all the relative paths
import (
"fmt"
"io/fs"
"os"
"path/filepath"
)
package main
import (
repominer "libs/repo-miner"
)
func main() {
repominer.RepoMiner()
}
// example.js
type Target = string;
interface PackageConfig {
targets: Target[];
alias: string;
pkg: string;
version: string;
}
import { fn } from "@storybook/test";
import 国有 from "./网路";
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
export default {
title: "Section| |Header/国有",
component: 国有,
parameters: {
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
// layout: "centered",
x-eventstore: &eventstore
build:
context: .
dockerfile: projects/eventstore/Dockerfile
image: eventstore
command: "go run ."
volumes:
- ../../../out/server/code/go-workspace:/home
working_dir: /apps/eventstore
volumes:
root-home:
rabbitmq:
postgres-12:
postgres-13:
postgres-13-email-alert-api:
postgres-14:
postgres-14-postgis:
postgres-16:
mysql-8:
name: pharmav-app
volumes:
root-home:
rabbitmq:
postgres-12:
postgres-13:
postgres-13-email-alert-api:
postgres-14:
postgres-14-postgis:
name: pharmav-app
x-eventstore: &eventstore
build:
context: .
dockerfile: projects/eventstore/Dockerfile
image: eventstore
command: "go run ."
volumes:
- ../../../out/server/code/go-workspace:/home