vault backup: 2023-01-16 10:47:47
This commit is contained in:
parent
d3518c1783
commit
8fb92e80d3
2
.obsidian/graph.json
vendored
2
.obsidian/graph.json
vendored
@ -17,6 +17,6 @@
|
|||||||
"repelStrength": 10,
|
"repelStrength": 10,
|
||||||
"linkStrength": 1,
|
"linkStrength": 1,
|
||||||
"linkDistance": 250,
|
"linkDistance": 250,
|
||||||
"scale": 0.9221079114817278,
|
"scale": 0.46913335975299647,
|
||||||
"close": true
|
"close": true
|
||||||
}
|
}
|
43
.obsidian/workspace.json
vendored
43
.obsidian/workspace.json
vendored
@ -4,15 +4,19 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "bd3048da7ced7906",
|
"id": "70ecdc281565baae",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "6971c1675e1bdbb9",
|
"id": "c22171ac428731c4",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "empty",
|
"type": "markdown",
|
||||||
"state": {}
|
"state": {
|
||||||
|
"file": "hard_disks.md",
|
||||||
|
"mode": "preview",
|
||||||
|
"source": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -61,7 +65,8 @@
|
|||||||
"state": {}
|
"state": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"currentTab": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
@ -81,6 +86,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
|
"file": "hard_disks.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@ -97,6 +103,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
|
"file": "hard_disks.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
}
|
||||||
@ -118,7 +125,9 @@
|
|||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {}
|
"state": {
|
||||||
|
"file": "hard_disks.md"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -147,17 +156,17 @@
|
|||||||
"command-palette:Open command palette": false
|
"command-palette:Open command palette": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "6971c1675e1bdbb9",
|
"active": "c22171ac428731c4",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"pages/Contents.md",
|
"AutoSSH.md",
|
||||||
"pghero.md",
|
"accounting/asset_based_lending.md",
|
||||||
"pgbdager.md",
|
"accounting/role.md",
|
||||||
"postgres.md",
|
"accounting/Transfer Pricing.md",
|
||||||
"journals/2023_01_12.md",
|
"accounting/wc_industrial_products_revenue_recognition.pdf",
|
||||||
"journals/2023_01_09.md",
|
"analysis/price_mix_vol.md",
|
||||||
"apache.md",
|
"planning/sales_planning.md",
|
||||||
"auth.md",
|
"planning/production_scheduling.md",
|
||||||
"sql_server/error_handling.sql",
|
"pricing/Re-Price Open Orders.md",
|
||||||
"2023-01-09.md"
|
"pricing/Price Guidance Application.md"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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
|
|
||||||
|
|
@ -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}
|
|
||||||
```
|
|
||||||
%%
|
|
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
|||||||
- #poppleman
|
|
||||||
- this
|
|
@ -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)
|
|
@ -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₁ ) )
|
|
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
https://github.com/forbesmyester/esqlate
|
|
||||||
|
|
||||||
builds little forms out of sql
|
|
@ -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`
|
|
@ -1,2 +0,0 @@
|
|||||||
- #poppleman
|
|
||||||
-[[]]
|
|
@ -1,2 +0,0 @@
|
|||||||
- #poppleman
|
|
||||||
-(())
|
|
@ -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)
|
|
@ -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-*
|
|
@ -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`
|
|
@ -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
|
|
@ -1,7 +0,0 @@
|
|||||||
- Database tech
|
|
||||||
- [[postgres]]
|
|
||||||
- [[pgbdager]]
|
|
||||||
- [[pghero]]
|
|
||||||
- Ubuntu Related
|
|
||||||
- [[users]]
|
|
||||||
- [[hard_disks]]
|
|
@ -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 |
@ -1,3 +1,7 @@
|
|||||||
|
Error Handling
|
||||||
|
===============================================================
|
||||||
|
|
||||||
|
```
|
||||||
CREATE PROC RLARP.TEST AS
|
CREATE PROC RLARP.TEST AS
|
||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
@ -31,3 +35,5 @@ begin CATCH
|
|||||||
end catch
|
end catch
|
||||||
|
|
||||||
SELECT * FROM #temp
|
SELECT * FROM #temp
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user