vault backup: 2023-01-16 10:47:47

This commit is contained in:
Paul Trowbridge 2023-01-16 10:47:48 -05:00
parent d3518c1783
commit 8fb92e80d3
23 changed files with 85 additions and 2903 deletions

View File

@ -17,6 +17,6 @@
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 0.9221079114817278,
"scale": 0.46913335975299647,
"close": true
}

View File

@ -4,15 +4,19 @@
"type": "split",
"children": [
{
"id": "bd3048da7ced7906",
"id": "70ecdc281565baae",
"type": "tabs",
"children": [
{
"id": "6971c1675e1bdbb9",
"id": "c22171ac428731c4",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
"type": "markdown",
"state": {
"file": "hard_disks.md",
"mode": "preview",
"source": true
}
}
}
]
@ -61,7 +65,8 @@
"state": {}
}
}
]
],
"currentTab": 1
}
],
"direction": "horizontal",
@ -81,6 +86,7 @@
"state": {
"type": "backlink",
"state": {
"file": "hard_disks.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@ -97,6 +103,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "hard_disks.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@ -118,7 +125,9 @@
"type": "leaf",
"state": {
"type": "outline",
"state": {}
"state": {
"file": "hard_disks.md"
}
}
},
{
@ -147,17 +156,17 @@
"command-palette:Open command palette": false
}
},
"active": "6971c1675e1bdbb9",
"active": "c22171ac428731c4",
"lastOpenFiles": [
"pages/Contents.md",
"pghero.md",
"pgbdager.md",
"postgres.md",
"journals/2023_01_12.md",
"journals/2023_01_09.md",
"apache.md",
"auth.md",
"sql_server/error_handling.sql",
"2023-01-09.md"
"AutoSSH.md",
"accounting/asset_based_lending.md",
"accounting/role.md",
"accounting/Transfer Pricing.md",
"accounting/wc_industrial_products_revenue_recognition.pdf",
"analysis/price_mix_vol.md",
"planning/sales_planning.md",
"planning/production_scheduling.md",
"pricing/Re-Price Open Orders.md",
"pricing/Price Guidance Application.md"
]
}

View File

@ -1,27 +0,0 @@
## Clean Update Guidance
- [x] exclude dishes and hangers from ltp flags ✅ 2023-01-11
- [ ] dont blow cap dishes past bulletin value
- [ ] flag increases and decreses
- [ ] convert USD pricing back to local for order adjustment feed
## Scope
* Timeline
- [ ] order placed range
- [ ] promise date range
* Adjustment
- [ ] blanket % per customer
- [ ] adjust up and down so long as net down
- [ ] only adjust down
* Excludsions
- [ ] Warehouse
- [ ] Monrovia
- [ ] Proven Winners
- [ ] Large Directs `Metrolina, Altmans, Costa`
- [ ] Retail
- [ ] Purchased?
## CMS
- [ ] prep for either % change or feed from file

View File

@ -1,61 +0,0 @@
---
kanban-plugin: basic
---
## Issues
- [ ] Invoices with no BOL
- [ ] bulk is more than master pallet (CAN)
- [ ] GETPRICE<br>- [ ] subcontracts<br>- [ ] Proven Winners<br>- [ ] any drop ship will link with list<br>- [ ] narrower linkage based on v1 dataseg
- [ ] Price per M should round to < 5 in case/pallet and vice versa
## Projects
- [ ] Price List Build - Volume Basis<br>* Review Branded Thermo
- [ ] Quote Tool - target maintenance
- [ ] Valid Prices used in orders - check
## Requests
- [ ] Canada Greenhouse List Review
- [ ] BFG to have 5% discount for branded containers
## Sales Matrix
- [ ] Quotes Integration<br>- [ ] refresh<br>- [ ] all open<br>- [ ] header row but no qcri rows
- [ ] Matrix - Active Price Measure
- [ ] Update by Diff
- [ ] Handle Guidance based on channel
- [ ] Notes
- [ ] Guidance Anchor Pool<br><br>* source<br> * customer<br> * channel global<br> * target<br>* fit<br> * v0<br> * v1<br> * alt+prem
## Opportunities
- [ ] Open Quotes - Listing for Folow-Up
- [ ] Share - customers buying more items
- [ ] Market size - More YoY season lbs
- [ ] Quote Conversion Rate
## Quotes
## Done
**Complete**
%% kanban:settings
```
{"kanban-plugin":"basic","show-checkboxes":false}
```
%%

View File

@ -1,2 +0,0 @@
- #poppleman
- this

View File

@ -1,2 +0,0 @@
- 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)

View File

@ -1,21 +0,0 @@
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₁ ) )

View File

@ -1,4 +0,0 @@
https://github.com/forbesmyester/esqlate
builds little forms out of sql

View File

@ -1,28 +0,0 @@
Branches
============================================
### Adding Branches
* local: `git checkout -b <branch>`
* remote: `git push --set-upstream <remote> <branch>`
* track remote: `git checkout --track <origin>/<branch>`
### Deleting Branches
* local: `git branch -d <name>`
* remote: `git push -d <remote> <name>`
* realize remote deletes: `git remote prune <remote>`
### Non-Standard Activities
* merge only a single file into another branch `git checkout <branch> -- <file>`
* delete from repo and file system `git rm <file>`
* set current branch to track remote `git branch -u <origin>/<branch>`
Config
=============================================
* set line ending behaviour `git config --global core.autocrlf true`
* store credentials `git config credential.helper store` or `git config credential.helper cache`

View File

@ -1,2 +0,0 @@
- #poppleman
-[[]]

View File

@ -1,2 +0,0 @@
- #poppleman
-(())

View File

@ -1,6 +0,0 @@
- 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)

View File

@ -1,121 +0,0 @@
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-*

View File

@ -1,36 +0,0 @@
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`

View File

@ -1,4 +0,0 @@
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

View File

@ -1,7 +0,0 @@
- Database tech
- [[postgres]]
- [[pgbdager]]
- [[pghero]]
- Ubuntu Related
- [[users]]
- [[hard_disks]]

View File

@ -1,51 +1,51 @@
A method to planning sales
----------------------------
## Summary
1. copy history
1. start with open orders
2. add orders as placed in past
1. true-up to current run rate
1. normalize price for current pricing
1. will need to idenitfy blocks in the base period that best represent pricing efforts
2. scale prior periods to match final pricing
2. exclude expired products/customers
3. scale new developments to reflect full-year (new products customers)
4. update cost to current
5. request date attainment performance
3. walk prior period sales to new baseline sales as change in run-rate
2. build in changes to current run-rate
1. volume changes
2. pricing changes
3. new products (must be defined in future at a mininum)
4. future cost changes
5. request date attainment
| timeline | day | running days | responsible |
| -------------------------------------------- | --- | ------------ | ----------- |
| **_establish run-rate sales_** | | | |
| copy history | 1 | 1 | executor |
| identify pricing windows | 1 | 2 | sales team |
| scale windows to match final | 1 | 3 | executor |
| identify expired products/customers | 3 | 6 | sales team |
| eliminate expired volume | 1 | 7 | executor |
| identify new products/customers | 3 | 10 | sales team |
| scale new to full year volume | 1 | 11 | executor |
| **_load new plans_** | | | |
| layer in planned changes not yet implemented | | | |
| identify changes to existing volume | 3 | 14 | sales team |
| load changes | 1 | 15 | executor |
| identify changes in price | 3 | 18 | sales team |
| load changes | 1 | 19 | executor |
| identify new products | 3 | 22 | sales team |
| load new | 1 | 23 | executor |
Table Layout
A method to planning sales
----------------------------
## Summary
1. copy history
1. start with open orders
2. add orders as placed in past
1. true-up to current run rate
1. normalize price for current pricing
1. will need to idenitfy blocks in the base period that best represent pricing efforts
2. scale prior periods to match final pricing
2. exclude expired products/customers
3. scale new developments to reflect full-year (new products customers)
4. update cost to current
5. request date attainment performance
3. walk prior period sales to new baseline sales as change in run-rate
2. build in changes to current run-rate
1. volume changes
2. pricing changes
3. new products (must be defined in future at a mininum)
4. future cost changes
5. request date attainment
| timeline | day | running days | responsible |
| -------------------------------------------- | --- | ------------ | ----------- |
| **_establish run-rate sales_** | | | |
| copy history | 1 | 1 | executor |
| identify pricing windows | 1 | 2 | sales team |
| scale windows to match final | 1 | 3 | executor |
| identify expired products/customers | 3 | 6 | sales team |
| eliminate expired volume | 1 | 7 | executor |
| identify new products/customers | 3 | 10 | sales team |
| scale new to full year volume | 1 | 11 | executor |
| **_load new plans_** | | | |
| layer in planned changes not yet implemented | | | |
| identify changes to existing volume | 3 | 14 | sales team |
| load changes | 1 | 15 | executor |
| identify changes in price | 3 | 18 | sales team |
| load changes | 1 | 19 | executor |
| identify new products | 3 | 22 | sales team |
| load new | 1 | 23 | executor |
Table Layout

View File

@ -1,5 +0,0 @@
- 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.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

View File

@ -1,3 +1,7 @@
Error Handling
===============================================================
```
CREATE PROC RLARP.TEST AS
BEGIN
@ -30,4 +34,6 @@ begin CATCH
end
end catch
SELECT * FROM #temp
SELECT * FROM #temp
```