To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
//echo varible value | |
eval $${varible_name} |
M |
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
function getItem(){ | |
const params = { | |
TableName: "", | |
Key:{ | |
id: "" | |
}, | |
ProjectionExpression:"#role", | |
ExpressionAttributeNames:{ | |
'#role':'role' | |
} |
Table table = dynamoDB.getTable("Table Name"); | |
Map<String, String> consultee = new HashMap<>(); | |
UpdateItemSpec updateItemSpec = new UpdateItemSpec().withPrimaryKey("eventId",eventId) | |
.withUpdateExpression("set #consultees = list_append(if_not_exists(consultees, :empty_consultees), :consultees) , #url = :url") | |
.withNameMap(new NameMap().with("#consultees", "consultees").with("#url","url")) | |
.withValueMap(new ValueMap().withList(":consultees", Arrays.asList(consultee)).withList(":empty_consultees", Arrays.asList()).withString(":url",url)).withReturnValues(ReturnValue.ALL_NEW); | |
UpdateItemOutcome outcome = table.updateItem(updateItemSpec); |
# serverless.yml | |
service: | |
name: beekeeper-serverless | |
frameworkVersion: 1.23.0 | |
plugins: | |
- serverless-plugin-split-stacks | |
- serverless-plugin-custom-roles |
# Dependencies to make "headless" chrome/selenium work: | |
sudo apt-get -y install xvfb gtk2-engines-pixbuf | |
sudo apt-get -y install xfonts-cyrillic xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable | |
echo "Starting X virtual framebuffer (Xvfb) in background..." | |
Xvfb -ac :99 -screen 0 1280x1024x16 & | |
export DISPLAY=:99 |
mvn -U package -DskipTests -Dassembly.skipAssembly=false | |
./jicofo.sh --host=localhost --domain=czmeet.meetrix.io --secret=@4wt1rUl --user_domain=auth.czmeet.meetrix.io --user_name=focus --user_password=1234 |
====================== | |
build xcode project | |
cd IXCSoftswitch | |
mkdir build | |
cd build | |
cmake -G Xcode .. | |
====================== |
fix dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9) | |
https://github.com/sipwise/rtpengine/issues/421 |