Glossary:
- md: multiple devices
| command | description |
|---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: grafana-config | |
| data: | |
| grafana.ini: | | |
| ##################### Grafana Configuration Example ##################### | |
| # | |
| # Everything has defaults so you only need to uncomment things you want to | |
| # change |
| aws s3 sync s3://oldbucket s3://newbucket --source-region us-west-1 --region us-west-2 |
| #!/bin/bash | |
| # | |
| # steps taken verbatim from: | |
| # http://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html#install_docker | |
| # | |
| sudo yum update -y | |
| sudo yum install -y docker | |
| sudo service docker start | |
| sudo usermod -a -G docker ec2-user | |
| # log out and log in to pickup the added group |
| QBUser participant = new QBUser(2); | |
| QBPrivateChatManager manager = QBChatService.getInstance().getPrivateChatManager(); | |
| manager.addChatListener(new QBChatManagerListener() { | |
| @Override | |
| public void chatCreated(QBChat chat) { | |
| } |
| // create file: | |
| sudo vim /usr/share/applications/intellij.desktop | |
| // add the following | |
| [Desktop Entry] | |
| Version=13.0 | |
| Type=Application | |
| Terminal=false | |
| Icon[en_US]=/home/rob/.intellij-13/bin/idea.png | |
| Name[en_US]=IntelliJ |