Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
/** | |
* Using a single integer to represent multiple permissions | |
* based on binary values using bitwise operators | |
* | |
* & bitwise AND - if both the top and bottom bit are 1, result is 1 | |
* | bitwise OR - if either the top and bottom bit or both are 1, result is 1 | |
* ^ bitwise XOR - if only one of the bits are 1, result is 1 | |
* 0101 | |
* 0100 & = 0100 | |
* |
import csv,sys | |
# contact groups export from source account (CSV) | |
fn1=sys.argv[1] | |
# contact groups export from target account (CSV) | |
fn2=sys.argv[2] | |
# Exported contacts from source account | |
contacts_csv_fn=sys.argv[3] | |
# Exported contacts from source account (Corrected) | |
contacts_csv_fn2=sys.argv[4] |
#!/bin/bash -x | |
shopt -s expand_aliases | |
alias gam='/root/bin/gamadv-xtd3/gam' | |
USER_SRC=$1 | |
USER_DST=$2 | |
CONTACTS_FN_SRC="/data/${USER_SRC}-contacts.csv" | |
CONTACTS_FN_DST="/data/${USER_DST}-contacts.csv" | |
CONTACTGROUPS_FN_SRC_CSV="/data/${USER_SRC}-contactgroups.csv" | |
CONTACTGROUPS_FN_SRC_JSON="/data/${USER_SRC}-contactgroups-json.csv" |