We could implement our current roommate matching functionality in three different ways with the release of the new app.
To make this work, we need to adjust our current RoomBot code to talk to Ejabberd server instead of Twilio.
#!/bin/bash | |
########## | |
# contents | |
########## | |
# contents | |
# notes | |
# script setup | |
# git config files |
fragment Feed_item on Photo { | |
id | |
creator { | |
id | |
name | |
} | |
photoUrl | |
} | |
class Feed extends React.Component { |
These are the notes that I have taken on “IBM blockchain Essentials for Developers” course on Coursera IBM Blockchain Foundation for Developers | Coursera.
Ledger: the system of record for a business
Transaction: an asset transfer onto or off the ledger
Under user_type, we need to create a new acceptedOrganizations
connection. This will return all the orgs that the current user is accepted into (based on funnel_state).
Under user_type, we need to create a new connection named pendingAcceptedOrganizations
. This will return all the orgs that a user has uos.pending_accepted
field set for.
The client is responsible for merging the result of #1 and #2. (Client's responsibility)
For each item in the accepted organization listing, we rely on amAccepted
field under organization_type. If it resolves to true
, we show Set Going
button. If it's false
, we don't show that button and instead, the mobile client checks for amPendingAccepted
field under organization_type. If that value is set, the mobile client shows "Pending Verification" badge.
To upload the acceptance letter the mobile client needs to use FilePicker's client library to directly do the upload, and then it will supply the returned photo url to `UpdateUserOrganizationPendingA
git clone --bare https://github.com/daqo/dotfiles.git $HOME/.cfg | |
function config { | |
git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ | |
} | |
mkdir -p .config-backup | |
config checkout --force | |
# if [ $? = 0 ]; then | |
# echo "Checked out config."; | |
# else | |
# echo "Backing up pre-existing dot files."; |