Booking Session Migration Process
Work packages
- Create a single booking session for the work package, using the work package's existing booking:
- start/end from booking
- platform from booking platform
- location from booking location note
/media/fat/Scripts# ls -al /lib/firmware/rtlwifi | |
total 1084 | |
drwxr-xr-x 2 root root 4096 Oct 27 23:09 . | |
drwxr-xr-x 6 root root 4096 Apr 13 2022 .. | |
-rw-r--r-- 1 root root 11216 Oct 18 2018 rtl8188efw.bin | |
-rw-r--r-- 1 root root 13904 Oct 18 2018 rtl8188eufw.bin | |
-rw-r--r-- 1 root root 16192 Oct 18 2018 rtl8192cfw.bin | |
-rw-r--r-- 1 root root 16332 Oct 18 2018 rtl8192cfwU_B.bin |
👻 Starting ... | | |
Migrating 411 multi-part courses | |
NOTE course: #5828 (part 2 of 2) has 1 billing(s), moving them to course: #5827 (part 1) | | |
NOTE course: #4925 (part 2 of 2) has 1 billing(s), moving them to course: #4924 (part 1) | | |
NOTE course: #4751 (part 2 of 3) has 1 billing(s), moving them to course: #4750 (part 1) | | |
NOTE course: #4748 (part 2 of 3) has 1 billing(s), moving them to course: #4747 (part 1) | | |
NOTE course: #4478 (part 2 of 2) has 1 billing(s), moving them to course: #4477 (part 1)====== | | |
NOTE course: #4463 (part 2 of 2) has 1 billing(s), moving them to course: #4462 (part 1)======== | | |
NOTE course: #4129 (part 2 of 2) has 1 billing(s), moving them to course: #4127 (part 1)= |
#!/usr/bin/env ruby | |
require "faker" | |
num_vcards = ARGV[0].to_i || 1 | |
def random_vcard | |
fname = Faker::Name.first_name | |
lname = Faker::Name.last_name | |
<<~VCARD |
#!/usr/bin/env ruby | |
require "faker" | |
require "csv" | |
require "tzinfo" | |
def weighted_boolean(true_weight, false_weight) | |
random_weighted(true: true_weight, false: false_weight) == :true | |
end |
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: System Preferences [6282] | |
Path: /System/Applications/System Preferences.app/Contents/MacOS/System Preferences | |
Identifier: com.apple.systempreferences | |
Version: 15.0 (15.0) | |
Build Info: SystemPrefsApp-519000000000000~264 | |
Code Type: X86-64 (Native) |
#!/usr/bin/env bash | |
set -e | |
# load default envrc | |
source_up | |
# auto-switch rubies | |
use chruby --auto | |
# node from ~/.nvmrc |
Ctrl+w Delete word backwards Ctrl+n Ctrl+p Autocomplete word from next found forward or backward in file CTRL+xl Autocomplete entire line (must start with same chars) CTRL+xl Autocomplete to a local file path
``` | |
What is your FreeAgent email? matthew.hutchinson@freeagent.com | |
==> Google OAuth 2 Setup | |
error: Did not recognize your adapter specification (incompatible library version - /Users/matt/.gem/ruby/2.6.3/gems/json-2.2.0/lib/json/ext/parser.bundle). | |
Traceback (most recent call last): | |
33: from /Users/matt/.gem/ruby/2.6.3/bin/devkit:23:in `<main>' | |
32: from /Users/matt/.gem/ruby/2.6.3/bin/devkit:23:in `load' | |
31: from /Users/matt/.gem/ruby/2.6.3/gems/freeagent-devkit-6.11.0/bin/devkit:64:in `<top (required)>' |
#!/bin/bash | |
# TDLR; run rails migration commands via aliases with auto-completion for version numbers (via fzf) | |
# | |
# brew install fzf | |
# curl https://gist.githubusercontent.com/matthutchinson/6c1bc7681b323d4d2ef5d5a55626a5cf/raw/fzf_migrations > ~/.fzf_migrations | |
# source ~/.fzf_migrations | |
# | |
# Then run these commands to migrate: | |
# |