diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index a2aa9a1..16dea18 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,15 +4,19 @@ "type": "split", "children": [ { - "id": "d2484c0cd1898ce7", + "id": "8842c89178654d5e", "type": "tabs", "children": [ { - "id": "28f1090e043b6c83", + "id": "ea1bfb1f125294a3", "type": "leaf", "state": { - "type": "empty", - "state": {} + "type": "markdown", + "state": { + "file": "journals/2023_01_12.md", + "mode": "source", + "source": true + } } } ] @@ -81,6 +85,7 @@ "state": { "type": "backlink", "state": { + "file": "journals/2023_01_12.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -97,6 +102,7 @@ "state": { "type": "outgoing-link", "state": { + "file": "journals/2023_01_12.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -118,7 +124,9 @@ "type": "leaf", "state": { "type": "outline", - "state": {} + "state": { + "file": "journals/2023_01_12.md" + } } }, { @@ -147,17 +155,17 @@ "command-palette:Open command palette": false } }, - "active": "28f1090e043b6c83", + "active": "ea1bfb1f125294a3", "lastOpenFiles": [ + "journals/2023_01_09.md", + "apache.md", + "auth.md", "sql_server/error_handling.sql", "2023-01-09.md", "visidata.md", "webmin.md", "wekan.md", "telnet.md", - "ssh.md", - "vagrant.md", - "virtualbox.md", - "regex.md" + "ssh.md" ] } \ No newline at end of file diff --git a/assets/Costa_Fern_Quote_1673573313276_0.msg b/assets/Costa_Fern_Quote_1673573313276_0.msg new file mode 100644 index 0000000..70952b7 Binary files /dev/null and b/assets/Costa_Fern_Quote_1673573313276_0.msg differ diff --git a/assets/RE_Your_quote_needs_re-worked_-_'Farmers_-_Andrew_-_Farmers'_1673573392965_0.msg b/assets/RE_Your_quote_needs_re-worked_-_'Farmers_-_Andrew_-_Farmers'_1673573392965_0.msg new file mode 100644 index 0000000..b92b026 Binary files /dev/null and b/assets/RE_Your_quote_needs_re-worked_-_'Farmers_-_Andrew_-_Farmers'_1673573392965_0.msg differ diff --git a/journals/2023_01_09.md b/journals/2023_01_09.md index 91b0d2d..ddc03ae 100644 --- a/journals/2023_01_09.md +++ b/journals/2023_01_09.md @@ -1,2 +1,2 @@ - #poppleman -- \ No newline at end of file +- this \ No newline at end of file diff --git a/journals/2023_01_12.md b/journals/2023_01_12.md new file mode 100644 index 0000000..63ee214 --- /dev/null +++ b/journals/2023_01_12.md @@ -0,0 +1,2 @@ +- Matt Stahl has opportunity with AMK12000 with Farmers Co-Op but wants to give them a price without reviewing price lists [RE_ Your quote needs re-worked - 'Farmers - Andrew - Farmers'.msg](../assets/RE_Your_quote_needs_re-worked_-_'Farmers_-_Andrew_-_Farmers'_1673573392965_0.msg) +- Tony talked with Eric and and Bob about Costa price of fern basket MIH09 price going to 309 after negotiation [Costa Fern Quote (1).msg](../assets/Costa_Fern_Quote_1673573313276_0.msg) \ No newline at end of file diff --git a/logseq/bak/analysis/price_mix_vol/2023-01-13T01_15_47.843Z.Desktop.md b/logseq/bak/analysis/price_mix_vol/2023-01-13T01_15_47.843Z.Desktop.md new file mode 100644 index 0000000..f26651a --- /dev/null +++ b/logseq/bak/analysis/price_mix_vol/2023-01-13T01_15_47.843Z.Desktop.md @@ -0,0 +1,21 @@ + +Only applies to items that exist in both sets of data + +**Change in Price** + + ( P₂ - P₁ ) Q₂ + +**Change in Quantity** + + ( Q₂ - Q₁ ) P₁ + +_To further break out change in quantity_ + + +Change in Quantity - _Volume Related_ + + Q₂ ( Q₁ / Σ ( Q₁ ) ) - Q₁ + +Change in Quantity - _Mix Related_ + + Q₂ - Q₂ ( Q₁ / Σ ( Q₁ ) ) \ No newline at end of file diff --git a/logseq/bak/esqlate/2023-01-13T01_15_47.847Z.Desktop.md b/logseq/bak/esqlate/2023-01-13T01_15_47.847Z.Desktop.md new file mode 100644 index 0000000..9d78b64 --- /dev/null +++ b/logseq/bak/esqlate/2023-01-13T01_15_47.847Z.Desktop.md @@ -0,0 +1,4 @@ + +https://github.com/forbesmyester/esqlate + +builds little forms out of sql \ No newline at end of file diff --git a/logseq/bak/git/2023-01-13T01_15_47.861Z.Desktop.md b/logseq/bak/git/2023-01-13T01_15_47.861Z.Desktop.md new file mode 100644 index 0000000..6330a97 --- /dev/null +++ b/logseq/bak/git/2023-01-13T01_15_47.861Z.Desktop.md @@ -0,0 +1,28 @@ + +Branches +============================================ + + +### Adding Branches + +* local: `git checkout -b ` +* remote: `git push --set-upstream ` +* track remote: `git checkout --track /` + +### Deleting Branches + +* local: `git branch -d ` +* remote: `git push -d ` +* realize remote deletes: `git remote prune ` + +### Non-Standard Activities + +* merge only a single file into another branch `git checkout -- ` +* delete from repo and file system `git rm ` +* set current branch to track remote `git branch -u /` + +Config +============================================= + +* set line ending behaviour `git config --global core.autocrlf true` +* store credentials `git config credential.helper store` or `git config credential.helper cache` diff --git a/logseq/bak/journals/2023_01_09/2023-01-13T01_20_29.951Z.Desktop.md b/logseq/bak/journals/2023_01_09/2023-01-13T01_20_29.951Z.Desktop.md new file mode 100644 index 0000000..01b98ce --- /dev/null +++ b/logseq/bak/journals/2023_01_09/2023-01-13T01_20_29.951Z.Desktop.md @@ -0,0 +1,2 @@ +- #poppleman +-[[]] \ No newline at end of file diff --git a/logseq/bak/journals/2023_01_09/2023-01-13T01_20_32.420Z.Desktop.md b/logseq/bak/journals/2023_01_09/2023-01-13T01_20_32.420Z.Desktop.md new file mode 100644 index 0000000..e11a90e --- /dev/null +++ b/logseq/bak/journals/2023_01_09/2023-01-13T01_20_32.420Z.Desktop.md @@ -0,0 +1,2 @@ +- #poppleman +-(()) \ No newline at end of file diff --git a/logseq/bak/journals/2023_01_12/2023-01-13T01_33_58.970Z.Desktop.md b/logseq/bak/journals/2023_01_12/2023-01-13T01_33_58.970Z.Desktop.md new file mode 100644 index 0000000..3145f19 --- /dev/null +++ b/logseq/bak/journals/2023_01_12/2023-01-13T01_33_58.970Z.Desktop.md @@ -0,0 +1,6 @@ +- Matt Stahl has opportunity with AMK12000 with Farmers Co-Op but wants to give them a price without reviewing price lists [RE_ Your quote needs re-worked - 'Farmers - Andrew - Farmers'.msg](../assets/RE_Your_quote_needs_re-worked_-_'Farmers_-_Andrew_-_Farmers'_1673573392965_0.msg) + :LOGBOOK: + CLOCK: [2023-01-12 Thu 20:30:57]--[2023-01-12 Thu 20:30:58] => 00:00:01 + CLOCK: [2023-01-12 Thu 20:31:00] + :END: +- Tony talked with Eric and and Bob about Costa price of fern basket MIH09 price going to 309 after negotiation [Costa Fern Quote (1).msg](../assets/Costa_Fern_Quote_1673573313276_0.msg) \ No newline at end of file diff --git a/logseq/bak/multipass/2023-01-13T01_15_47.884Z.Desktop.md b/logseq/bak/multipass/2023-01-13T01_15_47.884Z.Desktop.md new file mode 100644 index 0000000..716be50 --- /dev/null +++ b/logseq/bak/multipass/2023-01-13T01_15_47.884Z.Desktop.md @@ -0,0 +1,121 @@ +mutlipass - ubuntu vm's from canonical + +snap install multipass --classic (apparently this option is required and allows the snap to violate it's sandbox??) + +https://multipass.run/ + + +launch an instance: +* `multipass launch --name ubuntu-lts` +* `multipass stop ubuntu-lts` +* `multipass delete ubuntu-lts-custom` +* `multipass purge` +* `multipass find` + +you have to `sudo multipass shell` to get a sudo-able shell + + +setup +``` +sudo apt update +sudo apt upgrade +wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - +echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list +sudo apt update +sudo apt -y install postgresql-12 postgresql-client-12 + +sudo apt install nginx +sudo apt install nodejs +sudo apt install redis +sudo apt install npm +sudo npm install -g n +n lts + +sudo su root +curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +exit + +sudo apt update + +apt install -y \ + imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \ + g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \ + bison build-essential libssl-dev libyaml-dev libreadline6-dev \ + zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev \ + nginx redis-server redis-tools postgresql postgresql-contrib \ + certbot python-certbot-nginx yarn libidn11-dev libicu-dev libjemalloc-dev +``` + +install mastodon +``` +adduser --disabled-login mastodon +sudo su - mastodon +git clone https://github.com/rbenv/rbenv.git ~/.rbenv +cd ~/.rbenv && src/configure && make -C src +echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc +echo 'eval "$(rbenv init -)"' >> ~/.bashrc +exec bash +git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build + +RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.6.5 +rbenv global 2.6.5 +gem update --system +gem install bundler --no-document +exit + +sudo -u postgres psql +CREATE USER mastodon CREATEDB; +\q + +git clone https://github.com/tootsuite/mastodon.git live && cd live +git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1) + + +bundle install \ + -j$(getconf _NPROCESSORS_ONLN) \ + --deployment --without development test +yarn install --pure-lockfile +``` + +need to set database credentials before the env file is built +``` +sudo su postgres +psql +alter role mastodon password 'mastodon'; +\q + +sudo vim //etc/redis/redis.conf +requirepass password +``` + + +``` +RAILS_ENV=production bundle exec rake mastodon:setup +``` +this will prompt a bunch of setting, after a while mail from localhost = no +this will prompt smtp setup +``` + +compilation failed, complained about memory + +setup nginx files: +``` +cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon +ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon +``` + +then you have to replace example.com with a target domain in the nginx files +using vim -> `:%s/example.com/hptrow.me` + + +copy sevice files: +``` +cp /home/mastodon/live/dist/mastodon-*.service /etc/systemd/system/ +``` + +setup load services +``` +sudo systemctl daemon-reload +sudo systemctl start mastodon-web mastodon-sidekiq mastodon-streaming +sudo systemctl enable mastodon-* \ No newline at end of file diff --git a/logseq/bak/nodejs/2023-01-13T01_15_47.938Z.Desktop.md b/logseq/bak/nodejs/2023-01-13T01_15_47.938Z.Desktop.md new file mode 100644 index 0000000..c5089e6 --- /dev/null +++ b/logseq/bak/nodejs/2023-01-13T01_15_47.938Z.Desktop.md @@ -0,0 +1,36 @@ +version management +=================================================================================================================================== + +## nvm + +can use nvm to manage nodejs versions. +not really sure how this works, but it is per user and operates off bash scripts and variables + +going to have to pull from github. It will curl to clone the repo and then add some stuff to your bashrc to make it work. +`exec bash` after install to refresh + +nvm install --lts +nvm use version + +## npm n helper + +npm can be used to manage node itself through n +https://github.com/tj/n + +sudo npm cache clean -f + + +1. setup & *own* directyory with versions + * `sudo mkdir -p /usr/local/n` + * `sudo chown -R $(whoami) /usr/local/n` +2. own the instalation folders + * `sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share` +3. install n: `sudo npm install -g n` + + +## upgrading npm in windows +`npm install -g npm-windows-upgrade` +or just download from the wesite + +## npm +to update npm do `npm install npm@latest -g` diff --git a/logseq/bak/sc/2023-01-13T01_15_48.252Z.Desktop.md b/logseq/bak/sc/2023-01-13T01_15_48.252Z.Desktop.md new file mode 100644 index 0000000..2c5761c --- /dev/null +++ b/logseq/bak/sc/2023-01-13T01_15_48.252Z.Desktop.md @@ -0,0 +1,4 @@ +to open a csv file in sc +`cat file.csv | psc -k -d, | sc` + +sc-im supposedly does a better job with csv, but have not been able to get it to compile \ No newline at end of file diff --git a/pages/Contents.md b/pages/Contents.md new file mode 100644 index 0000000..0159e18 --- /dev/null +++ b/pages/Contents.md @@ -0,0 +1,7 @@ +- Database tech + - [[postgres]] + - [[pgbdager]] + - [[pghero]] +- Ubuntu Related + - [[users]] + - [[hard_disks]] \ No newline at end of file diff --git a/pricing/Current Price Guidance.md b/pricing/Current Price Guidance.md index 6297d4d..56e41b2 100644 --- a/pricing/Current Price Guidance.md +++ b/pricing/Current Price Guidance.md @@ -1,5 +1,5 @@ -This is our current approach to quoting new and repeat business alike: - -![[Price Guidance Application.png]] - -As we look to update open orders, their open order price will become relevant as we re-quote their business. +- This is our current approach to quoting new and repeat business alike: + + ![[Price Guidance Application.png]] + + As we look to update open orders, their open order price will become relevant as we re-quote their business. \ No newline at end of file