From 99fa182654f2fd4d7089457160b4ee4f73f6fd28 Mon Sep 17 00:00:00 2001 From: Mohsen Banan Date: Mon, 14 Sep 2020 21:50:20 -0700 Subject: [PATCH] Initial setup. --- .gitattributes | 2 + .gitignore | 151 +++++++++++++++++++++++++++++++++++++++++++++++++ Panel.org | 72 +++++++++++++++++++++++ _objectType_ | 1 + _treeProc_ | 1 + _tree_ | 1 + ftoProc.sh | 105 ++++++++++++++++++++++++++++++++++ 7 files changed, 333 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Panel.org create mode 100644 _objectType_ create mode 100644 _treeProc_ create mode 100644 _tree_ create mode 100755 ftoProc.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5a1981d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* linguist-vendored +*.py linguist-vendored=false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1476797 --- /dev/null +++ b/.gitignore @@ -0,0 +1,151 @@ +# -*- mode: gitignore; -*- +################ EMACS ################# +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +############ PYTHON ############# +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ diff --git a/Panel.org b/Panel.org new file mode 100644 index 0000000..75445e6 --- /dev/null +++ b/Panel.org @@ -0,0 +1,72 @@ +####+BEGIN: bx:dblock:bnsm:top-of-menu "basic" +* #Controls: [[elisp:(blee:bnsm:menu-back)][Back]] [[elisp:(toggle-read-only)][read/wr]] | [[elisp:(show-all)][Show-All]] [[elisp:(org-shifttab)][Overview]] [[elisp:(progn (org-shifttab) (org-content))][Content]] | [[elisp:(delete-other-windows)][(1)]] | [[elisp:(progn (save-buffer) (kill-buffer))][S&Q]] [[elisp:(save-buffer)][Save]] [[elisp:(kill-buffer)][Quit]] [[elisp:(bury-buffer)][Bury]] [[elisp:(org-cycle)][| ]] +** [[elisp:(blee:buf:re-major-mode)][Re-Major-Mode]] || [[elisp:(org-dblock-update-buffer-bx)][Update Buf Dblocks]] || [[elisp:(org-dblock-bx-blank-buffer)][Blank Buf Dblocks]] +####+END: +####+BEGIN: bx:dblock:bnsm:this-node "basic" +* This File :: *= /de/bx/nne/dev-py/pypi/pkgs/unisos/Panel.org =* +####+END: +####+BEGIN: bx:dblock:bnsm:menu-stack "basic" + +####+END: +####+BEGIN: bx:dblock:bnsm:see-related +* [[elisp:(org-cycle)][|#Bash:|]] (Results: [[elisp:(blee:bnsm:results-here)][Here]] | [[elisp:(blee:bnsm:results-split-below)][Below]] | [[elisp:(blee:bnsm:results-split-right)][Right]] | [[elisp:(blee:bnsm:results-other)][Other]] | [[elisp:(blee:bnsm:results-popup)][Popup]]) (Select: [[elisp:(lsip-local-run-command "lpCurrentsAdmin.sh -i currentsGetThenShow")][Show Currents]] [[elisp:(lsip-local-run-command "lpCurrentsAdmin.sh")][lpCurrentsAdmin.sh]] ) [[elisp:(org-cycle)][| ]] +** #See: (Window: [[elisp:(blee:bnsm:results-window-show)][?]] | [[elisp:(blee:bnsm:results-window-set 0)][0]] | [[elisp:(blee:bnsm:results-window-set 1)][1]] | [[elisp:(blee:bnsm:results-window-set 2)][2]] | [[elisp:(blee:bnsm:results-window-set 3)][3]] ) || [[elisp:(lsip-local-run-command-here "echo pushd dest")][echo pushd dir]] || [[elisp:(lsip-local-run-command-here "lsf")][lsf]] || [[elisp:(lsip-local-run-command-here "pwd")][pwd]] | +####+END: +####+BEGIN: bx:dblock:bnsm:agenda-list +* [[elisp:(org-cycle)][|#Marshal:|]] [[elisp:(find-file "/libre/ByStar/InitialTemplates/activeDocs/listOfDocs/fullUsagePanel-en.org")][BxDE Top Panel]] || [[elisp:(bx:org:agenda:this-file-otherWin)][Agenda List This]] || [[elisp:(bx:org:todo:this-file-otherWin)][ToDo List This]] | +** #See: [[elisp:(bx:bnsm:top:panel-blee)][Blee]] | [[elisp:(bx:bnsm:top:panel-listOfDocs)][All Docs]] +####+END: +* ===================== +* [[elisp:(org-cycle)][| ]] =pnlDblock-Begins= :: [[elisp:(org-cycle)][| ]] +####+BEGIN: bx:dblock:global:file-insert :file "/libre/ByStar/InitialTemplates/bxt/starts/bxtProc/auxNode/commonProcTop.org" +* [[elisp:(beginning-of-buffer)][Top]] ##################### [[elisp:(delete-other-windows)][(1)]] /* BxTree Common Object Panel (objectType=data) */ +* ================ +* [[elisp:(org-cycle)][| ]] Related BxPanels :: [[elisp:(find-file "/libre/ByStar/InitialTemplates/activeDocs/bxServices/servicesManage/bxSupervision/systemd/fullUsagePanel-en.org")][SystemD]] || [[file:/libre/ByStar/InitialTemplates/activeDocs/bxPlatform/baseDirs/fullUsagePanel-en.org][BaseDirs]] || [[file:/libre/ByStar/InitialTemplates/activeDocs/bxPlatform/baseDirs/disk/fullUsagePanel-en.org][Disks Management]] || [[file:/libre/ByStar/InitialTemplates/activeDocs/bxPlatform/baseDirs/nfs/fullUsagePanel-en.org][NFS]] || [[file:/libre/ByStar/InitialTemplates/activeDocs/bxPlatform/baseDirs/samba/fullUsagePanel-en.org][SAMBA]] [[elisp:(org-cycle)][| ]] +* ================ + +####+END: +* [[elisp:(beginning-of-buffer)][Top]] =pnlDblock-Ends= :: [[elisp:(delete-other-windows)][(1)]] +* [[elisp:(beginning-of-buffer)][Top]] ##################### [[elisp:(delete-other-windows)][(1)]] *ftoProc.sh Invokations* +* [[elisp:(org-cycle)][| ]] =pnlDblock-Begins= :: [[elisp:(org-cycle)][| ]] +####+BEGIN: bx:dblock:global:file-insert :file "/libre/ByStar/InitialTemplates/bxt/starts/bxtProc/auxNode/commonProcInvokes.org" +* bxtStartCommon.sh :: [[elisp:(bx:iimBash:cmndLineExec :wrapper "echo" :name "bxtStartCommon.sh" :iif "startObjectGen" :iifArgs "auxNode")][bxtStartCommon.sh -i startObjectGen auxNode]] +* Begin Templates :: [[elisp:(dired "/libre/ByStar/InitialTemplates/bxt/starts/bxtProc/auxNode/")][dired /libre/ByStar/InitialTemplates/bxt/starts/bxtProc/auxNode/]] +* commonPanel.sh :: [[elisp:(bx:iimBash:cmndLineExec :wrapper "" :name "commonProc.sh" :verbosity "" :callTracking "" :iif "" :iifArgs "")][commonProc.sh]] +* commonPanel.sh :: [[elisp:(bx:iimBash:cmndLineExec :wrapper "" :name "commonProc.sh" :iif "visit" :iifArgs "")][commonProc.sh -i visit]] +* commonPanel.sh :: [[elisp:(bx:iimBash:cmndLineExec :wrapper "" :name "commonProc.sh" :iif "clean" :iifArgs "")][commonProc.sh -i clean]] +* commonPanel.sh :: [[elisp:(lsip-local-run-command-here "diff ./commonProc.sh /libre/ByStar/InitialTemplates/bxt/starts/bxtProc/auxNode/commonProc.sh")]] +* commonPanel.sh :: [[elisp:(lsip-local-run-command-here "diff ./commonPanel.org /libre/ByStar/InitialTemplates/bxt/starts/bxtProc/auxNode/commonPanel.org")]] + +####+END: +* [[elisp:(beginning-of-buffer)][Top]] =pnlDblock-Ends= :: [[elisp:(delete-other-windows)][(1)]] +* [[elisp:(beginning-of-buffer)][Top]] ##################### [[elisp:(delete-other-windows)][(1)]] *Notes -- Status -- Development -- Evolution* +* Here :: [[elisp:(lsip-local-run-command-here "pwd")][pwd]] || [[elisp:(lsip-local-run-command-here "lsf")][lsf]] || [[elisp:(lsip-local-run-command-here "ls -ldt *")][ls -ldt *]] || [[elisp:(dired ".")][dired .]] +* [[elisp:(org-cycle)][| ]] Manifest :: /Files Description/ [[elisp:(lsip-local-run-command-here "ls -C --file-type -1 | emlStdinGen -p orgLevel=2 -p orgLabel=$(basename $(pwd)) -i lsToManifestStdout")][ls -C -F -1 | emlStdinGen -p orgLevel=2 -p orgLable=$(pwd) -i lsToManifestStdout]] [[elisp:(org-cycle)][| ]] +** [[elisp:(org-cycle)][| ]] PersonalConfidential :: clusterShare/ -- Personal Confidential But Shareable Within The Cluster [[elisp:(org-cycle)][| ]] +** [[elisp:(org-cycle)][| ]] PersonalConfidential :: commonPanel.org [[elisp:(org-cycle)][| ]] +** [[elisp:(org-cycle)][| ]] PersonalConfidential :: commonProc.sh [[elisp:(org-cycle)][| ]] +* [[elisp:(org-cycle)][| ]] Notes :: /Notes, Ideas, Tasks, Agenda/ [[elisp:(org-cycle)][| ]] +** [[elisp:(org-cycle)][| ]] Context :: Module Starting Points [[elisp:(org-cycle)][| ]] +* [[elisp:(org-cycle)][| ]] Team :: /Development Team/ [[elisp:(org-cycle)][| ]] +* ===================== +* [[elisp:(beginning-of-buffer)][Top]] ##################### [[elisp:(delete-other-windows)][(1)]] *Common Footer Controls* +####+BEGIN: bx:dblock:org:parameters :types "agenda" +#+STARTUP: lognotestate +#+SEQ_TODO: TODO WAITING DELEGATED | DONE DEFERRED CANCELLED +#+TAGS: @desk(d) @home(h) @work(w) @withInternet(i) @road(r) call(c) errand(e) +####+END: + + +####+BEGIN: bx:dblock:bnsm:end-of-menu "basic" +* #Controls: [[elisp:(blee:bnsm:menu-back)][Back]] [[elisp:(toggle-read-only)][toggle-read-only]] [[elisp:(show-all)][Show-All]] [[elisp:(org-shifttab)][Cycle Glob Vis]] [[elisp:(delete-other-windows)][1 Win]] [[elisp:(save-buffer)][Save]] [[elisp:(kill-buffer)][Quit]] +####+END: +* [[elisp:(org-cycle)][| ]] Local Vars :: *Org-Mode And Emacs Specific Configurations* [[elisp:(org-cycle)][| ]] +#+CATEGORY: bxPanel +#+STARTUP: overview + +;; Local Variables: +;; eval: (setq bx:iimp:iimModeArgs "") +;; eval: (bx:iimp:cmndLineSpecs :name "bxpManage.py") +;; eval: (bx:iimBash:cmndLineSpecs :name "lcaSambaSysdAdmin.sh") +;; eval: (setq bx:curUnit "smbd") +;; End: diff --git a/_objectType_ b/_objectType_ new file mode 100644 index 0000000..3ade75d --- /dev/null +++ b/_objectType_ @@ -0,0 +1 @@ +fto.auxNode diff --git a/_treeProc_ b/_treeProc_ new file mode 100644 index 0000000..3c335e4 --- /dev/null +++ b/_treeProc_ @@ -0,0 +1 @@ +ftoProc.sh diff --git a/_tree_ b/_tree_ new file mode 100644 index 0000000..4745e2d --- /dev/null +++ b/_tree_ @@ -0,0 +1 @@ +auxNode diff --git a/ftoProc.sh b/ftoProc.sh new file mode 100755 index 0000000..0f84cc4 --- /dev/null +++ b/ftoProc.sh @@ -0,0 +1,105 @@ +#!/bin/bash + +####+BEGIN: bx:bash:top-of-file :vc "cvs" partof: "bystar" :copyleft "halaal+minimal" +### Args: :control "enabled|disabled|hide|release|fVar" :vc "cvs|git|nil" :partof "bystar|nil" :copyleft "halaal+minimal|halaal+brief|nil" +typeset RcsId="$Id: dblock-iim-bash.el,v 1.4 2017-02-08 06:42:32 lsipusr Exp $" +# *CopyLeft* +__copying__=" +* Libre-Halaal Software" +# This is part of ByStar Libre Services. http://www.by-star.net +# This is a Halaal Poly-Existential. See http://www.freeprotocols.org + +####+END: + +####+BEGIN: bx:bsip:bash:seed-spec :types "seedFtoCommon.sh" +SEED=" +* /[dblock]/ /Seed/ :: [[file:/bisos/core/bsip/bin/seedFtoCommon.sh]] | +" +FILE=" +* /This File/ :: /bisos/git/auth/bxRepos/efficientProtocols/ftoProc.sh +" +if [ "${loadFiles}" == "" ] ; then + /bisos/core/bsip/bin/seedFtoCommon.sh -l $0 "$@" + exit $? +fi +####+END: + + +leavesExcludes="" + +leavesOrdered="" + +nodesExcludes="" + +nodesOrdered="" + + +_CommentBegin_ +* [[elisp:(org-cycle)][| ]] [[elisp:(blee:ppmm:org-mode-toggle)][Nat]] [[elisp:(beginning-of-buffer)][Top]] [[elisp:(delete-other-windows)][(1)]] || List :: Leaves List [[elisp:(org-cycle)][| ]] +_CommentEnd_ + +####+BEGIN: bx:dblock:ploneProc:bash:leavesList :types "" +# {{{ DBLOCK-leavesList +leavesList=" +" +# }}} DBLOCK-leavesList +####+END: + + +_CommentBegin_ +* [[elisp:(org-cycle)][| ]] [[elisp:(blee:ppmm:org-mode-toggle)][Nat]] [[elisp:(beginning-of-buffer)][Top]] [[elisp:(delete-other-windows)][(1)]] || List :: Nodes List [[elisp:(org-cycle)][| ]] +_CommentEnd_ + +####+BEGIN: bx:dblock:ploneProc:bash:nodesList :types "" +# {{{ DBLOCK-nodesList +nodesList=" +OCP +overview +ESRO +EMSD +base +" +# }}} DBLOCK-nodesList +####+END: + + +_CommentBegin_ +* [[elisp:(org-cycle)][| ]] [[elisp:(blee:ppmm:org-mode-toggle)][Nat]] [[elisp:(beginning-of-buffer)][Top]] [[elisp:(delete-other-windows)][(1)]] || Cmnd :: examplesHookPostExample [[elisp:(org-cycle)][| ]] +_CommentEnd_ + +function examplesHookPost { + cat << _EOF_ +$( examplesSeperatorTopLabel "EXTENSION EXAMPLES" ) +_EOF_ + + templatesEvolution + + return +} + + +function templatesEvolution { + cat << _EOF_ +$( examplesSeperatorSection "ftoProc.sh -- Templates Evolution" ) +diff ./ftoProc.sh /libre/ByStar/InitialTemplates/update/fto/start/commonProc/anyFtoItem/ftoProcNode.sh +cp ./ftoProc.sh /libre/ByStar/InitialTemplates/update/fto/start/commonProc/anyFtoItem/ftoProcNode.sh +cp /libre/ByStar/InitialTemplates/update/fto/start/commonProc/anyFtoItem/ftoProcNode.sh ./ftoProc.sh +$( examplesSeperatorSection "commonPanel.org -- Templates Evolution" ) +diff ./Panel.org /libre/ByStar/InitialTemplates/start/fto/commonProc/anyFtoItem/mainPanel.org +cp ./Panel.org /libre/ByStar/InitialTemplates/start/fto/commonProc/anyFtoItem/mainPanel.org +cp /libre/ByStar/InitialTemplates/start/fto/commonProc/anyFtoItem/mainPanel.org ./Panel.org +_EOF_ + return +} + + +####+BEGIN: bx:dblock:bash:end-of-file :types "" +_CommentBegin_ +* [[elisp:(org-cycle)][| ]] Common :: /[dblock] -- End-Of-File Controls/ [[elisp:(org-cycle)][| ]] +_CommentEnd_ +#+STARTUP: showall +#local variables: +#major-mode: sh-mode +#fill-column: 90 +# end: +####+END: