This is simple implementation of the MongoDB driver, you can use this brick when you start to work with MongoDB
install : npm i -s mongodb
| /* | |
| Logging levels : | |
| 0 : Show error | |
| 1 : Show warning | |
| 2 : Show valid | |
| 3 : Show info | |
| 4 : Show debug | |
| 5 : show verbose | |
| [level]Raw : Raw info without time & msg location |
| //Install Macports. | |
| //Install aircrack-ng: | |
| sudo port install aircrack-ng | |
| //Install the latest Xcode, with the Command Line Tools. | |
| //Create the following symlink: | |
| sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport | |
| //Figure out which channel you need to sniff: | |
| sudo airport -s | |
| sudo airport en1 sniff [CHANNEL] |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": "s3:ListAllMyBuckets", | |
| "Resource": "arn:aws:s3:::MyBucketName" | |
| }, | |
| { | |
| "Action": [ |
I hereby claim:
To claim this, I am signing this object:
This short setup will show you how to install redis-clion AWS EC2 without having to install the whole Redis Server.
On your EC2 instance run the following commands:
sudo yum install gcc
This may return an "already installed" message, but that's OK. After that, just run:
Just a simple Template to configure your VueJS project's CI/CD with Bitbucket, deploying it on AWS S3 & Cloudfront
Make sure you configure your Bitbucket Project's deployment-settings with the correct env variables and that Bitbucket has the correct access rights
| #!/bin/bash | |
| # System Updates | |
| sudo apt-get update -y | |
| sudo apt-get full-upgrade --fix-missing -y | |
| sudo apt-get autoremove -y | |
| #sudo parrot-upgrade | |
| # Alias to Fix Virtual Box issues | |
| # alias FixVM="killall /usr/bin/VBoxClient 2> /dev/null; /usr/bin/VBoxClient --clipboard && /usr/bin/VBoxClient --seamless && /usr/bin/VBoxClient --vmsvga && /usr/bin/VBoxClient --draganddrop && /usr/bin/VBoxClient --checkhostversion" |
| // SPDX-License-Identifier: MIT | |
| // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) | |
| pragma solidity ^0.8.0; | |
| import "../utils/Context.sol"; | |
| /** | |
| * @dev Contract module which provides a basic access control mechanism, where | |
| * there is an account (an owner) that can be granted exclusive access to |